It seems you are creating a latex file with \documentclass appearing
twice in it.
Have you tried "noweave -n"? And maybe you even have to add the option
-delay. Just try. Without knowing your file I cannot say anything more.
Ralf
On 12/21/2006 03:50 PM, Francois Maltey wrote:
Hello,
I run
/usr/local/axiom-local/mnt/linux/bin/lib/noweave afile.pamphlet > afile.ltx
Then I compile
latex afile.ltx
I get errors at the beginning of the latex compilation
about \documentclass{article}
! LaTeX Error: Can be used only in preamble.
My $TEXINPUTS is :
.:/usr/share/texmf-tetex/tex/latex//:/home/fmy/Init-tex//:
/usr/local/axiom-local/mnt/linux/doc/src/algebra//:
/usr/local/axiom-local/mnt/linux/bin/tex//
The error is the same for all *.pamphlet file.
The result is a silly page with the text thefile.pamphlet0article axiom
The other pages are right.
Do you have any idea ?
Francois
_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer