From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: preview latex fragment with latex_header Date: Thu, 07 Mar 2013 09:47:44 +0100 Message-ID: <87y5dzd2a7.fsf@med.uni-goettingen.de> References: <87hakofg7g.fsf@med.uni-goettingen.de> <871ubsdu2w.fsf@gmail.com> <87zjygdsaw.fsf@med.uni-goettingen.de> <87k3pjka74.fsf@Rainer.invalid> <87a9qfel6j.fsf@med.uni-goettingen.de> <87wqtjd4a2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWWJ-0000At-6f for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 03:49:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDWWH-0004cA-So for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 03:49:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:45629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWWH-0004c5-N8 for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 03:49:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UDWWa-00010v-5O for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 09:50:04 +0100 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Mar 2013 09:50:04 +0100 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Mar 2013 09:50:04 +0100 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 Hi Nicolas, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> Achim Gratz writes: >> >>> Andreas Leha writes: >>>> In this particular situation (the \subtitle will always be document >>>> specific) the latex class is not possible here -- I won't create latex >>>> classes per document. >>> >>> Classes can have arguments and the argument would be the subtitle to >>> set, so I don't understand that objection. >>> >> >> Right. That holds for properly designed LaTeX classes. But I was talking >> about one of my LaTeX classes.... >> >> Here, the macro was just so much cheaper, so again no pressure to >> improve my LaTeX class ;-) > > I introduced LATEX_HEADER_EXTRA keyword, which will do the same as > LATEX_HEADER but will not be used to preview latex snippets. Note that > lines included in LATEX_HEADER_EXTRA will always appear after those > defined by LATEX_HEADER keywords in the output. > Thank you very much for this convenient keyword! Much appreciated. Haven't tested yet, but will use this a lot, I guess. (I will definitely *not* improve my LaTeX class now ;-) Regards, Andreas