emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Bastien <bzg@altern.org>
Subject: Re: Heading numbering in latex export
Date: Fri, 28 Sep 2012 10:06:04 +0200	[thread overview]
Message-ID: <20120928080604.GA11701@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <20120927222911.GA4848@panahar>

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.

      reply	other threads:[~2012-09-28  8:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-27  6:45 Heading numbering in latex export Vikas Rawal
2012-09-27  7:36 ` Bastien
2012-09-27 15:37   ` Vikas Rawal
2012-09-27 22:33     ` Bastien
2012-09-27 22:29   ` Vikas Rawal
2012-09-28  8:06     ` Suvayu Ali [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120928080604.GA11701@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).