From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: Latex export, unnumbered sections Date: Mon, 26 Jan 2009 05:24:00 +0000 Message-ID: References: <878wozqtap.fsf@selenimh.orion.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1108664814==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRVqN-00054K-Mj for emacs-orgmode@gnu.org; Mon, 26 Jan 2009 13:05:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRVqM-00053X-Gw for emacs-orgmode@gnu.org; Mon, 26 Jan 2009 13:05:55 -0500 Received: from [199.232.76.173] (port=45660 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRVqM-00053R-9u for emacs-orgmode@gnu.org; Mon, 26 Jan 2009 13:05:54 -0500 Received: from mx20.gnu.org ([199.232.41.8]:52314) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRVOC-0005sD-Cj for emacs-orgmode@gnu.org; Mon, 26 Jan 2009 12:36:49 -0500 Received: from fg-out-1718.google.com ([72.14.220.152]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRJyJ-0005PD-Mv for emacs-orgmode@gnu.org; Mon, 26 Jan 2009 00:25:20 -0500 Received: by fg-out-1718.google.com with SMTP id l26so3580437fgb.30 for ; Sun, 25 Jan 2009 21:24:00 -0800 (PST) In-Reply-To: <878wozqtap.fsf@selenimh.orion.org> 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: emacs-orgmode@gnu.org --===============1108664814== Content-Type: multipart/alternative; boundary=001636c5b0d433c32404615bf23b --001636c5b0d433c32404615bf23b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm a new org user, but I've read the LaTeX export stuff pretty carefully, and In don't think there is any native org-mode syntax that would allows control over the numbering of an individual line. However, if you know what level these unnumbered headings will be exported at, you may be able to just to a Latex pass-through command: \subsubsection{my unnumbered heading} Just tested. It appears to work. Or you might be able to just figure out how you want the heading to look (bold, font size, etc) and just pass through the commands to make that work, just for those lines. Barring that, I guess the solution is either to edit the LaTeX manually, or come up with some bit of "unnumbering" syntax and write a LaTeX-adjusting function that is run on one of the later hooks that are offered by the export process. I can't find these in org's info documentation just now, but they were added sometime after v.6.15, if I remember right, and were nicely documented on the 'user visible changes' page. That would require some Emacs LISP, but it should be relatively simple Scot On Sun, Jan 25, 2009 at 3:50 PM, Nicolas Goaziou wrote: > Hello, > > I'm running into some kind of problem with my "export as latex and > process as pdf" setup. I would like to have all my headings numbered > but a few ones. Sadly, I don't know about any mean to specify > individually what header should be exported as starred or not. > > I still can export to latex, edit it and then process it as pdf, but, > being the lazy type, I'd rather have it done "automagically". > > So, am I missing an obvious option ? Has someone already solved that ? > > Thanks for any insight. > > -- > Nicolas Goaziou > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --001636c5b0d433c32404615bf23b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm a new org user, but I've read the LaTeX export stuff pretty car= efully, and In don't think there is any native org-mode syntax that wou= ld allows control over the numbering of an individual line. However, if you= know what level these unnumbered headings will be exported at, you may be = able to just to a Latex pass-through command:

\subsubsection{my unnumbered heading}

Just tested.  It appe= ars to work. 

Or you might be able to just figure out how you want the heading to look (bold, font size, etc) and just pass through the commands to make that work, just for those lines.

Barring that, I guess the solution = is either to edit the LaTeX manually, or come up with some bit of "unn= umbering" syntax and write a LaTeX-adjusting function that is run on o= ne of the later hooks that are offered by the export process. I can't f= ind these in org's info documentation just now, but they were added som= etime after v.6.15, if I remember right, and were nicely documented on the = 'user visible changes' page.  That would require some Emacs LI= SP, but it should be relatively simple

Scot


On Sun, Jan 25, 2009 at 3:50 PM, Nicolas Goa= ziou <n.goaziou@neuf.fr> wrote:
Hello,

I'm running into some kind of problem with my "export as latex and=
process as pdf" setup. I would like to have all my headings numbered but a few ones. Sadly, I don't know about any mean to specify
individually what header should be exported as starred or not.

I still can export to latex, edit it and then process it as pdf, but,
being the lazy type, I'd rather have it done "automagically".=

So, am I missing an obvious option ? Has someone already solved that ?

Thanks for any insight.

--
Nicolas Goaziou


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--001636c5b0d433c32404615bf23b-- --===============1108664814== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1108664814==--