I don't think that this is a problem with TEXINPUTS. \usepackage finally
uses \include to get the file into memory. \input however, appends
".tex" by default.
I think axiom.sty.tex should never be generated. How did you get that
file anyway? Ah... I see that build-improvements/src/scripts/document.in
seems to generate it.
Actually, I ran into a similar problem with ALLPROSE. All files look
like FILE.nw. My first try was
notangle FILE.nw > FILE
noweave FILE.nw > FILE.tex
But exactly for the reason of .sty files, I've changed my mind and now say
noweave FILE.nw > FILE.nw.tex
Maybe that could be a suggestion for Axiom. The .tex files are generated
anyway so their name does not matter.
Ralf
On 10/24/2006 07:29 PM, Waldek Hebisch wrote:
Waldek Hebisch <[EMAIL PROTECTED]> writes:
| There is a problem running Latex in a directory where axiom.sty.tex
| is present: Latex seeing '\usepackage{axiom}' picks 'axiom.sty.tex'
| from current directory and bombs seeing duplicate '\documentclass'.
|
| This affects running Latex in src/doc directory.
I usually do out of source build so I don't see this problem. Thanks
for the notice.
This affect also out of source build: both 'document' and 'latex' are
run in src/doc subdirectory of build directory. 'document' creates
'axiom.sty.tex' and 'latex' sees it.
The problem may depend on default setting of TEXINPUTS, I have Latex
intallation from Debian 'texlive-full' package (with default settings).
_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer