From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Grebenstein Subject: Re: Export <> to latex Date: Fri, 02 Mar 2012 23:09:06 +0100 Message-ID: <4F514502.1060402@mgrebenstein.de> References: <4F51267D.1030903@mgrebenstein.de> <4755.1330719827@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3af1-0005SL-Ew for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 17:09:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3aez-0004Ka-BD for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 17:09:10 -0500 Received: from smtprelay02.ispgateway.de ([80.67.18.44]:45071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3aez-0004KN-4b for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 17:09:09 -0500 In-Reply-To: <4755.1330719827@alphaville> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org 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 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 > #<> > > foo text > > * bar > #<> > > 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 >