Lyx to html with plastex

2009-04-19 Thread Parul Bali
Hi All,

I am trying to convert a latex document to html on Windows using Plastex.
The latex document has png and eps images. On running the Plastex command
for conversion, I get the following error. Any ideas what is going on? I
have attached the lyx file and the plain latex file.

 

Thanks 

Parul Bali 


--

ERROR: Error while expanding includegraphics in

   D:/Computerlinks/Projects/Documentation/Lex/Test.tex on line 35

   ('TEXINPUTS')

ERROR: An error occurred while building the document object in

   D:/Computerlinks/Projects/Documentation/Lex/Test.tex on line 35

   ('TEXINPUTS')

Traceback (most recent call last):

  File plastex, line 108, in ?

main(sys.argv)

  File plastex, line 54, in main

tex.parse()

  File C:\Python24\Lib\site-packages\plasTeX\TeX.py, line 390, in parse

item.digest(tokens)

  File C:\Python24\Lib\site-packages\plasTeX\__init__.py, line 893, in
digest

item.digest(tokens)

  File C:\Python24\Lib\site-packages\plasTeX\Base\LaTeX\Sectioning.py,
line 29

4, in digest

item.digest(tokens)

  File C:\Python24\Lib\site-packages\plasTeX\Base\LaTeX\Floats.py, line
35, in

 digest

res = Environment.digest(self, tokens)

  File C:\Python24\Lib\site-packages\plasTeX\__init__.py, line 893, in
digest

item.digest(tokens)

  File C:\Python24\Lib\site-packages\plasTeX\__init__.py, line 877, in
digest

for item in tokens:

  File C:\Python24\Lib\site-packages\plasTeX\TeX.py, line 46, in next

return self._next()

  File C:\Python24\Lib\site-packages\plasTeX\TeX.py, line 296, in __iter__

tokens = obj.invoke(self)

  File C:\Python24\Lib\site-packages\plasTeX\Packages\graphicx.py, line
38, in

 invoke

img = os.path.abspath(tex.kpsewhich(f+e))

  File C:\Python24\Lib\site-packages\plasTeX\TeX.py, line 1300, in
kpsewhich

TEXINPUTS = os.environ[TEXINPUTS]

  File C:\Python24\lib\os.py, line 422, in __getitem__

return self.data[key.upper()]

KeyError: 'TEXINPUTS'



Test.lyx
Description: application/lyx


Test.tex
Description: Binary data


Re: Lyx to html with plastex

2009-04-19 Thread Uwe Stöhr

Parul Bali schrieb:


I am trying to convert a latex document to html on Windows using Plastex.
The latex document has png and eps images. On running the Plastex command
for conversion, I get the following error. Any ideas what is going on?


No, but you should give this new program a try:

http://www.nongnu.org/elyxer/

regards Uwe


Re: Lyx to html with plastex

2009-04-19 Thread Alex Fernandez
Hi Parul,

 I am trying to convert a latex document to html on Windows using Plastex.
 The latex document has png and eps images. On running the Plastex command
 for conversion, I get the following error. Any ideas what is going on?

 No, but you should give this new program a try:

 http://www.nongnu.org/elyxer/

Yes, please give eLyXer a try. Version 0.15 has just been published
with a few improvements. If your favorite mirror does not carry it
yet, just go to
  http://download.savannah.gnu.org/releases-noredirect/elyxer/

Your document is rendered acceptably, although the date does not come
out centered -- it will be solved for next version. If you need
anything else to make it work for you just let me know.

Thanks,

Alex.


RE: Lyx to html with plastex

2009-04-19 Thread Parul Bali
Hi Alex,

Thanks for this. The html file looks very good indeed. However, was
wondering if it would be possible to have separate html files for each page
(as is possible with Plastex). Also, noticed that the table of contents
isn't displayed. Is it in the works?

Thanks,
Parul

-Original Message-
From: alejandro...@gmail.com [mailto:alejandro...@gmail.com] On Behalf Of
Alex Fernandez
Sent: 19 April 2009 18:01
To: Uwe Stöhr
Cc: Parul Bali; lyx-users@lists.lyx.org
Subject: Re: Lyx to html with plastex

Hi Parul,

 I am trying to convert a latex document to html on Windows using Plastex.
 The latex document has png and eps images. On running the Plastex command
 for conversion, I get the following error. Any ideas what is going on?

 No, but you should give this new program a try:

 http://www.nongnu.org/elyxer/

Yes, please give eLyXer a try. Version 0.15 has just been published
with a few improvements. If your favorite mirror does not carry it
yet, just go to
  http://download.savannah.gnu.org/releases-noredirect/elyxer/

