Top
Back: opentex
Forward: texdemo
FastBack: graphics_lib
FastForward: paramet_lib
Up: latex_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: Index
About: About this document

D.8.2.3 tex

Procedure from library latex.lib (see latex_lib).

Usage:
tex(fname); fname string

Return:
nothing; calls latex (LaTeX2e) for compiling the file fname

Note:
preceding ">>" are deleted and suffix ".tex" (if not given) is added to fname.

Example:
 
LIB "latex.lib";
ring r;
ideal I = maxideal(7);
opentex("exp001");              // open latex2e document
texobj("exp001","An ideal ",I);
closetex("exp001");
tex("exp001"); 
==> calling  latex2e  for : exp001.tex 
==> 
==> This is TeX, Version 3.14159 (C version 6.1)
==> (exp001.tex
==> LaTeX2e <1996/12/01> patch level 1
==> Babel <v3.6h> and hyphenation patterns for american, german, loaded.
==> (/usr/lib/texmf/texmf/tex/latex/base/article.cls
==> Document Class: article 1996/10/31 v1.3u Standard LaTeX document class
==> (/usr/lib/texmf/texmf/tex/latex/base/size10.clo))
==> (/usr/lib/texmf/texmf/tex/latex/amslatex/amsmath.sty
==> (/usr/lib/texmf/texmf/tex/latex/amslatex/amstext.sty
==> (/usr/lib/texmf/texmf/tex/latex/amslatex/amsgen.sty))
==> (/usr/lib/texmf/texmf/tex/latex/amslatex/amsbsy.sty)
==> (/usr/lib/texmf/texmf/tex/latex/amslatex/amsopn.sty))
==> (/usr/lib/texmf/texmf/tex/latex/amsfonts/amssymb.sty
==> (/usr/lib/texmf/texmf/tex/latex/amsfonts/amsfonts.sty))
==> No file exp001.aux.
==> (/usr/lib/texmf/texmf/tex/latex/amsfonts/umsa.fd)
==> (/usr/lib/texmf/texmf/tex/latex/amsfonts/umsb.fd) [1] (exp001.aux) )
==> Output written on exp001.dvi (1 page, 2912 bytes).
==> Transcript written on exp001.log.
system("sh","rm exp001.*");
==> 0


Top Back: opentex Forward: texdemo FastBack: graphics_lib FastForward: paramet_lib Up: latex_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-4, May 2003, generated by texi2html.