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
incompatibility between lyx, hyperref and tth
I wrote to Ian Hutchinson (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 responds: 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. Typical results appear at top of this page: http://www.subspacefield.org/~travis/web_generator/ -- 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. pgpodldZNhEzV.pgp Description: PGP signature
Re: modern CV lyx template
On Wed, Apr 23, 2008 at 11:15:27PM +0200, assasukasse wrote: > Hi everyone > i am using lyx under ubuntu linux, i have installed modern CV document > class, but i don't have the template.. > where can i find it? I don't konw if you mean this class: cd /usr/share/texmf/tex/latex && wget http://wiki.lyx.org/uploads/Examples/CV/cv.cls && chmod 644 cv.cls && texhash I personally use lyx primarily for large documents, beamer presentations, and CV, but consider the CV class and template rudimentary. I really wish it were better, because I think that more people would use lyx if it were easier to create CVs, and LaTeX does a wonderful job of typesetting... -- Crypto ergo sum. https://www.subspacefield.org/~travis/ My password is easy to remember; it's the digits of Pi. All of them. If you are a spammer, please email [EMAIL PROTECTED] to get blacklisted.