summaryrefslogtreecommitdiffstats
path: root/scilab_doc
diff options
context:
space:
mode:
authorSerge Steer <serge.steer@scilab.org>2001-05-16 08:24:27 +0000
committerSerge Steer <serge.steer@scilab.org>2001-05-16 08:24:27 +0000
commitb2c45fabe1f492b26268196ab0ba7afcd7021222 (patch)
tree83c2fe0b70f096aba98969f08393d48966f94f59 /scilab_doc
parentc761a2dcbcf96c96e092d896aa9b3a0e1994509d (diff)
downloadscilab-b2c45fabe1f492b26268196ab0ba7afcd7021222.zip
scilab-b2c45fabe1f492b26268196ab0ba7afcd7021222.tar.gz
adaptations for ps, pdf and html generation
Diffstat (limited to 'scilab_doc')
-rwxr-xr-xscilab_doc/LaTex-doc/Change22
-rwxr-xr-xscilab_doc/LaTex-doc/Chapters.tex71
-rwxr-xr-xscilab_doc/LaTex-doc/Docu-html.tex135
-rwxr-xr-xscilab_doc/LaTex-doc/Docu.tex54
-rwxr-xr-xscilab_doc/LaTex-doc/Docu_pdf.tex91
-rwxr-xr-xscilab_doc/LaTex-doc/Makefile15
-rwxr-xr-xscilab_doc/LaTex-doc/build-html11
-rwxr-xr-xscilab_doc/LaTex-doc/setref.emacs2
-rwxr-xr-xscilab_doc/LaTex-doc/tr2latex/troffman.sty8
9 files changed, 249 insertions, 160 deletions
diff --git a/scilab_doc/LaTex-doc/Change b/scilab_doc/LaTex-doc/Change
new file mode 100755
index 0000000..4459879
--- /dev/null
+++ b/scilab_doc/LaTex-doc/Change
@@ -0,0 +1,22 @@
1#!/bin/sh
2modify()
3{
4FILE=`basename $1`
5sed -e "s/Shead/subsubsection/g" \
6 -e "s/Seealso/subsubsection/g" \
7 -e "s/Sauthor/subsubsection/g" \
8 -e "s/.phead/%phead/g" \
9 -e "s/scitem/itemize/g" \
10 -e "s/\\\ind{/%ind{/g" \
11 -e "s/\\\trait/%trait/g" \
12 -e "s/\\\bs[ .]/$\\backslash$ /g" \
13 -e "s/.begin{flush/%begin{flush/g" \
14 -e "s/.end{flush/%end{flush/g" \
15 -e "s/\\\label{.*}//g" \
16 $1 > manual/$FILE
17}
18
19for i in $*
20do
21 modify $i
22done
diff --git a/scilab_doc/LaTex-doc/Chapters.tex b/scilab_doc/LaTex-doc/Chapters.tex
new file mode 100755
index 0000000..0c75d38
--- /dev/null
+++ b/scilab_doc/LaTex-doc/Chapters.tex
@@ -0,0 +1,71 @@
1\chapter{Basic functions}
2\section{Programming}
3%\setcounter{section}{1}\setcounter{subsection}{0}
4 \include{Chap1}
5\section{Graphic Library }
6%\setcounter{section}{1}\setcounter{subsection}{0}
7 \include{Chap2}
8\section{Utilities and Elementary Functions}
9%\setcounter{section}{1}\setcounter{subsection}{0}
10 \include{Chap3}
11\section{Input/Output functions}
12%\setcounter{section}{1}\setcounter{subsection}{0}
13 \include{Chap4}
14\section{Handling of functions and libraries}
15%\setcounter{section}{1}\setcounter{subsection}{0}
16 \include{Chap5}
17\section{Strings manipulations}
18%\setcounter{section}{1}\setcounter{subsection}{0}
19 \include{Chap5-1}
20\section{Dialogs}
21%\setcounter{section}{1}\setcounter{subsection}{0}
22 \include{Chap5-2}
23\section{Utilities}
24%\setcounter{section}{1}\setcounter{subsection}{0}
25 \include{Chap5-3}
26\section{Time and date}
27%\setcounter{section}{1}\setcounter{subsection}{0}
28 \include{Chap5-4}
29\chapter{Specialized Toolboxes}
30%\chapter{General System and Control macros}
31\section{General System and Control macros}
32 \include{Chap6}
33\section{Robust control toolbox}
34 \include{Chap7}
35\section{Tools for dynamical systems}
36 \include{Chap13}
37\section{Examples}
38 \include{Chap14}
39\section{Non-linear tools (optimization and simulation) }
40%\setcounter{section}{1}\setcounter{subsection}{0}
41 \include{Chap8}
42\section{Signal Processing toolbox}
43%\setcounter{section}{1}\setcounter{subsection}{0}
44 \include{Chap9}
45\section{Polynomial calculations}
46%\setcounter{section}{1}\setcounter{subsection}{0}
47 \include{Chap10}
48\section{Linear Algebra}
49%\setcounter{section}{1}\setcounter{subsection}{0}
50 \include{Chap11}
51\section{Metanet}
52%\setcounter{section}{1}\setcounter{subsection}{0}
53 \include{Chap12}
54\section{Scicos}
55 \include{Chap15}
56\section{Sound}
57 %\setcounter{section}{1}\setcounter{subsection}{0}
58 \include{Chap16}
59\section{Cumulative Distribution Functions, Inverses, Random
60 variables}
61%\setcounter{section}{1}\setcounter{subsection}{0}
62 \include{Chap17}
63\section{TCL/Tk interface}
64%\setcounter{section}{1}\setcounter{subsection}{0}
65 \include{Chap19}
66\section{Language and data translation tools}
67%\setcounter{section}{1}\setcounter{subsection}{0}
68 \include{Chap20}
69\section{Interprocess communication toolbox}
70%\setcounter{section}{1}\setcounter{subsection}{0}
71 \include{Chap21}
diff --git a/scilab_doc/LaTex-doc/Docu-html.tex b/scilab_doc/LaTex-doc/Docu-html.tex
index b98247c..1815083 100755
--- a/scilab_doc/LaTex-doc/Docu-html.tex
+++ b/scilab_doc/LaTex-doc/Docu-html.tex
@@ -1,129 +1,56 @@
1\documentclass[11pt]{book} 1\documentstyle[verbatim,makeidx]{book}
2\usepackage{verbatim}
3\usepackage{makeidx}
4
5 \textheight=660pt
6 \textwidth=15cm
7 \topmargin=-27pt
8 \oddsidemargin=0.7cm
9 \evensidemargin=0.7cm
10 \marginparwidth=60pt
11\hbadness=10000 % do not want underfull box messages--there are
12 % usually lots in man pages
13\hfuzz=\maxdimen % no overfull box messages either
14 2
3\def\Sdoc#1#2{\subsection{ #1: -----#2 \label{#1}}}
4\def\SSdoc#1#2{\subsubsection{ #1: -----#2 \label{#1}}}
15\newcommand{\bs}{$\backslash$} 5\newcommand{\bs}{$\backslash$}
16\def\under{\underline} 6\def\under{\underline}
17\def\dotdot{\ddot} 7\def\dotdot{\ddot}
18\def\nwl{\hfill\break} % similar to LaTex's \newline but does not 8\def\nwl{\hfill\break} % similar to LaTex's \newline but does not
19 % complain if there is no line to break
20\def\ind#1{\par\everypar{\hangindent=#1\hangafter=0\hskip-\parindent}}
21\def\tmpind#1{\par\hskip#1}
22\newenvironment{SEPcntr}{\begin{center}}{\end{center}}
23\def\cntr#1{\begin{SEPcntr} #1 \end{SEPcntr}}
24% displayed text, indented, justification off
25\def\displaybegin{\par\begingroup\medskip\narrower\narrower\noindent
26 \obeylines\obeyspaces}
27\def\displayend{\endgroup\smallskip\noindent}
28 9
29% try this TPlist environment 10\def\vector#1{\left( \begin{array}{c} #1 \end{array}\right)}
30\newcommand{\TPlistlabel}[1]{\mbox{#1}\hfil} 11\def\matrixq#1{\left( \begin{array}{cc} #1 \end{array}\right)}
31\newenvironment{TPlist}[1]{ 12\def\sciverb#1{\mbox{\tt #1}}
32\begin{list}{}
33 {
34 \let\makelabel\TPlistlabel
35 \settowidth{\labelwidth}{#1mm}
36 \setlength{\leftmargin}{\parmargin} % all paragraphs have this much
37 \addtolength{\leftmargin}{\labelwidth} % space for label
38 }
39 }{
40\end{list}}
41\def\trait{\begin{flushleft}\mbox{\hbox to \textwidth{\hrulefill}}
42 \end{flushleft}}
43 13
14\renewcommand{\cuttingunit}{subsection}.
15\setcounter{cuttingdepth}{0}
16\makeindex
17\includeonly{Chap1,Chap2,Chap3,Chap4,Chap5,Chap5-1,Chap5-2,Chap5-3,Chap5-4,Chap6,Chap7,Chap8,Chap9,Chap10,Chap11,Chap12,Chap13,Chap14,Chap15,Chap16,Chap17,Chap19,Chap20,Chap21}
18%\includeonly{Chap3}
44 19
45\def\phead#1#2#3#4#5{\section{#1}} 20\begin{document}
21\pagestyle{empty}
46 22
47\setcounter{secnumdepth}{3} 23\vspace{8.cm}
48 24
49\def\Sdoc#1#2{#1 - #2} 25{\Huge\bf SCILAB}
50 26
51\def\Shead#1{\subsection{#1}} 27\bigskip
52\def\Seealso#1{\subsection{See Also}}
53\def\Sauthor#1{\subsection{Author}}
54 28
55% For stuff to ignore 29{\Huge\bf REFERENCE}
56\def\ignore#1{}
57 30
58%% Changing the default description Mode 31\bigskip
59 32
60\def\scitemlabel#1{#1} 33{\Huge\bf MANUAL}
61 34
62\def\scitem{\list{}{\labelwidth\z@ \itemindent-\leftmargin 35\vspace{3.cm}
63 \itemsep=-\parsep \let\makelabel\scitemlabel}}
64 36
65\let\endscitem\endlist 37{\Huge\bf Scilab Group}
66 38
67\let\undertext=\underline 39{\Large\bf
40INRIA Meta2 Project/ENPC Cergrene}
68 41
42\normalsize
69 43
44\vspace{12.cm}
70 45
46INRIA - Unit\'e de recherche de Rocquencourt - Projet Meta2
71 47
72\def\vector#1{\left( \begin{array}{c} #1 \end{array}\right)} 48Domaine de Voluceau - Rocquencourt - BP 105 - 78153 Le Chesnay Cedex (France)
73\def\matrixq#1{\left( \begin{array}{cc} #1 \end{array}\right)}
74\def\sciverb#1{\mbox{\tt #1}}
75\makeindex
76\includeonly{Chap1,Chap2,Chap3,Chap4,Chap5,Chap5-1,Chap5-2,Chap5-3,Chap6,Chap7,Chap8,Chap9,Chap10,Chap11,Chap12,Chap13,Chap14,Chap15,Chap16,Chap17,Chap19,Chap20,Chap21}
77\includeonly{Chap1}
78 49
79\begin{document} 50{\bf Email: Scilab@inria.fr}
80 51
81\input{couvert.tex} 52%\input{couvert.tex}
82 53\tableofcontents
83\chapter{Programming} 54\input{Chapters}
84 \include{Chap1}
85\chapter{Graphic Library }
86 \include{Chap2}
87\chapter{Utilities and Elementary Functions}
88 \include{Chap3}
89\chapter{Input/Output functions}
90 \include{Chap4}
91\chapter{Handling of function and libraries}
92 \include{Chap5}
93\chapter{Strings manipulations}
94 \include{Chap5-1}
95\chapter{Dialogs}
96 \include{Chap5-2}
97\chapter{Utilities}
98 \include{Chap5-3}
99\chapter{General System and Control macros}
100 \include{Chap6}
101\chapter{Robust control toolbox}
102 \include{Chap7}
103\chapter{Non-linear tools (optimization and simulation) }
104 \include{Chap8}
105\chapter{Signal Processing toolbox}
106 \include{Chap9}
107 \include{Chap14}
108\chapter{Polynomial calculations}
109 \include{Chap10}
110\chapter{Linear Algebra}
111 \include{Chap11}
112\chapter{Metanet}
113 \include{Chap12}
114\chapter{Scicos}
115 \include{Chap15}
116\chapter{Sound}
117 \include{Chap16}
118\chapter{Cumulative Distribution Functions, Inverses, Random variables}
119 \include{Chap17}
120\chapter{Tools for dynamical systems}
121 \include{Chap13}
122\chapter{TCL/Tk interface}
123 \include{Chap19}
124\chapter{Language and data translation tools}
125 \include{Chap20}
126\chapter{Interprocess communication toolbox}
127 \include{Chap21}
128\printindex 55\printindex
129\end{document} 56\end{document}
diff --git a/scilab_doc/LaTex-doc/Docu.tex b/scilab_doc/LaTex-doc/Docu.tex
index 0df6653..57b42a4 100755
--- a/scilab_doc/LaTex-doc/Docu.tex
+++ b/scilab_doc/LaTex-doc/Docu.tex
@@ -7,59 +7,15 @@
7 \marginparwidth=60pt 7 \marginparwidth=60pt
8\def\vector#1{\left( \begin{array}{c} #1 \end{array}\right)} 8\def\vector#1{\left( \begin{array}{c} #1 \end{array}\right)}
9\def\matrixq#1{\left( \begin{array}{cc} #1 \end{array}\right)} 9\def\matrixq#1{\left( \begin{array}{cc} #1 \end{array}\right)}
10 10\def\sciverb#1{\mbox{\tt #1}}
11\makeindex 11\makeindex
12\includeonly{Chap1,Chap2,Chap3,Chap4,Chap5,Chap5-1,Chap5-2,Chap5-3,Chap6,Chap7,Chap8,Chap9,Chap10,Chap11,Chap12,Chap13,Chap14,Chap15,Chap16,Chap17,Chap19,Chap20,Chap21} 12\includeonly{Chap1,Chap2,Chap3,Chap4,Chap5,Chap5-1,Chap5-2,Chap5-3,Chap5-4,Chap6,Chap7,Chap8,Chap9,Chap10,Chap11,Chap12,Chap13,Chap14,Chap15,Chap16,Chap17,Chap19,Chap20,Chap21}
13\includeonly{Chap3} 13%\includeonly{Chap3}
14 14
15\begin{document} 15\begin{document}
16 16
17\input{couvert.tex} 17\input{couvert.tex}
18 18\tableofcontents
19\chapter{Programming} 19\input{Chapters}
20 \include{Chap1}
21\chapter{Graphic Library }
22 \include{Chap2}
23\chapter{Utilities and Elementary Functions}
24 \include{Chap3}
25\chapter{Input/Output functions}
26 \include{Chap4}
27\chapter{Handling of function and libraries}
28 \include{Chap5}
29\chapter{Strings manipulations}
30 \include{Chap5-1}
31\chapter{Dialogs}
32 \include{Chap5-2}
33\chapter{Utilities}
34 \include{Chap5-3}
35\chapter{General System and Control macros}
36 \include{Chap6}
37\chapter{Robust control toolbox}
38 \include{Chap7}
39\chapter{Non-linear tools (optimization and simulation) }
40 \include{Chap8}
41\chapter{Signal Processing toolbox}
42 \include{Chap9}
43 \include{Chap14}
44\chapter{Polynomial calculations}
45 \include{Chap10}
46\chapter{Linear Algebra}
47 \include{Chap11}
48\chapter{Metanet}
49 \include{Chap12}
50\chapter{Scicos}
51 \include{Chap15}
52\chapter{Sound}
53 \include{Chap16}
54\chapter{Cumulative Distribution Functions, Inverses, Random variables}
55 \include{Chap17}
56\chapter{Tools for dynamical systems}
57 \include{Chap13}
58\chapter{TCL/Tk interface}
59 \include{Chap19}
60\chapter{Language and data translation tools}
61 \include{Chap20}
62\chapter{Interprocess communication toolbox}
63 \include{Chap21}
64\printindex 20\printindex
65\end{document} 21\end{document}
diff --git a/scilab_doc/LaTex-doc/Docu_pdf.tex b/scilab_doc/LaTex-doc/Docu_pdf.tex
new file mode 100755
index 0000000..e2fc7fe
--- /dev/null
+++ b/scilab_doc/LaTex-doc/Docu_pdf.tex
@@ -0,0 +1,91 @@
1\documentstyle[verbatim,tr2latex/troffman,makeidx,hyperref,times]{book}
2 \textheight=660pt
3 \textwidth=15cm
4 \topmargin=-27pt
5 \oddsidemargin=0.7cm
6 \evensidemargin=0.7cm
7 \marginparwidth=60pt
8\def\vector#1{\left( \begin{array}{c} #1 \end{array}\right)}
9\def\matrixq#1{\left( \begin{array}{cc} #1 \end{array}\right)}
10\def\sciverb#1{\mbox{\tt #1}}
11\makeindex
12\includeonly{Chap1,Chap2,Chap3,Chap4,Chap5,Chap5-1,Chap5-2,Chap5-3,Chap5-4,Chap6,Chap7,Chap8,Chap9,Chap10,Chap11,Chap12,Chap13,Chap14,Chap15,Chap16,Chap17,Chap19,Chap20,Chap21}
13%\includeonly{Chap3}
14
15\begin{document}
16
17\input{couvert.tex}
18\tableofcontents
19\part{Basic functions}
20\chapter{Programming}
21\setcounter{section}{1}\setcounter{subsection}{0}
22 \include{Chap1}
23\chapter{Graphic Library }
24\setcounter{section}{1}\setcounter{subsection}{0}
25 \include{Chap2}
26\chapter{Utilities and Elementary Functions}
27\setcounter{section}{1}\setcounter{subsection}{0}
28 \include{Chap3}
29\chapter{Input/Output functions}
30\setcounter{section}{1}\setcounter{subsection}{0}
31 \include{Chap4}
32\chapter{Handling of functions and libraries}
33\setcounter{section}{1}\setcounter{subsection}{0}
34 \include{Chap5}
35\chapter{Strings manipulations}
36\setcounter{section}{1}\setcounter{subsection}{0}
37 \include{Chap5-1}
38\chapter{Dialogs}
39\setcounter{section}{1}\setcounter{subsection}{0}
40 \include{Chap5-2}
41\chapter{Utilities}
42\setcounter{section}{1}\setcounter{subsection}{0}
43 \include{Chap5-3}
44\chapter{Time and date}
45\setcounter{section}{1}\setcounter{subsection}{0}
46 \include{Chap5-4}
47\part{Specialized Toolboxes}
48\chapter{General System and Control macros}
49\section{Basic functions}
50 \include{Chap6}
51\section{Robust control toolbox}
52 \include{Chap7}
53\section{Tools for dynamical systems}
54 \include{Chap13}
55\section{Examples}
56 \include{Chap14}
57\chapter{Non-linear tools (optimization and simulation) }
58\setcounter{section}{1}\setcounter{subsection}{0}
59 \include{Chap8}
60\chapter{Signal Processing toolbox}
61\setcounter{section}{1}\setcounter{subsection}{0}
62 \include{Chap9}
63\chapter{Polynomial calculations}
64\setcounter{section}{1}\setcounter{subsection}{0}
65 \include{Chap10}
66\chapter{Linear Algebra}
67\setcounter{section}{1}\setcounter{subsection}{0}
68 \include{Chap11}
69\chapter{Metanet}
70\setcounter{section}{1}\setcounter{subsection}{0}
71 \include{Chap12}
72\chapter{Scicos}
73 \include{Chap15}
74\chapter{Sound}
75 \setcounter{section}{1}\setcounter{subsection}{0}
76 \include{Chap16}
77\chapter{Cumulative Distribution Functions, Inverses, Random
78 variables}
79\setcounter{section}{1}\setcounter{subsection}{0}
80 \include{Chap17}
81\chapter{TCL/Tk interface}
82\setcounter{section}{1}\setcounter{subsection}{0}
83 \include{Chap19}
84\chapter{Language and data translation tools}
85\setcounter{section}{1}\setcounter{subsection}{0}
86 \include{Chap20}
87\chapter{Interprocess communication toolbox}
88\setcounter{section}{1}\setcounter{subsection}{0}
89 \include{Chap21}
90\printindex
91\end{document}
diff --git a/scilab_doc/LaTex-doc/Makefile b/scilab_doc/LaTex-doc/Makefile
index 108c117..039b57f 100755
--- a/scilab_doc/LaTex-doc/Makefile
+++ b/scilab_doc/LaTex-doc/Makefile
@@ -2,14 +2,14 @@ SHELL = /bin/sh
2 2
3include ../../Version.incl 3include ../../Version.incl
4SCIDIR=../.. 4SCIDIR=../..
5SCIDOC=$(SCIDIR)/../$(SCIVERSION)/doc 5SCIDOC=$(SCIDIR)/doc
6include ../../Makefile.incl 6include ../../Makefile.incl
7 7
8FILES = Chap1.tex Chap2.tex Chap3.tex Chap4.tex Chap5.tex \ 8FILES = Chap1.tex Chap2.tex Chap3.tex Chap4.tex Chap5.tex \
9 Chap6.tex Chap7.tex Chap8.tex Chap9.tex Chap10.tex \ 9 Chap6.tex Chap7.tex Chap8.tex Chap9.tex Chap10.tex \
10 Chap11.tex Chap12.tex Chap13.tex Chap14.tex Chap15.tex \ 10 Chap11.tex Chap12.tex Chap13.tex Chap14.tex Chap15.tex \
11 Chap16.tex Chap17.tex Chap19.tex Chap20.tex \ 11 Chap16.tex Chap17.tex Chap19.tex Chap20.tex \
12 Chap21.tex Chap5-1.tex Chap5-2.tex Chap5-3.tex 12 Chap21.tex Chap5-1.tex Chap5-2.tex Chap5-3.tex Chap5-4.tex
13 13
14MAN = $(SCIDIR)/man/ 14MAN = $(SCIDIR)/man/
15 15
@@ -41,7 +41,7 @@ $(SCIDOC)/Manual.ps: Tr2tex chapters couvert.tex couv2.ps
41 $(LATEX) Docu.tex 41 $(LATEX) Docu.tex
42 $(LATEX) Docu.tex 42 $(LATEX) Docu.tex
43 $(LATEX) Docu.tex 43 $(LATEX) Docu.tex
44 makeindex -s Docu.isty Docu 44 makeindex -s Docu.isty Docu.idx
45 $(LATEX) Docu.tex 45 $(LATEX) Docu.tex
46 $(RM) $@ 46 $(RM) $@
47 dvips -o $@ Docu.dvi 47 dvips -o $@ Docu.dvi
@@ -53,11 +53,13 @@ pdf: Tr2tex chapters couvert.tex couv2.ps
53 $(LATEX) Docu_pdf.tex 53 $(LATEX) Docu_pdf.tex
54 $(LATEX) Docu_pdf.tex 54 $(LATEX) Docu_pdf.tex
55 $(LATEX) Docu_pdf.tex 55 $(LATEX) Docu_pdf.tex
56 makeindex -s Docu.isty Docu_pdf 56 makeindex -s Docu.isty Docu_pdf.idx
57 $(LATEX) Docu_pdf.tex 57 $(LATEX) Docu_pdf.tex
58 dvips -z -o Manual_pdf.ps Docu_pdf.dvi 58 dvips -z -o Manual_pdf.ps Docu_pdf.dvi
59 ps2pdf Manual_pdf.ps 59 ps2pdf Manual_pdf.ps
60 mv Manual_pdf.pdf ../Manual.pdf 60 mv Manual_pdf.pdf ../Manual.pdf
61html:
62 build-html
61 63
62couv2.ps: couv2.tex 64couv2.ps: couv2.tex
63 $(LATEX) couv2 65 $(LATEX) couv2
@@ -108,6 +110,11 @@ Chap5-3.tex : $(TR2TEX) $(MAN)/utilities/?*.man
108 @sed -e 's/\\documentstyle/%\\documentstyle/' -e 's/\\end{document}//' -e 's/\\begin{document}//' /tmp/Chap5-3.tex > Chap5-3.tex 110 @sed -e 's/\\documentstyle/%\\documentstyle/' -e 's/\\end{document}//' -e 's/\\begin{document}//' /tmp/Chap5-3.tex > Chap5-3.tex
109 $(RM) /tmp/Chap5-3.tex 111 $(RM) /tmp/Chap5-3.tex
110 112
113Chap5-4.tex : $(TR2TEX) $(MAN)/time-date/?*.man
114 $(TR2TEX) -m $(MAN)/time-date/?*.man > /tmp/Chap5-4.tex
115 @sed -e 's/\\documentstyle/%\\documentstyle/' -e 's/\\end{document}//' -e 's/\\begin{document}//' /tmp/Chap5-4.tex > Chap5-4.tex
116 $(RM) /tmp/Chap5-4.tex
117
111Chap6.tex : $(TR2TEX) $(MAN)/control/?*.man 118Chap6.tex : $(TR2TEX) $(MAN)/control/?*.man
112 $(TR2TEX) -m $(MAN)/control/?*.man > /tmp/Chap6.tex 119 $(TR2TEX) -m $(MAN)/control/?*.man > /tmp/Chap6.tex
113 @sed -e 's/\\documentstyle/%\\documentstyle/' -e 's/\\end{document}//' -e 's/\\begin{document}//' /tmp/Chap6.tex > Chap6.tex 120 @sed -e 's/\\documentstyle/%\\documentstyle/' -e 's/\\end{document}//' -e 's/\\begin{document}//' /tmp/Chap6.tex > Chap6.tex
diff --git a/scilab_doc/LaTex-doc/build-html b/scilab_doc/LaTex-doc/build-html
new file mode 100755
index 0000000..c96dbef
--- /dev/null
+++ b/scilab_doc/LaTex-doc/build-html
@@ -0,0 +1,11 @@
1#!/bin/sh
2Change Chap*.tex
3cp Docu-html.tex manual/.
4cp Chapters.tex manual/.
5cd manual;
6 hevea Docu-html.tex;
7 sed -e "s/%/\\\%/g" Docu-html.haux>haux;
8 mv haux Docu-html.haux;hevea Docu-html.tex
9 hacha Docu-html.html #execute setref.emacs to change the reference in Docu-html.html before
10cd ..
11tar czf ../manual-html.tar.gz manual/*.html manual/*.gif
diff --git a/scilab_doc/LaTex-doc/setref.emacs b/scilab_doc/LaTex-doc/setref.emacs
new file mode 100755
index 0000000..da85672
--- /dev/null
+++ b/scilab_doc/LaTex-doc/setref.emacs
@@ -0,0 +1,2 @@
1(fset 'setref
2 [?\C-s ?? ?? ?\C- ?\C-r ?< ?c ?o ?d ?e ?> ?\C- ?\C-s ?/ ?c ?o ?d ?e ?> (menu-bar) edit cut ?\C-s ?? ?? ?\C- backspace backspace ?\C-y])
diff --git a/scilab_doc/LaTex-doc/tr2latex/troffman.sty b/scilab_doc/LaTex-doc/tr2latex/troffman.sty
index 90a2c94..979342d 100755
--- a/scilab_doc/LaTex-doc/tr2latex/troffman.sty
+++ b/scilab_doc/LaTex-doc/tr2latex/troffman.sty
@@ -65,10 +65,12 @@
65% since we want to use #1 as an index entry we must 65% since we want to use #1 as an index entry we must
66\def\Sdoc#1#2{ 66\def\Sdoc#1#2{
67 \typeout{[#1]}% maybe temporary, but nice for progress report 67 \typeout{[#1]}% maybe temporary, but nice for progress report
68 %\smallskip\noindent\fbox{\hbox to \textwidth{#1 \hfill #2}}
69 %\subsection{{\tt #1} \hrulefill {\small\sl #2}}
70 \subsection{{ #1} \hrulefill { #2}} 68 \subsection{{ #1} \hrulefill { #2}}
71} 69}
70\def\SSdoc#1#2{
71 \typeout{[#1]}% maybe temporary, but nice for progress report
72 \subsubsection{{ #1} \hrulefill { #2}}
73}
72 74
73% \def\index{\@bsphack\begingroup 75% \def\index{\@bsphack\begingroup
74% \def\protect####1{\string####1\space}\@sanitize 76% \def\protect####1{\string####1\space}\@sanitize
@@ -104,4 +106,4 @@
104\let\undertext=\underline 106\let\undertext=\underline
105 107
106\def\trait{\begin{flushleft}\mbox{\hbox to \textwidth{\hrulefill}} 108\def\trait{\begin{flushleft}\mbox{\hbox to \textwidth{\hrulefill}}
107 \end{flushleft}} \ No newline at end of file 109 \end{flushleft}}