advtrains_doc_integration.latex.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  5. <head>
  6. <title>Manual for advtrains_doc_integration</title>
  7. <link rel="stylesheet" href="../ldoc.css" type="text/css" />
  8. </head>
  9. <body>
  10. <div id="container">
  11. <div id="product">
  12. <div id="product_logo"></div>
  13. <div id="product_name"><big><b></b></big></div>
  14. <div id="product_description"></div>
  15. </div> <!-- id="product" -->
  16. <div id="main">
  17. <!-- Menu -->
  18. <div id="navigation">
  19. <br/>
  20. <h1>Documentation System Integration for Advtrains</h1>
  21. <ul>
  22. <li><a href="../index.html">Index</a></li>
  23. </ul>
  24. <h2>Contents</h2>
  25. <ul>
  26. <li><a href="#Functions">Functions</a></li>
  27. </ul>
  28. <h2>Modules</h2>
  29. <ul class="nowrap">
  30. <li><a href="../modules/advtrains_doc_integration.bc.html">advtrains_doc_integration.bc</a></li>
  31. <li><a href="../modules/advtrains_doc_integration.describe.html">advtrains_doc_integration.describe</a></li>
  32. <li><a href="../modules/advtrains_doc_integration.hypertext.html">advtrains_doc_integration.hypertext</a></li>
  33. <li><a href="../modules/advtrains_doc_integration.html">advtrains_doc_integration</a></li>
  34. <li><strong>advtrains_doc_integration.latex</strong></li>
  35. <li><a href="../modules/advtrains_doc_integration.mathutils.html">advtrains_doc_integration.mathutils</a></li>
  36. <li><a href="../modules/advtrains_doc_integration.utils.html">advtrains_doc_integration.utils</a></li>
  37. </ul>
  38. <h2>Topics</h2>
  39. <ul class="">
  40. <li><a href="../topics/README.md.html">README</a></li>
  41. </ul>
  42. </div>
  43. <div id="content">
  44. <h1>Module <code>advtrains_doc_integration.latex</code></h1>
  45. <p>Code related to LaTeX generation.</p>
  46. <p>
  47. </p>
  48. <h2><a href="#Functions">Functions</a></h2>
  49. <table class="function_list">
  50. <tr>
  51. <td class="name" nowrap><a href="#escape">escape (str)</a></td>
  52. <td class="summary">Escape string in LaTeX.</td>
  53. </tr>
  54. <tr>
  55. <td class="name" nowrap><a href="#escape_translated">escape_translated (lang, str)</a></td>
  56. <td class="summary">Escape a translated string in LaTeX.</td>
  57. </tr>
  58. <tr>
  59. <td class="name" nowrap><a href="#describe_color">describe_color (cstr)</a></td>
  60. <td class="summary">Describe a color in LaTeX.</td>
  61. </tr>
  62. <tr>
  63. <td class="name" nowrap><a href="#describe_coupler">describe_coupler (coupler)</a></td>
  64. <td class="summary">Describe a coupler in LaTeX.</td>
  65. </tr>
  66. <tr>
  67. <td class="name" nowrap><a href="#describe_wagon_prototype">describe_wagon_prototype (itemname)</a></td>
  68. <td class="summary">Describe a wagon prototype in LaTeX.</td>
  69. </tr>
  70. </table>
  71. <br/>
  72. <br/>
  73. <h2 class="section-header "><a name="Functions"></a>Functions</h2>
  74. <dl class="function">
  75. <dt>
  76. <a name = "escape"></a>
  77. <strong>escape (str)</strong>
  78. </dt>
  79. <dd>
  80. Escape string in LaTeX.
  81. <h3>Parameters:</h3>
  82. <ul>
  83. <li><span class="parameter">str</span>
  84. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  85. The string to escape.
  86. </li>
  87. </ul>
  88. <h3>Returns:</h3>
  89. <ol>
  90. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  91. The escaped string.
  92. </ol>
  93. </dd>
  94. <dt>
  95. <a name = "escape_translated"></a>
  96. <strong>escape_translated (lang, str)</strong>
  97. </dt>
  98. <dd>
  99. Escape a translated string in LaTeX.
  100. <h3>Parameters:</h3>
  101. <ul>
  102. <li><span class="parameter">lang</span>
  103. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  104. The language to use for server-side translation
  105. </li>
  106. <li><span class="parameter">str</span>
  107. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  108. The string to escape.
  109. </li>
  110. </ul>
  111. <h3>Returns:</h3>
  112. <ol>
  113. <span class="types"><span class="type">The</span></span>
  114. escaped string.
  115. </ol>
  116. </dd>
  117. <dt>
  118. <a name = "describe_color"></a>
  119. <strong>describe_color (cstr)</strong>
  120. </dt>
  121. <dd>
  122. Describe a color in LaTeX.
  123. <h3>Parameters:</h3>
  124. <ul>
  125. <li><span class="parameter">cstr</span>
  126. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  127. The color string.
  128. </li>
  129. </ul>
  130. <h3>Returns:</h3>
  131. <ol>
  132. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  133. The string describing the color.
  134. </ol>
  135. </dd>
  136. <dt>
  137. <a name = "describe_coupler"></a>
  138. <strong>describe_coupler (coupler)</strong>
  139. </dt>
  140. <dd>
  141. Describe a coupler in LaTeX.
  142. <h3>Parameters:</h3>
  143. <ul>
  144. <li><span class="parameter">coupler</span>
  145. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  146. The name of the coupler.
  147. </li>
  148. </ul>
  149. <h3>Returns:</h3>
  150. <ol>
  151. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  152. The string describing the coupler.
  153. </ol>
  154. </dd>
  155. <dt>
  156. <a name = "describe_wagon_prototype"></a>
  157. <strong>describe_wagon_prototype (itemname)</strong>
  158. </dt>
  159. <dd>
  160. Describe a wagon prototype in LaTeX.
  161. <h3>Parameters:</h3>
  162. <ul>
  163. <li><span class="parameter">itemname</span>
  164. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  165. The item name of the wagon prototype.
  166. </li>
  167. </ul>
  168. <h3>Returns:</h3>
  169. <ol>
  170. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  171. The description of the prototype.
  172. </ol>
  173. </dd>
  174. </dl>
  175. </div> <!-- id="content" -->
  176. </div> <!-- id="main" -->
  177. <div id="about">
  178. <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
  179. <i style="float:right;">Last updated 2024-01-29 22:34:40 </i>
  180. </div> <!-- id="about" -->
  181. </div> <!-- id="container" -->
  182. </body>
  183. </html>