Changeset 280e7f in git for doc/doc2tex.pl


Ignore:
Timestamp:
Jul 15, 1999, 7:06:13 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
a9f4d23d75a5fc6f713af7fa68bc84b6d9835daa
Parents:
50916788b142aba5bfbca122c6a90d26e3699f9f
Message:
* improvements


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

Legend:

Unmodified
Added
Removed
  • doc/doc2tex.pl

    r509167 r280e7f  
    11#!/usr/local/bin/perl
    2 # $Id: doc2tex.pl,v 1.6 1999-07-15 14:15:06 obachman Exp $
     2# $Id: doc2tex.pl,v 1.7 1999-07-15 17:06:11 obachman Exp $
    33###################################################################
    44#  Computer Algebra System SINGULAR
     
    556556        print LDOC ", " . $lib ."_lib\n";
    557557        print LDOC "\@subsection " . $procs[$i] . "\n";
    558         print LDOC "\@findex ". $procs[$i] . "\n";
    559         print LDOC "\@cindex ". $procs[$i] . "\n" if ($lib eq "standard");
     558        print LDOC "\@cindex ". $procs[$i] . "\n";
    560559
    561560        print LDOC "\@c ---content $procs[$i]---\n";
     561        print LDOC "Procedure from library \@code{$lib.lib} (\@pxref{${lib}_lib}).\n\n";
    562562        print LDOC "\@table \@asis\n";
    563563        $table_is_open = 1;
     
    745745    if ($text =~ /\w/)
    746746    {
    747       print $FH "\n" . '@item @strong{Purpose:'."}\n";
     747      print $FH '@item @strong{Purpose:'."}\n";
    748748      print $FH lc $text;
    749749    }
     
    757757      if ($item =~ /usage/i || $item =~ /Return/i);
    758758
    759     print $FH "$_\n\n";
     759    print $FH "$_\n";
    760760  }
    761761  return '';
     
    778778  {
    779779    print $FH "\@item \@code{$proc($procargs)}  ";
    780     print $FH "\n\@findex $proc\n$_\n";
     780    print $FH "\n\@cindex $proc\n$_\n";
    781781  }
    782782}
Note: See TracChangeset for help on using the changeset viewer.