From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Heading numbering in latex export Date: Fri, 28 Sep 2012 10:06:04 +0200 Message-ID: <20120928080604.GA11701@kuru.dyndns-at-home.com> References: <20120927064527.GA17906@panahar> <87haqj7tdq.fsf@bzg.ath.cx> <20120927222911.GA4848@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THVaM-00046z-1t for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 04:06:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THVaK-0003GV-Ox for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 04:06:09 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:50903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THVaK-0003GM-Iy for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 04:06:08 -0400 Received: by wibhj13 with SMTP id hj13so1056887wib.12 for ; Fri, 28 Sep 2012 01:06:07 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20120927222911.GA4848@panahar> 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 Cc: Bastien Hello Vikas, On Fri, Sep 28, 2012 at 03:59:11AM +0530, Vikas Rawal wrote: > #+STARTUP: hidestars > #+TITLE: Title of my paper > #+DATE: > #+AUTHOR: Vikas Rawal > #+COLUMNS: %25ITEM %TAGS %PRIORITY %T > #+OPTIONS: H:3 toc:nil > #+LATEX_CMD: xelatex > #+LATEX_HEADER: \usepackage{comment,multirow,tabulary,fontspec} > #+LATEX_HEADER: \setmainfont{Adobe Garamond Pro} > I use XeLaTeX and tried your example file (with the font changed to something I have). It seems to work for both the old and new exporter. There is one difference though, I use XeLaTeX differently. Instead of using #+LATEX_CMD I actually set org-latex-to-pdf-process in my emacs init file. ;; org to latex customisations, -shell-escape needed for minted (setq org-latex-to-pdf-process ; for regular export '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f") org-e-latex-pdf-process ; for experimental org-export '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f")) I hope this helps. -- Suvayu Open source is the future. It sets us free.