axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] RE: Another question


From: Ralf Hemmecke
Subject: Re: [Axiom-developer] RE: Another question
Date: Tue, 22 Aug 2006 17:57:19 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060719)

On 08/22/2006 05:26 PM, root wrote:
Well, maybe we should start with dhmatrix. I somehow agree with you and Eitan. Writing TeX should not be considered the best way of writing a .pamphlet file. LaTeX is so much more structured that it is easier to convert to other formats. One cannot do all the TeX tricks and outputs equivalent HTML. Page numbers is one thing that you don't need in html.

can you give me an example?

I don't know exactly what example you want. First. TeX is a programming language and HTML is not. In latex you would write "as we have seen on page 67" in HTML that make no good sense. You would rather like to see a link to the place you are referring to.

You've probably seen the difference between TeX and LaTeX (well, I know LaTeX is TeX) in my recent mail.

So here I quote it again since I don't yet see it in the archive.

------
Hmm... but I think I would want colored backgrounds for the axiom-input and axiom-output lines.

But forget about it. If you look at bookvol1.pamphlet you see something like

\spadcommand{digits(49)}
and then we execute the command:

\spadcommand{solve(x**49-49*x**4+9 = 0,1.e-49)}
$$
address@hidden
\displaystyle
\left[{x = -{0.6546536706904271136718122105095984761851224331
556}},  \right.
\\
\\
\displaystyle
\left.{x ={1.086921395653859508493939035954893289009213388763}},
  \right.
\\
\\
\displaystyle
\left.{x ={0.654653670725527173969468606613676483536148760766
1}}\right]
\end{array}
$$

instead of
\begin{axiominput}
solve(x**49-49*x**4+9 = 0,1.e-49)
\end{axiominput}
\begin{axiomoutput}
... repeat the thing above (which should be autogenerated anyway)
\end{axiomoutput}

I have no way to simply modify a .sty or .4ht file to make that coloring happen. That is the problem with writing plain TeX. No good markup. :-(

Writing proper environments makes translation to other formats a lot easier.

Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]