emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Latex export does not work
Date: Thu, 7 Nov 2013 15:21:52 +0900	[thread overview]
Message-ID: <20131107062152.GG18733@smoon> (raw)
In-Reply-To: <CAG-LmmC+RW8HUo3NjBJV7ykEUsyUjKgGDvft7u1Hw-upcTm59w@mail.gmail.com>

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

> 2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>

>> 2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>

>>> 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':
http://tex.stackexchange.com/questions/13067/utf8x-vs-utf8-inputenc

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	other threads:[~2013-11-07  6:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 12:05 Latex export does not work Cecil Westerhof
2013-11-06 12:25 ` Cecil Westerhof
2013-11-06 12:41   ` Cecil Westerhof
2013-11-06 13:23     ` Cecil Westerhof
2013-11-07  6:21       ` Vladimir Lomov [this message]
2013-11-06 14:20   ` Cecil Westerhof
2013-11-06 12:38 ` Nick Dokos

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=20131107062152.GG18733@smoon \
    --to=lomov.vl@gmail.com \
    --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).