473,732 Members | 2,210 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 1685

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
1490
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
974
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
4932
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
2937
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
1615
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
2385
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
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9447
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
9307
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
9235
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
8186
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...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
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();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.