123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <head>
- <title>Manual for advtrains_doc_integration</title>
- <link rel="stylesheet" href="../ldoc.css" type="text/css" />
- </head>
- <body>
- <div id="container">
- <div id="product">
- <div id="product_logo"></div>
- <div id="product_name"><big><b></b></big></div>
- <div id="product_description"></div>
- </div> <!-- id="product" -->
- <div id="main">
- <!-- Menu -->
- <div id="navigation">
- <br/>
- <h1>Documentation System Integration for Advtrains</h1>
- <ul>
- <li><a href="../index.html">Index</a></li>
- </ul>
- <h2>Contents</h2>
- <ul>
- <li><a href="#Functions">Functions</a></li>
- </ul>
- <h2>Modules</h2>
- <ul class="nowrap">
- <li><a href="../modules/advtrains_doc_integration.bc.html">advtrains_doc_integration.bc</a></li>
- <li><a href="../modules/advtrains_doc_integration.describe.html">advtrains_doc_integration.describe</a></li>
- <li><a href="../modules/advtrains_doc_integration.hypertext.html">advtrains_doc_integration.hypertext</a></li>
- <li><a href="../modules/advtrains_doc_integration.html">advtrains_doc_integration</a></li>
- <li><strong>advtrains_doc_integration.latex</strong></li>
- <li><a href="../modules/advtrains_doc_integration.mathutils.html">advtrains_doc_integration.mathutils</a></li>
- <li><a href="../modules/advtrains_doc_integration.utils.html">advtrains_doc_integration.utils</a></li>
- </ul>
- <h2>Topics</h2>
- <ul class="">
- <li><a href="../topics/README.md.html">README</a></li>
- </ul>
- </div>
- <div id="content">
- <h1>Module <code>advtrains_doc_integration.latex</code></h1>
- <p>Code related to LaTeX generation.</p>
- <p>
- </p>
- <h2><a href="#Functions">Functions</a></h2>
- <table class="function_list">
- <tr>
- <td class="name" nowrap><a href="#escape">escape (str)</a></td>
- <td class="summary">Escape string in LaTeX.</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#escape_translated">escape_translated (lang, str)</a></td>
- <td class="summary">Escape a translated string in LaTeX.</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#describe_color">describe_color (cstr)</a></td>
- <td class="summary">Describe a color in LaTeX.</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#describe_coupler">describe_coupler (coupler)</a></td>
- <td class="summary">Describe a coupler in LaTeX.</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#describe_wagon_prototype">describe_wagon_prototype (itemname)</a></td>
- <td class="summary">Describe a wagon prototype in LaTeX.</td>
- </tr>
- </table>
- <br/>
- <br/>
- <h2 class="section-header "><a name="Functions"></a>Functions</h2>
- <dl class="function">
- <dt>
- <a name = "escape"></a>
- <strong>escape (str)</strong>
- </dt>
- <dd>
- Escape string in LaTeX.
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">str</span>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The string to escape.
- </li>
- </ul>
- <h3>Returns:</h3>
- <ol>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The escaped string.
- </ol>
- </dd>
- <dt>
- <a name = "escape_translated"></a>
- <strong>escape_translated (lang, str)</strong>
- </dt>
- <dd>
- Escape a translated string in LaTeX.
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">lang</span>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The language to use for server-side translation
- </li>
- <li><span class="parameter">str</span>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The string to escape.
- </li>
- </ul>
- <h3>Returns:</h3>
- <ol>
- <span class="types"><span class="type">The</span></span>
- escaped string.
- </ol>
- </dd>
- <dt>
- <a name = "describe_color"></a>
- <strong>describe_color (cstr)</strong>
- </dt>
- <dd>
- Describe a color in LaTeX.
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">cstr</span>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The color string.
- </li>
- </ul>
- <h3>Returns:</h3>
- <ol>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The string describing the color.
- </ol>
- </dd>
- <dt>
- <a name = "describe_coupler"></a>
- <strong>describe_coupler (coupler)</strong>
- </dt>
- <dd>
- Describe a coupler in LaTeX.
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">coupler</span>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The name of the coupler.
- </li>
- </ul>
- <h3>Returns:</h3>
- <ol>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The string describing the coupler.
- </ol>
- </dd>
- <dt>
- <a name = "describe_wagon_prototype"></a>
- <strong>describe_wagon_prototype (itemname)</strong>
- </dt>
- <dd>
- Describe a wagon prototype in LaTeX.
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">itemname</span>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The item name of the wagon prototype.
- </li>
- </ul>
- <h3>Returns:</h3>
- <ol>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- The description of the prototype.
- </ol>
- </dd>
- </dl>
- </div> <!-- id="content" -->
- </div> <!-- id="main" -->
- <div id="about">
- <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
- <i style="float:right;">Last updated 2024-01-29 22:34:40 </i>
- </div> <!-- id="about" -->
- </div> <!-- id="container" -->
- </body>
- </html>
|