3 <style|<tuple|tmdoc|maxima>>
7 Some hints about output
10 Among the tools packages supported by <TeXmacs> environment here, some
11 experiences have to be kept in mind:
13 <\expand|enumerate-roman>
14 <item>Maxima and Yacas are the powerful softwares for symbolic
17 <item>Gnuplot and other CAS's can used to plot the graphs in 2D, 3D and
18 scientific data plots. But the Gnuplot is the best recommended software
19 since the graph that it generates can be directly embedded into the
20 worksheet in <TeXmacs>.
22 <item>Also there are many powerful softwares with numerical abilities in
23 Linux world, for example: Octave, Lab, Scilab and R (check your "session
24 options" or the <TeXmacs>_INSTALL/lib exec). But Scilab owns its
25 "terminal session" which is not easily embedded into the <TeXmacs>,
26 Octave is the best choice due to its full accessibility.
28 <item>Output format: Postscript format is the best choice as above
29 mentioned. For the Windows user and not heard about this format, HTML
30 format may be the suitable one. But for mathematical document, it is may
31 be a bad news that directly output the HTML from <TeXmacs> is generally
32 non-satisfied. If you want to generate HTML files, <LaTeX>2html maybe
33 have some help. Consider to export <LaTeX> format from <TeXmacs> and use
34 the following latex2html command to translate <TeX> file into HTML and
38 \<gtr\> latex2html -nonavigation -split 0 filename.tex
41 if you want only one HTML file with picture files without navigation
42 icons. Suppose that there are plenty of pictures generated by CAS's in
43 your <TeXmacs> file, some modifications have to be made by your hand. The
44 reason is that no PS Tricks implement yet in latex2html and this is just
45 the <TeX> package used by <TeXmacs> to make in-line Postscript graphs.
46 First capture the pictures by picture capture program, e.g. ksnapshot or
47 GIMP, by CAS's in another xterm and save it as eps format. Then edit the
48 <LaTeX> file, removing all lines including "cat code
49 <with|mode|math|\<cdots\>>" in presume part and adding the eps graphs as
53 <with|mode|math|\<backslash\>>document[12pt]{article}
55 <with|mode|math|\<backslash\>>package[dvips]{graphics}
57 \ \ \ <with|mode|math|\<cdots\>>
59 % remove all the line beginning with "catcode"
61 \ \ \ <with|mode|math|\<cdots\>>\
63 <with|mode|math|\<backslash\>>begin{document}
65 \ \ \ <with|mode|math|\<cdots\>>
67 <with|mode|math|\<backslash\>>begin{center}
69 \ \ <with|mode|math|\<backslash\>>resizebox{150mm}{!}{<with|mode|math|\<backslash\>>includegraphics{picture.eps}}
71 <with|mode|math|\<backslash\>>end{center}
73 \ \ \ <with|mode|math|\<cdots\>>
75 <with|mode|math|\<backslash\>>end{document}
78 Mainly, add the graphics package and use
79 <with|mode|math|\<backslash\>>include graphics{} to put the graph. And
80 use above latex2html commands to translate the contents. The directory
81 named by its filename will be created with HTML file, and png files.
84 Of course, you can export the worksheet from <TeXmacs> into <LaTeX> format
85 and remake the file by <TeX> system, for example: te<TeX> or Mik<TeX>.
86 Don't forget to put TeXmacs.sty in the search tree of <TeX> and execute
87 <with|color|red|texhash>. This file can be found in the diretory of
88 $<TeXmacs><with|mode|math|\<backslash\>misc\<backslash\>latex.> Then it
89 will be no problem to <with|color|red|<LaTeX>> this tex file into
90 PostScript or PDF format.
92 If you are interested in <TeXmacs> and CAS, more tm files can be found at:
94 \ \ \ \ \ \ \ \ \ \ \ <with|color|blue|http://math.cgu.edu.tw:8080/Calculus>
96 <apply|tmdoc-copyright|2003|Chu-Ching Huang>
98 <expand|tmdoc-license|Permission is granted to copy, distribute and/or
99 modify this document under the terms of the GNU Free Documentation License,
100 Version 1.1 or any later version published by the Free Software Foundation;
101 with no Invariant Sections, with no Front-Cover Texts, and with no
102 Back-Cover Texts. A copy of the license is included in the section entitled
103 "GNU Free Documentation License".>
108 <associate|paragraph width|150mm>
109 <associate|odd page margin|30mm>
110 <associate|page right margin|30mm>
111 <associate|page top margin|30mm>
112 <associate|reduction page right margin|25mm>
113 <associate|page type|a4>
114 <associate|reduction page bottom margin|15mm>
115 <associate|even page margin|30mm>
116 <associate|reduction page left margin|25mm>
117 <associate|page bottom margin|30mm>
118 <associate|reduction page top margin|15mm>
119 <associate|language|english>
125 <associate|toc-10|<tuple|8.2|?>>
126 <associate|toc-11|<tuple|8.3|?>>
127 <associate|gly-1|<tuple|1|?>>
128 <associate|idx-1|<tuple|<uninit>|?>>
129 <associate|idx-2|<tuple|1|?>>
130 <associate|gly-2|<tuple|2|?>>
131 <associate|toc-12|<tuple|8.4|?>>
132 <associate|gly-3|<tuple|3|?>>
133 <associate|toc-13|<tuple|8.5|?>>
134 <associate|idx-3|<tuple|3|?>>
135 <associate|gly-4|<tuple|4|?>>
136 <associate|toc-14|<tuple|8.6|?>>
137 <associate|idx-4|<tuple|7|?>>
138 <associate|gly-5|<tuple|5|?>>
139 <associate|toc-15|<tuple|8.7|?>>
140 <associate|idx-5|<tuple|8|?>>
141 <associate|gly-6|<tuple|6|?>>
142 <associate|toc-16|<tuple|8.8|?>>
143 <associate|gly-7|<tuple|7|?>>
144 <associate|gly-8|<tuple|8|?>>
145 <associate|gly-9|<tuple|9|?>>
146 <associate|toc-1|<tuple|1|?>>
147 <associate|toc-2|<tuple|2|?>>
148 <associate|toc-3|<tuple|3|?>>
149 <associate|toc-4|<tuple|4|?>>
150 <associate|toc-5|<tuple|5|?>>
151 <associate|toc-6|<tuple|6|?>>
152 <associate|toc-7|<tuple|7|?>>
153 <associate|toc-8|<tuple|8|?>>
154 <associate|toc-9|<tuple|8.1|?>>
161 <tuple|normal||<pageref|gly-1>>
163 <tuple|normal||<pageref|gly-2>>
165 <tuple|normal||<pageref|gly-3>>
167 <tuple|normal||<pageref|gly-4>>
169 <tuple|normal||<pageref|gly-5>>
171 <tuple|normal||<pageref|gly-6>>
173 <tuple|normal||<pageref|gly-7>>
175 <tuple|normal||<pageref|gly-8>>
177 <tuple|normal||<pageref|gly-9>>
180 <tuple|<tuple|<with|font family|<quote|ss>|Text>|<with|font
181 family|<quote|ss>|Session>>|<pageref|idx-1>>
183 <tuple|<tuple|<with|font family|<quote|ss>|Text>|<with|font
184 family|<quote|ss>|Session>>|<pageref|idx-2>>
186 <tuple|<tuple|<with|font family|<quote|ss>|Text>|<with|font
187 family|<quote|ss>|Session>>|<pageref|idx-3>>
190 <vspace*|1fn><with|font series|<quote|bold>|math font
191 series|<quote|bold>|1<space|2spc>Octave><value|toc-dots><pageref|toc-1><vspace|0.5fn>
193 <vspace*|1fn><with|font series|<quote|bold>|math font
194 series|<quote|bold>|2<space|2spc>Maxima><value|toc-dots><pageref|toc-2><vspace|0.5fn>
196 <vspace*|1fn><with|font series|<quote|bold>|math font
197 series|<quote|bold>|3<space|2spc>Gnuplot><value|toc-dots><pageref|toc-3><vspace|0.5fn>
199 <vspace*|1fn><with|font series|<quote|bold>|math font
200 series|<quote|bold>|4<space|2spc>Yacas><value|toc-dots><pageref|toc-4><vspace|0.5fn>
202 <vspace*|1fn><with|font series|<quote|bold>|math font
203 series|<quote|bold>|5<space|2spc>QCL><value|toc-dots><pageref|toc-5><vspace|0.5fn>
205 <vspace*|1fn><with|font series|<quote|bold>|math font
206 series|<quote|bold>|6<space|2spc>R><value|toc-dots><pageref|toc-6><vspace|0.5fn>
208 <vspace*|1fn><with|font series|<quote|bold>|math font
209 series|<quote|bold>|7<space|2spc>Macaulay
210 2><value|toc-dots><pageref|toc-7><vspace|0.5fn>
212 <vspace*|1fn><with|font series|<quote|bold>|math font
213 series|<quote|bold>|8<space|2spc>Some Hints about
214 Output><value|toc-dots><pageref|toc-8><vspace|0.5fn>