Changeset d2b2a7 in git for Singular/LIB/tex.lib


Ignore:
Timestamp:
May 5, 1998, 1:55:40 PM (26 years ago)
Author:
Kai Krüger <krueger@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
97f92aa6d280f6022eaae47195ccc02503ccb984
Parents:
4996f5286c7671191ad22e654499fd8b752fe4f0
Message:
Modified Files:
	libparse.l utils.cc LIB/classify.lib LIB/deform.lib
	LIB/elim.lib LIB/factor.lib LIB/fastsolv.lib LIB/finvar.lib
	LIB/general.lib LIB/hnoether.lib LIB/homolog.lib LIB/inout.lib
	LIB/invar.lib LIB/makedbm.lib LIB/matrix.lib LIB/normal.lib
	LIB/poly.lib LIB/presolve.lib LIB/primdec.lib LIB/primitiv.lib
	LIB/random.lib LIB/ring.lib LIB/sing.lib LIB/standard.lib
	LIB/tex.lib LIB/tst.lib
Changed help section o procedures to have an quoted help-string between
proc-definition and proc-body.


git-svn-id: file:///usr/local/Singular/svn/trunk@1601 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/tex.lib

    r4996f52 rd2b2a7  
    1 // $Id: tex.lib,v 1.5 1998-04-03 22:47:15 krueger Exp $   
     1// $Id: tex.lib,v 1.6 1998-05-05 11:55:39 krueger Exp $   
    22//
    33// author : Christian Gorzel email: gorzelc@math.uni-muenster.de
     
    55///////////////////////////////////////////////////////////////////////////////
    66
    7 version="$Id: tex.lib,v 1.5 1998-04-03 22:47:15 krueger Exp $";
     7version="$Id: tex.lib,v 1.6 1998-05-05 11:55:39 krueger Exp $";
    88info="
    99LIBRARY: tex.lib      PROCEDURES FOR TYPESET OF SINGULAROBJECTS IN TEX
     
    4545
    4646proc closetex(string fname, list #)
    47 USAGE:   closetex(fname[,style]); fname,style = string
     47"USAGE:   closetex(fname[,style]); fname,style = string
    4848RETURN:  nothing; writes a LaTeX2e closing line into file fname
    4949NOTE:    style overwrites the default setting latex2e; maybe latex,amstex,tex
    50          preceeding ">>" end ending ".tex" may miss in fname;
     50         preceeding \">>\" end ending \".tex\" may miss in fname;
    5151         overwriting an existing file is not possible
    5252EXAMPLE: example closetex; shows an example
     53"
    5354{
    5455  string default = "latex2e";       // may be changed appropriatly (C.G.)
     
    8182
    8283proc tex(string fname, list #)
    83 USAGE:   tex(fname[,style]); fname,style = string
     84"USAGE:   tex(fname[,style]); fname,style = string
    8485RETURN:  nothing; calls latex2e for compiling the file fname
    8586NOTE:    style overwrites the default setting latex2e; maybe latex,amstex,tex
    86          ending ".tex" may miss in fname       
     87         ending \".tex\" may miss in fname       
    8788EXAMPLE: example tex; shows an example
     89"
    8890{
    8991  string default = "latex2e";           // may be changed appropriatly (C.G.)
     
    125127
    126128proc opentex(string fname, list #)         
    127 USAGE:   opentex(fname[,style]); fname,style = string
     129"USAGE:   opentex(fname[,style]); fname,style = string
    128130RETURN:  nothing; writes as LaTeX2e header into a new file fname
    129131NOTE:    suffix .tex may miss in fname
    130132         style overwrites the default setting latex2e; may be latex,amstex,tex
    131133EXAMPLE: example opentex; shows an example
     134"
    132135{
    133136  int i =1;
     
    166169
    167170proc texdemo(list #)
    168 USAGE:   texdemo();
     171"USAGE:   texdemo();
    169172RETURN:  nothing; generates automatically a LaTeX2e file called: texlibdemo.tex
    170173         explaining the  features of tex.lib and its gloabl variables
    171174NOTE:    this proc takes some minutes         
    172175EXAMPLE: example texdemo; executes the generation
     176"
    173177{ int make_demo = size(#);
    174178
     
    200204
    201205proc texfactorize(string fname, poly f, list #)
    202 USAGE:   opentex(fname,f); fname = string; f = poly
     206"USAGE:   opentex(fname,f); fname = string; f = poly
    203207RETURN:  string, the poly as as product of its irreducible factors
    204208                 in TeX-typesetting if fname == empty string;
    205209         otherwise append this to file fname.tex; return nothing 
    206 NOTE:    preceeding ">>" end ending ".tex" may miss in fname
     210NOTE:    preceeding \">>\" end ending \".tex\" may miss in fname
    207211EXAMPLE: example texfactorize; shows an example
     212"
    208213{
    209214  def @r = basering;
     
    272277
    273278proc texmap(string fname, def m, def @r1, def @r2, list #)
    274 USAGE:   texmap(fname,f); fname = string; m = string/map, @r1,@r2 = ring
     279"USAGE:   texmap(fname,f); fname = string; m = string/map, @r1,@r2 = ring
    275280RETURN:  string, the map m from @r1 to @r2 preeceded by its name if m = string
    276281                 in TeX-typesetting if fname == empty string;
    277282         otherwise append this to file fname.tex; return nothing 
    278 NOTE:    preceeding ">>" end ending ".tex" may miss in fname
     283NOTE:    preceeding \">>\" end ending \".tex\" may miss in fname
    279284EXAMPLE: example texmap; shows an example
     285"
    280286{
    281287  int saveDollars= defined(NoDollars);
     
    419425
    420426proc texname(string fname, string s)
    421 USAGE:   texname(fname,s);  fname,s = string
    422 RETURN:  the string s if fname == the empty string "" ;
     427"USAGE:   texname(fname,s);  fname,s = string
     428RETURN:  the string s if fname == the empty string \"\" ;
    423429         otherwise append s to file fname.tex; return nothing
    424 NOTE:    preceeding ">>" end ending ".tex" may miss in fname;         
     430NOTE:    preceeding \">>\" end ending \".tex\" may miss in fname;         
    425431EXAMPLE: example texname; shows an example
     432"
    426433{
    427434  string st, extr;
     
    495502
    496503proc texobj(string fname, list #)
    497 USAGE:   texobj(fname,l); fname = string,l = list of Singular dataypes
     504"USAGE:   texobj(fname,l); fname = string,l = list of Singular dataypes
    498505RETURN:  string, the objects in TeX-typesetting if fname == empty string;
    499506         otherwise append this to file fname.tex; return nothing   
    500 NOTE:    preceeding ">>" end ending ".tex" may miss in fname;         
     507NOTE:    preceeding \">>\" end ending \".tex\" may miss in fname;         
    501508EXAMPLE: example texobj; shows an example
     509"
    502510{
    503511 int i,j,k,nr,nc,linear,Tw,Dollars;
     
    759767
    760768proc texproc(string fname,string pname)
    761 USAGE:   opentex(fname,pname); fname,pname = string
     769"USAGE:   opentex(fname,pname); fname,pname = string
    762770RETURN:  string, the proc in a verbatim environment in TeX-typesetting
    763771                 if fname == empty string;
    764772         otherwise append this to file fname.tex; return nothing 
    765 NOTE:    preceeding ">>" end ending ".tex" may miss in fname;
     773NOTE:    preceeding \">>\" end ending \".tex\" may miss in fname;
    766774CAUTION: texproc cannot applied on itself correctly         
    767775EXAMPLE: example texproc; shows an example
     776"
    768777{
    769778  int i,j=1,1;
     
    825834
    826835proc texring(string fname, def r, list #)
    827 USAGE:   texring(fname, r[,l]); fname = string; r = ring;
     836"USAGE:   texring(fname, r[,l]); fname = string; r = ring;
    828837                                l=list of strings : controls the symbol for
    829838                                coefficint field etc. see example texdemo();
    830839RETURN:  string, the ring in TeX-typesetting if fname == empty string;
    831840         otherwise append this to file fname.tex; return nothing   
    832 NOTE:    preceeding ">>" end ending ".tex" may miss in fname;       
     841NOTE:    preceeding \">>\" end ending \".tex\" may miss in fname;       
    833842EXAMPLE: example texring; shows an example
     843"
    834844{
    835845  int i,galT,flag,mipo,nopar,Dollars,TB,TA;
     
    10101020
    10111021proc rmx(string fname)
    1012 USAGE:   rmx(fname); fname = string
     1022"USAGE:   rmx(fname); fname = string
    10131023RETURN:  nothing; removes .log and .aux files associated to file <fname>     
    1014          removes tex and xdvi file too, if suffix ".tex" or ".dvi" is given
     1024         removes tex and xdvi file too, if suffix \".tex\" or \".dvi\" is given
    10151025NOTE:    if fname ends by .dvi or .tex
    10161026         fname.dvi or fname.dvi and fname.tex will be deleted, too           
    10171027EXAMPLE: example rmx; shows an example
     1028"
    10181029{
    10191030  int i,suffix= 1,0;
     
    10581069
    10591070proc xdvi(string fname, list #)
    1060 USAGE:   xdvi(fname[,style]); fname,style = string
     1071"USAGE:   xdvi(fname[,style]); fname,style = string
    10611072RETURN:  nothing; displays dvi-file fname.dvi with previewer xdvi
    10621073NOTE:    ending .dvi may miss in fname
    10631074         style overwrites the default setting xdvi
    10641075EXAMPLE: example xdvi ; shows an example
     1076"
    10651077{
    10661078  int i=1;
     
    13311343}
    13321344
    1333 proc parst(string s,int sec)                // parse parameter
     1345proc parst(string s,int sec)"                // parse parameter
    13341346// sec parameter to see if in parsp a fraction follows
     1347"
    13351348{ int i,j =1,-1;
    13361349  int b,k,jj,mz;                         // begin and end
Note: See TracChangeset for help on using the changeset viewer.