emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Lawrence Mitchell <wence@gmx.li>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH 0/2] References auto-generated labels with \ref in LaTeX export
Date: Sun, 13 Feb 2011 00:46:25 +0100	[thread overview]
Message-ID: <87aai0rf3i.fsf@altern.org> (raw)
In-Reply-To: <cover.1295529378.git.wence@gmx.li> (Lawrence Mitchell's message of "Thu, 20 Jan 2011 13:23:21 +0000")

Hi Lawrence,

Lawrence Mitchell <wence@gmx.li> writes:

> This patch set introduces a new option
> `org-latex-unprettify-internal-links' which, if non-nil, converts
> "bare" references to auto-generated section labels into a \ref
> rather than a \hyperref.

Thanks for the patch and the explanations.

What about using org-export-latex-hyperref-format directly?

  (setq org-export-latex-hyperref-format "\\ref{%s}")

and you're set.  I updated the docstring to make clear there is no real
problem in having less than two "%s" in here -- the format function will
just ignore the second one.

Best,

-- 
 Bastien

      parent reply	other threads:[~2011-02-12 23:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-20 13:23 [PATCH 0/2] References auto-generated labels with \ref in LaTeX export Lawrence Mitchell
2011-01-20 13:23 ` [PATCH 1/2] Only match complete words in org-export-add-options-to-plist Lawrence Mitchell
2011-02-12 23:49   ` [Accepted] [Orgmode, " Bastien Guerry
2011-01-20 13:23 ` [PATCH 2/2] Allow option of using bare \ref links in LaTeX export Lawrence Mitchell
2011-02-12 23:46 ` Bastien [this message]

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=87aai0rf3i.fsf@altern.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=wence@gmx.li \
    /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).