From: tsd@tsdye.com (Thomas S. Dye)
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>,
Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
Subject: Re: Fwd: Re: Bug? in texinfo exporter
Date: Mon, 11 Feb 2013 08:59:55 -1000 [thread overview]
Message-ID: <m1a9rabrro.fsf@tsdye.com> (raw)
In-Reply-To: <87d2w7e3oq.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 11 Feb 2013 07:59:33 +0100")
Aloha Nicolas and Jon,
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> Aloha Jon,
>
> [...]
>
>> Yes, I believe you are right. The commas are not the culprits.
>> Apologies for the red herring.
>>
>> Perhaps Nicolas should revert the commit? Could you check if this is
>> the right thing to do?
>
> My fix isn't about the comma. Didn't it work?
The particular link I used in the example now works. Thanks. I wasn't
sure what was done and worried that my red herring had made it into the
code. Glad to know that it didn't.
>
>> I *have* found a bug/limitation of the texinfo exporter. If a link is
>> split between two lines the exporter doesn't handle it correctly. A
>> split link is exported like @ref{A-split-link}, when it should be @ref{A
>> split link}, I think.
> There's no such limitation. Could you provide an ECM for that?
Yes, here is an ECM.
--------- Begin ECM ----------
* A long headline that typically breaks across lines with M-q
Blah.
* Concise headline
The problem comes with links that are split across lines, e.g. [[A
long headline that typically breaks across lines with M-q]]. They work
in the Org mode buffer, but not when exported to texinfo.
* Editing setup
#+name: setup-editing
#+header: :results silent
#+header: :eval no-export
#+begin_src emacs-lisp
(require 'ox-texinfo)
(define-key org-mode-map (kbd "C-c e") 'org-export-dispatch)
(setq org-pretty-entities nil)
(setq org-src-preserve-indentation t)
(setq org-confirm-babel-evaluate nil)
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(sh . t)))
(add-to-list 'org-export-snippet-translation-alist
'("info" . "e-texinfo"))
#+end_src
---------- End ECM -----------
Here is the makeinfo output:
poto:orgmanual dk$ makeinfo --force org-texi-link.texi
/Users/dk/org/orgmanual//org-texi-link.texi:55: Cross reference to nonexistent node `A-long-headline-that-typically-breaks-across-lines-with-M-q' (perhaps incorrect sectioning?).
Note the hyphens between the words of the headline/link.
All the best,
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
next prev parent reply other threads:[~2013-02-11 19:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-09 3:11 Bug? in texinfo exporter Thomas S. Dye
2013-02-09 18:31 ` Nicolas Goaziou
[not found] ` <CAEWDx5dLyC0xmOdBy8aO7N932cbV_h+UN7rx_qw-h6JZ+3i7vQ@mail.gmail.com>
2013-02-09 23:00 ` Fwd: " Jonathan Leech-Pepin
2013-02-11 3:19 ` Thomas S. Dye
2013-02-11 6:59 ` Nicolas Goaziou
2013-02-11 12:08 ` Jonathan Leech-Pepin
2013-02-13 7:44 ` Nicolas Goaziou
2013-02-11 18:59 ` Thomas S. Dye [this message]
2013-02-13 7:45 ` Nicolas Goaziou
2013-02-13 16:09 ` Thomas S. Dye
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1a9rabrro.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=jonathan.leechpepin@gmail.com \
--cc=n.goaziou@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.