emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Export <<anchor>> to latex


From: Markus Grebenstein
Subject: Re: [O] Export <<anchor>> to latex
Date: Fri, 02 Mar 2012 23:09:06 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Dear Nick,

that is even more than enough ;-)

Thanks a lot! That solves quite a bit of preoblems for me.

I tried to put the anchor in the line of the headline itself and it worked in orgmode but was not exported as I expected.

Best,

Markus

Am 02.03.2012 21:23, schrieb Nick Dokos:
Markus Grebenstein<address@hidden>  wrote:

Dear List,

I am regularly running into problems with internal links to headings,
since my document meanwhile is 200pp+ long and I tend to change
headings.

Since I loose the ability to jump to the heading, I do not like to use
the classic latex approach using \label.

I am wondering why anchors are not exported as a label. Alternatively
having an "option" for headings would be nice like:
* Heading [label:anchor]

Is there a possibility to tweak orgmode to export anchors?

Thanks in advance,

I may be misunderstanding what you mean, but when I try exporting to latex
the following org file:

--8<---------------cut here---------------start------------->8---

* foo
#<<fooanchor>>

foo text

* bar
#<<baranchor>>

bar text
--8<---------------cut here---------------end--------------->8---

I get the following latex code:

,----
| ...
| \section{foo}
| \label{sec-1}
| \label{fooanchor}
|
|
| foo text
| \section{bar}
| \label{sec-2}
| \label{baranchor}
|
|
| bar text
| ...
`----

Isn't that enough?

Nick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]