Your document is rendered acceptably, although the date does not come
out centered -- it will be solved for next version. If you need
anything else to make it work for you just let me know.

Thanks,

Alex.



Re: Lyx to html with plastex

2009-04-19 Thread Alex Fernandez
Hi again,

On Sun, Apr 19, 2009 at 7:50 PM, Parul Bali parul.sarasw...@gmail.com wrote:
 Thanks for this. The html file looks very good indeed. However, was
 wondering if it would be possible to have separate html files for each page
 (as is possible with Plastex). Also, noticed that the table of contents
 isn't displayed. Is it in the works?

The first item is in the works, as you can see in the user guide:
  http://www.nongnu.org/elyxer/userguide.html
What I want to achieve is to be able to segment the HTML page in
chapters, parts or sections. Actually I need it for my own documents,
so you can rest assured that the tool will eventually get there. Is
this what you want?

The second point (table of contents) is related. Since eLyXer does the
conversion on the fly, keeping minimal state information on memory, it
is not possible right now to generate a table of contents: at the top
of the document it is not known how many chapters or sections there
will be. So a second pass is necessary. At the moment the planned
extension is to create a second utility which does both things:
segment the page and create a table of contents where needed.

I cannot give dates for these developments, since they depend on the
usual factors: day job, family, etc. But I would like to have them
ready before summer. Until then your best bet is to segment the
documents manually.

Cheers,

Alex.


Lyx to html with plastex

2009-04-19 Thread Parul Bali
Hi All,

I am trying to convert a latex document to html on Windows using Plastex.
The latex document has png and eps images. On running the Plastex command
for conversion, I get the following error. Any ideas what is going on? I
have attached the lyx file and the plain latex file.

 

Thanks 

Parul Bali 


--

ERROR: Error while expanding includegraphics in

   D:/Computerlinks/Projects/Documentation/Lex/Test.tex on line 35

   ('TEXINPUTS')

ERROR: An error occurred while building the document object in

   D:/Computerlinks/Projects/Documentation/Lex/Test.tex on line 35

   ('TEXINPUTS')

Traceback (most recent call last):

  File plastex, line 108, in ?

main(sys.argv)

  File plastex, line 54, in main

tex.parse()

  File C:\Python24\Lib\site-packages\plasTeX\TeX.py, line 390, in parse

item.digest(tokens)

  File C:\Python24\Lib\site-packages\plasTeX\__init__.py, line 893, in
digest

item.digest(tokens)

  File C:\Python24\Lib\site-packages\plasTeX\Base\LaTeX\Sectioning.py,
line 29

4, in digest

item.digest(tokens)

  File C:\Python24\Lib\site-packages\plasTeX\Base\LaTeX\Floats.py, line
35, in

 digest

res = Environment.digest(self, tokens)

  File C:\Python24\Lib\site-packages\plasTeX\__init__.py, line 893, in
digest

item.digest(tokens)

  File C:\Python24\Lib\site-packages\plasTeX\__init__.py, line 877, in
digest

for item in tokens:

  File C:\Python24\Lib\site-packages\plasTeX\TeX.py, line 46, in next

return self._next()

  File C:\Python24\Lib\site-packages\plasTeX\TeX.py, line 296, in __iter__

tokens = obj.invoke(self)

  File C:\Python24\Lib\site-packages\plasTeX\Packages\graphicx.py, line
38, in

 invoke

img = os.path.abspath(tex.kpsewhich(f+e))

  File C:\Python24\Lib\site-packages\plasTeX\TeX.py, line 1300, in
kpsewhich

TEXINPUTS = os.environ[TEXINPUTS]

  File C:\Python24\lib\os.py, line 422, in __getitem__

return self.data[key.upper()]

KeyError: 'TEXINPUTS'



Test.lyx
Description: application/lyx


Test.tex
Description: Binary data


Re: Lyx to html with plastex

2009-04-19 Thread Uwe Stöhr

Parul Bali schrieb:


I am trying to convert a latex document to html on Windows using Plastex.
The latex document has png and eps images. On running the Plastex command
for conversion, I get the following error. Any ideas what is going on?


No, but you should give this new program a try:

http://www.nongnu.org/elyxer/

regards Uwe


Re: Lyx to html with plastex

2009-04-19 Thread Alex Fernandez
Hi Parul,

 I am trying to convert a latex document to html on Windows using Plastex.
 The latex document has png and eps images. On running the Plastex command
 for conversion, I get the following error. Any ideas what is going on?

 No, but you should give this new program a try:

 http://www.nongnu.org/elyxer/

