From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: LaTeX export problem Date: Sat, 22 Sep 2012 10:07:39 +0200 Message-ID: <87wqzmcwfo.fsf@gmail.com> References: <87392epgfw.fsf@bzg.ath.cx> <878vc3kbgu.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFKoc-0002sF-3t for emacs-orgmode@gnu.org; Sat, 22 Sep 2012 04:11:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFKoX-0006Vz-F3 for emacs-orgmode@gnu.org; Sat, 22 Sep 2012 04:11:54 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:56703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFKoX-0006Vh-8h for emacs-orgmode@gnu.org; Sat, 22 Sep 2012 04:11:49 -0400 Received: by wibhq4 with SMTP id hq4so2399201wib.12 for ; Sat, 22 Sep 2012 01:11:48 -0700 (PDT) In-Reply-To: (Alexander Vorobiev's message of "Fri, 21 Sep 2012 14:47:21 -0500") 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: Alexander Vorobiev Cc: Bastien , Orgmode Mailing List , Gary Oberbrunner Hello, Alexander Vorobiev writes: > I tried the new exporter (using today's snapshot of the sources) and > it produced invalid LaTeX (it calls hypersetup without loading > hyperref package). The export back-end doesn't load any package on its own. You have to make sure hyperref is properly loaded (AFAIK, it is by default). > It also ignored the #+LaTeX_CLASS: and all the > #+LaTeX_HEADER:lines in my file. Those lines shouldn't be ignored. You probably don't have any matching entry in `org-e-latex-classes' for your #+LATEX_CLASS: specification. I'm not sure about #+LaTeX_HEADER: lines. Do you have an example? > Are there any examples of org files which show how to customize the > new LaTeX exporter? Try first: M-x customize-group RET org-export-e-latex RET Regards, -- Nicolas Goaziou