By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,212 Members | 2,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,212 IT Pros & Developers. It's quick & easy.

trying to reach kevin smith, author of plastex

P: n/a
Email to Kevin Smith regarding his plastex package failed. I hope he
read this group. The tarball that he needs to reproduce the error is
here:
http://arc.livingcosmos.org/wolfram-...m-fruit.tar.gz

Hi, when attempting to type plastex wolfram-fruit.tex on the attached
latex document, I got some errors. Also, I think the default HTML font
for plastex could be "nicer" ...either that or some ready made easy to
choose CSS for some common "nicer" font choices.

Errors I got follow:

terry@fyodor:~/domains/org/livingcosmos/arc/wolfram-fruit2$ plastex
wolfram-fruit.tex
plasTeX version 0.6
( /home/terry/install/lib/python2.4/site-
packages/plasTeX/Packages/article.pyc
)..
( /home/terry/install/lib/python2.4/site-
packages/plasTeX/Packages/graphicx.pyc
) ( ./wrapfig.sty..
WARNING: unrecognized command/environment: z@
WARNING: Missing decimal in ./wrapfig.sty on line 32, treating as `0`.
WARNING: Missing unit (expecting pt, pc, in, bp, cm, mm, dd, cc, sp,
ex,
em) in ./wrapfig.sty on line 32, treating as `pt`
....................
WARNING: unrecognized command/environment: the
WARNING: unrecognized command/environment: WF@everypar
WARNING: unrecognized command/environment: @arrayparboxrestore
.......
WARNING: unrecognized command/environment: string
WARNING: unrecognized command/environment: newfloatlist
....
)................................................. .....................

.....................
WARNING: unrecognized command/environment: @ifnextchar
INFO: Arguments of "WF@wr" don't match definition. Got "{" but was
expecting "[" ([#1]#2).
WARNING: unrecognized command/environment: WF@box
WARNING: Missing number in ./wolfram-fruit.tex on line 327, treating as
`0`. (<WF@box element at 0x1091752428>)
...
WARNING: Missing number in ./wolfram-fruit.tex on line 327, treating as
`0`. (< WF@box element at 0x1091752844>)
WARNING: Missing number in ./wolfram-fruit.tex on line 327, treating as
`0`. (<z@ element at 0x1091753388>)
WARNING: Missing number in <tokenson line 1, treating as `0`. (<tw@
element at 0x1091754828>)
WARNING: Missing number in <tokenson line 1, treating as `0`. (<@ne
element at 0x1091755052>)

WARNING: Missing number in ./wolfram-fruit.tex on line 327, treating as

`0`. (<WF@box element at 0x1091753644>)
WARNING: Missing number in ./wolfram-fruit.tex on line 327, treating as
`0`. (<lccode element at 0x1091755212>)
WARNING: Missing number in ./wolfram-fruit.tex on line 327, treating as
`0`. (<string element at 0x1091755980>)
WARNING: Missing number in <tokenson line 1, treating as `0`. (<tw@
element at 0x1091768844>)
WARNING: Missing number in <tokenson line 1, treating as `0`. (<@ne
element at 0x1091769420>)
...
INFO: Arguments of "WF@rapt" don't match definition. Got "{" but was
expecting "[" ([#1]#2).
WARNING: Missing decimal in ./wolfram-fruit.tex on line 327, treating
as
`0`.
WARNING: Missing unit (expecting pt, pc, in, bp, cm, mm, dd, cc, sp,
ex,
em) in ./wolfram-fruit.tex on line 327, treating as `pt`
WARNING: Missing decimal in ./wolfram-fruit.tex on line 327, treating
as
`0`.
WARNING: Missing unit (expecting pt, pc, in, bp, cm, mm, dd, cc, sp,
ex,
em) in ./wolfram-fruit.tex on line 328, treating as `pt`
ERROR: An error occurred while building the document object in
../wolfram-
fruit.tex on line 328 (global name 'tok' is not defined)
Traceback (most recent call last):
File "/home/terry/install/bin/plastex", line 95, in ?
main(sys.argv)
File "/home/terry/install/bin/plastex", line 44, in main
tex.parse()
File "/home/terry/install/lib/python2.4/site-packages/plasTeX/TeX.py",
line 378, in parse
item.digest(tokens)
File
"/home/terry/install/lib/python2.4/site-packages/plasTeX/__init__.py",
line 824, in digest
item.digest(tokens)
File
"/home/terry/install/lib/python2.4/site-packages/plasTeX/Base/LaTeX/Sectioning.py",
line 267, in digest
item.digest(tokens)
File
"/home/terry/install/lib/python2.4/site-packages/plasTeX/Base/TeX/Text.py",
line 55, in digest
tokens.push(tok)
NameError: global name 'tok' is not defined
terry@fyodor:~/domains/org/livingcosmos/arc/wolfram-fruit2$

Aug 15 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 2006-08-15 15:28:36 -0400, "metaperl" <me******@gmail.comsaid:
Email to Kevin Smith regarding his plastex package failed. I hope he
read this group. The tarball that he needs to reproduce the error is
here:
http://arc.livingcosmos.org/wolfram-...m-fruit.tar.gz

Hi, when attempting to type plastex wolfram-fruit.tex on the attached
latex document, I got some errors.
The main issue is that I hadn't implemented the wrapfig package yet.
plasTeX tried to load it natively, but it was a bit too complicated.
The good news is that it was very simple to implement in Python. I've
pushed my changes to the CVS repository, but I probably won't be
creating a new release for a while. If you need a fix right away, you
can either check out the CVS project, or simply download the two needed
files from the URLs below and copy them into your plasTeX installation.
BTW, thanks for the test case.

Copy to plasTeX/Packages/wrapfig.py
http://plastex.cvs.sourceforge.net/*...y?revision=1.1

Copy

to plasTeX/Renderers/XHTML/wrapfig.zpts
http://plastex.cvs.sourceforge.net/*...s?revision=1.1

Kevin

D. Smith

Aug 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.