Home Online Manual
Top
Back: texring
Forward: xdvi
FastBack: graphics_lib
FastForward: surf_lib
Up: latex_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.9.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 pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
==>  restricted \write18 enabled.
==> entering extended mode
==> (./exp001.tex
==> LaTeX2e <2011/06/27>
==> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenati\
   on, lo
==> aded.
==> (/usr/share/texmf-dist/tex/latex/base/article.cls
==> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
==> (/usr/share/texmf-dist/tex/latex/base/size10.clo))
==> (/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
==> For additional information on amsmath, use the `?' option.
==> (/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
==> (/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
==> (/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
==> (/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
==> (/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
==> (/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
==> No file exp001.aux.
==> (/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
==> (/usr/share/texmf-dist/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