Changeset 522906 in git
- Timestamp:
- Mar 3, 2012, 10:21:04 AM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ede7a69d54c25b9d0c8b81afc4a499d622183a15
- Parents:
- 5bcfa8f36743c68cb02d72f74780d253c35537a3
- git-author:
- Bernhard R. Link <brlink@debian.org>2012-03-03 10:21:04+01:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-03-13 15:28:57+01:00
- Location:
- doc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/Makefile.in
r5bcfa8 r522906 67 67 EX_SUBDIR = ./examples 68 68 CHKSUM_DB = ${DOC_SUBDIR}/chksum 69 DOC2TEX_EXAMPLE_EXCLUSIONS = @DOC2TEX_EXAMPLE_EXCLUSIONS@ 69 70 DOC2TEX = ${PERL} ./doc2tex.pl -docdir ${DOC_SUBDIR} \ 70 71 -Singular ${SINGULAR} -verbose ${VERBOSE} -make ${MAKE} \ 71 -exdir ${EX_SUBDIR} @DOC2TEX_EXAMPLE_EXCLUSIONS@ 72 PL2DOC = ${PERL} ./pl2doc.pl -db ${CHKSUM_DB} 72 -exdir ${EX_SUBDIR} ${DOC2TEX_EXAMPLE_EXCLUSIONS} 73 TAG = 74 PL2DOC = ${PERL} ./pl2doc.pl ${TAG} -db ${CHKSUM_DB} 73 75 74 76 # t2h stuff -
doc/doc2tex.pl
r5bcfa8 r522906 539 539 sub HandleLib 540 540 { 541 my($lib, $proc, $n_fun, $n_ex, $section, $tex_file );541 my($lib, $proc, $n_fun, $n_ex, $section, $tex_file, $tag); 542 542 543 543 if (/^\@c\s*lib\s+([^\.]+)\.lib(.*)/) … … 551 551 print TEX $_; 552 552 return; 553 } 554 if (/tag:(\w+)/) 555 { 556 $tag = "TAG='-tag ".$1."'"; 557 } 558 else 559 { 560 $tag = ''; 553 561 } 554 562 … … 574 582 { 575 583 print "<lib $lib " if ($verbose); 576 System("$make $make_opts VERBOSE=$verbose $tex_file");584 System("$make $make_opts $tag VERBOSE=$verbose $tex_file"); 577 585 } 578 586 -
doc/pl2doc.pl
r5bcfa8 r522906 20 20 if (/^-o$/) { $out_file = shift(@ARGV); next;} 21 21 if (/^-db$/) { $db_file = shift(@ARGV); next;} 22 if (/^-tag$/) { $tag = $tag . " tag:" . shift(@ARGV); next;} 22 23 if (/^-no_fun$/) { $no_fun = 1;next;} 23 24 if (/^-doc$/) { $doc = 1; next;} … … 120 121 { 121 122 print LDOC "\@strong{Example:}\n"; 122 print LDOC "\@smallexample\n\@c example \n";123 print LDOC "\@smallexample\n\@c example$tag\n"; 123 124 print LDOC $ex; 124 125 print LDOC "\n\@c example\n\@end smallexample\n";
Note: See TracChangeset
for help on using the changeset viewer.