From: Miguel Ruiz <rbenit68@inbox.com>
To: Marcin Borkowski <mbork@mbork.pl>,
Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: How to export an Org file to LaTeX's book class, but without parts?
Date: Tue, 21 Apr 2015 22:27:35 -0800 [thread overview]
Message-ID: <A99803AE8BD.00000E3Erbenit68@inbox.com> (raw)
In-Reply-To: <87mw21w1qj.fsf@mbork.pl>
If you don't mind to live with part-chapter-section instead chapter-section-subsection:
---8<-----------------orgmode src-------------------->8---
#+LaTeX_CLASS: book
#+LaTeX_HEADER: \let\part\chapter
#+LaTeX_HEADER: \let\chapter\section
#+LaTeX_HEADER: \let\section\subsection
---8<---------------end of orgmode src---------------->8---
Regards.
> -----Original Message-----
> From: mbork@mbork.pl
> Sent: Wed, 22 Apr 2015 00:33:24 +0200
> To: emacs-orgmode@gnu.org
> Subject: [O] How to export an Org file to LaTeX's book class, but without
> parts?
>
> Hi all,
>
> this is an actual question, but it can be viewed as a continuation of
> the "why use LaTeX directly and not Org" thread (disclaimer: from the
> POV of an experienced LaTeX user and much less experienced Org-exporter
> user).
>
> So, I tried to do the opposite, just to learn something/unlock the "Org
> Exporter" skill;-). I want to export my Org file to the book class
> (actually, a class similar to it, but never mind), but I want my
> first-level headings to be chapters, not parts. OTOH, I don't want to
> modify org-latex-classes. Is that possible, and if yes, how to achieve
> that?
>
> TIA,
>
> --
> Marcin Borkowski
> http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
> Faculty of Mathematics and Computer Science
> Adam Mickiewicz University
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium
next prev parent reply other threads:[~2015-04-22 7:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-21 22:33 How to export an Org file to LaTeX's book class, but without parts? Marcin Borkowski
2015-04-22 1:32 ` Nick Dokos
2015-04-23 22:50 ` Marcin Borkowski
2015-04-22 6:15 ` Eric S Fraga
2015-04-22 6:27 ` Miguel Ruiz [this message]
2015-04-23 22:34 ` Marcin Borkowski
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A99803AE8BD.00000E3Erbenit68@inbox.com \
--to=rbenit68@inbox.com \
--cc=emacs-orgmode@gnu.org \
--cc=mbork@mbork.pl \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.