- Timestamp:
- Nov 29, 1999, 1:56:11 PM (24 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 6429844b12e9748d6a461099af9e807e552d8950
- Parents:
- 7736c5c981277530fc20586946850a0fe14b5348
- Location:
- doc
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/INSTALL_unix.texi
r7736c5 r354f3b 1 1 @comment -*-texinfo-*- 2 @comment $Id: INSTALL_unix.texi,v 1. 2 1999-11-26 18:03:25obachman Exp $2 @comment $Id: INSTALL_unix.texi,v 1.3 1999-11-29 12:56:06 obachman Exp $ 3 3 @comment this file contains the installation instruction for Singular on 4 4 @comment Unix 5 @ifclear VERSION 5 6 @include version.texi 7 @end ifclear 6 8 7 9 @ifclear singularmanual … … 14 16 15 17 @ifset UNAME 16 @ set _UNAME @value{UNAME}18 @include uname.texi 17 19 @end ifset 18 20 … … 27 29 archives: 28 30 @table @code 29 @item Singular-@value{VERSION}-share.t ar.gz31 @item Singular-@value{VERSION}-share.tgz 30 32 contains architecture independent data like documentation and libraries 31 (alternativ ly, you may also download33 (alternatively, you may also download 32 34 @code{Singular-@value{VERSION}-share.zip}). 33 @item Singular-@value{VERSION}-@value{_UNAME}.t ar.gz35 @item Singular-@value{VERSION}-@value{_UNAME}.tgz 34 36 contains architecture dependent executables, like the @sc{Singular} 35 program 37 program. 36 38 @ifclear UNAME 37 where@code{@value{_UNAME}} is a description of the processor and operating system39 @code{@value{_UNAME}} is a description of the processor and operating system 38 40 for 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 . 41 you can not find an appropriate architecture dependent archive. 42 @end ifclear 42 43 @end table 43 44 44 You can obtain these files from 45 @url{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/}. 45 You can obtain these (and other) archives from 46 @display 47 @uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/}. 48 @end display 46 49 47 50 @ifclear singularmanual … … 82 85 Unpack the archives: 83 86 @smallexample 84 gzip -dc Singular-@value{VERSION}-@value{_UNAME}.t ar.gz | tar -pxf -85 gzip -dc Singular-@value{VERSION}-share.t ar.gz | tar -pxf -87 gzip -dc Singular-@value{VERSION}-@value{_UNAME}.tgz | tar -pxf - 88 gzip -dc Singular-@value{VERSION}-share.tgz | tar -pxf - 86 89 @end smallexample 87 90 If you have downloaded @code{Singular-@value{VERSION}-share.zip}, … … 113 116 to figure out where its @sc{Singular} libraries and on-line 114 117 documentation files are. These constraints on the local directory layout 115 are necessary to avoid having to hard code pathnames into the118 are necessary to avoid having to hard-code pathnames into the 116 119 executables, or require that environment variables be set before 117 120 running the executable. In particular, you should not move or copy … … 147 150 148 151 You 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, 151 154 so that the @code{$PATH} variable is set automatically each time you login. 152 155 153 156 @strong{IMPORTANT:} Do @emph{never} move or copy the file 154 @code{Singular/@value{VERSION}/@value{_UNAME}/Singular} to another place, but use155 soft-links instead.157 @code{Singular/@value{VERSION}/@value{_UNAME}/Singular} to another 158 place, but use soft-links instead. 156 159 157 160 @item … … 162 165 @item @strong{Feature} @tab @strong{Requires} 163 166 @item running @code{ESingular}, or @code{Singular} within Emacs 164 @tab @uref{http://www.fsf.org/software/emacs/emacs.html, Emacs} version165 20 or higher, or, @uref{http://www.xemacs.org, Xemacs} version 20 or167 @tab @uref{http://www.fsf.org/software/emacs/emacs.html,,Emacs} version 168 20 or higher, or, @uref{http://www.xemacs.org,,Xemacs} version 20 or 166 169 higher 170 167 171 @item on-line @code{html} help 168 @tab @uref{http://www.netscape.com, 172 @tab @uref{http://www.netscape.com,,netscape} browser 169 173 @item on-line @code{info} help 170 @tab @uref{http://www.texinfo.org, 171 @uref{http://math-www.uni-paderborn.de/~axel/tkinfo/, 174 @tab @uref{http://www.texinfo.org,,info}, or 175 @uref{http://math-www.uni-paderborn.de/~axel/tkinfo/,,tkinfo} texinfo browser programs 172 176 @item TAB completion and history mechanism of ASCII-terminal interface 173 @tab shared @uref{ftp://ftp.de.uu.net/pub/gnu/readline/, 177 @tab shared @uref{ftp://ftp.de.uu.net/pub/gnu/readline/,,readline} 174 178 library, i.e. @code{/usr/lib/libreadline.so} 175 @item visu lization of curves and surfaces with @code{surf} (i.e., usage of @sc{Singular} library @code{surf.lib})179 @item visualization of curves and surfaces 176 180 @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} 178 182 version 0.9 or higher (only available for Linux and Solaris). 179 183 @end multitable 180 184 181 Notice that you may also download most of these programs from 185 You may download most of these programs from 186 @display 182 187 @uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils/}. 188 @end display 183 189 184 190 @item Customize the on-line help system: … … 187 193 the @code{netscape} program. 188 194 189 However, this behavio ur can be customized in several ways190 using the @sc{Singular} commands @code{system("-- allow-net", 1)} and191 @code{system("--browser",<browser>")} (or, by starting up @sc{Singular}195 However, this behavior can be customized in several ways 196 using the @sc{Singular} commands @code{system("--browser",<browser>")} 197 and @code{system("--allow-net", 1)} (or, by starting up @sc{Singular} 192 198 with the respective command line options). 193 199 194 200 In particular, creating the file 195 @code{Singular/@value{VERSION}/LIB/.singularrc /} and putting the201 @code{Singular/@value{VERSION}/LIB/.singularrc} and putting the 196 202 @sc{Singular} command 197 203 @smallexample … … 199 205 @end smallexample 200 206 in 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} 207 from @uref{http://www.mathemtaik.uni-kl.de/~zca/Singular, Singular's WWW 208 home site} 202 209 in case its local html pages are not found. That is, you may delete your 203 210 local html pages, after setting this option. … … 230 237 @heading Troubleshooting 231 238 232 233 239 @itemize 240 @item General: @sc{Singular} can not find its libraries or on-line help 241 @enumerate 242 @item 243 Start up @sc{Singular}, and issue the command @code{system("Singular");}. 244 If 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 246 ask you to report (see below). 247 @item 248 Check whether the directories containing the libraries and on-line help 249 files can be found by @sc{Singular}: If @code{$bindir} denotes the 250 directory where the @sc{Singular} executable resides, then @sc{Singular} 251 looks 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 262 You can inspect the found library and @code{info}/@code{html} 263 directories 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 269 broken which leads to messages like 270 @example 271 Name collision between 9826 9836 272 @end example 273 when @sc{Singular} is started. To fix this, you can get fixed termcap 274 files from @uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils} 275 by downloading the files termcap-<uname-description> and either 276 replace your /etc/termcap file by the file found there, or view, and 277 redo the respective changes by @code{diff}'ing the downloaded and the 278 original 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 286 To 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 291 browser which is used to display the on-line documentation in the 292 @code{info} format. Therefore, the distribution of the AIX executable 293 already contains the @code{info} browser program. 294 If 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} 299 and include the header which is displayed by starting up @sc{Singular} 300 with the @code{-v} option, and a description of your machine (issue the 301 command @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 306 More and up-to-date information about @sc{Singular} is always available 307 from 308 @display 309 @uref{http://www.mathematik.uni-kl.de/~zca/Singular} 310 @end display 311 We very much welcome any comments, questions, and bug reports. Please 312 contact us at 313 @display 314 @email{singular@@mathematik.uni-kl.de} 315 @end display 316 317 @ifclear singularmanual 318 GOOD LUCK and ENJOY! 319 Your @sc{Singular} team. 320 @end ifclear 321 -
doc/Makefile.in
r7736c5 r354f3b 2 2 ### 3 3 ### Makefile for Singular documentation 4 ### $Id: Makefile.in,v 1.4 3 1999-11-26 17:45:49obachman Exp $4 ### $Id: Makefile.in,v 1.44 1999-11-29 12:56:07 obachman Exp $ 5 5 ##################################################################### 6 6 SHELL=/bin/sh … … 38 38 TEXI2HTML = @TEXI2HTML@ 39 39 DVIPS = dvips 40 40 41 VERBOSE = 1 # override this with make VERBOSE=2 41 42 SINGUNAME = @SINGUNAME@ 42 43 # d2t stuff 43 44 SINGULAR = @SINGULAR@ … … 173 174 174 175 # targets which produce stand-alone documents 176 %.${SINGUNAME}.txt : %.texi 177 ${MAKEINFO} -D UNAME --no-header --paragraph-indent none -o $@ $< 178 175 179 %.txt : %.texi 176 180 ${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 $@ $< 177 184 178 185 %.html : %.texi … … 242 249 ${MKINSTALLDIRS} ${install_docdir} 243 250 ${INSTALL_DATA} singular.idx ${install_docdir} 251 252 install-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 244 256 245 257 texi2html = $(TEXI2HTML:%.pl=%) … … 266 278 /bin/rm -f ${HTML_SUBDIR}/${HTML_MANUAL_TOP} ${HTML_SUBDIR}/${HTML_TUTOR_TOP} 267 279 /bin/rm -rf ${STANDALONE_HTML_FILES} ${STANDALONE_FILES} ${STANDALONE_TXT_FILES} 280 /bin/rm -f INSTALL_unix.${SINGUNAME}.txt INSTALL_unix.${SINGUNAME}.html 268 281 269 282 distclean: clean -
doc/doc2tex.pl
r7736c5 r354f3b 1 1 #!/usr/local/bin/perl 2 # $Id: doc2tex.pl,v 1. 19 1999-11-24 18:50:40obachman Exp $2 # $Id: doc2tex.pl,v 1.20 1999-11-29 12:56:07 obachman Exp $ 3 3 ################################################################### 4 4 # Computer Algebra System SINGULAR … … 163 163 { 164 164 $line++; 165 166 165 if (/^\@c\s*example/) {&HandleExample; next;} 167 166 if (/^\@c\s*include\s+/) {&HandleInclude; next;} … … 177 176 print TEX $_; 178 177 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 184 EOT 185 } 186 179 187 if (/^\@bye$/) {last;} 180 188 } … … 189 197 ###################################################################### 190 198 # @c example [error] [no_comp] 191 # -> the text till the next @c example is fe ed into Singular,199 # -> the text till the next @c example is fed into Singular, 192 200 # the text is then substituted by 193 201 # @c computed example $ex_prefix $doc_file:$line … … 265 273 if ($reuse && $cache) 266 274 { 275 my $ok = 1; 267 276 print "<$ex_prefix>" if ($verbose); 268 277 print TEX "\@c reused example $ex_prefix $doc_file:$lline \n"; 269 278 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 } 271 288 close(INC); 272 289 } … … 580 597 } 581 598 599 sub Warn 600 { 601 print "$WARNING $_[0]\n"; 602 } 582 603 # 583 604 # leave this here --otherwise fontification in my emacs gets screwd up
Note: See TracChangeset
for help on using the changeset viewer.