emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] latex markup in org?


From: Omid
Subject: Re: [O] latex markup in org?
Date: Sun, 01 Jun 2014 03:03:50 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Hello Steven,

LaTeX .sty files are special. They are not meant to be included in a
.tex file. See
https://tex.stackexchange.com/questions/91167/why-use-sty-files for
more information.

Omid

Sent from my Emacs

On 06/01/2014 02:57 AM, Steven Arntson wrote:
> I've been learning to export from org to latex (to pdf), and have had
> great success. There's a simplification to the process I'd like to make,
> though, if it's possible.
> 
> Right now I use files: file.org and filestyle.sty. The .sty gives
> the latex-specific instruction, and I point to it from file.org with a
> line of #+LATEX_HEADER: \usepackage{filestyle}. This works great, but
> I'd love to have just one file, not two, to keep things simple.
> 
> So I tried putting the contents of filestyle.sty near the top of file.org
> inside of #+BEGIN_latex and #+END_latex, but it doesn't quite work. It
> incompletely works, which is perplexing...
> 
> I'd appreciate any ideas about this--can it be done?
> 
> Thank you!
> Steven
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]