Changeset 354f3b in git for doc


Ignore:
Timestamp:
Nov 29, 1999, 1:56:11 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
6429844b12e9748d6a461099af9e807e552d8950
Parents:
7736c5c981277530fc20586946850a0fe14b5348
Message:
 Changes to docu and install


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

Legend:

Unmodified
Added
Removed
  • doc/INSTALL_unix.texi

    r7736c5 r354f3b  
    11@comment -*-texinfo-*-
    2 @comment $Id: INSTALL_unix.texi,v 1.2 1999-11-26 18:03:25 obachman Exp $
     2@comment $Id: INSTALL_unix.texi,v 1.3 1999-11-29 12:56:06 obachman Exp $
    33@comment this file contains the installation instruction for Singular on
    44@comment Unix
     5@ifclear VERSION
    56@include version.texi
     7@end ifclear
    68
    79@ifclear singularmanual
     
    1416
    1517@ifset UNAME
    16 @set _UNAME @value{UNAME}
     18@include uname.texi
    1719@end ifset
    1820
     
    2729archives:
    2830@table @code
    29 @item Singular-@value{VERSION}-share.tar.gz
     31@item Singular-@value{VERSION}-share.tgz
    3032contains architecture independent data like documentation and libraries
    31 (alternativly, you may also download
     33(alternatively, you may also download
    3234@code{Singular-@value{VERSION}-share.zip}).
    33 @item Singular-@value{VERSION}-@value{_UNAME}.tar.gz
     35@item Singular-@value{VERSION}-@value{_UNAME}.tgz
    3436contains architecture dependent executables, like the @sc{Singular}
    35 program
     37program.
    3638@ifclear UNAME
    37  where @code{@value{_UNAME}} is a description of the processor and operating system
     39@code{@value{_UNAME}} is a description of the processor and operating system
    3840for which @sc{Singular} is compiled (e.g, @code{ix86-Linux}). Please contact us if
    39 you can not find an appropriate architecture dependent archive
    40 @end ifclear
    41 .
     41you can not find an appropriate architecture dependent archive.
     42@end ifclear
    4243@end table
    4344
    44 You can obtain these files from
    45 @url{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/}.
     45You can obtain these (and other) archives from
     46@display
     47@uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/}.
     48@end display
    4649
    4750@ifclear singularmanual
     
    8285Unpack the archives:
    8386@smallexample
    84 gzip -dc Singular-@value{VERSION}-@value{_UNAME}.tar.gz | tar -pxf -
    85 gzip -dc Singular-@value{VERSION}-share.tar.gz | tar -pxf -
     87gzip -dc Singular-@value{VERSION}-@value{_UNAME}.tgz | tar -pxf -
     88gzip -dc Singular-@value{VERSION}-share.tgz | tar -pxf -
    8689@end smallexample
    8790If you have downloaded @code{Singular-@value{VERSION}-share.zip},
     
    113116to figure out where its @sc{Singular} libraries and on-line
    114117documentation files are.  These constraints on the local directory layout
    115 are necessary to avoid having to hardcode pathnames into the
     118are necessary to avoid having to hard-code pathnames into the
    116119executables, or require that environment variables be set before
    117120running the executable. In particular, you should not move or copy
     
    147150
    148151You also might want to adjust your personal start-up files
    149 (@code{~/.cshrc} for @code{csh}, @code{.tcshrc} for @code{tcsh},
    150 @code{.profile} for @code{bash}) accordingly,
     152(@code{~/.cshrc} for @code{csh}, @code{~/.tcshrc} for @code{tcsh}, or
     153@code{~/.profile} for @code{bash}) accordingly,
    151154so that the @code{$PATH} variable is set automatically each time you login.
    152155
    153156@strong{IMPORTANT:} Do @emph{never} move or copy the file
    154 @code{Singular/@value{VERSION}/@value{_UNAME}/Singular} to another place, but use
    155 soft-links instead.
     157@code{Singular/@value{VERSION}/@value{_UNAME}/Singular} to another
     158place, but use soft-links instead.
    156159
    157160@item
     
    162165@item @strong{Feature} @tab @strong{Requires}
    163166@item running @code{ESingular}, or @code{Singular} within Emacs
    164 @tab @uref{http://www.fsf.org/software/emacs/emacs.html,Emacs} version
    165 20 or higher, or, @uref{http://www.xemacs.org,Xemacs} version 20 or
     167@tab @uref{http://www.fsf.org/software/emacs/emacs.html,,Emacs} version
     16820 or higher, or, @uref{http://www.xemacs.org,,Xemacs} version 20 or
    166169higher
     170
    167171@item on-line @code{html} help
    168 @tab @uref{http://www.netscape.com, netscape} browser
     172@tab @uref{http://www.netscape.com,,netscape} browser
    169173@item on-line @code{info} help
    170 @tab @uref{http://www.texinfo.org, info}, or
    171 @uref{http://math-www.uni-paderborn.de/~axel/tkinfo/, tkinfo} texinfo browser programs
     174@tab @uref{http://www.texinfo.org,,info}, or
     175@uref{http://math-www.uni-paderborn.de/~axel/tkinfo/,,tkinfo} texinfo browser programs
    172176@item TAB completion and history mechanism of ASCII-terminal interface
    173 @tab shared @uref{ftp://ftp.de.uu.net/pub/gnu/readline/, readline}
     177@tab shared @uref{ftp://ftp.de.uu.net/pub/gnu/readline/,,readline}
    174178library, i.e. @code{/usr/lib/libreadline.so}
    175 @item visulization of curves and surfaces with @code{surf} (i.e., usage of @sc{Singular} library @code{surf.lib})
     179@item visualization of curves and surfaces
    176180@tab
    177 @uref{http://www.mathematik.uni-mainz.de/AlgebraischeGeometrie/surf/surf.shtml,surf}
     181@uref{http://www.mathematik.uni-mainz.de/AlgebraischeGeometrie/surf/surf.shtml,,surf}
    178182version 0.9 or higher (only available for Linux and Solaris).
    179183@end multitable
    180184
    181 Notice that you may also download most of these programs from
     185You may download most of these programs from
     186@display
    182187@uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils/}.
     188@end display
    183189
    184190@item Customize the on-line help system:
     
    187193the @code{netscape} program.
    188194
    189 However, this behaviour can be customized in several ways
    190 using the @sc{Singular} commands @code{system("--allow-net", 1)} and
    191 @code{system("--browser",<browser>")} (or, by starting up @sc{Singular}
     195However, this behavior can be customized in several ways
     196using the @sc{Singular} commands @code{system("--browser",<browser>")}
     197and @code{system("--allow-net", 1)} (or, by starting up @sc{Singular}
    192198with the respective command line options).
    193199
    194200In particular, creating the file
    195 @code{Singular/@value{VERSION}/LIB/.singularrc/} and putting the
     201@code{Singular/@value{VERSION}/LIB/.singularrc} and putting the
    196202@sc{Singular} command
    197203@smallexample
     
    199205@end smallexample
    200206in it, allows the on-line help system to fetch its @code{html} pages
    201 from @uref{www.mathemtaik.uni-kl.de/~zca/Singular, Singular's WWW home site}
     207from @uref{http://www.mathemtaik.uni-kl.de/~zca/Singular, Singular's WWW
     208home site}
    202209in case its local html pages are not found. That is, you may delete your
    203210local html pages, after setting this option.
     
    230237@heading Troubleshooting
    231238
    232 
    233 
     239@itemize
     240@item General: @sc{Singular} can not find its libraries or on-line help
     241@enumerate
     242@item
     243Start up @sc{Singular}, and issue the command @code{system("Singular");}.
     244If this does not return the correct and expanded location of the
     245@sc{Singular} executable, then you found a bug in @sc{Singular}, which we
     246ask you to report (see below).
     247@item
     248Check whether the directories containing the libraries and on-line help
     249files can be found by @sc{Singular}: If @code{$bindir} denotes the
     250directory where the @sc{Singular} executable resides, then @sc{Singular}
     251looks for library files as follows:   
     252@* (0) the current directory     
     253@* (1) all dirs of the environment variable SINGULARPATH
     254@* (2) @code{$bindir/LIB}
     255@* (3) @code{$bindir/../LIB}
     256@* (4) @code{/usr/local/Singular/@value{VERSION}/LIB}
     257@* (4) @code{/usr/local/Singular/LIB}
     258@* The on-line @code{info} files need to be at  @code{$bindir/../info} and the
     259@code{html} pages at @code{$bindir/../html}.
     260@end enumerate
     261
     262You can inspect the found library and @code{info}/@code{html}
     263directories by starting up @sc{Singular} with the
     264@code{--version} option, or by issuing the @sc{Singular} command
     265@code{system("--version");}.
     266
     267@item For @code{HPUX} systems:
     268@*The /etc/termcap files which are pre-installed on these systems are
     269broken which leads to messages like
     270@example
     271Name collision between 9826 9836
     272@end example
     273when @sc{Singular} is started. To fix this, you can get fixed termcap
     274files from @uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils}
     275by downloading the files termcap-<uname-description> and either
     276replace your /etc/termcap file by the file found there, or view, and
     277redo the respective changes by @code{diff}'ing the downloaded and the
     278original file.
     279
     280@item For @code{ix86-Linux} systems:
     281@*Due to some incompatibilities of shared libraries, the start-up of
     282@sc{Singular} might fail with messages like
     283@example
     284  Can not find shared library ...
     285@end example
     286To fix this, download and install
     287@code{Singular-@value{VERSION}-ix86-Linux-static.tgz}.
     288
     289@item For @code{AIX} systems:
     290@*The default @code{info} program of the system is not GNU's texinfo
     291browser which is used to display the on-line documentation in the
     292@code{info} format. Therefore, the distribution of the AIX executable
     293already contains the @code{info} browser program.
     294If you remove this program, make sure that the GNU
     295@code{info} program is executed if you call '@code{info}' from your shell.
     296
     297@item For any other troubles:
     298@*Please send an email to @email{singular@@mathematik.uni-kl.de}
     299and include the header which is displayed by starting up @sc{Singular}
     300with the @code{-v} option, and a description of your machine (issue the
     301command @code{uname -a} on your shell) in your report.
     302@end itemize
     303
     304
     305@heading More information about @sc{Singular}: Comments, Questions, Bug Reports
     306More and up-to-date information about @sc{Singular} is always available
     307from
     308@display
     309@uref{http://www.mathematik.uni-kl.de/~zca/Singular}
     310@end display
     311We very much welcome any comments, questions, and bug reports. Please
     312contact us at
     313@display
     314@email{singular@@mathematik.uni-kl.de}
     315@end display
     316
     317@ifclear singularmanual
     318GOOD LUCK and ENJOY!                         
     319Your @sc{Singular} team.
     320@end ifclear
     321
  • doc/Makefile.in

    r7736c5 r354f3b  
    22###
    33### Makefile for Singular documentation
    4 ### $Id: Makefile.in,v 1.43 1999-11-26 17:45:49 obachman Exp $
     4### $Id: Makefile.in,v 1.44 1999-11-29 12:56:07 obachman Exp $
    55#####################################################################
    66SHELL=/bin/sh
     
    3838TEXI2HTML       = @TEXI2HTML@
    3939DVIPS           = dvips
     40
    4041VERBOSE         = 1 # override this with make VERBOSE=2
    41 
     42SINGUNAME       = @SINGUNAME@
    4243# d2t stuff
    4344SINGULAR        = @SINGULAR@
     
    173174
    174175# targets which produce stand-alone documents
     176%.${SINGUNAME}.txt : %.texi
     177        ${MAKEINFO} -D UNAME --no-header --paragraph-indent none  -o $@ $<
     178
    175179%.txt :  %.texi
    176180        ${MAKEINFO} --no-header --paragraph-indent none -o $@ $<
     181
     182%.${SINGUNAME}.html : %.texi
     183        ${TEXI2HTML} -D UNAME -init_file t2h_standalone.init -verbose -split none -o $@ $<
    177184
    178185%.html : %.texi
     
    242249        ${MKINSTALLDIRS} ${install_docdir}
    243250        ${INSTALL_DATA} singular.idx ${install_docdir}
     251
     252install-bindist: INSTALL_unix.${SINGUNAME}.txt INSTALL_unix.${SINGUNAME}.html
     253        ${MKINSTALLDIRS} ${install_prefix}
     254        ${INSTALL_DATA} INSTALL_unix.${SINGUNAME}.txt ${install_prefix}/INSTALL
     255        ${INSTALL_DATA} INSTALL_unix.${SINGUNAME}.html ${install_prefix}/INSTALL.html
    244256
    245257texi2html = $(TEXI2HTML:%.pl=%)
     
    266278        /bin/rm -f ${HTML_SUBDIR}/${HTML_MANUAL_TOP} ${HTML_SUBDIR}/${HTML_TUTOR_TOP}
    267279        /bin/rm -rf ${STANDALONE_HTML_FILES} ${STANDALONE_FILES} ${STANDALONE_TXT_FILES}
     280        /bin/rm -f INSTALL_unix.${SINGUNAME}.txt INSTALL_unix.${SINGUNAME}.html
    268281
    269282distclean: clean
  • doc/doc2tex.pl

    r7736c5 r354f3b  
    11#!/usr/local/bin/perl
    2 # $Id: doc2tex.pl,v 1.19 1999-11-24 18:50:40 obachman Exp $
     2# $Id: doc2tex.pl,v 1.20 1999-11-29 12:56:07 obachman Exp $
    33###################################################################
    44#  Computer Algebra System SINGULAR
     
    163163{
    164164  $line++;
    165  
    166165  if (/^\@c\s*example/)     {&HandleExample; next;}
    167166  if (/^\@c\s*include\s+/)  {&HandleInclude; next;}
     
    177176  print TEX $_;
    178177
     178  if (! $printed_header && /^\@c/)
     179  {
     180    $printed_header = 1;
     181    print TEX <<EOT;
     182\@comment This file was generated by doc2tex.pl from $doc_file
     183\@comment DO NOT EDIT DIRECTLY, BUT EDIT $doc_file INSTEAD
     184EOT
     185  }
     186
    179187  if (/^\@bye$/)            {last;}
    180188}
     
    189197######################################################################
    190198# @c example [error] [no_comp]
    191 #    -> the text till the next @c example is feed into Singular,
     199#    -> the text till the next @c example is fed into Singular,
    192200#       the text is then substituted by
    193201#       @c computed example $ex_prefix $doc_file:$line
     
    265273  if ($reuse && $cache)
    266274  {
     275    my $ok = 1;
    267276    print "<$ex_prefix>" if ($verbose);
    268277    print TEX "\@c reused example $ex_prefix $doc_file:$lline \n";
    269278    open(INC, "<$inc_file") || Error("can't open $inc_file for reading: $!\n");
    270     while (<INC>){ print TEX $_;}
     279    while (<INC>)
     280    {
     281      if (/error occurred/ && $ok && !error_ok)
     282      {
     283        Warn("Result file $inc_file contains errors. Force re-computation by removing $inc_file");
     284        $ok = 0;
     285      }
     286      print TEX $_;
     287    }
    271288    close(INC);
    272289  }
     
    580597}
    581598
     599sub Warn
     600{
     601  print "$WARNING $_[0]\n";
     602}
    582603#
    583604# leave this here --otherwise fontification in my emacs gets screwd up
Note: See TracChangeset for help on using the changeset viewer.