From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?=C5=81ukasz_Stelmach?= Subject: Re: [BUG] org-export-pdf-remove-logfiles extensions Date: Wed, 25 Nov 2009 17:07:57 +0100 Message-ID: <874ooiio4i.fsf@dasa3.iem.pw.edu.pl> References: <878wduiwzu.fsf@dasa3.iem.pw.edu.pl> <87fx82y95i.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDKPR-0000n1-EG for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 11:08:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDKPM-0000jf-Gw for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 11:08:01 -0500 Received: from [199.232.76.173] (port=55202 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDKPM-0000jY-AU for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 11:07:56 -0500 Received: from lo.gmane.org ([80.91.229.12]:34798) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDKPL-0006oB-Ov for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 11:07:56 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NDKPI-0004AY-35 for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 17:07:52 +0100 Received: from dasa3.iem.pw.edu.pl ([194.29.147.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Nov 2009 17:07:52 +0100 Received: from lukasz.stelmach by dasa3.iem.pw.edu.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Nov 2009 17:07:52 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Carsten Dominik Sébastien Vauban writes: > Carsten Dominik wrote: >> On Nov 25, 2009, at 1:56 PM, Łukasz Stelmach wrote: > >>> XeLaTeX produces some more files than pdflatex. These are: .nav, .snm, >>> .vrb. All named the same as the base file. > > I don't think those extensions are specific to XeLaTeX. I have them as > well as soon as I use beamer and verbatim code. It's quite possible. >> Are you using XeTeX with Org-mode? >> How exactly, can you white a little HOWTO and post it here? > > I would be interested as well... > It's nothing special really. The only thing I had to do is change "pdflatex" to "xelatex" in org-latex-to-pdf-process. There are some slight changes in a preamble too. You have to use some packages to take full advantage of xelatex. They are - xunicode and xltxtra --- for utf-8 input, - fontspec --- for convenient access to TTF fonts. I'am not (Xe)LaTeX guru so I can't explain you anything more. I am creating a beamer presentation so I had to create my preamble from scrach and add it to org-export-latex-classes (in fact I M-w C-y-ed it from the web). However, this reminds me of a drawback I found. There is no way to put some LaTeX code from the Org document into the preamble. You can use #+begin_latex only for the body. I use xelatex because it supports UTF-8 input and TTF fonts much better than any other tex "backend". -- Miłego dnia, Łukasz Stelmach