emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: Publishing a Book as PDF and ePub.
Date: Tue, 3 Nov 2015 10:56:14 +0000	[thread overview]
Message-ID: <87611jic6p.fsf@ucl.ac.uk> (raw)
In-Reply-To: <20151102153744.GA2182@localhost> (Ian Barton's message of "Mon, 2 Nov 2015 15:37:44 +0000")

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

On Monday,  2 Nov 2015 at 15:37, Ian Barton wrote:
> Next year our mountaineering club has its 50th anniversary. On the
> 21st anniversary we published a book of articles written by members of
> the club. 
[...]

> However, as a Latex
> neophyte I was wondering which of the several Latex packages would be
> suitable.

The book class may be enough for you.  In org, it is trivial to
use.  Simply put the line

#+latex_class: book

in your org file and export to pdf (C-c C-e l p).  Top level headlines
are parts, second level headlines are chapters, third level headlines
are section headings, etc.

I've attached a very small org file and the resulting PDF.

If you need to customise the output, you can look at the settings of
org-latex-classes.  If you have any specific needs, just ask here!
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-209-gba4d33

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: t.org --]
[-- Type: text/x-org, Size: 306 bytes --]

#+title: This is my book
#+latex_class: book
* The main part of the book
** The first chapter
*** Introduction
This is some text.
** The second chapter
*** Motivation
This is some more text.
** The first chapter
*** Results
This is some text with an image

[[file:~/s/test/mip.png][file:~/s/test/mip.png]]

[-- Attachment #3: t.pdf --]
[-- Type: application/pdf, Size: 79513 bytes --]

  parent reply	other threads:[~2015-11-03 10:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-02 15:37 Publishing a Book as PDF and ePub Ian Barton
2015-11-02 15:57 ` Marcin Borkowski
2015-11-03 10:56 ` Eric S Fraga [this message]
2015-11-05 20:34   ` Ian Barton
2015-11-05 21:53     ` Eric S Fraga

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=87611jic6p.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /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).