emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Different (setq org-export-with-section-numbers) depending on HT


From: Aankhen
Subject: Re: [O] Different (setq org-export-with-section-numbers) depending on HTML or LaTeX export
Date: Mon, 7 Mar 2011 11:07:08 +0530

Hi,

On Mon, Mar 7, 2011 at 04:37, Jakub Szypulka <address@hidden> wrote:
> I'm trying to hide section numbers in the HTML export, while keeping
> the sections in the LaTeX export.
>
> Adding (setq org-export-with-section-numbers nil) successfully removes
> the HTML section numbering, but for a mysterious reason also removes
> headlines when doing a LaTeX export.

Could you give a sample of the input and output?  Using Org-mode from
git, I can’t reproduce this problem:

,----[ foo.org ]
| * Foo
|
| * Bar
|
| ** Quux
|
| * Baz
`----

Becomes:

,----[ Exported LaTeX ]
| \usepackage{amssymb}
| \usepackage{hyperref}
| \tolerance=1000
| \providecommand{\alert}[1]{\textbf{#1}}
|
| \title{No Title}
| \author{}
| \date{07 March 2011}
|
| \begin{document}
|
| \maketitle
|
| \section*{Foo}
| \label{sec-1}
| \section*{Bar}
| \label{sec-2}
| \subsection*{Quux}
| \label{sec-2_1}
| \section*{Baz}
| \label{sec-3}
|
| \end{document}
`----

Which seems about right when converted to a PDF.

Aankhen



reply via email to

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