emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Malone <chris.m.malone@gmail.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Collapse LaTeX source before start of main document?
Date: Thu, 5 May 2011 10:23:50 -0400	[thread overview]
Message-ID: <BANLkTinxNYJhVG+vNTEGuKZ2uJ570vC0jA@mail.gmail.com> (raw)
In-Reply-To: <20110504152539.7f66f9af@kuru.homelinux.net>

Hi Matt and Suvayu,

@Matt: I can get your example to work fine for html export, but not
LaTeX export where the entire contents of the headline are removed as
well.  =org-version=:  7.5 (release_7.5.105.g8d0c) if that makes any
difference.

@Suvayu: Thanks for the suggestion.  That is essentially what I am
doing now with the #+LaTeX_HEADER lines, but the problem is that I
have a bunch of things which must follow the \begin{document} in
LaTeX.  I know I could put this in a separate file and just \input{}
it; I wanted to see if there was a way to keep everything together in
a single file, but also have the ability to fold this preliminary
stuff.

Chris

On Wed, May 4, 2011 at 6:25 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> Hi Chris,
>
> I just finished writing my master's thesis in org-mode.
>
> On Wed, 4 May 2011 11:36:58 -0400
> Chris Malone <chris.m.malone@gmail.com> wrote:
>
>> I'm working on using org mode for my PhD thesis.  I'd like to do this
>> in one large file where each headline is a single chapter.  Naturally
>> in a thesis there needs to be a lot of front matter: title page,
>> abstract, signature page, etc.  Right now, I'm doing this with
>> something like:
>
> For all formatting stuff, I just used
>
> #+LaTeX_HEADER: \whatever{}
> #+LaTeX_HEADER: \usepackage{universitystyle}
>
> For my abstract I used
>
> #+LaTeX_HEADER: \include{abstract}
>
> where abstract.tex is a simple tex file with something like:
>
> \abstract{ My abstract }
>
> If you wish to include this inside the \begin{document}..\end{document}
> block then you can use the same latex snippet but without
> the "#+LaTeX_HEADER:".
>
> I hope this helps and good luck with the thesis. :)
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
>

  reply	other threads:[~2011-05-05 14:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 15:36 Chris Malone
2011-05-04 16:18 ` Matt Lundin
2011-05-04 18:05   ` Chris Malone
2011-05-04 22:23     ` Matt Lundin
2012-09-27  9:07       ` Renier Marchand
2012-09-27 15:33         ` Nick Dokos
2014-06-06 17:03   ` Eric Schulte
2014-06-07 19:48     ` Eric Schulte
2011-05-04 22:25 ` Suvayu Ali
2011-05-05 14:23   ` Chris Malone [this message]
2011-05-05 14:46     ` Suvayu Ali
2011-05-05 15:37       ` Chris Malone
2011-05-05 17:37         ` Suvayu Ali
2011-05-05 17:45           ` chris.m.malone
2011-05-05 18:02             ` Suvayu Ali
2011-05-06 15:41               ` Eric S Fraga
2011-05-06 17:04                 ` Suvayu Ali
2011-05-06 12:34     ` Matt Lundin

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=BANLkTinxNYJhVG+vNTEGuKZ2uJ570vC0jA@mail.gmail.com \
    --to=chris.m.malone@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /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).