Skip to content

Commit a976771

Browse files
committed
Add |MATPOWER-Dev-Manual| and |MATPOWER-Ref-Manual| substitutions.
Each points to the top-level of the manual on matpower.org/documentation/
1 parent a826243 commit a976771

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

preamble.tex.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@
6363
\newcommand{\TNfiveurl}[0]{https://matpower.org/docs/TN5-MP-Element.pdf}
6464
\newcommand{\TNfive}[0]{\href{\TNfiveurl}{\it \matpower{} Technical Note~5}}
6565

66+
\newcommand{\devmanurl}[0]{https://matpower.org/documentation/dev-manual/}
67+
\newcommand{\devman}[0]{\href{\devmanurl}{\it \matpower{} Developer's Manual}}
68+
\newcommand{\refmanurl}[0]{https://matpower.org/documentation/ref-manual/}
69+
\newcommand{\refman}[0]{\href{\refmanurl}{\it \matpower{} Reference Manual}}
70+
6671
% used by sphinx role hl to highlight text
6772
\newcommand{\DUrolehl}{\hl}
6873

prolog.rst.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,12 @@
4848
.. |MOSTman| replace:: :raw-html:`<a href="https://matpower.org/docs/MOST-manual-1.2.pdf">MOST User's Manual</a>`:raw-latex:`\mostman{}`
4949

5050
.. |TN5| replace:: :raw-html:`<a href="https://matpower.org/docs/TN5-MP-Element.pdf"><em>M<span style="font-size:smaller">ATPOWER</span> Technical Note 5</em></a>`:raw-latex:`\TNfive{}`
51+
.. |MATPOWER-Dev-Manual| replace:: :raw-html:`<a class="reference external" href="https://matpower.org/documentation/dev-manual/"><em>Developer’s Manual</em></a>`:raw-latex:`\devman{}`
52+
.. |MATPOWER-Ref-Manual| replace:: :raw-html:`<a class="reference external" href="https://matpower.org/documentation/ref-manual/"><em>Reference Manual</em></a>`:raw-latex:`\refman{}`
53+
54+
..
55+
.. |MATPOWER-Dev-Manual| replace:: :ref:`Developer's Manual <dev_manual>`
56+
.. |MATPOWER-Dev-Manual| replace:: *Developer's Manual*
57+
.. _MATPOWER-Dev-Manual: https://matpower.org/documentation/dev-manual/
58+
.. |MATPOWER-Ref-Manual| replace:: *Reference Manual*
59+
.. _MATPOWER-Ref-Manual: https://matpower.org/documentation/ref-manual/

0 commit comments

Comments
 (0)