developers:link_shortcuts
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
developers:link_shortcuts [2017/08/18 13:19] – [MathJax] Xavier Gonze | developers:link_shortcuts [2017/08/19 06:14] – [MathJax] Xavier Gonze | ||
---|---|---|---|
Line 40: | Line 40: | ||
* the name of a bibliographical reference (provided it is mentioned in abiref.bib); | * the name of a bibliographical reference (provided it is mentioned in abiref.bib); | ||
* the path to a file in a ~abinit/ | * the path to a file in a ~abinit/ | ||
- | * the path to a reference output file in a ~abinit/ | + | * the path to a reference output file in a ~abinit/ |
+ | * the label of a section inside the own file. | ||
Examples : | Examples : | ||
Line 53: | Line 54: | ||
| | ||
[[tests/ | [[tests/ | ||
+ | | ||
+ | and also | ||
+ | | ||
+ | [[# | ||
| | ||
The script generate_doc.py does a bit of formatting in these examples: it keeps one pair of square brackets in the case of a bibliographic reference, and add " | The script generate_doc.py does a bit of formatting in these examples: it keeps one pair of square brackets in the case of a bibliographic reference, and add " | ||
Line 71: | Line 76: | ||
[[topic: | [[topic: | ||
| | ||
- | Actually, using the real name of the file without suffix, e.g. lesson_gw1 will also be recognized, although this real name is echoed, instead of the name withouth | + | Actually, using the real name of the file without suffix, e.g. lesson_gw1 will also be recognized, although this real name is echoed, instead of the name without |
[[lesson_gw1]] becomes <a href=" | [[lesson_gw1]] becomes <a href=" | ||
Line 102: | Line 107: | ||
[[http:// | [[http:// | ||
* \$...\$ | * \$...\$ | ||
- | * \$\$...\$\$ yields display mode, the LaTeX formula being rendered on one dedicated line; | + | * \$\$...\$\$ yields |
- | * to have your equations numbered, use the display mode above and (inside the markers) declare your equation with the standard \begin{equation} and end{equation} | + | * to have the equations numbered, use the display mode above, and (inside the markers) declare your equation with the standard |
* when a \$ sign is inside a <pre> ... </ | * when a \$ sign is inside a <pre> ... </ | ||
* to prevent a real \$ to be interpreted, | * to prevent a real \$ to be interpreted, |