Yes, please give eLyXer a try. Version 0.15 has just been published
with a few improvements. If your favorite mirror does not carry it
yet, just go to
  http://download.savannah.gnu.org/releases-noredirect/elyxer/

Your document is rendered acceptably, although the date does not come
out centered -- it will be solved for next version. If you need
anything else to make it work for you just let me know.

Thanks,

Alex.


RE: Lyx to html with plastex

2009-04-19 Thread Parul Bali
Hi Alex,

Thanks for this. The html file looks very good indeed. However, was
wondering if it would be possible to have separate html files for each page
(as is possible with Plastex). Also, noticed that the table of contents
isn't displayed. Is it in the works?

Thanks,
Parul

-Original Message-
From: alejandro...@gmail.com [mailto:alejandro...@gmail.com] On Behalf Of
Alex Fernandez
Sent: 19 April 2009 18:01
To: Uwe Stöhr
Cc: Parul Bali; lyx-users@lists.lyx.org
Subject: Re: Lyx to html with plastex

Hi Parul,

 I am trying to convert a latex document to html on Windows using Plastex.
 The latex document has png and eps images. On running the Plastex command
 for conversion, I get the following error. Any ideas what is going on?

 No, but you should give this new program a try:

 http://www.nongnu.org/elyxer/

Yes, please give eLyXer a try. Version 0.15 has just been published
with a few improvements. If your favorite mirror does not carry it
yet, just go to
  http://download.savannah.gnu.org/releases-noredirect/elyxer/

Your document is rendered acceptably, although the date does not come
out centered -- it will be solved for next version. If you need
anything else to make it work for you just let me know.

Thanks,

Alex.



Re: Lyx to html with plastex

2009-04-19 Thread Alex Fernandez
Hi again,

On Sun, Apr 19, 2009 at 7:50 PM, Parul Bali parul.sarasw...@gmail.com wrote:
 Thanks for this. The html file looks very good indeed. However, was
 wondering if it would be possible to have separate html files for each page
 (as is possible with Plastex). Also, noticed that the table of contents
 isn't displayed. Is it in the works?

The first item is in the works, as you can see in the user guide:
  http://www.nongnu.org/elyxer/userguide.html
What I want to achieve is to be able to segment the HTML page in
chapters, parts or sections. Actually I need it for my own documents,
so you can rest assured that the tool will eventually get there. Is
this what you want?

The second point (table of contents) is related. Since eLyXer does the
conversion on the fly, keeping minimal state information on memory, it
is not possible right now to generate a table of contents: at the top
of the document it is not known how many chapters or sections there
will be. So a second pass is necessary. At the moment the planned
extension is to create a second utility which does both things:
segment the page and create a table of contents where needed.

I cannot give dates for these developments, since they depend on the
usual factors: day job, family, etc. But I would like to have them
ready before summer. Until then your best bet is to segment the
documents manually.

Cheers,

Alex.


Lyx to html with plastex

2009-04-19 Thread Parul Bali
Hi All,

I am trying to convert a latex document to html on Windows using Plastex.
The latex document has png and eps images. On running the Plastex command
for conversion, I get the following error. Any ideas what is going on? I
have attached the lyx file and the plain latex file.

 

Thanks 

Parul Bali 


--

ERROR: Error while expanding "includegraphics" in

   D:/Computerlinks/Projects/Documentation/Lex/Test.tex on line 35

   ('TEXINPUTS')

ERROR: An error occurred while building the document object in

   D:/Computerlinks/Projects/Documentation/Lex/Test.tex on line 35

   ('TEXINPUTS')

Traceback (most recent call last):

  File "plastex", line 108, in ?

main(sys.argv)

  File "plastex", line 54, in main

tex.parse()

  File "C:\Python24\Lib\site-packages\plasTeX\TeX.py", line 390, in parse

item.digest(tokens)

  File "C:\Python24\Lib\site-packages\plasTeX\__init__.py", line 893, in
digest

item.digest(tokens)

  File "C:\Python24\Lib\site-packages\plasTeX\Base\LaTeX\Sectioning.py",
line 29

4, in digest

item.digest(tokens)

  File "C:\Python24\Lib\site-packages\plasTeX\Base\LaTeX\Floats.py", line
35, in

 digest

res = Environment.digest(self, tokens)

  File "C:\Python24\Lib\site-packages\plasTeX\__init__.py", line 893, in
digest

