473,722 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

plasTeX doesn't load LaTeX packages

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{bab el,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.ownerDocum ent.context.loa dPackage(tex,
file+self.exten sion, 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.ownerDocum ent.context.loa dPackage(tex,
file+self.exten sion, options)
File
"/usr/lib/python2.4/site-packages/plasTeX/Context.py",
line 229, in loadPackage
m = __import__(modu le, 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
Nov 11 '06 #1
0 1682

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6827
by: Glenn | last post by:
I've RTFM'd and searched google and Zend and still am having a problem loading php_mssql.dll. First, background: I'm using PHP Version 4.3.10 Apache/2.0.52 MySQL Server 4.1 Windows 2000 Professional OS
0
1489
by: INGSOC | last post by:
Using remote debugging, I can attach to a windows service and run it in debug mode in VS.Net 2003. The problem is this service uses two supporting dlls. On the remote service, the dlls have been registered in the GAC. They are also in the service's directory, along with their associated *.dbg symbols. Yet, any breakpoint in the dlls is not hit. The dlls are part of the project file, and breakpoints in them can be hit when I debug...
0
972
by: Brett | last post by:
I'm noticing that an IE object page doesn't completely load before its DocumentComplete event fires. For example, the following method fires once an IE page loads: private void onIEDocComplete1(object pDisp, ref object url) { IE_Inst.DocumentComplete += new SHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler(this.onIEDocComplete2); this.NavigateToWebPage(url, this.noValue, this.noValue); }
5
4931
by: Engineerik | last post by:
I have a login form which I want to display with the showdialog method. When I do that the event handler for the load event does not run. If I use the show method the load event handler runs perfectly. I can't find any documentation regarding the load event not firing when a form is displayed using the showdialog method.
5
2934
by: steven.harms | last post by:
I'm *sure* this has to be a FAQ and I see discussions of this in the clj archives, but I don't see the answer. Perhaps someone here can point the clueless, but... 1. I create an HTML document that validates at w3c 2. I use: <script language="JavaScript" type="text/javascript" src="dashboard.js" ></script>
4
1263
by: M. Fisher | last post by:
I have a javascript file that is formatted as such: var dashboardData = { 'SDET_Lab130' : { 'SDET' : , , , , , ,
2
1614
by: Ronald S. Cook | last post by:
In my Windows app, when you click to load a form, it kind of draws part of some controls as it's doing other things and then finally draws everything. This looks bad. Is there a way I can just keep everything blank (or have a "Loading screen..." message) until every is ready to display and THEN display it? Thanks for any help, Ron
3
1675
by: dolittle | last post by:
Hi, I`m using dynamic script tags to dynamically load scripts from a remote server and it works well. I`m simulating a network issue by disconnecting from the network and reconnecting. Then I`m trying to load scripts again. On FireBug I can see that the browser gets the correct response from the server but the scripts aren`t being excuted. On IE7 it works fine. Is this a know issue with firefox?
6
2384
by: raknin | last post by:
Hi, I have a starnge behaviour if the css file exists in the same directory as the html file it is working but if I move the css file into /css directory which exists in under the html file directory the css file doesn't load, any sugesstions i.e. work <link rel="stylesheet" type="text/css" href="facebox.css" media="screen" /> Does not work:
0
8739
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9238
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9157
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9088
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5995
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2602
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.