emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: "[emacs-orgmode]" <emacs-orgmode@gnu.org>
Subject: Re: Org-Mode Presentation Videos
Date: Sat, 18 Oct 2008 21:16:03 +0200	[thread overview]
Message-ID: <48FA35F3.6080609@gmx.de> (raw)
In-Reply-To: <48F9FB5A.9000301@gmail.com>

srandby@gmail.com wrote:
> One comment. I've been using LaTeX for about 15 years, Emacs for about 2 
> years and Org-Mode for about 8 months. My LaTeX files are heavily 
> customized and I'm used to working with them without org-mode. My few, 
> and not very serious, attempts to move my LaTeX work to org-mode have 
> not given satisfactory results, so I've put off changing my work flow 
> until I have more time to figure out the LaTeX export features of 
> org-mode. But, I am using org-mode extensively for my other work related 
> tasks. I have org files that keep track of my students' grades and my 
> web site is built from a single org file. As you pointed out in your 
> talk, org-mode allows one to work!

There was a post on this list from Russel Adams, that shows how to use
custom LaTeX headers. My setup is derived from that post, and enables
the usage of a commen LaTeX-header for Org export and the rest of my
LaTeX files:

.emacs:

(setq org-export-latex-classes (cons '("myarticle"
      "% BEGIN My Article Defaults
\\input{/home/sebastian/develop/lib/latex/header-pdf.tex}
"

      ("\\rzchapteridx{%s}" . "\\rzchapteridx{%s}")
      ("\\rzsection{%s}{}" . "\\rzsection{%s}")
      ("\\rzsubsection{%s}" . "\\rzsubsection{%s}")
      ("\\rzsubsubsection{%s}" . "\\rzsubsubsection{%s}"))
      org-export-latex-classes))

As you can see here, I include the common header file, and customize
the classes used for headlines on export. Since now the creation of
PDFs is now possible directly from Org-mode (C-c C-e p), this is the
easiest way to do it.

*.org:

#+LaTeX_CLASS: myarticle


Regards,

   Sebastian

  reply	other threads:[~2008-10-18 19:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 19:13 Org-Mode Presentation Videos Russell Adams
2008-10-17  9:32 ` Rick Moynihan
2008-10-17 19:30 ` srandby
2008-10-17 19:55   ` Russell Adams
2008-10-18 15:06     ` srandby
2008-10-18 19:16       ` Sebastian Rose [this message]
2008-10-19 18:02         ` srandby
2008-10-19 18:44           ` Manish
2008-10-19 18:45           ` Russell Adams
2008-10-19 21:39             ` Sebastian Rose
2008-10-20  0:03               ` Russell Adams
2008-10-20  1:11                 ` Sebastian Rose
2008-10-17 20:07   ` Leo

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=48FA35F3.6080609@gmx.de \
    --to=sebastian_rose@gmx.de \
    --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).