Re: [Orgmode] possible single-quote bug in PDF docs (was: trouble with Imenu integration)
Hi David, On Jul 17, 2010, at 8:34 AM, David Maus wrote: Carsten Dominik wrote: Yes. Unfortunately I don't know a way to fix this. This is a known problem and texinfo provides the options , | @set txicodequoteundirected | causes the output for the ' character to be the undirected single quote, like this: | | '. | @set txicodequotebacktick | Cause the output for the ` character to be the standalone grave accent, like this: | | `. ` http://www.gnu.org/software/hello/manual/texinfo/Inserting-Quote-Characters.html To make these options work the file texinfo.tex in doc has to replaced by a recent version. Here it is located at /usr/share/texmf/tex/texinfo/texinfo.tex Compiling the manual with this texinfo.tex works fine and the quotes Great! Could you please submit a patch which fixes this in the manual and also replaces texinfo.tex? Thanks you for squashing an old and annoying bug. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] possible single-quote bug in PDF docs (was: trouble with Imenu integration)
Carsten Dominik wrote: Great! Could you please submit a patch which fixes this in the manual and also replaces texinfo.tex? Looks like the message with the patch is to large for the mailing list (returns to sender). So there is git://github.com/dmj/dmj-org-mode.git fix/doc-texinfo-template to pull from. HTH, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgp8j2BGNEgEz.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] possible single-quote bug in PDF docs (was: trouble with Imenu integration)
On Jul 18, 2010, at 11:05 AM, David Maus wrote: Carsten Dominik wrote: Great! Could you please submit a patch which fixes this in the manual and also replaces texinfo.tex? Looks like the message with the patch is to large for the mailing list (returns to sender). So there is git://github.com/dmj/dmj-org-mode.git fix/doc-texinfo-template to pull from. Great, thanks. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] possible single-quote bug in PDF docs (was: trouble with Imenu integration)
Carsten Dominik wrote: Yes. Unfortunately I don't know a way to fix this. This is a known problem and texinfo provides the options , | @set txicodequoteundirected | causes the output for the ' character to be the undirected single quote, like this: | | '. | @set txicodequotebacktick | Cause the output for the ` character to be the standalone grave accent, like this: | | `. ` http://www.gnu.org/software/hello/manual/texinfo/Inserting-Quote-Characters.html To make these options work the file texinfo.tex in doc has to replaced by a recent version. Here it is located at /usr/share/texmf/tex/texinfo/texinfo.tex Compiling the manual with this texinfo.tex works fine and the quotes HTH, -- David [1] http://lists.gnu.org/archive/html/bug-texinfo/2006-06/msg2.html -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpj4rUyJdedW.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] possible single-quote bug in PDF docs (was: trouble with Imenu integration)
On Jul 16,2010, at 10:36 AM, David Maus wrote: Following the instructions from manual, I have this near the end of my startup file (I hope that is copied correctly): (add-hook ’org-mode-hook (lambda () (imenu-add-to-menubar Imenu))) Um... Wrong type of quote? It's 'org-mode-hook (ASCII 39) not ’org-mode-hook (Unicode 8217) Yep. When there wasn't an obvious answer, I found the same thing. Thank you regardless, David. What effect is it that the incorrect character has on the LISP processing? The error returned was related the name of the variable... Also, I guess this is a possible bug in the documentation: Looks like the single quote in the PDF version of the manual is Unicode 8217. (And of course I copied and pasted, to avoid getting anything wrong when I typed it!) Would that be something worth correcting? I have this vague notion that I've encountered it elsewhere. The HTML version of the manual is rendered correctly, but the PDF is not, I think. A quick scan suggests this — the renderer turns all the single quotes into curly quotes, even when they are being used in code. — Michael ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] possible single-quote bug in PDF docs (was: trouble with Imenu integration)
On Jul 16, 2010, at 10:21 PM, Michael Gilbert wrote: On Jul 16,2010, at 10:36 AM, David Maus wrote: Following the instructions from manual, I have this near the end of my startup file (I hope that is copied correctly): (add-hook ’org-mode-hook (lambda () (imenu-add-to-menubar Imenu))) Um... Wrong type of quote? It's 'org-mode-hook (ASCII 39) not ’org-mode-hook (Unicode 8217) Yep. When there wasn't an obvious answer, I found the same thing. Thank you regardless, David. What effect is it that the incorrect character has on the LISP processing? The error returned was related the name of the variable... Also, I guess this is a possible bug in the documentation: Looks like the single quote in the PDF version of the manual is Unicode 8217. (And of course I copied and pasted, to avoid getting anything wrong when I typed it!) Would that be something worth correcting? I have this vague notion that I've encountered it elsewhere. The HTML version of the manual is rendered correctly, but the PDF is not, I think. A quick scan suggests this — the renderer turns all the single quotes into curly quotes, even when they are being used in code. Yes. Unfortunately I don't know a way to fix this. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] possible single-quote bug in PDF docs (was: trouble with Imenu integration)
Following the instructions from manual, I have this near the end of my startup file (I hope that is copied correctly): (add-hook ’org-mode-hook (lambda () (imenu-add-to-menubar Imenu))) Um... Wrong type of quote? It's 'org-mode-hook (ASCII 39) not ’org-mode-hook (Unicode 8217) Yep. When there wasn't an obvious answer, I found the same thing. Thank you regardless, David. What effect is it that the incorrect character has on the LISP processing? The error returned was related the name of the variable... Also, I guess this is a possible bug in the documentation: Looks like the single quote in the PDF version of the manual is Unicode 8217. (And of course I copied and pasted, to avoid getting anything wrong when I typed it!) Would that be something worth correcting? I have this vague notion that I've encountered it elsewhere. The HTML version of the manual is rendered correctly, but the PDF is not, I think. A quick scan suggests this — the renderer turns all the single quotes into curly quotes, even when they are being used in code. Yes. Unfortunately I don't know a way to fix this. I am ignorant of LATEX and your particular architectural challenges of course. But the way scripts like John Grubers SmartyPants does it is by only converting those quote marks that are outside of tags indicating that the section is code or other exempt section (in HTML these would be pre, code, kbd, orscript). — Michael ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode