From: Nick Dokos <nicholas.dokos@hp.com>
To: =?utf-8?Q?S=C3=A9bastien_Vauban?= <wxhgmqzgwmuf@spammotel.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Missing Introduction and About sections in LaTeX export
Date: Thu, 28 Apr 2011 07:36:27 -0400 [thread overview]
Message-ID: <9731.1303990587@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from =?utf-8?Q?S=C3=A9bastien_Vauban?= <wxhgmqzgwmuf@spammotel.com> of "Thu\, 28 Apr 2011 09\:55\:31 +0200." <808vuuu7ws.fsf@somewhere.org>
[forgot to cc: the list]
Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> wrote:
> Hi Avdi,
>
> Nick Dokos wrote:
> > Avdi Grimm <avdi@avdi.org> wrote:
> >> On Wed, Apr 27, 2011 at 5:41 PM, Nick Dokos <nicholas.dokos@hp.com> wrot=
> e:
> >> > Just star them by hand in the tex file after exporting for the last
> >> > time: it'll take two seconds. You may be able to do it from Org by
> >> > writing a custom function (C-h v org-export-latex-classes <RET> for
> >> > details) but I suspect that the effort is just not worth it.
> >>=20
> >> Ugh. This is a (somewhat) living document; manually tweaking the .tex
> >> after export isn't really an option.
> >>=20
> >> I was hoping there was a tag or property that I could set on a section
> >> indicating it is frontmatter/backmatter.
> >
> > I don't know of an easy way within Org - somebody else might have better
> > ideas.
> >
> > If I were in your position, I'd probably write a simple Makefile to produ=
> ce
> > the PDF and incorporate a simple post-processing awk script to do the
> > transformation. Or write an elisp function to run as part of
> > org-export-latex-final-hook perhaps.
>
> What about just inserting
>
> #+LaTeX: \backmatter{}
>
> and the like where applicable in the Org file?
>
From a quick read of the description of \frontmatter, it is not clear to
me that it is going to work the way the OP wants, but it is indeed
worth trying: I forgot about that completely.
[trying it...]
I just ran a quick test: \frontmatter seems to be undefined in the
report class - it's only defined in the book class.
Thanks,
Nick
next prev parent reply other threads:[~2011-04-28 11:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 20:57 Missing Introduction and About sections in LaTeX export Avdi Grimm
[not found] ` <groups@inbox.avdi.org>
2011-04-27 21:41 ` Nick Dokos
2011-04-27 21:47 ` Avdi Grimm
2011-04-27 22:23 ` Nick Dokos
2011-04-28 7:55 ` Sébastien Vauban
2011-04-28 11:36 ` Nick Dokos [this message]
2011-05-01 19:04 ` Dumbquotes in exported source listings Nick Dokos
2011-04-27 22:21 ` Missing Introduction and About sections in LaTeX export Avdi Grimm
2011-04-28 11:06 ` Eric S Fraga
-- strict thread matches above, loose matches on Subject: below --
2011-04-30 23:39 Dumbquotes in exported source listings Avdi Grimm
2011-05-01 3:13 ` Ben Finney
2011-05-01 16:41 ` Avdi Grimm
2011-05-01 19:08 ` Nick Dokos
2011-05-01 20:26 ` Sébastien Vauban
2011-05-01 21:31 ` Nick Dokos
2011-05-01 21:40 ` Ben Finney
2011-05-01 21:27 ` Ben Finney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9731.1303990587@alphaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=wxhgmqzgwmuf@spammotel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).