From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: preview latex fragment with latex_header Date: Thu, 07 Mar 2013 09:04:37 +0100 Message-ID: <87wqtjd4a2.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDVop-0008EC-Br for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 03:04:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDVoo-0006Ka-3W for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 03:04:51 -0500 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:39919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDVon-0006KW-TH for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 03:04:50 -0500 Received: by mail-wg0-f41.google.com with SMTP id ds1so6011121wgb.0 for ; Thu, 07 Mar 2013 00:04:49 -0800 (PST) In-Reply-To: <87a9qfel6j.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Thu, 07 Mar 2013 08:14:12 +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: Andreas Leha Cc: emacs-orgmode@gnu.org 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. Regards, -- Nicolas Goaziou