G
giovanni gherdovich
Hello,
first of all:
Is this the right place to ask plastek-related
questions?
I'm trying to make plastex work on my Ubuntu Dapper
Drake. For LaTeX, I have the all-in-one package
tetex.
Everything is ok with this simple helloword code:
\documentclass{article}
\author{Au. Thor}
\title{Title}
\date{\today}
\begin{document}
\maketitle
Hello World!
\end{document}
but if I try to load any package, like in
\documentclass{article}
\usepackage{babel,a4,amsfonts,amsmath,amsthm,amssymb}
\author{Au. Thor}
\title{Title}
\date{\today}
\begin{document}
\maketitle
Hello World!
\end{document}
I got a lot of errors:
$ plastex helloworld.tex
plasTeX version 0.6
(
/usr/lib/python2.4/site-packages/plasTeX/Packages/article.pyc
)
( /usr/share/texmf-tetex/tex/generic/babel/babel.sty
WARNING: Could not find any file named: b
)
ERROR: Error while expanding "usepackage" in
/usr/share/texmf-
tetex/tex/generic/babel/babel.sty on line 145
(Empty module name)
ERROR: Error while expanding "usepackage" in
/usr/share/texmf-
tetex/tex/generic/babel/babel.sty on line 145
(Empty module name)
ERROR: An error occurred while building the document
object in /usr/share
/texmf-tetex/tex/generic/babel/babel.sty on line
145 (Empty module name)
Traceback (most recent call last):
File "/usr/bin/plastex", line 95, in ?
main(sys.argv)
File "/usr/bin/plastex", line 44, in main
tex.parse()
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 376, in parse
for item in tokens:
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 45, in next
return self._next()
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 287, in __iter__
tokens = obj.invoke(self)
File
"/usr/lib/python2.4/site-packages/plasTeX/Base/LaTeX/Packages.py",
line 65, in invoke
self.load(tex, file, a['options'])
File
"/usr/lib/python2.4/site-packages/plasTeX/Base/LaTeX/Packages.py",
line 23, in load
self.ownerDocument.context.loadPackage(tex,
file+self.extension, options)
File
"/usr/lib/python2.4/site-packages/plasTeX/Context.py",
line 250, in loadPackage
result = tex.loadPackage(file, options)
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 184, in loadPackage
for tok in self:
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 287, in __iter__
tokens = obj.invoke(self)
File
"/usr/lib/python2.4/site-packages/plasTeX/Base/LaTeX/Packages.py",
line 65, in invoke
self.load(tex, file, a['options'])
File
"/usr/lib/python2.4/site-packages/plasTeX/Base/LaTeX/Packages.py",
line 23, in load
self.ownerDocument.context.loadPackage(tex,
file+self.extension, options)
File
"/usr/lib/python2.4/site-packages/plasTeX/Context.py",
line 229, in loadPackage
m = __import__(module, globals(), locals())
ValueError: Empty module name
What is wrong?
Best regards,
Giovanni Gherdovich
__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it
first of all:
Is this the right place to ask plastek-related
questions?
I'm trying to make plastex work on my Ubuntu Dapper
Drake. For LaTeX, I have the all-in-one package
tetex.
Everything is ok with this simple helloword code:
\documentclass{article}
\author{Au. Thor}
\title{Title}
\date{\today}
\begin{document}
\maketitle
Hello World!
\end{document}
but if I try to load any package, like in
\documentclass{article}
\usepackage{babel,a4,amsfonts,amsmath,amsthm,amssymb}
\author{Au. Thor}
\title{Title}
\date{\today}
\begin{document}
\maketitle
Hello World!
\end{document}
I got a lot of errors:
$ plastex helloworld.tex
plasTeX version 0.6
(
/usr/lib/python2.4/site-packages/plasTeX/Packages/article.pyc
)
( /usr/share/texmf-tetex/tex/generic/babel/babel.sty
WARNING: Could not find any file named: b
)
ERROR: Error while expanding "usepackage" in
/usr/share/texmf-
tetex/tex/generic/babel/babel.sty on line 145
(Empty module name)
ERROR: Error while expanding "usepackage" in
/usr/share/texmf-
tetex/tex/generic/babel/babel.sty on line 145
(Empty module name)
ERROR: An error occurred while building the document
object in /usr/share
/texmf-tetex/tex/generic/babel/babel.sty on line
145 (Empty module name)
Traceback (most recent call last):
File "/usr/bin/plastex", line 95, in ?
main(sys.argv)
File "/usr/bin/plastex", line 44, in main
tex.parse()
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 376, in parse
for item in tokens:
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 45, in next
return self._next()
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 287, in __iter__
tokens = obj.invoke(self)
File
"/usr/lib/python2.4/site-packages/plasTeX/Base/LaTeX/Packages.py",
line 65, in invoke
self.load(tex, file, a['options'])
File
"/usr/lib/python2.4/site-packages/plasTeX/Base/LaTeX/Packages.py",
line 23, in load
self.ownerDocument.context.loadPackage(tex,
file+self.extension, options)
File
"/usr/lib/python2.4/site-packages/plasTeX/Context.py",
line 250, in loadPackage
result = tex.loadPackage(file, options)
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 184, in loadPackage
for tok in self:
File
"/usr/lib/python2.4/site-packages/plasTeX/TeX.py",
line 287, in __iter__
tokens = obj.invoke(self)
File
"/usr/lib/python2.4/site-packages/plasTeX/Base/LaTeX/Packages.py",
line 65, in invoke
self.load(tex, file, a['options'])
File
"/usr/lib/python2.4/site-packages/plasTeX/Base/LaTeX/Packages.py",
line 23, in load
self.ownerDocument.context.loadPackage(tex,
file+self.extension, options)
File
"/usr/lib/python2.4/site-packages/plasTeX/Context.py",
line 229, in loadPackage
m = __import__(module, globals(), locals())
ValueError: Empty module name
What is wrong?
Best regards,
Giovanni Gherdovich
__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it