From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Fwd: Re: Bug? in texinfo exporter Date: Mon, 11 Feb 2013 08:59:55 -1000 Message-ID: References: <87d2w7e3oq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4yc7-0006FZ-5Y for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 14:00:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4yc5-0006JR-AI for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 14:00:27 -0500 Received: from oproxy11-pub.bluehost.com ([173.254.64.10]:35261) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1U4yc5-0006IS-2Y for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 14:00:25 -0500 In-Reply-To: <87d2w7e3oq.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 11 Feb 2013 07:59:33 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Org Mode Mailing List , Jonathan Leech-Pepin Aloha Nicolas and Jon, Nicolas Goaziou 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