emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: emacs-orgmode@gnu.org
Subject: Re: Heading numbering in latex export
Date: Thu, 27 Sep 2012 21:07:40 +0530	[thread overview]
Message-ID: <20120927153740.GA15691@panahar> (raw)
In-Reply-To: <87haqj7tdq.fsf@bzg.ath.cx>

On Thu, Sep 27, 2012 at 09:36:15AM +0200, Bastien wrote:
> Hi Vikas,
> Vikas Rawal <vikaslists@agrarianresearch.org> writes:
> > When I try to export the file to pdf via latex, I face a strange
> > problem. When I export the file first time after opening it, the
> > graph does not appear. When I do it again, the graph appears fine but
> > Section numbers are messed up. The main sections are now numbered 0.1,
> > 0.2 etc while the sub-sections are not numbered at all.
> Wild guess: you may need to configure `org-latex-to-pdf-process'.
> But without more information on the original file it's hard to debug.
> Can you provide a minimal reproducible example?

I worked on my file further and by elimination identified the problem
to the following.

I am using xelatex. There are following two lines in my org file

#+LATEX_CMD: xelatex
#+LATEX_HEADER: \setmainfont{Adobe Garamond Pro}

Where LATEX_CMD is defined as in

If I remove the above two lines, everything works fine (except the
fonts, of course).


  reply	other threads:[~2012-09-27 15:40 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 [this message]
2012-09-27 22:33     ` Bastien
2012-09-27 22:29   ` Vikas Rawal
2012-09-28  8:06     ` Suvayu Ali

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:

  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=20120927153740.GA15691@panahar \
    --to=vikaslists@agrarianresearch.org \
    --cc=emacs-orgmode@gnu.org \


* 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


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).