|
D.8.2.12 rmx
Procedure from library latex.lib (see latex_lib).
- Usage:
- rmx(fname); fname string
- Return:
- nothing; removes the
.log and .aux files associated to
the LaTeX file <fname>.
- Note:
- If
fname ends by ".dvi" or ".tex" , the
.dvi or .tex file will be deleted, too.
Example:
| LIB "latex.lib";
ring r;
poly f = x+y+z;
opentex("exp001"); // defaulted latex2e document
texobj("exp001","A polynom",f);
closetex("exp001");
tex("exp001");
==> calling latex2e for : exp001.tex
==>
==> This is TeX, Version 3.14159 (Web2C 7.3.1)
==> (exp001.tex
==> LaTeX2e <1998/12/01> patch level 1
==> Babel <v3.6x> and hyphenation patterns for american, french, german, nger\
man, i
==> talian, nohyphenation, loaded.
==> (/usr/share/texmf/tex/latex/base/article.cls
==> Document Class: article 1999/01/07 v1.4a Standard LaTeX document class
==> (/usr/share/texmf/tex/latex/base/size10.clo))
==> (/usr/share/texmf/tex/latex/amslatex/amsmath.sty
==> (/usr/share/texmf/tex/latex/amslatex/amstext.sty
==> (/usr/share/texmf/tex/latex/amslatex/amsgen.sty))
==> (/usr/share/texmf/tex/latex/amslatex/amsbsy.sty)
==> (/usr/share/texmf/tex/latex/amslatex/amsopn.sty))
==> (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty
==> (/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty))
==> No file exp001.aux.
==> (/usr/share/texmf/tex/latex/amsfonts/umsa.fd)
==> (/usr/share/texmf/tex/latex/amsfonts/umsb.fd) [1] (exp001.aux) )
==> Output written on exp001.dvi (1 page, 308 bytes).
==> Transcript written on exp001.log.
rmx("exp001"); // removes aux and log file of exp001
system("sh","rm exp001.*");
==> 0
|
|