bug in lyx-HTML conversion via tth
I wrote to the author of tth: Anyway, I wanted to alert you to a potential bug. When I use lyx's hyperef feature to make a hyperlink (as opposed to embedding a URL, where the text is the same as the href target), it generates a .tex file that contains a line like this: \usepackage[unicode=true, pdfusetitle, bookmarks=true,bookmarksnumbered=false,bookmarksopen=false, breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false] {hyperref} When I run it through tth, it creates a title tag of hyperref. He responded: Hello. Thanks for this message. The problem is with the way Lyx is laying out its \usepackage command. TtH knows nothing about \usepackage. It treats it as an unknown command. http://hutchinson.belmont.ma.us/tth/manual/sec9.html#commands+unknown93 explains that such commands ought to be laid out _without_ whitespace between themselves and their arguments. Because Lyx is inserting whitespace before {hyperref}, TtH scans it as if it is the start of the text. The only way to fix this properly is for Lyx to avoid adding that extra whitespace between ] and {. No space or newline is allowed. You could fix it by hand in the .tex file yourself; but that's a bit annoying. -- A Weapon of Mass Construction My emails do not have attachments; it's a digital signature that your mail program doesn't understand. | http://www.subspacefield.org/~travis/ If you are a spammer, please email j...@subspacefield.org to get blacklisted. pgpYx08tACCKS.pgp Description: PGP signature
bug in lyx-HTML conversion via tth
I wrote to the author of tth: Anyway, I wanted to alert you to a potential bug. When I use lyx's hyperef feature to make a hyperlink (as opposed to embedding a URL, where the text is the same as the href target), it generates a .tex file that contains a line like this: \usepackage[unicode=true, pdfusetitle, bookmarks=true,bookmarksnumbered=false,bookmarksopen=false, breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false] {hyperref} When I run it through tth, it creates a title tag of hyperref. He responded: Hello. Thanks for this message. The problem is with the way Lyx is laying out its \usepackage command. TtH knows nothing about \usepackage. It treats it as an unknown command. http://hutchinson.belmont.ma.us/tth/manual/sec9.html#commands+unknown93 explains that such commands ought to be laid out _without_ whitespace between themselves and their arguments. Because Lyx is inserting whitespace before {hyperref}, TtH scans it as if it is the start of the text. The only way to fix this properly is for Lyx to avoid adding that extra whitespace between ] and {. No space or newline is allowed. You could fix it by hand in the .tex file yourself; but that's a bit annoying. -- A Weapon of Mass Construction My emails do not have attachments; it's a digital signature that your mail program doesn't understand. | http://www.subspacefield.org/~travis/ If you are a spammer, please email j...@subspacefield.org to get blacklisted. pgpYx08tACCKS.pgp Description: PGP signature
bug in lyx->HTML conversion via tth
I wrote to the author of tth: > Anyway, I wanted to alert you to a potential bug. When I use lyx's > "hyperef" feature to make a hyperlink (as opposed to embedding a URL, > where the text is the same as the href target), it generates a .tex > file that contains a line like this: > > \usepackage[unicode=true, pdfusetitle, > bookmarks=true,bookmarksnumbered=false,bookmarksopen=false, > breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false] > {hyperref} > > When I run it through tth, it creates a tag of "hyperref". He responded: Hello. Thanks for this message. The problem is with the way Lyx is laying out its \usepackage command. TtH knows nothing about \usepackage. It treats it as an unknown command. http://hutchinson.belmont.ma.us/tth/manual/sec9.html#commands+unknown93 explains that such commands ought to be laid out _without_ whitespace between themselves and their arguments. Because Lyx is inserting whitespace before {hyperref}, TtH scans it as if it is the start of the text. The only way to fix this properly is for Lyx to avoid adding that extra whitespace between ] and {. No space or newline is allowed. You could fix it by hand in the .tex file yourself; but that's a bit annoying. -- A Weapon of Mass Construction My emails do not have attachments; it's a digital signature that your mail program doesn't understand. | http://www.subspacefield.org/~travis/ If you are a spammer, please email j...@subspacefield.org to get blacklisted. pgpYx08tACCKS.pgp Description: PGP signature
Re: Lyx HTML conversion problem - while using polynom package
On 2010-04-05, rgheck wrote: On 04/05/2010 01:14 PM, baqijan1 wrote: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Is this LyX 1.6.x or the alpha release of 2.0? Either way, what HTML converter are you using? It sounds as if it is either elyxer or, if you're in 2.0, then LyX's native XHTML output. If you're using elyxer, then there is not really anything you can do. WRONG: you can ask the elyxer developer whether support for these constructs, providing sample input (and preferabely expected output). elyxer's math support is pretty basic; but steadily improving (and for this depends on user feedback). You might therefore want to uninstall elyxer (I'm sorry, but that is what you would have to do), reconfigure LyX, and try using htlatex, which has its own issues but handles math better, since it does it all via images. (Of course, that can lead to scaling problems, etc, but at least you get decent output.) You might want to try whether htlatex supports the polynom package with a manual conversion (export to LaTeX and call htlatex from the command line) first. Or instead of uninstalling elyxer, define htlatex as an alternative HMTL converter in ToolsSettings. If you are using 2.0, you will have the choice between all instlled HTML exporters by default (without the need of manually defining them in ToolsSettings). Günter
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 05:19 AM, Guenter Milde wrote: On 2010-04-05, rgheck wrote: If you're using elyxer, then there is not really anything you can do. WRONG: you can ask the elyxer developer whether support for these constructs, providing sample input (and preferabely expected output). Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. elyxer's math support is pretty basic; but steadily improving (and for this depends on user feedback). Which is irrelevant to the user's question. Or instead of uninstalling elyxer, define htlatex as an alternative HMTL converter in ToolsSettings. Perhaps you should try this yourself before giving such advice. (Perhaps you do not understand how the converter chain works.) rh
Re: Lyx HTML conversion problem - while using polynom package
rgheck schrieb: Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. Richard, please don't overreact. Requesting a feature from developers _for the next version_ is not a wrong advice. I mean in an Ubuntu forum you would also get the advice to open a LyX enhancement request when LyX is not supporting a certain feature. regards Uwe
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 01:30 PM, Uwe Stöhr wrote: rgheck schrieb: Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. Richard, please don't overreact. Requesting a feature from developers _for the next version_ is not a wrong advice. I mean in an Ubuntu forum you would also get the advice to open a LyX enhancement request when LyX is not supporting a certain feature. Had he simply made that suggestion, I wouldn't have reacted at all. As I said, I made the same suggestion and conceded that, at present, LyX's output is no better off. So please explain why it was necessary for Guenter to preface the remark with WRONG in capital letters and how that was supposed to be taken? rh
Re: Lyx HTML conversion problem - while using polynom package
On 2010-04-05, rgheck wrote: On 04/05/2010 01:14 PM, baqijan1 wrote: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Is this LyX 1.6.x or the alpha release of 2.0? Either way, what HTML converter are you using? It sounds as if it is either elyxer or, if you're in 2.0, then LyX's native XHTML output. If you're using elyxer, then there is not really anything you can do. WRONG: you can ask the elyxer developer whether support for these constructs, providing sample input (and preferabely expected output). elyxer's math support is pretty basic; but steadily improving (and for this depends on user feedback). You might therefore want to uninstall elyxer (I'm sorry, but that is what you would have to do), reconfigure LyX, and try using htlatex, which has its own issues but handles math better, since it does it all via images. (Of course, that can lead to scaling problems, etc, but at least you get decent output.) You might want to try whether htlatex supports the polynom package with a manual conversion (export to LaTeX and call htlatex from the command line) first. Or instead of uninstalling elyxer, define htlatex as an alternative HMTL converter in ToolsSettings. If you are using 2.0, you will have the choice between all instlled HTML exporters by default (without the need of manually defining them in ToolsSettings). Günter
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 05:19 AM, Guenter Milde wrote: On 2010-04-05, rgheck wrote: If you're using elyxer, then there is not really anything you can do. WRONG: you can ask the elyxer developer whether support for these constructs, providing sample input (and preferabely expected output). Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. elyxer's math support is pretty basic; but steadily improving (and for this depends on user feedback). Which is irrelevant to the user's question. Or instead of uninstalling elyxer, define htlatex as an alternative HMTL converter in ToolsSettings. Perhaps you should try this yourself before giving such advice. (Perhaps you do not understand how the converter chain works.) rh
Re: Lyx HTML conversion problem - while using polynom package
rgheck schrieb: Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. Richard, please don't overreact. Requesting a feature from developers _for the next version_ is not a wrong advice. I mean in an Ubuntu forum you would also get the advice to open a LyX enhancement request when LyX is not supporting a certain feature. regards Uwe
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 01:30 PM, Uwe Stöhr wrote: rgheck schrieb: Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. Richard, please don't overreact. Requesting a feature from developers _for the next version_ is not a wrong advice. I mean in an Ubuntu forum you would also get the advice to open a LyX enhancement request when LyX is not supporting a certain feature. Had he simply made that suggestion, I wouldn't have reacted at all. As I said, I made the same suggestion and conceded that, at present, LyX's output is no better off. So please explain why it was necessary for Guenter to preface the remark with WRONG in capital letters and how that was supposed to be taken? rh
Re: Lyx HTML conversion problem - while using polynom package
On 2010-04-05, rgheck wrote: > On 04/05/2010 01:14 PM, baqijan1 wrote: >> When I use polynom package in lyx. The html output does not show that >> parts where macros from polynom package is used. For example, if I >> have something lik >> \polylongdiv{x^2-2x+1}{x-1} >> When I convert lyxt to pdf, there is no problem. Only html does not >> work. I assume, it should convert these instances to images, which it >> does not. > Is this LyX 1.6.x or the alpha release of 2.0? Either way, what HTML > converter are you using? It sounds as if it is either elyxer or, if > you're in 2.0, then LyX's native XHTML output. > If you're using elyxer, then there is not really anything you can do. WRONG: you can ask the elyxer developer whether support for these constructs, providing sample input (and preferabely expected output). > elyxer's math support is pretty basic; but steadily improving (and for this depends on user feedback). > You might therefore want to > uninstall elyxer (I'm sorry, but that is what you would have to do), > reconfigure LyX, and try using htlatex, which has its own issues but > handles math better, since it does it all via images. (Of course, that > can lead to scaling problems, etc, but at least you get decent output.) You might want to try whether htlatex supports the polynom package with a "manual" conversion (export to LaTeX and call htlatex from the command line) first. Or instead of uninstalling elyxer, define htlatex as an alternative HMTL converter in Tools>Settings. > If you are using 2.0, you will have the choice between all instlled HTML exporters by default (without the need of manually defining them in Tools>Settings). Günter
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 05:19 AM, Guenter Milde wrote: On 2010-04-05, rgheck wrote: If you're using elyxer, then there is not really anything you can do. WRONG: you can ask the elyxer developer whether support for these constructs, providing sample input (and preferabely expected output). Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. elyxer's math support is pretty basic; but steadily improving (and for this depends on user feedback). Which is irrelevant to the user's question. Or instead of uninstalling elyxer, define htlatex as an alternative HMTL converter in Tools>Settings. Perhaps you should try this yourself before giving such advice. (Perhaps you do not understand how the converter chain works.) rh
Re: Lyx HTML conversion problem - while using polynom package
rgheck schrieb: Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. Richard, please don't overreact. Requesting a feature from developers _for the next version_ is not a wrong advice. I mean in an Ubuntu forum you would also get the advice to open a LyX enhancement request when LyX is not supporting a certain feature. regards Uwe
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 01:30 PM, Uwe Stöhr wrote: rgheck schrieb: Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. Richard, please don't overreact. Requesting a feature from developers _for the next version_ is not a wrong advice. I mean in an Ubuntu forum you would also get the advice to open a LyX enhancement request when LyX is not supporting a certain feature. Had he simply made that suggestion, I wouldn't have reacted at all. As I said, I made the same suggestion and conceded that, at present, LyX's output is no better off. So please explain why it was necessary for Guenter to preface the remark with "WRONG" in capital letters and how that was supposed to be taken? rh
Lyx HTML conversion problem - while using polynom package
When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Any help will be greatly appreciated. Since, I am stuck at this and can't move on. -- View this message in context: http://n2.nabble.com/Lyx-HTML-conversion-problem-while-using-polynom-package-tp4854375p4854375.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Lyx HTML conversion problem - while using polynom package
El Mon, 5 Apr 2010 09:14:11 -0800 (PST) baqijan1 ad...@nazaracademy.com escribió: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. Which LyX - HTML converter are you using? Which version of LyX? -Jack -- ~~~ Jack Desert --Writer, Entrepeneur Author and Spokesman: www.LetsEATalready.com Software Developer: http://GrooveTask.org Email: jackdesert...@gmail.com ~~~
Re: Lyx HTML conversion problem - while using polynom package
On 04/05/2010 01:14 PM, baqijan1 wrote: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Any help will be greatly appreciated. Since, I am stuck at this and can't move on. Is this LyX 1.6.x or the alpha release of 2.0? Either way, what HTML converter are you using? It sounds as if it is either elyxer or, if you're in 2.0, then LyX's native XHTML output. If you're using elyxer, then there is not really anything you can do. elyxer's math support is pretty basic; it doesn't even support all of the constructs that are available in LyX. It certainly does not support arbitrary packages, such as polynom. You might therefore want to uninstall elyxer (I'm sorry, but that is what you would have to do), reconfigure LyX, and try using htlatex, which has its own issues but handles math better, since it does it all via images. (Of course, that can lead to scaling problems, etc, but at least you get decent output.) If you are using 2.0, then you will run into the same problem right now, since XHTML support is not yet complete. Eventually, however, LyX will do precisely what you suggest: If it encounters something that it doesn't understand, then it will output an image. There's nothing stopping elyxer from doing the same, of course, so it that is what you are using then you might want to report the issue to the elyxer developer. Richard
Lyx HTML conversion problem - while using polynom package
When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Any help will be greatly appreciated. Since, I am stuck at this and can't move on. -- View this message in context: http://n2.nabble.com/Lyx-HTML-conversion-problem-while-using-polynom-package-tp4854375p4854375.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Lyx HTML conversion problem - while using polynom package
El Mon, 5 Apr 2010 09:14:11 -0800 (PST) baqijan1 ad...@nazaracademy.com escribió: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. Which LyX - HTML converter are you using? Which version of LyX? -Jack -- ~~~ Jack Desert --Writer, Entrepeneur Author and Spokesman: www.LetsEATalready.com Software Developer: http://GrooveTask.org Email: jackdesert...@gmail.com ~~~
Re: Lyx HTML conversion problem - while using polynom package
On 04/05/2010 01:14 PM, baqijan1 wrote: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Any help will be greatly appreciated. Since, I am stuck at this and can't move on. Is this LyX 1.6.x or the alpha release of 2.0? Either way, what HTML converter are you using? It sounds as if it is either elyxer or, if you're in 2.0, then LyX's native XHTML output. If you're using elyxer, then there is not really anything you can do. elyxer's math support is pretty basic; it doesn't even support all of the constructs that are available in LyX. It certainly does not support arbitrary packages, such as polynom. You might therefore want to uninstall elyxer (I'm sorry, but that is what you would have to do), reconfigure LyX, and try using htlatex, which has its own issues but handles math better, since it does it all via images. (Of course, that can lead to scaling problems, etc, but at least you get decent output.) If you are using 2.0, then you will run into the same problem right now, since XHTML support is not yet complete. Eventually, however, LyX will do precisely what you suggest: If it encounters something that it doesn't understand, then it will output an image. There's nothing stopping elyxer from doing the same, of course, so it that is what you are using then you might want to report the issue to the elyxer developer. Richard
Lyx HTML conversion problem - while using polynom package
When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Any help will be greatly appreciated. Since, I am stuck at this and can't move on. -- View this message in context: http://n2.nabble.com/Lyx-HTML-conversion-problem-while-using-polynom-package-tp4854375p4854375.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Lyx HTML conversion problem - while using polynom package
El Mon, 5 Apr 2010 09:14:11 -0800 (PST) baqijan1escribió: > > > When I use polynom package in lyx. The html output does not show that parts > where > macros from polynom package is used. Which LyX -> HTML converter are you using? Which version of LyX? -Jack -- ~~~ Jack Desert --Writer, Entrepeneur Author and Spokesman: www.LetsEATalready.com Software Developer: http://GrooveTask.org Email: jackdesert...@gmail.com ~~~
Re: Lyx HTML conversion problem - while using polynom package
On 04/05/2010 01:14 PM, baqijan1 wrote: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Any help will be greatly appreciated. Since, I am stuck at this and can't move on. Is this LyX 1.6.x or the alpha release of 2.0? Either way, what HTML converter are you using? It sounds as if it is either elyxer or, if you're in 2.0, then LyX's native XHTML output. If you're using elyxer, then there is not really anything you can do. elyxer's math support is pretty basic; it doesn't even support all of the constructs that are available in LyX. It certainly does not support arbitrary packages, such as polynom. You might therefore want to uninstall elyxer (I'm sorry, but that is what you would have to do), reconfigure LyX, and try using htlatex, which has its own issues but handles math better, since it does it all via images. (Of course, that can lead to scaling problems, etc, but at least you get decent output.) If you are using 2.0, then you will run into the same problem right now, since XHTML support is not yet complete. Eventually, however, LyX will do precisely what you suggest: If it encounters something that it doesn't understand, then it will output an image. There's nothing stopping elyxer from doing the same, of course, so it that is what you are using then you might want to report the issue to the elyxer developer. Richard
Re: htlatex html conversion best methods
Ares wrote: From: Helge Hafting [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 29 Jun 2006 11:10:22 +0200 Subject: Re: htlatex html conversion best methods Steve Harris wrote: Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Maybe you have a better set of fonts? Helge Hafting I tried installing Bakoma4LyX (just by copying the fonts in my font folder or whatever) and it didn't give any better result. - Diego (Ares) The command to see what fonts ImageMagick uses is convert -list type [from the command line] or to generate a text file list, convert -list type fonts.txt WARNING: If the font requested is not found, ImageMagick will silently substitute a default font, which is usually very plain looking (Arial or Times). So test the font before hand, to make sure that it is the one you want, and not the default. http://www.shareup.com/ExamDiff_Pro-download-19176.html Examdiff pro has a trial download. You can compare files or directories. You could compare my attached list of fonts in IMfonts.txt with your generated list of IM fonts. Or if you are interested enough you could send me your generated fonts.txt and I can compare them. Regards, Stephen Path: C:\Imagemagick\type-ghostscript.xml Name Family Style Stretch Weight AvantGarde-Book AvantGarde Normal Normal 400 AvantGarde-BookOblique AvantGarde Oblique Normal 400 AvantGarde-Demi AvantGarde Normal Normal 600 AvantGarde-DemiOblique AvantGarde Oblique Normal 600 Bookman-Demi BookmanNormal Normal 600 Bookman-DemiItalic BookmanItalic Normal 600 Bookman-LightBookmanNormal Normal 300 Bookman-LightItalic BookmanItalic Normal 300 Courier CourierNormal Normal 400 Courier-Bold CourierNormal Normal 700 Courier-BoldOblique CourierOblique Normal 700 Courier-Oblique CourierOblique Normal 400 HelveticaHelvetica Normal Normal 400 Helvetica-Bold Helvetica Normal Normal 700 Helvetica-BoldObliqueHelvetica Italic Normal 700 Helvetica-Narrow Helvetica Narrow Normal Condensed400 Helvetica-Narrow-BoldHelvetica Narrow Normal Condensed700 Helvetica-Narrow-BoldOblique Helvetica Narrow Oblique Condensed700 Helvetica-Narrow-Oblique Helvetica Narrow Oblique Condensed400 Helvetica-ObliqueHelvetica Italic Normal 400 NewCenturySchlbk-BoldNewCenturySchlbk Normal Normal 700 NewCenturySchlbk-BoldItalic NewCenturySchlbk Italic Normal 700 NewCenturySchlbk-Italic NewCenturySchlbk Italic Normal 400 NewCenturySchlbk-Roman NewCenturySchlbk Normal Normal 400 Palatino-BoldPalatino Normal Normal 700 Palatino-BoldItalic Palatino Italic Normal 700 Palatino-Italic Palatino Italic Normal 400 Palatino-Roman Palatino Normal Normal 400 Times-Bold Times Normal Normal 700 Times-BoldItalic Times Italic Normal 700 Times-Italic Times Italic Normal 400 Times-Roman Times Normal Normal 400 Path: Windows Fonts Name Family Style Stretch Weight Adolescence AdolescenceNormal Normal 400 Agency-FBAgency FB Normal Normal 400 Agency-FB-Bold Agency FB Normal Normal 700 Albany Albany Normal Normal 400 Albany-Bold Albany Normal Normal 700 Albany-Bold-Italic Albany Italic Normal 700 Albany-ItalicAlbany Italic Normal 400 Algerian Algerian Normal Normal 400 Andale-Sans-Bold Andale Sans
Re: htlatex html conversion best methods
Ares wrote: From: Helge Hafting [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 29 Jun 2006 11:10:22 +0200 Subject: Re: htlatex html conversion best methods Steve Harris wrote: Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Maybe you have a better set of fonts? Helge Hafting I tried installing Bakoma4LyX (just by copying the fonts in my font folder or whatever) and it didn't give any better result. - Diego (Ares) The command to see what fonts ImageMagick uses is convert -list type [from the command line] or to generate a text file list, convert -list type fonts.txt WARNING: If the font requested is not found, ImageMagick will silently substitute a default font, which is usually very plain looking (Arial or Times). So test the font before hand, to make sure that it is the one you want, and not the default. http://www.shareup.com/ExamDiff_Pro-download-19176.html Examdiff pro has a trial download. You can compare files or directories. You could compare my attached list of fonts in IMfonts.txt with your generated list of IM fonts. Or if you are interested enough you could send me your generated fonts.txt and I can compare them. Regards, Stephen Path: C:\Imagemagick\type-ghostscript.xml Name Family Style Stretch Weight AvantGarde-Book AvantGarde Normal Normal 400 AvantGarde-BookOblique AvantGarde Oblique Normal 400 AvantGarde-Demi AvantGarde Normal Normal 600 AvantGarde-DemiOblique AvantGarde Oblique Normal 600 Bookman-Demi BookmanNormal Normal 600 Bookman-DemiItalic BookmanItalic Normal 600 Bookman-LightBookmanNormal Normal 300 Bookman-LightItalic BookmanItalic Normal 300 Courier CourierNormal Normal 400 Courier-Bold CourierNormal Normal 700 Courier-BoldOblique CourierOblique Normal 700 Courier-Oblique CourierOblique Normal 400 HelveticaHelvetica Normal Normal 400 Helvetica-Bold Helvetica Normal Normal 700 Helvetica-BoldObliqueHelvetica Italic Normal 700 Helvetica-Narrow Helvetica Narrow Normal Condensed400 Helvetica-Narrow-BoldHelvetica Narrow Normal Condensed700 Helvetica-Narrow-BoldOblique Helvetica Narrow Oblique Condensed700 Helvetica-Narrow-Oblique Helvetica Narrow Oblique Condensed400 Helvetica-ObliqueHelvetica Italic Normal 400 NewCenturySchlbk-BoldNewCenturySchlbk Normal Normal 700 NewCenturySchlbk-BoldItalic NewCenturySchlbk Italic Normal 700 NewCenturySchlbk-Italic NewCenturySchlbk Italic Normal 400 NewCenturySchlbk-Roman NewCenturySchlbk Normal Normal 400 Palatino-BoldPalatino Normal Normal 700 Palatino-BoldItalic Palatino Italic Normal 700 Palatino-Italic Palatino Italic Normal 400 Palatino-Roman Palatino Normal Normal 400 Times-Bold Times Normal Normal 700 Times-BoldItalic Times Italic Normal 700 Times-Italic Times Italic Normal 400 Times-Roman Times Normal Normal 400 Path: Windows Fonts Name Family Style Stretch Weight Adolescence AdolescenceNormal Normal 400 Agency-FBAgency FB Normal Normal 400 Agency-FB-Bold Agency FB Normal Normal 700 Albany Albany Normal Normal 400 Albany-Bold Albany Normal Normal 700 Albany-Bold-Italic Albany Italic Normal 700 Albany-ItalicAlbany Italic Normal 400 Algerian Algerian Normal Normal 400 Andale-Sans-Bold Andale Sans
Re: htlatex html conversion best methods
Ares wrote: From: Helge Hafting <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Thu, 29 Jun 2006 11:10:22 +0200 Subject: Re: htlatex html conversion best methods Steve Harris wrote: > > Well, both Ares and me use default configurations and my htlatex > process produces good quality images but his doesn't and they > display differently to me than the ones I produce. Maybe you have a better set of fonts? Helge Hafting I tried installing Bakoma4LyX (just by copying the fonts in my font folder or whatever) and it didn't give any better result. - Diego (Ares) The command to see what fonts ImageMagick uses is "convert -list type" [from the command line] or to generate a text file list, convert -list type > fonts.txt "WARNING: If the font requested is not found, ImageMagick will silently substitute a default font, which is usually very plain looking (Arial or Times). So test the font before hand, to make sure that it is the one you want, and not the default." http://www.shareup.com/ExamDiff_Pro-download-19176.html Examdiff pro has a trial download. You can compare files or directories. You could compare my attached list of fonts in IMfonts.txt with your generated list of IM fonts. Or if you are interested enough you could send me your generated fonts.txt and I can compare them. Regards, Stephen Path: C:\Imagemagick\type-ghostscript.xml Name Family Style Stretch Weight AvantGarde-Book AvantGarde Normal Normal 400 AvantGarde-BookOblique AvantGarde Oblique Normal 400 AvantGarde-Demi AvantGarde Normal Normal 600 AvantGarde-DemiOblique AvantGarde Oblique Normal 600 Bookman-Demi BookmanNormal Normal 600 Bookman-DemiItalic BookmanItalic Normal 600 Bookman-LightBookmanNormal Normal 300 Bookman-LightItalic BookmanItalic Normal 300 Courier CourierNormal Normal 400 Courier-Bold CourierNormal Normal 700 Courier-BoldOblique CourierOblique Normal 700 Courier-Oblique CourierOblique Normal 400 HelveticaHelvetica Normal Normal 400 Helvetica-Bold Helvetica Normal Normal 700 Helvetica-BoldObliqueHelvetica Italic Normal 700 Helvetica-Narrow Helvetica Narrow Normal Condensed400 Helvetica-Narrow-BoldHelvetica Narrow Normal Condensed700 Helvetica-Narrow-BoldOblique Helvetica Narrow Oblique Condensed700 Helvetica-Narrow-Oblique Helvetica Narrow Oblique Condensed400 Helvetica-ObliqueHelvetica Italic Normal 400 NewCenturySchlbk-BoldNewCenturySchlbk Normal Normal 700 NewCenturySchlbk-BoldItalic NewCenturySchlbk Italic Normal 700 NewCenturySchlbk-Italic NewCenturySchlbk Italic Normal 400 NewCenturySchlbk-Roman NewCenturySchlbk Normal Normal 400 Palatino-BoldPalatino Normal Normal 700 Palatino-BoldItalic Palatino Italic Normal 700 Palatino-Italic Palatino Italic Normal 400 Palatino-Roman Palatino Normal Normal 400 Times-Bold Times Normal Normal 700 Times-BoldItalic Times Italic Normal 700 Times-Italic Times Italic Normal 400 Times-Roman Times Normal Normal 400 Path: Windows Fonts Name Family Style Stretch Weight Adolescence AdolescenceNormal Normal 400 Agency-FBAgency FB Normal Normal 400 Agency-FB-Bold Agency FB Normal Normal 700 Albany Albany Normal Normal 400 Albany-Bold Albany Normal Normal 700 Albany-Bold-Italic Albany Italic Normal 700 Albany-ItalicAlbany Italic Normal 400 Algerian Algerian Normal Normal 400 And
Re: htlatex html conversion best methods
From: Helge Hafting [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 29 Jun 2006 11:10:22 +0200 Subject: Re: htlatex html conversion best methods Steve Harris wrote: Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Maybe you have a better set of fonts? Helge Hafting I tried installing Bakoma4LyX (just by copying the fonts in my font folder or whatever) and it didn't give any better result. - Diego (Ares)
Re: htlatex html conversion best methods
From: Helge Hafting [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 29 Jun 2006 11:10:22 +0200 Subject: Re: htlatex html conversion best methods Steve Harris wrote: Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Maybe you have a better set of fonts? Helge Hafting I tried installing Bakoma4LyX (just by copying the fonts in my font folder or whatever) and it didn't give any better result. - Diego (Ares)
Re: htlatex html conversion best methods
From: Helge Hafting <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Thu, 29 Jun 2006 11:10:22 +0200 Subject: Re: htlatex html conversion best methods Steve Harris wrote: > > Well, both Ares and me use default configurations and my htlatex > process produces good quality images but his doesn't and they > display differently to me than the ones I produce. Maybe you have a better set of fonts? Helge Hafting I tried installing Bakoma4LyX (just by copying the fonts in my font folder or whatever) and it didn't give any better result. - Diego (Ares)
Re: htlatex html conversion best methods
Steve Harris wrote: Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Maybe you have a better set of fonts? Helge Hafting
Re: htlatex html conversion best methods
Steve Harris wrote: Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Maybe you have a better set of fonts? Helge Hafting
Re: htlatex html conversion best methods
Steve Harris wrote: Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Maybe you have a better set of fonts? Helge Hafting
Re: htlatex html conversion best methods
Date: Sat, 24 Jun 2006 08:48:51 -0700 To: LyX User lyx-users@lists.lyx.org CC: Ares [EMAIL PROTECTED] Subject: htlatex html conversion best methods From: Steve Harris [EMAIL PROTECTED] I recently became curious about the best way to produce a web page from LyX-export as Latex (.tex) and conversion to html and .png code for a web page with htlatex example.tex-example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: [...] SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. I can see no difference here between newfile0x.png and newfile0x.jpg, so I would rather use the png file to be able to make it transparent. intop.png seems to have been resized: usually the bimapped image is OK if you avoid resizing. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, convert *.png *.jpg should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. If you prefer jpg, it would be better to hack the tex4ht configuration file, where conversions are described; this should take care of everything: image format and file name in html files. HTH -- Jean-Pierre
Re: htlatex html conversion best methods
Jean-Pierre Chretien wrote: Date: Sat, 24 Jun 2006 08:48:51 -0700 To: LyX User lyx-users@lists.lyx.org CC: Ares [EMAIL PROTECTED] Subject: htlatex html conversion best methods From: Steve Harris [EMAIL PROTECTED] I recently became curious about the best way to produce a web page from LyX-export as Latex (.tex) and conversion to html and .png code for a web page with htlatex example.tex-example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: [...] SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. I can see no difference here between newfile0x.png and newfile0x.jpg, so I would rather use the png file to be able to make it transparent. intop.png seems to have been resized: usually the bimapped image is OK if you avoid resizing. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, convert *.png *.jpg should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. If you prefer jpg, it would be better to hack the tex4ht configuration file, where conversions are described; this should take care of everything: image format and file name in html files. HTH Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Thanks for the idea about hacking the configuration file to produce .jpg output instead of .png images. I read that it is trivial but didn't find out how to do it yet. Thanks for your review, Stephen
Re: htlatex html conversion best methods
Date: Sat, 24 Jun 2006 08:48:51 -0700 To: LyX User lyx-users@lists.lyx.org CC: Ares [EMAIL PROTECTED] Subject: htlatex html conversion best methods From: Steve Harris [EMAIL PROTECTED] I recently became curious about the best way to produce a web page from LyX-export as Latex (.tex) and conversion to html and .png code for a web page with htlatex example.tex-example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: [...] SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. I can see no difference here between newfile0x.png and newfile0x.jpg, so I would rather use the png file to be able to make it transparent. intop.png seems to have been resized: usually the bimapped image is OK if you avoid resizing. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, convert *.png *.jpg should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. If you prefer jpg, it would be better to hack the tex4ht configuration file, where conversions are described; this should take care of everything: image format and file name in html files. HTH -- Jean-Pierre
Re: htlatex html conversion best methods
Jean-Pierre Chretien wrote: Date: Sat, 24 Jun 2006 08:48:51 -0700 To: LyX User lyx-users@lists.lyx.org CC: Ares [EMAIL PROTECTED] Subject: htlatex html conversion best methods From: Steve Harris [EMAIL PROTECTED] I recently became curious about the best way to produce a web page from LyX-export as Latex (.tex) and conversion to html and .png code for a web page with htlatex example.tex-example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: [...] SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. I can see no difference here between newfile0x.png and newfile0x.jpg, so I would rather use the png file to be able to make it transparent. intop.png seems to have been resized: usually the bimapped image is OK if you avoid resizing. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, convert *.png *.jpg should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. If you prefer jpg, it would be better to hack the tex4ht configuration file, where conversions are described; this should take care of everything: image format and file name in html files. HTH Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Thanks for the idea about hacking the configuration file to produce .jpg output instead of .png images. I read that it is trivial but didn't find out how to do it yet. Thanks for your review, Stephen
Re: htlatex html conversion best methods
>>Date: Sat, 24 Jun 2006 08:48:51 -0700 >>To: LyX User <lyx-users@lists.lyx.org> >>CC: Ares <[EMAIL PROTECTED]> >>Subject: htlatex html conversion best methods >>From: Steve Harris <[EMAIL PROTECTED]> >> >>I recently became curious about the best way to produce a web page >>from LyX->export as Latex (.tex) and conversion to html and .png >>code for a web page with "htlatex example.tex"->example.htm + .pngs. >>I asked Ekkehart about this issue arising from a recent post of his: >> [...] >> >>SH: So I tried substituting/converting newfile0x.png with ImageMagick >>to newfile0x.jpg and viewing it, and the result looked pretty good. >>Next I made a simple .htm (which is text) file to see how it looked >>in a browser. It looked good in both Firefox and IE. I've included >>the files used in case anyone want to test it. The .htm files point >>to C:\uploads, so the files should be saved there; or with Linux >>save to the directory of choice, but edit the .htm file to show it. I can see no difference here between newfile0x.png and newfile0x.jpg, so I would rather use the png file to be able to make it transparent. intop.png seems to have been resized: usually the bimapped image is OK if you avoid resizing. >> >>A thesis might have 175+ equations in it, which are all converted >>to .png files by htlatex. Supposing all these .png files are found >>in ~/thesis, or C:\thesis, they need to be converted automatically >>to the new .jpg format. Assuming ImageMagick is in the Path, then >>from the ~/thesis command line, "convert *.png *.jpg" should work >>in both Linux and Windows/Dos to change the extension of every >>.png file to its .jpg counterpart. >> >>Then all the occurrences of *.png need to be changed to *.jpg in >>the thesis.htm (text file). I think most quality text editors can >>perform such a Search/Replace, input *.png, output *.jpg through >>the entire document, which should then display as well as the >>sample newfilejpg.htm which is attached. If you prefer jpg, it would be better to hack the tex4ht configuration file, where conversions are described; this should take care of everything: image format and file name in html files. HTH -- Jean-Pierre
Re: htlatex html conversion best methods
Jean-Pierre Chretien wrote: Date: Sat, 24 Jun 2006 08:48:51 -0700 To: LyX User <lyx-users@lists.lyx.org> CC: Ares <[EMAIL PROTECTED]> Subject: htlatex html conversion best methods From: Steve Harris <[EMAIL PROTECTED]> I recently became curious about the best way to produce a web page >from LyX->export as Latex (.tex) and conversion to html and .png code for a web page with "htlatex example.tex"->example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: [...] SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. I can see no difference here between newfile0x.png and newfile0x.jpg, so I would rather use the png file to be able to make it transparent. intop.png seems to have been resized: usually the bimapped image is OK if you avoid resizing. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then >from the ~/thesis command line, "convert *.png *.jpg" should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. If you prefer jpg, it would be better to hack the tex4ht configuration file, where conversions are described; this should take care of everything: image format and file name in html files. HTH Well, both Ares and me use default configurations and my htlatex process produces good quality images but his doesn't and they display differently to me than the ones I produce. Thanks for the idea about hacking the configuration file to produce .jpg output instead of .png images. I read that it is "trivial" but didn't find out how to do it yet. Thanks for your review, Stephen
htlatex html conversion best methods
I recently became curious about the best way to produce a web page from LyX-export as Latex (.tex) and conversion to html and .png code for a web page with htlatex example.tex-example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: --- Re: Lyx 1.4.2svn Windows SH: Is there some reason this equation/png looks so feint (pixellated?) as I've seen something like this in an htlatex generated html conversion which I would like to fix. Ekkehart supplied the original intop.png. [SH: intop.png displays with a similar poor quality to newfile0x.png] Regards, Stephen Ekkehart replied: Yes, the reason is that I took a screen shown from a pdf output and transformed it into png (to have a small file that can be attached). The original is the standard Latex output which is slightly pixelated, but for real things you would use an outline font. Ekkehart - SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, convert *.png *.jpg should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. I think. Paul the Probabilist is invited to comment or clarify. This solution may be obvious to some but could be less apparent to inexperienced users. So I decided to record it for prosperity. -- Regards, Stephen Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful people with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination alone are omnipotent. The slogan press on has solved and always will solve the problems of the human race. Calvin Coolidge attachment: newfile0x.jpg
Re: htlatex html conversion best methods
Steve Harris wrote: I recently became curious about the best way to produce a web page from LyX-export as Latex (.tex) and conversion to html and .png code for a web page with htlatex example.tex-example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: --- Re: Lyx 1.4.2svn Windows SH: Is there some reason this equation/png looks so feint (pixellated?) as I've seen something like this in an htlatex generated html conversion which I would like to fix. Ekkehart supplied the original intop.png. [SH: intop.png displays with a similar poor quality to newfile0x.png] Regards, Stephen Ekkehart replied: Yes, the reason is that I took a screen shown from a pdf output and transformed it into png (to have a small file that can be attached). The original is the standard Latex output which is slightly pixelated, but for real things you would use an outline font. Ekkehart - SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, convert *.png *.jpg should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. I am sending newfile0x.jpg as an attachment. This is newfilejpg.htm which can be copied and pasted into a text editor and saved to an appropriate directory. The original attached files were munged. -- html head title Example of Jpg-based Webpage/title /head body This line is part of the internal html code, the .jpg image follows: img src=file:///c:/uploads//Newdemoarticle.jpg /body /html - This is newfilepng.htm which can be copied and pasted, inside the arrowed lines, into a text editor and saved to an appropriate directory. --- html head title Example of Png-based Webpage/title /head body This line is part of the internal html code, the .png image follows: img src=file:///c:/uploads//newfile0x.png /body /html -- Regards, Stephen attachment: newfile0x.jpg
htlatex html conversion best methods
I recently became curious about the best way to produce a web page from LyX-export as Latex (.tex) and conversion to html and .png code for a web page with htlatex example.tex-example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: --- Re: Lyx 1.4.2svn Windows SH: Is there some reason this equation/png looks so feint (pixellated?) as I've seen something like this in an htlatex generated html conversion which I would like to fix. Ekkehart supplied the original intop.png. [SH: intop.png displays with a similar poor quality to newfile0x.png] Regards, Stephen Ekkehart replied: Yes, the reason is that I took a screen shown from a pdf output and transformed it into png (to have a small file that can be attached). The original is the standard Latex output which is slightly pixelated, but for real things you would use an outline font. Ekkehart - SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, convert *.png *.jpg should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. I think. Paul the Probabilist is invited to comment or clarify. This solution may be obvious to some but could be less apparent to inexperienced users. So I decided to record it for prosperity. -- Regards, Stephen Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful people with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination alone are omnipotent. The slogan press on has solved and always will solve the problems of the human race. Calvin Coolidge attachment: newfile0x.jpg
Re: htlatex html conversion best methods
Steve Harris wrote: I recently became curious about the best way to produce a web page from LyX-export as Latex (.tex) and conversion to html and .png code for a web page with htlatex example.tex-example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: --- Re: Lyx 1.4.2svn Windows SH: Is there some reason this equation/png looks so feint (pixellated?) as I've seen something like this in an htlatex generated html conversion which I would like to fix. Ekkehart supplied the original intop.png. [SH: intop.png displays with a similar poor quality to newfile0x.png] Regards, Stephen Ekkehart replied: Yes, the reason is that I took a screen shown from a pdf output and transformed it into png (to have a small file that can be attached). The original is the standard Latex output which is slightly pixelated, but for real things you would use an outline font. Ekkehart - SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, convert *.png *.jpg should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. I am sending newfile0x.jpg as an attachment. This is newfilejpg.htm which can be copied and pasted into a text editor and saved to an appropriate directory. The original attached files were munged. -- html head title Example of Jpg-based Webpage/title /head body This line is part of the internal html code, the .jpg image follows: img src=file:///c:/uploads//Newdemoarticle.jpg /body /html - This is newfilepng.htm which can be copied and pasted, inside the arrowed lines, into a text editor and saved to an appropriate directory. --- html head title Example of Png-based Webpage/title /head body This line is part of the internal html code, the .png image follows: img src=file:///c:/uploads//newfile0x.png /body /html -- Regards, Stephen attachment: newfile0x.jpg
htlatex html conversion best methods
I recently became curious about the best way to produce a web page from LyX->export as Latex (.tex) and conversion to html and .png code for a web page with "htlatex example.tex"->example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: --- Re: Lyx 1.4.2svn Windows SH: Is there some reason this equation/png looks so feint (pixellated?) as I've seen something like this in an htlatex generated html conversion which I would like to fix. Ekkehart supplied the original intop.png. [SH: intop.png displays with a similar poor quality to newfile0x.png] Regards, Stephen Ekkehart replied: Yes, the reason is that I took a screen shown from a pdf output and transformed it into png (to have a small file that can be attached). The original is the standard Latex output which is slightly pixelated, but for real things you would use an outline font. Ekkehart - SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, "convert *.png *.jpg" should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. I think. Paul the Probabilist is invited to comment or clarify. This solution may be obvious to some but could be less apparent to inexperienced users. So I decided to record it for prosperity. -- Regards, Stephen "Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful people with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination alone are omnipotent. The slogan "press on" has solved and always will solve the problems of the human race." Calvin Coolidge <>
Re: htlatex html conversion best methods
Steve Harris wrote: I recently became curious about the best way to produce a web page from LyX->export as Latex (.tex) and conversion to html and .png code for a web page with "htlatex example.tex"->example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: --- Re: Lyx 1.4.2svn Windows SH: Is there some reason this equation/png looks so feint (pixellated?) as I've seen something like this in an htlatex generated html conversion which I would like to fix. Ekkehart supplied the original intop.png. [SH: intop.png displays with a similar poor quality to newfile0x.png] Regards, Stephen Ekkehart replied: Yes, the reason is that I took a screen shown from a pdf output and transformed it into png (to have a small file that can be attached). The original is the standard Latex output which is slightly pixelated, but for real things you would use an outline font. Ekkehart - SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, "convert *.png *.jpg" should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. I am sending newfile0x.jpg as an attachment. This is newfilejpg.htm which can be copied and pasted into a text editor and saved to an appropriate directory. The original attached files were munged. <--> Example of Jpg-based Webpage This line is part of the internal html code, the .jpg image follows: <-> This is newfilepng.htm which can be copied and pasted, inside the arrowed lines, into a text editor and saved to an appropriate directory. <---> Example of Png-based Webpage This line is part of the internal html code, the .png image follows: <--> Regards, Stephen <>
Mac LaTex to HTML Conversion
I'm using LyX 1.4.0 on a G4 PowerBook with OS 10.4.5, and 1.3.5 on a G5 iMac with OS 10.4.5. Has LyX moved away from allowing choice in use of a LaTeX to HTML converter? With 1.3.5 when I run reconfigure, I see this: checking for a LaTeX - HTML converter... (tth latex2html hevea) +checking for tth... no +checking for latex2html... yes OK, this is good, because I have macros set up in jEdit to convert the html for posting on my blog and other forums, and converting this output to rtf is fairly trivial. But on the PowerBook with 1.4.0 (and previously 1.3.8), I see this: checking for a LaTex - HTML converter... +checking for htlatex... yes checking LaTeX configuration... auto This is BAD for my purposes, because htlatex is using classes and spans to format output, instead of simple italics or bold tags. Even worse, the span tags straddle a linebreak, so I can't even do a simple find and replace for them. And that doesn't even bring up the issue of the commented line numbering htlatex does, which also needs to go. Does someone have a workaround for this that doesn't involve delving into the morass that is the documentation for the new converter? Perhaps, getting LyX 1.4.0 to recognize my Fink install of LaTeX2HTML? In short, new LyX (though I really love new features like Word Count), is no longer seamlessly doing a large part of what I need to do in terms of output on a daily basis. This makes me sad. regards, Beth -- Friends don't let friends write junk.
Re: Mac LaTex to HTML Conversion
On Mar 9, 2006, at 12:39 PM, BEJ wrote: I'm using LyX 1.4.0 on a G4 PowerBook with OS 10.4.5, and 1.3.5 on a G5 iMac with OS 10.4.5. Has LyX moved away from allowing choice in use of a LaTeX to HTML converter? With 1.3.5 when I run reconfigure, I see this: checking for a LaTeX - HTML converter... (tth latex2html hevea) +checking for tth... no +checking for latex2html... yes OK, this is good, because I have macros set up in jEdit to convert the html for posting on my blog and other forums, and converting this output to rtf is fairly trivial. But on the PowerBook with 1.4.0 (and previously 1.3.8), I see this: checking for a LaTex - HTML converter... +checking for htlatex... yes checking LaTeX configuration... auto This is BAD for my purposes, because htlatex is using classes and spans to format output, instead of simple italics or bold tags. Even worse, the span tags straddle a linebreak, so I can't even do a simple find and replace for them. And that doesn't even bring up the issue of the commented line numbering htlatex does, which also needs to go. Does someone have a workaround for this that doesn't involve delving into the morass that is the documentation for the new converter? Perhaps, getting LyX 1.4.0 to recognize my Fink install of LaTeX2HTML? You simply need to define a converter from within LyX's preferences. Two steps here: 1. LyX Preferences File formats: enter html2 into the Format field, HTML (latex2html) into the GUI name field (or anything else you'd find illuminating -- this is what will show up in LyX's menus, and html in the Extension field. (I'd also add open in the Viewer field.) Click on the Add button. 2. LyX Preferences Converters: select LaTeX from the From drop- down list and HTML (latex2html) from the To drop-down list. Then enter whatever command you want to run in the Converter field (I have latex2html $$i -show_section_numbers -no_subdir -split 0 - local_icons -numbered_footnotes -contents_in_navigation -- note that the $$i is the placeholder for the LaTeX document LyX produces). Click the Add button, then the Save button. You should now be able to use latex2html -- and you can produce it from the View menu if you've added open in the Viewer field as I suggested. Bennett
Re: Mac LaTex to HTML Conversion
Bennett Helm wrote: *snip most excellent instructions* You should now be able to use latex2html -- and you can produce it from the View menu if you've added open in the Viewer field as I suggested. Perfect! That worked like a charm, and I added my latex2rtf converter as well, so I'm back in business. Off now to install 1.4.0 on the desktop. Clearly I was overthinking the problem and getting myself confused. Thanks, Beth -- Friends don't let friends write junk. http://slobbit.livejournal.com
Mac LaTex to HTML Conversion
I'm using LyX 1.4.0 on a G4 PowerBook with OS 10.4.5, and 1.3.5 on a G5 iMac with OS 10.4.5. Has LyX moved away from allowing choice in use of a LaTeX to HTML converter? With 1.3.5 when I run reconfigure, I see this: checking for a LaTeX - HTML converter... (tth latex2html hevea) +checking for tth... no +checking for latex2html... yes OK, this is good, because I have macros set up in jEdit to convert the html for posting on my blog and other forums, and converting this output to rtf is fairly trivial. But on the PowerBook with 1.4.0 (and previously 1.3.8), I see this: checking for a LaTex - HTML converter... +checking for htlatex... yes checking LaTeX configuration... auto This is BAD for my purposes, because htlatex is using classes and spans to format output, instead of simple italics or bold tags. Even worse, the span tags straddle a linebreak, so I can't even do a simple find and replace for them. And that doesn't even bring up the issue of the commented line numbering htlatex does, which also needs to go. Does someone have a workaround for this that doesn't involve delving into the morass that is the documentation for the new converter? Perhaps, getting LyX 1.4.0 to recognize my Fink install of LaTeX2HTML? In short, new LyX (though I really love new features like Word Count), is no longer seamlessly doing a large part of what I need to do in terms of output on a daily basis. This makes me sad. regards, Beth -- Friends don't let friends write junk.
Re: Mac LaTex to HTML Conversion
On Mar 9, 2006, at 12:39 PM, BEJ wrote: I'm using LyX 1.4.0 on a G4 PowerBook with OS 10.4.5, and 1.3.5 on a G5 iMac with OS 10.4.5. Has LyX moved away from allowing choice in use of a LaTeX to HTML converter? With 1.3.5 when I run reconfigure, I see this: checking for a LaTeX - HTML converter... (tth latex2html hevea) +checking for tth... no +checking for latex2html... yes OK, this is good, because I have macros set up in jEdit to convert the html for posting on my blog and other forums, and converting this output to rtf is fairly trivial. But on the PowerBook with 1.4.0 (and previously 1.3.8), I see this: checking for a LaTex - HTML converter... +checking for htlatex... yes checking LaTeX configuration... auto This is BAD for my purposes, because htlatex is using classes and spans to format output, instead of simple italics or bold tags. Even worse, the span tags straddle a linebreak, so I can't even do a simple find and replace for them. And that doesn't even bring up the issue of the commented line numbering htlatex does, which also needs to go. Does someone have a workaround for this that doesn't involve delving into the morass that is the documentation for the new converter? Perhaps, getting LyX 1.4.0 to recognize my Fink install of LaTeX2HTML? You simply need to define a converter from within LyX's preferences. Two steps here: 1. LyX Preferences File formats: enter html2 into the Format field, HTML (latex2html) into the GUI name field (or anything else you'd find illuminating -- this is what will show up in LyX's menus, and html in the Extension field. (I'd also add open in the Viewer field.) Click on the Add button. 2. LyX Preferences Converters: select LaTeX from the From drop- down list and HTML (latex2html) from the To drop-down list. Then enter whatever command you want to run in the Converter field (I have latex2html $$i -show_section_numbers -no_subdir -split 0 - local_icons -numbered_footnotes -contents_in_navigation -- note that the $$i is the placeholder for the LaTeX document LyX produces). Click the Add button, then the Save button. You should now be able to use latex2html -- and you can produce it from the View menu if you've added open in the Viewer field as I suggested. Bennett
Re: Mac LaTex to HTML Conversion
Bennett Helm wrote: *snip most excellent instructions* You should now be able to use latex2html -- and you can produce it from the View menu if you've added open in the Viewer field as I suggested. Perfect! That worked like a charm, and I added my latex2rtf converter as well, so I'm back in business. Off now to install 1.4.0 on the desktop. Clearly I was overthinking the problem and getting myself confused. Thanks, Beth -- Friends don't let friends write junk. http://slobbit.livejournal.com
Mac LaTex to HTML Conversion
I'm using LyX 1.4.0 on a G4 PowerBook with OS 10.4.5, and 1.3.5 on a G5 iMac with OS 10.4.5. Has LyX moved away from allowing choice in use of a LaTeX to HTML converter? With 1.3.5 when I run reconfigure, I see this: checking for a LaTeX -> HTML converter... (tth latex2html hevea) +checking for "tth"... no +checking for "latex2html"... yes OK, this is good, because I have macros set up in jEdit to convert the html for posting on my blog and other forums, and converting this output to rtf is fairly trivial. But on the PowerBook with 1.4.0 (and previously 1.3.8), I see this: checking for a LaTex -> HTML converter... +checking for "htlatex"... yes checking LaTeX configuration... auto This is BAD for my purposes, because htlatex is using classes and spans to format output, instead of simple italics or bold tags. Even worse, the span tags straddle a linebreak, so I can't even do a simple find and replace for them. And that doesn't even bring up the issue of the commented line numbering htlatex does, which also needs to go. Does someone have a workaround for this that doesn't involve delving into the morass that is the documentation for the new converter? Perhaps, getting LyX 1.4.0 to recognize my Fink install of LaTeX2HTML? In short, new LyX (though I really love new features like Word Count), is no longer seamlessly doing a large part of what I need to do in terms of output on a daily basis. This makes me sad. regards, Beth -- "Friends don't let friends write junk."
Re: Mac LaTex to HTML Conversion
On Mar 9, 2006, at 12:39 PM, BEJ wrote: I'm using LyX 1.4.0 on a G4 PowerBook with OS 10.4.5, and 1.3.5 on a G5 iMac with OS 10.4.5. Has LyX moved away from allowing choice in use of a LaTeX to HTML converter? With 1.3.5 when I run reconfigure, I see this: checking for a LaTeX -> HTML converter... (tth latex2html hevea) +checking for "tth"... no +checking for "latex2html"... yes OK, this is good, because I have macros set up in jEdit to convert the html for posting on my blog and other forums, and converting this output to rtf is fairly trivial. But on the PowerBook with 1.4.0 (and previously 1.3.8), I see this: checking for a LaTex -> HTML converter... +checking for "htlatex"... yes checking LaTeX configuration... auto This is BAD for my purposes, because htlatex is using classes and spans to format output, instead of simple italics or bold tags. Even worse, the span tags straddle a linebreak, so I can't even do a simple find and replace for them. And that doesn't even bring up the issue of the commented line numbering htlatex does, which also needs to go. Does someone have a workaround for this that doesn't involve delving into the morass that is the documentation for the new converter? Perhaps, getting LyX 1.4.0 to recognize my Fink install of LaTeX2HTML? You simply need to define a converter from within LyX's preferences. Two steps here: 1. LyX > Preferences > File formats: enter "html2" into the Format field, "HTML (latex2html)" into the GUI name field (or anything else you'd find illuminating -- this is what will show up in LyX's menus, and "html" in the Extension field. (I'd also add "open" in the Viewer field.) Click on the "Add" button. 2. LyX > Preferences > Converters: select "LaTeX" from the From drop- down list and "HTML (latex2html)" from the To drop-down list. Then enter whatever command you want to run in the Converter field (I have "latex2html $$i -show_section_numbers -no_subdir -split 0 - local_icons -numbered_footnotes -contents_in_navigation" -- note that the $$i is the placeholder for the LaTeX document LyX produces). Click the "Add" button, then the "Save" button. You should now be able to use latex2html -- and you can produce it from the View menu if you've added "open" in the Viewer field as I suggested. Bennett
Re: Mac LaTex to HTML Conversion
Bennett Helm wrote: *snip most excellent instructions* You should now be able to use latex2html -- and you can produce it from the View menu if you've added "open" in the Viewer field as I suggested. Perfect! That worked like a charm, and I added my latex2rtf converter as well, so I'm back in business. Off now to install 1.4.0 on the desktop. Clearly I was overthinking the problem and getting myself confused. Thanks, Beth -- "Friends don't let friends write junk." http://slobbit.livejournal.com
Re: html conversion
William == William O Bray [EMAIL PROTECTED] writes: William I use latex2html and can handle things find in command line William style. On the other hand, I have tried converting in Lyx. William Well, an html is created, all formulas appear in LaTex form. William Not good. Further, I add the option -local_icons to carry William over button images that latex2html uses; these are not William carried over. (the latter was done through Edit-Preferences William and the result appears in the /.lyx preferences file. Any William thoughts?? best regards, b PS I am using the qt frontend. This is a known problem. We are trying currently to see whether we can fix this. I think it should work if you do not use a temp dir. JMarc
Re: html conversion
William == William O Bray [EMAIL PROTECTED] writes: William I use latex2html and can handle things find in command line William style. On the other hand, I have tried converting in Lyx. William Well, an html is created, all formulas appear in LaTex form. William Not good. Further, I add the option -local_icons to carry William over button images that latex2html uses; these are not William carried over. (the latter was done through Edit-Preferences William and the result appears in the /.lyx preferences file. Any William thoughts?? best regards, b PS I am using the qt frontend. This is a known problem. We are trying currently to see whether we can fix this. I think it should work if you do not use a temp dir. JMarc
Re: html conversion
> "William" == William O Bray <[EMAIL PROTECTED]> writes: William> I use latex2html and can handle things find in command line William> style. On the other hand, I have tried converting in Lyx. William> Well, an html is created, all formulas appear in LaTex form. William> Not good. Further, I add the option -local_icons to carry William> over button images that latex2html uses; these are not William> carried over. (the latter was done through Edit->Preferences William> and the result appears in the /.lyx preferences file. Any William> thoughts?? best regards, b PS I am using the qt frontend. This is a known problem. We are trying currently to see whether we can fix this. I think it should work if you do not use a temp dir. JMarc
html conversion
I use latex2html and can handle things find in command line style. On the other hand, I have tried converting in Lyx. Well, an html is created, all formulas appear in LaTex form. Not good. Further, I add the option -local_icons to carry over button images that latex2html uses; these are not carried over. (the latter was done through Edit-Preferences and the result appears in the /.lyx preferences file. Any thoughts?? best regards, b PS I am using the qt frontend. -- *** William O. Bray, Professor Department of Mathematics Statistics University of Maine Orono, Maine 04469 *** Phone: 207-581-3932 Fax: 207-581-3902 *** http://germain.umemat.maine.edu/faculty/bray/index.html ***
html conversion
I use latex2html and can handle things find in command line style. On the other hand, I have tried converting in Lyx. Well, an html is created, all formulas appear in LaTex form. Not good. Further, I add the option -local_icons to carry over button images that latex2html uses; these are not carried over. (the latter was done through Edit-Preferences and the result appears in the /.lyx preferences file. Any thoughts?? best regards, b PS I am using the qt frontend. -- *** William O. Bray, Professor Department of Mathematics Statistics University of Maine Orono, Maine 04469 *** Phone: 207-581-3932 Fax: 207-581-3902 *** http://germain.umemat.maine.edu/faculty/bray/index.html ***
html conversion
I use latex2html and can handle things find in command line style. On the other hand, I have tried converting in Lyx. Well, an html is created, all formulas appear in LaTex form. Not good. Further, I add the option -local_icons to carry over button images that latex2html uses; these are not carried over. (the latter was done through Edit->Preferences and the result appears in the /.lyx preferences file. Any thoughts?? best regards, b PS I am using the qt frontend. -- *** William O. Bray, Professor Department of Mathematics & Statistics University of Maine Orono, Maine 04469 *** Phone: 207-581-3932 Fax: 207-581-3902 *** http://germain.umemat.maine.edu/faculty/bray/index.html ***
about HTML conversion with hevea and hacha
Hevea (hevea + hacha) is a great tool (at least for me) to convert latex into html. It's very fast and produces very little html files. But as you have to run two differents commands to do the complete conversion, the autodetected configuration didn't do exactly what I wanted (it did only run hevea), and setting it up is not documented in the LyX documentation or on the LyX help website. 2 questions: 1- Is there a simplest way to configure it, as the way I have found and explain here? 2- Would it be possible to have more explanations somewhere about using converters, and in particular this one? I found it was particularly bad documented for a novice user like me. For months I have run hacha in a console every time... *** First, we have to run hevea. It will convert the document in one html file. After that, we have to run hacha. It will split the html file in several ones and everything will be nicer (one file for each section and so on). I don't know if there is one solution to run hacha with one lyx command. As I remember, I tried but it worked only if hevea had everything clear with just one run (and sometimes it needs to run many times). I finally got runnig it by declaring two new HTML formats: (Menus are in french because I don't know how it looks like in another language) * The two formats Menu Edition- Préférence -Convertisseurs- Format ** The first format: Format: htmlhevea Nom d'interface: HTML (hevea) Raccourci: v Extension: html Visionneuse: dillo (dillo because it is very fast) ** The second format: Format: htmlhacha Nom d'interface: HTML (hacha) Raccourci: c Extension: html Visionneuse: dillo 'index.html' | dillo (Dillo must be run twice in order to see the index.html file, or Lyx has problems. Is there another way to see this index.html file?) * After that: Two conversions Menu Edition -Préférences- Convertisseurs- Convertisseurs ** The first one. To create the big html file Depuis: Latex Vers: HTML (hevea) Convertisseur: hevea -fix -français -noiso -nosymb -pedantic $$i Options: originaldir,needaux (hevea-options: fix: hevea runs as many times as needed to have correct output; francais: because I write in french; other options so that old netscape is happy)(I don't really know what these originaldir and needaux options are and if other ones exist, but without it it doesn't work) ** The second one. To create the entire site. Depuis: HTML (hevea) Vers: HTML (hacha) Convertisseur: hacha -français -tocbis $$i Options: originaldir,needaux (hacha-options: francais: for french; tocbis: to have a little toc in each file) For the converter to run well, I had to deactivate the /tmp directory. If it is not deactivated, ps images are not converted. Editer- Préférences- Entrées- Répertoires- Répertoire temporaire (is not activated) After that, to see the html file produced by hacha: Voir- HTML (hacha) *** Sorry for the bad english. -- Fabrice Flore-Thébault
about HTML conversion with hevea and hacha
Hevea (hevea + hacha) is a great tool (at least for me) to convert latex into html. It's very fast and produces very little html files. But as you have to run two differents commands to do the complete conversion, the autodetected configuration didn't do exactly what I wanted (it did only run hevea), and setting it up is not documented in the LyX documentation or on the LyX help website. 2 questions: 1- Is there a simplest way to configure it, as the way I have found and explain here? 2- Would it be possible to have more explanations somewhere about using converters, and in particular this one? I found it was particularly bad documented for a novice user like me. For months I have run hacha in a console every time... *** First, we have to run hevea. It will convert the document in one html file. After that, we have to run hacha. It will split the html file in several ones and everything will be nicer (one file for each section and so on). I don't know if there is one solution to run hacha with one lyx command. As I remember, I tried but it worked only if hevea had everything clear with just one run (and sometimes it needs to run many times). I finally got runnig it by declaring two new HTML formats: (Menus are in french because I don't know how it looks like in another language) * The two formats Menu Edition- Préférence -Convertisseurs- Format ** The first format: Format: htmlhevea Nom d'interface: HTML (hevea) Raccourci: v Extension: html Visionneuse: dillo (dillo because it is very fast) ** The second format: Format: htmlhacha Nom d'interface: HTML (hacha) Raccourci: c Extension: html Visionneuse: dillo 'index.html' | dillo (Dillo must be run twice in order to see the index.html file, or Lyx has problems. Is there another way to see this index.html file?) * After that: Two conversions Menu Edition -Préférences- Convertisseurs- Convertisseurs ** The first one. To create the big html file Depuis: Latex Vers: HTML (hevea) Convertisseur: hevea -fix -français -noiso -nosymb -pedantic $$i Options: originaldir,needaux (hevea-options: fix: hevea runs as many times as needed to have correct output; francais: because I write in french; other options so that old netscape is happy)(I don't really know what these originaldir and needaux options are and if other ones exist, but without it it doesn't work) ** The second one. To create the entire site. Depuis: HTML (hevea) Vers: HTML (hacha) Convertisseur: hacha -français -tocbis $$i Options: originaldir,needaux (hacha-options: francais: for french; tocbis: to have a little toc in each file) For the converter to run well, I had to deactivate the /tmp directory. If it is not deactivated, ps images are not converted. Editer- Préférences- Entrées- Répertoires- Répertoire temporaire (is not activated) After that, to see the html file produced by hacha: Voir- HTML (hacha) *** Sorry for the bad english. -- Fabrice Flore-Thébault
about HTML conversion with hevea and hacha
Hevea (hevea + hacha) is a great tool (at least for me) to convert latex into html. It's very fast and produces very little html files. But as you have to run two differents commands to do the complete conversion, the autodetected configuration didn't do exactly what I wanted (it did only run hevea), and setting it up is not documented in the LyX documentation or on the LyX help website. 2 questions: 1- Is there a simplest way to configure it, as the way I have found and explain here? 2- Would it be possible to have more explanations somewhere about using converters, and in particular this one? I found it was particularly bad documented for a novice user like me. For months I have run hacha in a console every time... *** First, we have to run hevea. It will convert the document in one html file. After that, we have to run hacha. It will split the html file in several ones and everything will be nicer (one file for each section and so on). I don't know if there is one solution to run hacha with one lyx command. As I remember, I tried but it worked only if hevea had everything clear with just one run (and sometimes it needs to run many times). I finally got runnig it by declaring two new HTML formats: (Menus are in french because I don't know how it looks like in another language) * The two formats Menu Edition-> Préférence ->Convertisseurs-> Format ** The first format: Format: htmlhevea Nom d'interface: HTML (hevea) Raccourci: v Extension: html Visionneuse: dillo (dillo because it is very fast) ** The second format: Format: htmlhacha Nom d'interface: HTML (hacha) Raccourci: c Extension: html Visionneuse: dillo 'index.html' | dillo (Dillo must be run twice in order to see the index.html file, or Lyx has problems. Is there another way to see this index.html file?) * After that: Two conversions Menu Edition ->Préférences-> Convertisseurs-> Convertisseurs ** The first one. To create the big html file Depuis: Latex Vers: HTML (hevea) Convertisseur: hevea -fix -français -noiso -nosymb -pedantic $$i Options: originaldir,needaux (hevea-options: fix: hevea runs as many times as needed to have correct output; francais: because I write in french; other options so that old netscape is happy)(I don't really know what these originaldir and needaux options are and if other ones exist, but without it it doesn't work) ** The second one. To create the entire site. Depuis: HTML (hevea) Vers: HTML (hacha) Convertisseur: hacha -français -tocbis $$i Options: originaldir,needaux (hacha-options: francais: for french; tocbis: to have a little toc in each file) For the converter to run well, I had to deactivate the /tmp directory. If it is not deactivated, ps images are not converted. Editer-> Préférences-> Entrées-> Répertoires-> Répertoire temporaire (is not activated) After that, to see the html file produced by hacha: Voir-> HTML (hacha) *** Sorry for the bad english. -- Fabrice Flore-Thébault
html conversion and included documents
Hello. Using lyx-1.6fix4 on Debian, i've got a problem when i want to convert a lyx-file with some other include/input lyx-files inside: the final html-file does not include the files i wanted. This happens both with hevea and latex2html. What have i done wrong? Having only one lyx-file is a solution, but is it the only one? I have another question, wich is more hevea or latex2html oriented: when i include urls in a document, latex2html does not make a link with them (only writes the url), and hevea makes a link only with the letter next the url. with hevea * [http://www.univ-lyon2.fr/||Université Lyon2] Le site de Lyon2 becomes this: Universiteacute; Lyon2A HREF=http://www.univ-lyon2.fr/;L/Ae site de Lyon2 when i want this: A HREF=http://www.univ-lyon2.fr/;Universiteacute; Lyon2/A Le site de Lyon2 Is there a way to fix it and have good looking links? Thanks Fabrice
html conversion and included documents
Hello. Using lyx-1.6fix4 on Debian, i've got a problem when i want to convert a lyx-file with some other include/input lyx-files inside: the final html-file does not include the files i wanted. This happens both with hevea and latex2html. What have i done wrong? Having only one lyx-file is a solution, but is it the only one? I have another question, wich is more hevea or latex2html oriented: when i include urls in a document, latex2html does not make a link with them (only writes the url), and hevea makes a link only with the letter next the url. with hevea * [http://www.univ-lyon2.fr/||Université Lyon2] Le site de Lyon2 becomes this: Universiteacute; Lyon2A HREF=http://www.univ-lyon2.fr/;L/Ae site de Lyon2 when i want this: A HREF=http://www.univ-lyon2.fr/;Universiteacute; Lyon2/A Le site de Lyon2 Is there a way to fix it and have good looking links? Thanks Fabrice
html conversion and included documents
Hello. Using lyx-1.6fix4 on Debian, i've got a problem when i want to convert a lyx-file with some other include/input lyx-files inside: the final html-file does not include the files i wanted. This happens both with hevea and latex2html. What have i done wrong? Having only one lyx-file is a solution, but is it the only one? I have another question, wich is more hevea or latex2html oriented: when i include urls in a document, latex2html does not make a link with them (only writes the url), and hevea makes a link only with the letter next the url. with hevea * [http://www.univ-lyon2.fr/||Université Lyon2] Le site de Lyon2 becomes this: Universit Lyon2http://www.univ-lyon2.fr/;>Le site de Lyon2 when i want this: http://www.univ-lyon2.fr/;>Universit Lyon2 Le site de Lyon2 Is there a way to fix it and have good looking links? Thanks Fabrice