Hi,
On Mon, Mar 7, 2011 at 04:37, Jakub Szypulka <[email protected]> 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