emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Austin Frank <austin.frank@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: #+LATEX_PREAMBLE
Date: Fri, 3 Oct 2008 09:32:03 +0200	[thread overview]
Message-ID: <28387F4F-5E9F-4195-9A88-A13572D73E12@uva.nl> (raw)
In-Reply-To: <m0k5cry6x9.fsf@gmail.com>


On Oct 2, 2008, at 6:09 AM, Austin Frank wrote:

> Carsten and org-ers--
>
> I have a feature request related to \LaTeX export.  I know that we can
> set up custom \documentclass declarations in org-export-latex-classes,
> and that each of these can contain arbitrary preamble information  
> along
> with the \documentclass{} declaration.  I also know that the preamble
> can be further customized using file local variables to set
> org-export-latex-append-header.  These two solutions can seem  
> relatively
> heavyweight when one just wants to add a new \usepackage{} declaration
> to the preamble of a specific file.
>
> Any chance we could have a mechanism to add single line declarations  
> to
> the preamble of the exported tex file using the #+FOO syntax?  I would
> really love to be able to do something like
>
> #+LATEX_PREAMBLE:  \usepackage{pstricks}
> #+LATEX_PREAMBLE:  \usepackage{Sweave}

Hi Austin,

I have implemented this proposal, with the slightly shorter

#+LATEX_HEADER:

Multiple lines can be used.

It already works, documentation is still missing.

- Carsten

      parent reply	other threads:[~2008-10-03  7:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02  4:09 #+LATEX_PREAMBLE Austin Frank
2008-10-02  4:51 ` #+LATEX_PREAMBLE Russell Adams
2008-10-03  7:32 ` Carsten Dominik [this message]

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=28387F4F-5E9F-4195-9A88-A13572D73E12@uva.nl \
    --to=dominik@uva.nl \
    --cc=austin.frank@gmail.com \
    --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).