From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: LaTeX export. Substitute some headlines with arbitrary command Date: Wed, 13 Mar 2013 20:14:22 -0400 Message-ID: <11008.1363220062@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFvoW-0008ES-Iu for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 20:14:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFvoV-0007r1-IB for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 20:14:32 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:13109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFvoV-0007qf-BT for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 20:14:31 -0400 In-Reply-To: Message from Andrey Yankin of "Thu, 14 Mar 2013 00:50:17 +0400." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andrey Yankin Cc: emacs-orgmode@gnu.org Andrey Yankin wrote: > Hi! > > I want arbitrary top level headline to be exported not as \section (or whatever it is) but with some > other arbitrary latex command. > > I even do not want to use headline text. Just write \intro instead of \section{...} in tex file. > > I've tried some fiddling with :noexport: and :export: tags to hide output for selected headlines. It > didn't work. > > Currently I'm heading to this metod: http://stackoverflow.com/a/9679105 of creating my own parser. > > Are there any easier solutions? > Have you tried customizing the org-latex-classes variable? I'm not quite sure what you are trying to do (an example would help), but I don't see any obstacles. Nick