TeX编程接口 Texcaller

fmms 13年前
     Texcaller 是 TeX 命令行工具的编程接口,采用纯 C 编写的可移植库,无需外部依赖。    <ul>     <li><a class="el" href="/misc/goto?guid=4959500540591807151">Texcaller Shell interface</a>      <div class="fragment">       <pre class="fragment">texcaller LaTeX PDF 5 <hello.tex >hello.pdf</pre>      </div> </li>    </ul>    <ul>     <li><a class="el" href="/misc/goto?guid=4959500540680113177">Texcaller C interface</a>      <div class="fragment">       <pre class="fragment">    <a class="code" title="Convert a TeX or LaTeX source to DVI or PDF." href="/misc/goto?guid=4959500540759874607">texcaller_convert</a>(&pdf, &pdf_size, &info,                       latex, strlen(latex), <span class="stringliteral">"LaTeX"</span>, <span class="stringliteral">"PDF"</span>, 5);</pre>      </div> </li>    </ul>    <ul>     <li><a class="el" href="/misc/goto?guid=4959500540831274147">Texcaller C++ interface</a>      <div class="fragment">       <pre class="fragment">        <a class="code" title="Convert a TeX or LaTeX source to DVI or PDF." href="/misc/goto?guid=4959500540916128119">texcaller::convert</a>(pdf, info, latex, <span class="stringliteral">"LaTeX"</span>, <span class="stringliteral">"PDF"</span>, 5);</pre>      </div> </li>    </ul>    <ul>     <li><a class="el" href="/misc/goto?guid=4959500541001101986">Texcaller PostgreSQL interface</a>      <div class="fragment">       <pre class="fragment">select     <a class="code" title="Convert a TeX or LaTeX source to DVI or PDF." href="/misc/goto?guid=4959500540759874607">texcaller_convert</a>(latex_source, <span class="stringliteral">'LaTeX'</span>, <span class="stringliteral">'PDF'</span>, 5) from     documents where     name = 'hello';</pre>      </div> </li>    </ul>    <ul>     <li><a class="el" href="/misc/goto?guid=4959500541088256390">Texcaller Python interface</a>      <div class="fragment">       <pre class="fragment">pdf, info = texcaller.convert(latex, <span class="stringliteral">'LaTeX'</span>, <span class="stringliteral">'PDF'</span>, 5)</pre>      </div> </li>    </ul>    <ul>     <li><a class="el" href="/misc/goto?guid=4959500541158473946">Texcaller Ruby interface</a>      <div class="fragment">       <pre class="fragment">pdf, info = Texcaller.convert(latex, <span class="stringliteral">'LaTeX'</span>, <span class="stringliteral">'PDF'</span>, 5)</pre>      </div> </li>    </ul>    <ul>     <li><a class="el" href="/misc/goto?guid=4959500541247536405">Texcaller PHP interface</a>      <div class="fragment">       <pre class="fragment"><a class="code" title="Convert a TeX or LaTeX source to DVI or PDF." href="/misc/goto?guid=4959500540759874607">texcaller_convert</a>($pdf, $info, $latex, <span class="stringliteral">'LaTeX'</span>, <span class="stringliteral">'PDF'</span>, 5);</pre>      </div> </li>    </ul>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326156955562" target="_blank">http://www.open-open.com/lib/view/home/1326156955562</a></p>