From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: latex header lines vs latex block Date: Tue, 09 Sep 2014 15:16:29 +0200 Message-ID: <87egvlylw2.fsf@gmail.com> References: <87tx4hyqyl.fsf@gmail.com> <86tx4h3uax.fsf@somewhere.org> 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]:38781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRLL9-0006pn-Uq for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 09:20:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRLL2-0007CS-MB for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 09:20:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:44850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRLL2-0007Al-GU for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 09:20:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XRLL1-00036W-PT for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 15:20:03 +0200 Received: from e178059041.adsl.alicedsl.de ([85.178.59.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Sep 2014 15:20:03 +0200 Received: from tjolitz by e178059041.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Sep 2014 15:20:03 +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 Sebastien Vauban writes: > Thorsten Jolitz wrote: >> Hi List, >> >> I often see many lines like this if Org files: >> >> ,---- >> | #+LaTeX_CLASS: koma-book >> | #+LaTeX_HEADER: \usepackage[utf8]{inputenc} >> | #+LaTeX_HEADER: \usepackage[T1]{fontenc} >> | #+LaTeX_HEADER: \usepackage{palatino} >> | #+LaTeX_HEADER: \bibliographystyle{alpha} >> | #+LaTeX_HEADER: \bibliography{../bandbook.bib} >> | #+LaTeX_HEADER: \usepackage{fixltx2e} >> | #+LaTeX_HEADER: \usepackage{graphicx} [...] >> `---- >> >> would it be the same to just put a >> >> #+BEGIN_LATEX >> ... latex-header code ... >> #+END_LATEX >> >> instead of many header lines? > > No, that would NOT go in the LaTeX "header" part (that is, the > preamble). > > See http://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg00744.html > for Nicolas' answer on this point: > > ╭──── > │ I suggest to use existing solutions instead: configure > │ `org-latex-classes'. > ╰──── good point, thanks for the tip! -- cheers, Thorsten