From mboxrd@z Thu Jan 1 00:00:00 1970 From: Omid Subject: Re: latex markup in org? Date: Sun, 01 Jun 2014 03:03:50 -0400 Message-ID: <538AD056.2000208@gmail.com> References: <87vbslkth3.fsf@stevenarntson.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqzoE-00034z-V2 for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 03:04:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wqzo9-0004PW-V4 for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 03:03:58 -0400 Received: from mail-yk0-x22f.google.com ([2607:f8b0:4002:c07::22f]:51369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wqzo9-0004PL-PY for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 03:03:53 -0400 Received: by mail-yk0-f175.google.com with SMTP id 131so2806531ykp.6 for ; Sun, 01 Jun 2014 00:03:53 -0700 (PDT) Received: from [10.0.0.2] (host-207-254.fltavth.clients.pavlovmedia.com. [68.234.207.254]) by mx.google.com with ESMTPSA id c8sm12834231yho.34.2014.06.01.00.03.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 01 Jun 2014 00:03:52 -0700 (PDT) In-Reply-To: <87vbslkth3.fsf@stevenarntson.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 > >