Re: hash in URL
Herbert Voss wrote: > and by the way: if you write a book, then you have in the > end a lot in your brain, but not typographic rukes ... ;-) Really? Then you have a real gentle publisher. Jürgen
Re: hash in URL
Juergen Spitzmueller wrote: {\small\texttt{http://en.wikipedia.org/wiki/DVD\#Region_codes}} which can be done by LyX But then you break semantic markup. Not everyone wants url's to be typeset in typewriter mode (actually, I think that this is against all typographic and aesthetic rules anyway). we were talking about urls in footnotes ... and a workaround. and by the way: if you write a book, then you have in the end a lot in your brain, but not typographic rukes ... ;-) Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: hash in URL
Herbert Voss wrote: > this is no bug, it is a restriction of no verbatim text > in a footnote. In this case one can choose > > {\small\texttt{http://en.wikipedia.org/wiki/DVD\#Region_codes}} > > which can be done by LyX But then you break semantic markup. Not everyone wants url's to be typeset in typewriter mode (actually, I think that this is against all typographic and aesthetic rules anyway). Jürgen
Re: hash in URL
Juergen Spitzmueller wrote: Is the url emebedded in a footnote? If yes, this is a bug (or restriction) in the url package. See the following bugzilla entry (featuring some workarounds): http://bugzilla.lyx.org/show_bug.cgi?id=449 this is no bug, it is a restriction of no verbatim text in a footnote. In this case one can choose {\small\texttt{http://en.wikipedia.org/wiki/DVD\#Region_codes}} which can be done by LyX Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: hash in URL
Ben Hourigan wrote: > I have a url containing a hash in a LyX document. I inserted it using > the Insert > URL menu item. In exported tex, it is as follows: > >> \url{http://en.wikipedia.org/wiki/DVD#Region_codes} > > When LyX (or TeXshop) typesets the file using pdflatex, I get the > following error. > Is the url emebedded in a footnote? If yes, this is a bug (or restriction) in the url package. See the following bugzilla entry (featuring some workarounds): http://bugzilla.lyx.org/show_bug.cgi?id=449 Regards, Jürgen
hash in URL
I have a url containing a hash in a LyX document. I inserted it using the Insert > URL menu item. In exported tex, it is as follows: \url{http://en.wikipedia.org/wiki/DVD#Region_codes} When LyX (or TeXshop) typesets the file using pdflatex, I get the following error. Illegal parameter number in definition of [EMAIL PROTECTED] } In an article investigating Australian consumer dissatisfaction with You meant to type ## instead of #, right? Or maybe a } was forgotten somewhere earlier, and things are all screwed up? I'm going to assume that you meant ##. I can get around this by deleting the hash (in which case it doesn't appear in the PDF output). I also tried using the escape sequence for the character as recorded in the LaTeX symbol list (\#), which avoids the error, but appears as "\#" in the output. Two hashes in a row also avoids the error, but in the PDF I get two hashes, which I don't want either. Is there any way to put a single hash in a properly typeset URL, using LyX? Ben Hourigan, B.A. (Hons) (Melb.) [EMAIL PROTECTED]