[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Latex export does not work

From: Vladimir Lomov
Subject: Re: [O] Latex export does not work
Date: Thu, 7 Nov 2013 15:21:52 +0900
User-agent: Mutt/1.5.22 (2013-10-16)

** Cecil Westerhof [2013-11-06 14:23:15 +0100]:

> 2013/11/6 Cecil Westerhof <address@hidden>

>> 2013/11/6 Cecil Westerhof <address@hidden>

>>> I am only getting a message:
>>>     ! Package inputenc Error: Unicode char \u8:- not set up for use with
>>> LaTeX.

>>> But that should be solvable.

>> I solved that by changing in my .tex file:
>>     \usepackage[utf8]{inputenc}
>> to:
>>     \usepackage[utf8x]{inputenc}

>> and running pdflatex.

>> Is there a way to get this automatically in the .tex file, so I do not
>> have to change it?

> Based on
> http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=bb488fa3b1eaa61ea2dfe7238f9da85bc42b0ffb

> I have:
>     (defcustom org-export-latex-inputenc-alist '(\"utf8\" . \"utf8x\") "")

> But still the .tex file contains:
>     \usepackage[utf8]{inputenc}
> instead of:
>     \usepackage[utf8x]{inputenc}

> What is the right way to do this?

I'm not give an advice how to get 'utf8x' option for inputenc
(personally I redefine all LaTeX stuff of Org) but for the record this is very
useful information about 'utf8' vs 'utf8x':

Also, you may try lualatex instead of pdflatex.

WBR, Vladimir Lomov

Under the wide and starry sky,
Dig my grave and let me lie,
Glad did I live and gladly die,
And laid me down with a will,
And this be the verse that you grave for me,
Here he lies where he longed to be,
Home is the sailor home from the sea,
And the hunter home from the hill.
                -- Robert Loius Stevenson, "Requiem"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]