Changeset 013a76 in git for doc/doc2tex.pl
- Timestamp:
- Sep 2, 1999, 4:24:48 PM (24 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- e53306f81bfae16e5d8715a3d1e3eff205b2cbb8
- Parents:
- 56cfdbacf75e1219e969be022e6a51f3c1c4abb0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/doc2tex.pl
r56cfdb r013a76 1 1 #!/usr/local/bin/perl 2 # $Id: doc2tex.pl,v 1.1 6 1999-07-28 11:36:31 obachmanExp $2 # $Id: doc2tex.pl,v 1.17 1999-09-02 14:24:45 Singular Exp $ 3 3 ################################################################### 4 4 # Computer Algebra System SINGULAR … … 43 43 # --> if [:proc] is given, then includes only of respective 44 44 # proc body 45 # --> if (\w*)section is given, replaces @subs ection by @$1section45 # --> if (\w*)section is given, replaces @subsubsection by @$1section 46 46 # and pastes in content of tex file directly 47 47 # … … 426 426 # --> if [:proc] is given, then includes only of respective 427 427 # proc body 428 # --> if (\w*)section is given, replaces @subs ection by @$1section428 # --> if (\w*)section is given, replaces @subsubsection by @$1section 429 429 # and pastes in content of tex file directly 430 430 … … 489 489 490 490 print TEX "\@c start include of docu for $lib.lib:$proc\n"; 491 print TEX "\@c replaced \@subs ection by \@$section\n" if ($section);491 print TEX "\@c replaced \@subsubsection by \@$section\n" if ($section); 492 492 if ($proc) 493 493 { … … 498 498 if ($found) 499 499 { 500 s/subs ection/${section}section/ if $section;500 s/subsubsection/${section}section/ if $section; 501 501 print TEX $_; 502 502 } … … 518 518 while (<LTEX>) 519 519 { 520 s/subs ection/${section}section/;520 s/subsubsection/${section}section/; 521 521 print TEX $_; 522 522 }
Note: See TracChangeset
for help on using the changeset viewer.