Changeset caf1e0 in git


Ignore:
Timestamp:
Jul 25, 2007, 6:10:45 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
b8ba2a0319ea6796d313e81d7db6d8596f8b7972
Parents:
e08bcedfecee582226ad89431962a065d11f8ee5
Message:
*hannes: fixed manual.tex


git-svn-id: file:///usr/local/Singular/svn/trunk@10261 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/doc2tex.pl

    re08bce rcaf1e0  
    11#!/usr/local/bin/perl
    2 # $Id: doc2tex.pl,v 1.28 2005-07-04 14:50:16 Singular Exp $
     2# $Id: doc2tex.pl,v 1.29 2007-07-25 16:10:45 Singular Exp $
    33###################################################################
    44#  Computer Algebra System SINGULAR
     
    4040#
    4141####
    42 # @c lib libname.lib[:proc] [no_ex, no_fun, (\w*)section]
     42# @c lib libname.lib[:proc] [no_ex, no_fun, Fun, (\w*)section]
    4343#   --> replaced by @include $texfile where
    4444#        $texfile = $subdir/libname_lib[_noFun,_noEx].tex
     
    4747#   --> if [:proc] is given, then includes only of respective
    4848#       proc body
     49#   --> Fun overwrites global no_fun
    4950#   --> if (\w*)section is given, replaces @subsubsection by @$1section
    5051#       and pastes in content of tex file directly
     
    518519###################################################################
    519520#
    520 # @c lib libname.lib[:proc] [no_ex, no_fun, (\w*)section]
     521# @c lib libname.lib[:proc] [no_ex, no_fun, Fun, (\w*)section]
    521522#   --> replaced by @include $texfile where
    522523#        $texfile = $subdir/libname_lib[_noFun,_noEx].tex
     
    525526#   --> if [:proc] is given, then includes only of respective
    526527#       proc body
     528#   --> Fun overwrites global no_fun
    527529#   --> if (\w*)section is given, replaces @subsubsection by @$1section
    528530#       and pastes in content of tex file directly
     
    546548  $proc = $1 if (/^:(.*?) /);
    547549  $n_fun = 1 if ($no_fun || /no_fun/);
     550  $n_fun = 0 if (/Fun/);
    548551  $n_ex = 1 if ($no_ex || /no_ex/ || (/unix_only/ && $Win32));
    549552  $section = $1 if /(\w*)section/;
     
    604607      if ($found)
    605608      {
    606         Error("no end content found for lib proc docu for $lib.lib:$proc $doc_file:$line \n")
     609        Error("no end content found for lib proc docu for $lib.lib:$proc $doc_file:$line in $tex_file\n")
    607610          unless (/c ---end content $proc---/);
    608611        print TEX "\@c generated lib proc docu for $lib.lib:$proc $doc_file:$line \n";
     
    610613      else
    611614      {
    612         Error("did not find lib proc docu for $lib.lib:$proc $doc_file:$line \n");
     615        Error("did not find lib proc docu for $lib.lib:$proc $doc_file:$line in $tex_file\n");
    613616      }
    614617    }
Note: See TracChangeset for help on using the changeset viewer.