item.digest(tokens)

  File "C:\Python24\Lib\site-packages\plasTeX\__init__.py", line 877, in
digest

for item in tokens:

  File "C:\Python24\Lib\site-packages\plasTeX\TeX.py", line 46, in next

return self._next()

  File "C:\Python24\Lib\site-packages\plasTeX\TeX.py", line 296, in __iter__

tokens = obj.invoke(self)

  File "C:\Python24\Lib\site-packages\plasTeX\Packages\graphicx.py", line
38, in

 invoke

img = os.path.abspath(tex.kpsewhich(f+e))

  File "C:\Python24\Lib\site-packages\plasTeX\TeX.py", line 1300, in
kpsewhich

TEXINPUTS = os.environ["TEXINPUTS"]

  File "C:\Python24\lib\os.py", line 422, in __getitem__

return self.data[key.upper()]

KeyError: 'TEXINPUTS'



Test.lyx
Description: application/lyx


Test.tex
Description: Binary data


Re: Lyx to html with plastex

2009-04-19 Thread Uwe Stöhr

Parul Bali schrieb:


I am trying to convert a latex document to html on Windows using Plastex.
The latex document has png and eps images. On running the Plastex command
for conversion, I get the following error. Any ideas what is going on?


No, but you should give this new program a try:

http://www.nongnu.org/elyxer/

regards Uwe


Re: Lyx to html with plastex

2009-04-19 Thread Alex Fernandez
Hi Parul,

>> I am trying to convert a latex document to html on Windows using Plastex.
>> The latex document has png and eps images. On running the Plastex command
>> for conversion, I get the following error. Any ideas what is going on?
>
> No, but you should give this new program a try:
>
> http://www.nongnu.org/elyxer/

Yes, please give eLyXer a try. Version 0.15 has just been published
with a few improvements. If your favorite mirror does not carry it
yet, just go to
  http://download.savannah.gnu.org/releases-noredirect/elyxer/

Your document is rendered acceptably, although the date does not come
out centered -- it will be solved for next version. If you need
anything else to make it work for you just let me know.

Thanks,

Alex.


RE: Lyx to html with plastex

2009-04-19 Thread Parul Bali
Hi Alex,

Thanks for this. The html file looks very good indeed. However, was
wondering if it would be possible to have separate html files for each page
(as is possible with Plastex). Also, noticed that the table of contents
isn't displayed. Is it in the works?

Thanks,
Parul

-Original Message-
From: alejandro...@gmail.com [mailto:alejandro...@gmail.com] On Behalf Of
Alex Fernandez
Sent: 19 April 2009 18:01
To: Uwe Stöhr
Cc: Parul Bali; lyx-users@lists.lyx.org
Subject: Re: Lyx to html with plastex

Hi Parul,

>> I am trying to convert a latex document to html on Windows using Plastex.
>> The latex document has png and eps images. On running the Plastex command
>> for conversion, I get the following error. Any ideas what is going on?
>
> No, but you should give this new program a try:
>
> http://www.nongnu.org/elyxer/

Yes, please give eLyXer a try. Version 0.15 has just been published
with a few improvements. If your favorite mirror does not carry it
yet, just go to
  http://download.savannah.gnu.org/releases-noredirect/elyxer/

Your document is rendered acceptably, although the date does not come
out centered -- it will be solved for next version. If you need
anything else to make it work for you just let me know.

Thanks,

Alex.



Re: Lyx to html with plastex

2009-04-19 Thread Alex Fernandez
Hi again,

On Sun, Apr 19, 2009 at 7:50 PM, Parul Bali  wrote:
> Thanks for this. The html file looks very good indeed. However, was
> wondering if it would be possible to have separate html files for each page
> (as is possible with Plastex). Also, noticed that the table of contents
> isn't displayed. Is it in the works?

The first item is in the works, as you can see in the user guide:
  http://www.nongnu.org/elyxer/userguide.html
What I want to achieve is to be able to segment the HTML page in
chapters, parts or sections. Actually I need it for my own documents,
so you can rest assured that the tool will eventually get there. Is
this what you want?

The second point (table of contents) is related. Since eLyXer does the
conversion on the fly, keeping minimal state information on memory, it
is not possible right now to generate a table of contents: at the top
of the document it is not known how many chapters or sections there
will be. So a second pass is necessary. At the moment the planned
extension is to create a second utility which does both things:
segment the page and create a table of contents where needed.

I cannot give dates for these developments, since they depend on the
usual factors: day job, family, etc. But I would like to have them
ready before summer. Until then your best bet is to segment the
documents manually.

Cheers,

Alex.