From: Aankhen <aankhen@gmail.com>
To: Jakub Szypulka <cubibubi@googlemail.com>,
Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Different (setq org-export-with-section-numbers) depending on HTML or LaTeX export
Date: Mon, 7 Mar 2011 11:07:08 +0530 [thread overview]
Message-ID: <AANLkTim1x6NNntdS3Sj9Q0c0JL3f1x1Q21LX7Ar8S8OA@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikO5CwjD=Ot9AjggRpzDpUKrKyP1TyVb_VoX_Dk@mail.gmail.com>
Hi,
On Mon, Mar 7, 2011 at 04:37, Jakub Szypulka <cubibubi@googlemail.com> 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
next prev parent reply other threads:[~2011-03-07 5:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-06 23:07 Different (setq org-export-with-section-numbers) depending on HTML or LaTeX export Jakub Szypulka
2011-03-07 5:37 ` Aankhen [this message]
2011-03-07 16:24 ` Eric S Fraga
2011-03-08 6:43 ` Aankhen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTim1x6NNntdS3Sj9Q0c0JL3f1x1Q21LX7Ar8S8OA@mail.gmail.com \
--to=aankhen@gmail.com \
--cc=cubibubi@googlemail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).