emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Myles English <mylesenglish@gmail.com>
To: Seweryn Kokot <sewkokot@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Exporting to LaTeX  to use it with \input
Date: Fri, 25 Jan 2013 15:47:09 +0000	[thread overview]
Message-ID: <874ni5gt8i.fsf@gmail.com> (raw)
In-Reply-To: <loom.20130124T153743-861@post.gmane.org>


Hi Seweryn,

Seweryn Kokot writes:

> I would like to have a main text of the document in LaTeX and only some parts as
> org files (using tables and babel functionality). Then these files I want to
> export to .tex files and include to the main tex file with \input{myorgfile1}.
> My question: is it possible to export to LaTeX without preamble and postable? Or
> how to automatically get rid of this redundant text to use it in
> \input?

Have a look at the standalone package, it ignores everything before
\begin{document} in the \input file.

You might be able to see the documentation by typing:

$ texdoc standalone


Myles

      reply	other threads:[~2013-01-25 15:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24 14:46 Seweryn Kokot
2013-01-25 15:47 ` Myles English [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=874ni5gt8i.fsf@gmail.com \
    --to=mylesenglish@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sewkokot@gmail.com \
    --subject='Re: Exporting to LaTeX  to use it with \input' \
    /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

Code repositories for project(s) associated with this 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).