From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Break a line in org-mode Date: Wed, 03 Jul 2013 04:21:25 -0400 Message-ID: <87txkc9hq2.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuIJj-0005Nb-VU for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 04:21:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuIJi-0006yE-9V for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 04:21:35 -0400 Received: from plane.gmane.org ([80.91.229.3]:52882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuIJi-0006xq-31 for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 04:21:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UuIJg-000437-4u for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 10:21:32 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Jul 2013 10:21:32 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Jul 2013 10:21:32 +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 Søren Mikkelsen writes: > I usually have some #+LaTeX_HEADER: entries in my org-mode files where > some of them are macros. These lines can be rather long so I have to > type in #+LaTeX_HEADER: multiple times for breaking the line to a decent > level. > > Is there a way of breaking a line when it is export options (or a > regular comment in org-mode)? > Wouldn't it be better to put the macros in a separate file (say mymacros.sty) and use #+LATEX_HEADER: \usepackage{mymacros} ? Less clutter in the org file and if the macros are more generally useful, you can make it available, say by moving it to your personal texmf directory (mine is at ~/.texmf-var/tex/latex but ymmv) and running texhash. -- Nick