emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Control links in LaTeX export
@ 2014-01-27 14:31 Ken Okada
  2014-01-27 14:48 ` John Kitchin
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Okada @ 2014-01-27 14:31 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-27 16:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-27 14:31 Control links in LaTeX export Ken Okada
2014-01-27 14:48 ` John Kitchin
2014-01-27 16:42   ` Ken Okada

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).