emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Latex export and label entries
@ 2009-12-02 13:51 d.tchin
  2009-12-03 14:31 ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: d.tchin @ 2009-12-02 13:51 UTC (permalink / raw)
  To: emacs-orgmode


Hi,

I use org-export-latex to create latex powerdot
file. I make adaptation of template defined for 
beamer class and it works quite well. 

I have a problem I would like to submit :

By default in each section or slide (frame) environment, 
there is a label added by default. This instruction 
is not recognized by powerdot class. Is there a way 
to prevent org-export-latex function to add such label 
entries ? 

My document is following

#+LaTeX_CLASS: powerdot
#+TITLE: Presentation
#+AUTHOR: author
#+OPTIONS: H:2 num:t toc:nil

* Test 1
** Test in 1
*** Test in 1 in 1
* Test 2
** Test in 2
*** Test in 2 in 2

If you want to reproduce, you can substitute powerdot 
by beamer for LaTeX_CLASS definition. You will find in 
tex file the following :

\section{Test 1}
\label{sec-1} <= 


Thanks

____________________________________________________

Michael Jackson, Susan Boyle, Black Eyed Peas ... Retrouvez leurs derniers titres sur http://musiline.voila.fr

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

* Re: Latex export and label entries
  2009-12-02 13:51 Latex export and label entries d.tchin
@ 2009-12-03 14:31 ` Carsten Dominik
  2009-12-03 19:37   ` d.tchin
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-12-03 14:31 UTC (permalink / raw)
  To: d.tchin; +Cc: emacs-orgmode

Hi,
On Dec 2, 2009, at 2:51 PM, d.tchin@voila.fr wrote:

>
> Hi,
>
> I use org-export-latex to create latex powerdot
> file. I make adaptation of template defined for
> beamer class and it works quite well.
>
> I have a problem I would like to submit :
>
> By default in each section or slide (frame) environment,
> there is a label added by default. This instruction
> is not recognized by powerdot class. Is there a way
> to prevent org-export-latex function to add such label
> entries ?


a work-around would be to add this to your powerdot definition of org- 
export-latex-classes:

\def\label#1{}

I could make label generation optional, but since this is a standard  
LaTeX command, I don't want to remove it.

HTH

- Carsten

>
> My document is following
>
> #+LaTeX_CLASS: powerdot
> #+TITLE: Presentation
> #+AUTHOR: author
> #+OPTIONS: H:2 num:t toc:nil
>
> * Test 1
> ** Test in 1
> *** Test in 1 in 1
> * Test 2
> ** Test in 2
> *** Test in 2 in 2
>
> If you want to reproduce, you can substitute powerdot
> by beamer for LaTeX_CLASS definition. You will find in
> tex file the following :
>
> \section{Test 1}
> \label{sec-1} <=
>
>
> Thanks
>
> ____________________________________________________
>
> Michael Jackson, Susan Boyle, Black Eyed Peas ... Retrouvez leurs  
> derniers titres sur http://musiline.voila.fr
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

* Re: Latex export and label entries
  2009-12-03 14:31 ` Carsten Dominik
@ 2009-12-03 19:37   ` d.tchin
  2009-12-08 16:33     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: d.tchin @ 2009-12-03 19:37 UTC (permalink / raw)
  To: emacs-orgmode

Hi

Carsten Dominik <carsten.dominik <at> gmail.com> writes:

> 
> Hi,
> On Dec 2, 2009, at 2:51 PM, d.tchin <at> voila.fr wrote:
> 
> >
> > Hi,
> >
> > I use org-export-latex to create latex powerdot
> > file. I make adaptation of template defined for
> > beamer class and it works quite well.
> >
> > I have a problem I would like to submit :
> >
> > By default in each section or slide (frame) environment,
> > there is a label added by default. This instruction
> > is not recognized by powerdot class. Is there a way
> > to prevent org-export-latex function to add such label
> > entries ?
> 
> a work-around would be to add this to your powerdot definition of org- 
> export-latex-classes:
> 
> \def\label#1{}
> 

Thank you for the advice. I add the instruction you suggest.
with org-export-latex-classes. In fact it work if this intruction
appears after \begin{document}. 
I have managed to add it before \begin{document} with 
org-export-latex-classes but not after . How could I make appear
this intruction only one time after \begin{document} ?

Regards

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

* Re: Re: Latex export and label entries
  2009-12-03 19:37   ` d.tchin
@ 2009-12-08 16:33     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-12-08 16:33 UTC (permalink / raw)
  To: d.tchin; +Cc: emacs-orgmode


On Dec 3, 2009, at 8:37 PM, d.tchin wrote:

> Hi
>
> Carsten Dominik <carsten.dominik <at> gmail.com> writes:
>
>>
>> Hi,
>> On Dec 2, 2009, at 2:51 PM, d.tchin <at> voila.fr wrote:
>>
>>>
>>> Hi,
>>>
>>> I use org-export-latex to create latex powerdot
>>> file. I make adaptation of template defined for
>>> beamer class and it works quite well.
>>>
>>> I have a problem I would like to submit :
>>>
>>> By default in each section or slide (frame) environment,
>>> there is a label added by default. This instruction
>>> is not recognized by powerdot class. Is there a way
>>> to prevent org-export-latex function to add such label
>>> entries ?
>>
>> a work-around would be to add this to your powerdot definition of  
>> org-
>> export-latex-classes:
>>
>> \def\label#1{}
>>
>
> Thank you for the advice. I add the instruction you suggest.
> with org-export-latex-classes. In fact it work if this intruction
> appears after \begin{document}.
> I have managed to add it before \begin{document} with
> org-export-latex-classes but not after . How could I make appear
> this intruction only one time after \begin{document} ?

#+LaTeX: \def\label#1{}

HTH

- Carsten

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

end of thread, other threads:[~2009-12-08 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-02 13:51 Latex export and label entries d.tchin
2009-12-03 14:31 ` Carsten Dominik
2009-12-03 19:37   ` d.tchin
2009-12-08 16:33     ` Carsten Dominik

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