emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Latex export, unnumbered sections
@ 2009-01-25 15:50 Nicolas Goaziou
  2009-01-26  5:24 ` Scot Becker
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2009-01-25 15:50 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Latex export, unnumbered sections
  2009-01-25 15:50 Latex export, unnumbered sections Nicolas Goaziou
@ 2009-01-26  5:24 ` Scot Becker
  2009-01-26 10:45 ` Carsten Dominik
  2009-01-26 12:33 ` Bernt Hansen
  2 siblings, 0 replies; 5+ messages in thread
From: Scot Becker @ 2009-01-26  5:24 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1926 bytes --]

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 <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@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 2553 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Latex export, unnumbered sections
  2009-01-25 15:50 Latex export, unnumbered sections Nicolas Goaziou
  2009-01-26  5:24 ` Scot Becker
@ 2009-01-26 10:45 ` Carsten Dominik
  2009-01-26 18:32   ` Nicolas Goaziou
  2009-01-26 12:33 ` Bernt Hansen
  2 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-01-26 10:45 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode


On Jan 25, 2009, at 4: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 ?

There is no support for mixed numbered/unnumbered sections.  And I don't
really think want to put that in.  Seems to me that this would be
the point where you want to switch over to LaTeX itself.

- Carsten

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Latex export, unnumbered sections
  2009-01-25 15:50 Latex export, unnumbered sections Nicolas Goaziou
  2009-01-26  5:24 ` Scot Becker
  2009-01-26 10:45 ` Carsten Dominik
@ 2009-01-26 12:33 ` Bernt Hansen
  2 siblings, 0 replies; 5+ messages in thread
From: Bernt Hansen @ 2009-01-26 12:33 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <n.goaziou@neuf.fr> writes:

> 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.

Can you give a short example of what it is you are trying to accomplish?

In the export options the H: value states how many heading levels to
export

,----[ top of one of my exported org files ]
| #+OPTIONS: H:2 num:t toc:2 \n:nil todo:t @:t ::t |:t ^:nil -:t f:t *:t TeX:t LaTeX:nil skip:t d:nil tags:t
`----

You can't specify individually which headlines should and shouldn't be
exported as numbered headlines as far as I know.

-Bernt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Latex export, unnumbered sections
  2009-01-26 10:45 ` Carsten Dominik
@ 2009-01-26 18:32   ` Nicolas Goaziou
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2009-01-26 18:32 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> There is no support for mixed numbered/unnumbered sections.  And I don't
> really think want to put that in.  Seems to me that this would be
> the point where you want to switch over to LaTeX itself.

Indeed, org-mode doesn't aim at being a LaTeX front-end. I was just
thinking that tags could have an impact on export, much like CSS, but
for LaTeX. Now, it sounds way much complicated.

Anyway, I perfectly get your point. Thanks.

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-26 19:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-25 15:50 Latex export, unnumbered sections Nicolas Goaziou
2009-01-26  5:24 ` Scot Becker
2009-01-26 10:45 ` Carsten Dominik
2009-01-26 18:32   ` Nicolas Goaziou
2009-01-26 12:33 ` Bernt Hansen

Code repositories for project(s) associated with this 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 NNTP newsgroup(s).