emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Org-mode <emacs-orgmode@gnu.org>
Subject: [TEXINFO] Link bug
Date: Thu, 14 Feb 2013 16:05:30 -1000	[thread overview]
Message-ID: <m1zjz6s55h.fsf@poto.westell.com> (raw)

Hi,

I think the new code to handle split links has broken links that aren't
split.

Here is an ECM:

* Headline to split

[[Headline 
to split]]

[[Headline to split]], not!

* 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" . "texinfo"))
#+end_src

Here is the relevant texinfo output (note the parens in the second
@ref):

@node Headline to split
@chapter Headline to split

@ref{Headline-to-split}

@ref{(Headline to split),}, not!

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

             reply	other threads:[~2013-02-15  2:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-15  2:05 Thomas S. Dye [this message]
2013-02-15 17:10 ` [TEXINFO] Link bug Nicolas Goaziou
2013-02-15 18:41   ` Thomas S. Dye
2013-02-16 12:39     ` Nicolas Goaziou
2013-02-16 16:19       ` Thomas S. Dye
2013-02-20 16:11         ` Jonathan Leech-Pepin
2013-02-20 18:39           ` Thomas S. Dye
2013-02-20 19:09             ` Nicolas Goaziou
2013-02-21  0:41               ` 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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1zjz6s55h.fsf@poto.westell.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).