From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aankhen Subject: Re: Different (setq org-export-with-section-numbers) depending on HTML or LaTeX export Date: Mon, 7 Mar 2011 11:07:08 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=44237 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwT8N-0002Qu-Uo for emacs-orgmode@gnu.org; Mon, 07 Mar 2011 00:37:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwT8M-00069r-IR for emacs-orgmode@gnu.org; Mon, 07 Mar 2011 00:37:31 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:40944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwT8M-00069g-Fj for emacs-orgmode@gnu.org; Mon, 07 Mar 2011 00:37:30 -0500 Received: by vws13 with SMTP id 13so4308364vws.0 for ; Sun, 06 Mar 2011 21:37:29 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jakub Szypulka , Org-mode ml Hi, On Mon, Mar 7, 2011 at 04:37, Jakub Szypulka wrot= e: > 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=E2=80=99t reproduce this problem: ,----[ foo.org ] | * Foo | | * Bar | | ** Quux | | * Baz `---- Becomes: ,----[ Exported LaTeX ] | \usepackage{amssymb} | \usepackage{hyperref} | \tolerance=3D1000 | \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