From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Arntson Subject: latex markup in org? Date: Sat, 31 May 2014 23:57:12 -0700 Message-ID: <87vbslkth3.fsf@stevenarntson.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wqzi1-0001jl-4Z for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 02:57:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wqzhu-0002f8-T2 for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 02:57:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:40389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wqzhu-0002f4-Mb for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 02:57:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wqzht-0000yY-3m for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 08:57:25 +0200 Received: from 97-126-82-79.tukw.qwest.net ([97.126.82.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Jun 2014 08:57:25 +0200 Received: from steven by 97-126-82-79.tukw.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Jun 2014 08:57:25 +0200 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 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