Re: Need Verdana font for the PDF generated from Lyx
Hi Ingar, Guenter, Thanks very much for your inputs. I finally used Xelatex to generate the PDF with Verdana font. It works very well, except that it does not support the `attachfile' package that I use to attach files to the PDF document. Do you know of any other packages that Xelatex supports, that can be used to attach files to the PDF. I first generated a tex file from my Lyx file, and then added the following lines to the tex file before running the Xelatex command to generate the PDF. *\usepackage{fontspec} \setmainfont{Verdana}* I got the following warning (however, the PDF got generated without any attachments) - Package attachfile Warning: attachfile works _only_ with pdfLaTeX and _only_ in (attachfile)PDF-generating mode. For this run, placeholders wil l (attachfile)be substituted for all attachfile commands.. Many thanks in advance, Parul On Sat, Jun 13, 2009 at 8:16 PM, Guenter Milde mi...@users.berlios.dewrote: If you really need Verdana, you must use XeTeX. This is not officially supported (yet) but there are workarounds. Search for XeTeX at the wiki (http://wiki.lyx.org). On 2009-06-13, Richard Talley wrote: It can be hard to find typefaces that look excellent on paper and on screen (and on both Windows and OS X). Sometimes I'll reset a document in a different typeface when I print it out. The technical documents I'm producing right now I'm putting in Bera (based on Vera Bitstream, realist family) as a reasonable compromise. Bitstream Vera (or the extended version DejaVy) is the font used by OpenOffice: like Verdana it is designed for good appearance in both on-screen and printed documents. It is supported in LaTeX by the two packages 'bera' (Vera serif) and 'arev' (sans serif with math support). Günter
Re: Need Verdana font for the PDF generated from Lyx
Hi Ingar, Guenter, Thanks very much for your inputs. I finally used Xelatex to generate the PDF with Verdana font. It works very well, except that it does not support the `attachfile' package that I use to attach files to the PDF document. Do you know of any other packages that Xelatex supports, that can be used to attach files to the PDF. I first generated a tex file from my Lyx file, and then added the following lines to the tex file before running the Xelatex command to generate the PDF. *\usepackage{fontspec} \setmainfont{Verdana}* I got the following warning (however, the PDF got generated without any attachments) - Package attachfile Warning: attachfile works _only_ with pdfLaTeX and _only_ in (attachfile)PDF-generating mode. For this run, placeholders wil l (attachfile)be substituted for all attachfile commands.. Many thanks in advance, Parul On Sat, Jun 13, 2009 at 8:16 PM, Guenter Milde mi...@users.berlios.dewrote: If you really need Verdana, you must use XeTeX. This is not officially supported (yet) but there are workarounds. Search for XeTeX at the wiki (http://wiki.lyx.org). On 2009-06-13, Richard Talley wrote: It can be hard to find typefaces that look excellent on paper and on screen (and on both Windows and OS X). Sometimes I'll reset a document in a different typeface when I print it out. The technical documents I'm producing right now I'm putting in Bera (based on Vera Bitstream, realist family) as a reasonable compromise. Bitstream Vera (or the extended version DejaVy) is the font used by OpenOffice: like Verdana it is designed for good appearance in both on-screen and printed documents. It is supported in LaTeX by the two packages 'bera' (Vera serif) and 'arev' (sans serif with math support). Günter
Re: Need Verdana font for the PDF generated from Lyx
Hi Ingar, Guenter, Thanks very much for your inputs. I finally used Xelatex to generate the PDF with Verdana font. It works very well, except that it does not support the `attachfile' package that I use to attach files to the PDF document. Do you know of any other packages that Xelatex supports, that can be used to attach files to the PDF. I first generated a tex file from my Lyx file, and then added the following lines to the tex file before running the Xelatex command to generate the PDF. *\usepackage{fontspec} \setmainfont{Verdana}* I got the following warning (however, the PDF got generated without any attachments) - "Package attachfile Warning: attachfile works _only_ with pdfLaTeX and _only_ in (attachfile)PDF-generating mode. For this run, placeholders wil l (attachfile)be substituted for all attachfile commands.." Many thanks in advance, Parul On Sat, Jun 13, 2009 at 8:16 PM, Guenter Mildewrote: > If you really need Verdana, you must use XeTeX. This is not officially > supported (yet) but there are workarounds. Search for XeTeX at the wiki > (http://wiki.lyx.org). > > On 2009-06-13, Richard Talley wrote: > > > It can be hard to find typefaces that look excellent on paper and on > > screen (and on both Windows and OS X). Sometimes I'll reset a document > > in a different typeface when I print it out. The technical documents > > I'm producing right now I'm putting in Bera (based on Vera Bitstream, > > realist family) as a reasonable compromise. > > Bitstream Vera (or the extended version DejaVy) is the font used by > OpenOffice: like Verdana it is designed for good appearance in both > on-screen and printed documents. It is supported in LaTeX by the two > packages 'bera' (Vera serif) and 'arev' (sans serif with math support). > > Günter > >
Re: Need Verdana font for the PDF generated from Lyx
Thanks for all your responses. Ingar, I tried using the Winfonts package and followed the instructions in the README file, but it doesn't seem to work for me. I'm using a Windows Vista system, and updated the updmap.cfg and ttf2pk.cfg files, as instructed. I then refreshed the File name DB for MIKTEK, and ran the udpmap utility. It didn't give any error, but the font in the resulting PDF was not Verdana. Would you be able to help? I came across this FAQ page on Lyx Wiki, where it is described how to make it work for versions earlier than MIKTEK 2.5. http://wiki.lyx.org/Windows/LyXWinTips Does anyone have any pointers as to how to make it work with MIKTEK 2.7? Many thanks, Parul On Fri, Jun 12, 2009 at 3:44 PM, Ingar Pareliussen ingar.parelius...@dmmh.no wrote: I guess this package is your best bet. http://dante.ctan.org/CTAN/fonts/winfonts/ Read the README and the winfonts-doc.pdf for more information. Ingar
Re: Need Verdana font for the PDF generated from Lyx
Thanks for all your responses. Ingar, I tried using the Winfonts package and followed the instructions in the README file, but it doesn't seem to work for me. I'm using a Windows Vista system, and updated the updmap.cfg and ttf2pk.cfg files, as instructed. I then refreshed the File name DB for MIKTEK, and ran the udpmap utility. It didn't give any error, but the font in the resulting PDF was not Verdana. Would you be able to help? I came across this FAQ page on Lyx Wiki, where it is described how to make it work for versions earlier than MIKTEK 2.5. http://wiki.lyx.org/Windows/LyXWinTips Does anyone have any pointers as to how to make it work with MIKTEK 2.7? Many thanks, Parul On Fri, Jun 12, 2009 at 3:44 PM, Ingar Pareliussen ingar.parelius...@dmmh.no wrote: I guess this package is your best bet. http://dante.ctan.org/CTAN/fonts/winfonts/ Read the README and the winfonts-doc.pdf for more information. Ingar
Re: Need Verdana font for the PDF generated from Lyx
Thanks for all your responses. Ingar, I tried using the Winfonts package and followed the instructions in the README file, but it doesn't seem to work for me. I'm using a Windows Vista system, and updated the updmap.cfg and ttf2pk.cfg files, as instructed. I then refreshed the File name DB for MIKTEK, and ran the udpmap utility. It didn't give any error, but the font in the resulting PDF was not Verdana. Would you be able to help? I came across this FAQ page on Lyx Wiki, where it is described how to make it work for versions earlier than MIKTEK 2.5. http://wiki.lyx.org/Windows/LyXWinTips Does anyone have any pointers as to how to make it work with MIKTEK 2.7? Many thanks, Parul On Fri, Jun 12, 2009 at 3:44 PM, Ingar Pareliussen < ingar.parelius...@dmmh.no> wrote: > I guess this package is your best bet. > > http://dante.ctan.org/CTAN/fonts/winfonts/ > > Read the README and the winfonts-doc.pdf for more information. > > Ingar >
Need Verdana font for the PDF generated from Lyx
Hi everyone, Could you please suggest any good packages that might be available if I want Verdana font for the PDF that's generated from Lyx, instead of the standard options available in Lyx. Thank you. Parul
Need Verdana font for the PDF generated from Lyx
Hi everyone, Could you please suggest any good packages that might be available if I want Verdana font for the PDF that's generated from Lyx, instead of the standard options available in Lyx. Thank you. Parul
Need Verdana font for the PDF generated from Lyx
Hi everyone, Could you please suggest any good packages that might be available if I want Verdana font for the PDF that's generated from Lyx, instead of the standard options available in Lyx. Thank you. Parul
RE: Embedding documents/text files in PDF
Thanks a ton, Xie. Placing the file to be attached in the temp location helped. Many thanks, Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 06 May 2009 08:23 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF Is it because lyx is trying to compile your file in a temp folder, but the file you want to attach was not copied over to the temp location, so a relative path (relative to the actual lyx file, not the temp file) doesn't work? I am also new to lyx, so lyxers, please correct me if I am wrong. Regards, Xie Chao On Wed, May 6, 2009 at 5:41 AM, Parul Bali parul.sarasw...@gmail.com wrote: To be more specific, it doesn’t seem to locate the file when I specify relative path in the Lyx file and try converting it to pdflatex. However, if the same lyx file is exported to tex format and then converted to pdflatex, it works great. Any help will be greatly appreciated. Thanks, Parul From: Parul Bali [mailto:parul.sarasw...@gmail.com] Sent: 05 May 2009 22:30 To: 'Xie Chao' Cc: lyx-users@lists.lyx.org Subject: RE: Embedding documents/text files in PDF Many thanks to everyone for their responses. Xie, The `attachfile’ package you suggested works great if I export lyx file to tex format and then convert the tex file to pdflatex. However, if I try converting the lyx file to pdflatex directly, it throws me an error – “pdftex error: cannot open file for embedding” . It doesn’t seem to locate the file. Any pointers on how to resolve this would be very helpful. Thank you. Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 05 May 2009 20:09 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF I guess you are looking for this: http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf You can use this LaTeX package to attach files in your PDF. Regards, Xie Chao On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com wrote: This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
RE: Embedding documents/text files in PDF
Thanks a ton, Xie. Placing the file to be attached in the temp location helped. Many thanks, Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 06 May 2009 08:23 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF Is it because lyx is trying to compile your file in a temp folder, but the file you want to attach was not copied over to the temp location, so a relative path (relative to the actual lyx file, not the temp file) doesn't work? I am also new to lyx, so lyxers, please correct me if I am wrong. Regards, Xie Chao On Wed, May 6, 2009 at 5:41 AM, Parul Bali parul.sarasw...@gmail.com wrote: To be more specific, it doesn’t seem to locate the file when I specify relative path in the Lyx file and try converting it to pdflatex. However, if the same lyx file is exported to tex format and then converted to pdflatex, it works great. Any help will be greatly appreciated. Thanks, Parul From: Parul Bali [mailto:parul.sarasw...@gmail.com] Sent: 05 May 2009 22:30 To: 'Xie Chao' Cc: lyx-users@lists.lyx.org Subject: RE: Embedding documents/text files in PDF Many thanks to everyone for their responses. Xie, The `attachfile’ package you suggested works great if I export lyx file to tex format and then convert the tex file to pdflatex. However, if I try converting the lyx file to pdflatex directly, it throws me an error – “pdftex error: cannot open file for embedding” . It doesn’t seem to locate the file. Any pointers on how to resolve this would be very helpful. Thank you. Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 05 May 2009 20:09 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF I guess you are looking for this: http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf You can use this LaTeX package to attach files in your PDF. Regards, Xie Chao On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com wrote: This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
RE: Embedding documents/text files in PDF
Thanks a ton, Xie. Placing the file to be attached in the temp location helped. Many thanks, Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 06 May 2009 08:23 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF Is it because lyx is trying to compile your file in a temp folder, but the file you want to attach was not copied over to the temp location, so a relative path (relative to the actual lyx file, not the temp file) doesn't work? I am also new to lyx, so lyxers, please correct me if I am wrong. Regards, Xie Chao On Wed, May 6, 2009 at 5:41 AM, Parul Bali <parul.sarasw...@gmail.com> wrote: To be more specific, it doesn’t seem to locate the file when I specify relative path in the Lyx file and try converting it to pdflatex. However, if the same lyx file is exported to tex format and then converted to pdflatex, it works great. Any help will be greatly appreciated. Thanks, Parul From: Parul Bali [mailto:parul.sarasw...@gmail.com] Sent: 05 May 2009 22:30 To: 'Xie Chao' Cc: lyx-users@lists.lyx.org Subject: RE: Embedding documents/text files in PDF Many thanks to everyone for their responses. Xie, The `attachfile’ package you suggested works great if I export lyx file to tex format and then convert the tex file to pdflatex. However, if I try converting the lyx file to pdflatex directly, it throws me an error – “pdftex error: cannot open file for embedding” . It doesn’t seem to locate the file. Any pointers on how to resolve this would be very helpful. Thank you. Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 05 May 2009 20:09 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF I guess you are looking for this: http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf You can use this LaTeX package to attach files in your PDF. Regards, Xie Chao On Tue, May 5, 2009 at 5:39 AM, Parul Bali <parul.sarasw...@gmail.com> wrote: This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
RE: Embedding documents/text files in PDF
Many thanks to everyone for their responses. Xie, The `attachfile’ package you suggested works great if I export lyx file to tex format and then convert the tex file to pdflatex. However, if I try converting the lyx file to pdflatex directly, it throws me an error – “pdftex error: cannot open file for embedding” . It doesn’t seem to locate the file. Any pointers on how to resolve this would be very helpful. Thank you. Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 05 May 2009 20:09 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF I guess you are looking for this: http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf You can use this LaTeX package to attach files in your PDF. Regards, Xie Chao On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com wrote: This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
RE: Embedding documents/text files in PDF
To be more specific, it doesn’t seem to locate the file when I specify relative path in the Lyx file and try converting it to pdflatex. However, if the same lyx file is exported to tex format and then converted to pdflatex, it works great. Any help will be greatly appreciated. Thanks, Parul From: Parul Bali [mailto:parul.sarasw...@gmail.com] Sent: 05 May 2009 22:30 To: 'Xie Chao' Cc: lyx-users@lists.lyx.org Subject: RE: Embedding documents/text files in PDF Many thanks to everyone for their responses. Xie, The `attachfile’ package you suggested works great if I export lyx file to tex format and then convert the tex file to pdflatex. However, if I try converting the lyx file to pdflatex directly, it throws me an error – “pdftex error: cannot open file for embedding” . It doesn’t seem to locate the file. Any pointers on how to resolve this would be very helpful. Thank you. Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 05 May 2009 20:09 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF I guess you are looking for this: http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf You can use this LaTeX package to attach files in your PDF. Regards, Xie Chao On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com wrote: This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
RE: Embedding documents/text files in PDF
Many thanks to everyone for their responses. Xie, The `attachfile’ package you suggested works great if I export lyx file to tex format and then convert the tex file to pdflatex. However, if I try converting the lyx file to pdflatex directly, it throws me an error – “pdftex error: cannot open file for embedding” . It doesn’t seem to locate the file. Any pointers on how to resolve this would be very helpful. Thank you. Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 05 May 2009 20:09 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF I guess you are looking for this: http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf You can use this LaTeX package to attach files in your PDF. Regards, Xie Chao On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com wrote: This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
RE: Embedding documents/text files in PDF
To be more specific, it doesn’t seem to locate the file when I specify relative path in the Lyx file and try converting it to pdflatex. However, if the same lyx file is exported to tex format and then converted to pdflatex, it works great. Any help will be greatly appreciated. Thanks, Parul From: Parul Bali [mailto:parul.sarasw...@gmail.com] Sent: 05 May 2009 22:30 To: 'Xie Chao' Cc: lyx-users@lists.lyx.org Subject: RE: Embedding documents/text files in PDF Many thanks to everyone for their responses. Xie, The `attachfile’ package you suggested works great if I export lyx file to tex format and then convert the tex file to pdflatex. However, if I try converting the lyx file to pdflatex directly, it throws me an error – “pdftex error: cannot open file for embedding” . It doesn’t seem to locate the file. Any pointers on how to resolve this would be very helpful. Thank you. Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 05 May 2009 20:09 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF I guess you are looking for this: http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf You can use this LaTeX package to attach files in your PDF. Regards, Xie Chao On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com wrote: This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
RE: Embedding documents/text files in PDF
Many thanks to everyone for their responses. Xie, The `attachfile’ package you suggested works great if I export lyx file to tex format and then convert the tex file to pdflatex. However, if I try converting the lyx file to pdflatex directly, it throws me an error – “pdftex error: cannot open file for embedding” . It doesn’t seem to locate the file. Any pointers on how to resolve this would be very helpful. Thank you. Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 05 May 2009 20:09 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF I guess you are looking for this: http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf You can use this LaTeX package to attach files in your PDF. Regards, Xie Chao On Tue, May 5, 2009 at 5:39 AM, Parul Bali <parul.sarasw...@gmail.com> wrote: This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
RE: Embedding documents/text files in PDF
To be more specific, it doesn’t seem to locate the file when I specify relative path in the Lyx file and try converting it to pdflatex. However, if the same lyx file is exported to tex format and then converted to pdflatex, it works great. Any help will be greatly appreciated. Thanks, Parul From: Parul Bali [mailto:parul.sarasw...@gmail.com] Sent: 05 May 2009 22:30 To: 'Xie Chao' Cc: lyx-users@lists.lyx.org Subject: RE: Embedding documents/text files in PDF Many thanks to everyone for their responses. Xie, The `attachfile’ package you suggested works great if I export lyx file to tex format and then convert the tex file to pdflatex. However, if I try converting the lyx file to pdflatex directly, it throws me an error – “pdftex error: cannot open file for embedding” . It doesn’t seem to locate the file. Any pointers on how to resolve this would be very helpful. Thank you. Parul From: Xie Chao [mailto:xiech...@gmail.com] Sent: 05 May 2009 20:09 To: Parul Bali Cc: lyx-users@lists.lyx.org Subject: Re: Embedding documents/text files in PDF I guess you are looking for this: http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf You can use this LaTeX package to attach files in your PDF. Regards, Xie Chao On Tue, May 5, 2009 at 5:39 AM, Parul Bali <parul.sarasw...@gmail.com> wrote: This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
Embedding documents/text files in PDF
This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
Embedding documents/text files in PDF
This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
Embedding documents/text files in PDF
This may sound strange, but does anybody know if its possible to embed text file or doc file in a PDF generated from Lyx/Latex? I have seen facility to attach documents to PDFs through Adobe writer. Is the same possible through Lyx/Latex? Thanks, Parul
Lyx to html with plastex
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
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.
Lyx to html with plastex
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
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.
Lyx to html with plastex
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
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.