* latex export of unnumbered sections
@ 2013-03-04 17:34 Sebastian Hofer
2013-03-04 20:21 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Hofer @ 2013-03-04 17:34 UTC (permalink / raw)
To: emacs-orgmode
Is there a particular reason why unnumbered sections are exported to
latex including the title in first (optional) argument if there is no
* present? To clarify a bit: A sectioning structure like
("\\section{%s}" . "\\section*{%s}")
gives rise to
\section[title]{title} % numbered section
\section*{title} % unnumbered section
If, on the other hand you have something like
("\\numbered{%s}" . "\\unnumbered{%s}")
you will get
\numbered[title]{title} % numbered section
\unnumbered[title]{title} % unnumbered section
Of course one can easily work around that, but it seems a bit
inconsistent. So I'm wondering if I am missing something...
Best regards
Sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: latex export of unnumbered sections
2013-03-04 17:34 latex export of unnumbered sections Sebastian Hofer
@ 2013-03-04 20:21 ` Nicolas Goaziou
2013-03-05 9:09 ` Sebastian Hofer
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-03-04 20:21 UTC (permalink / raw)
To: Sebastian Hofer; +Cc: emacs-orgmode
Hello,
Sebastian Hofer <sebastian.hofer@univie.ac.at> writes:
> Is there a particular reason why unnumbered sections are exported to
> latex including the title in first (optional) argument if there is no
> * present? To clarify a bit: A sectioning structure like
>
> ("\\section{%s}" . "\\section*{%s}")
>
> gives rise to
>
> \section[title]{title} % numbered section
> \section*{title} % unnumbered section
>
> If, on the other hand you have something like
>
> ("\\numbered{%s}" . "\\unnumbered{%s}")
>
> you will get
>
> \numbered[title]{title} % numbered section
> \unnumbered[title]{title} % unnumbered section
>
> Of course one can easily work around that, but it seems a bit
> inconsistent. So I'm wondering if I am missing something...
Unnumbered headlines cannot have an optional title anymore in master.
Thank you for suggesting this.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: latex export of unnumbered sections
2013-03-04 20:21 ` Nicolas Goaziou
@ 2013-03-05 9:09 ` Sebastian Hofer
0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Hofer @ 2013-03-05 9:09 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: Sebastian Hofer, emacs-orgmode
At Mon, 04 Mar 2013 21:21:54 +0100,
Nicolas Goaziou wrote:
>
> Hello,
>
> Sebastian Hofer <sebastian.hofer@univie.ac.at> writes:
>
> > Is there a particular reason why unnumbered sections are exported to
> > latex including the title in first (optional) argument if there is no
> > * present? To clarify a bit: A sectioning structure like
> >
> > ("\\section{%s}" . "\\section*{%s}")
> >
> > gives rise to
> >
> > \section[title]{title} % numbered section
> > \section*{title} % unnumbered section
> >
> > If, on the other hand you have something like
> >
> > ("\\numbered{%s}" . "\\unnumbered{%s}")
> >
> > you will get
> >
> > \numbered[title]{title} % numbered section
> > \unnumbered[title]{title} % unnumbered section
> >
> > Of course one can easily work around that, but it seems a bit
> > inconsistent. So I'm wondering if I am missing something...
>
> Unnumbered headlines cannot have an optional title anymore in master.
>
> Thank you for suggesting this.
>
>
> Regards,
>
> --
> Nicolas Goaziou
Great, thx for the quick fix!
Sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-05 9:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 17:34 latex export of unnumbered sections Sebastian Hofer
2013-03-04 20:21 ` Nicolas Goaziou
2013-03-05 9:09 ` Sebastian Hofer
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).