emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Okada <keno.ss57@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Control links in LaTeX export
Date: Mon, 27 Jan 2014 23:31:52 +0900	[thread overview]
Message-ID: <86zjmhmr6v.wl%keno.ss57@gmail.com> (raw)

Hello,

I have one question and one suggestion.

In LaTeX exporting I want to use a different format for \hyperref, which
is generated with `org-export-latex-links'. However I prefer the change
of the format file local, i.e., I don't want set the global variable
`org-export-latex-hyperref-format'. I tried to make this variable
file local, but it have no effects. (I guess the reason is other buffer
is used.) So my question is: Is there any options or methods
to do this?

Second, I want to use more flexible format for this. For example,
I want to make some change in the string used for reference (second
argument of \hyperref). A small dirty trick had solved this problem:
  https://gist.github.com/kenoss/8648351
However I think allowing users to modify the format more flexiblly
is reasonable, because I found another people like me:
  http://comments.gmane.org/gmane.emacs.orgmode/54641
So, I suggest putting a layer for formatting in `org-export-latex-links'.

Oh, I've got another thing now. I'm using "Org-mode version 7.8.11".
I found that in the latest version there isn't variable
`org-export-latex-hyperref-format' and \hyperref and \ref are
hard coded, sadly. Sorry for not using the latest version, but this is
(not mainly) because make fails in my environment.

Sincerely.

Ken Okada

             reply	other threads:[~2014-01-27 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-27 14:31 Ken Okada [this message]
2014-01-27 14:48 ` Control links in LaTeX export John Kitchin
2014-01-27 16:42   ` Ken Okada

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=86zjmhmr6v.wl%keno.ss57@gmail.com \
    --to=keno.ss57@gmail.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).