From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Re: Latex export does not work Date: Wed, 6 Nov 2013 14:23:15 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c25f4237d77904ea820df0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve34o-00024y-5y for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 08:23:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve34m-0004ie-DL for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 08:23:18 -0500 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:48657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve34m-0004iP-6U for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 08:23:16 -0500 Received: by mail-we0-f175.google.com with SMTP id t61so4804280wes.6 for ; Wed, 06 Nov 2013 05:23:15 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a11c25f4237d77904ea820df0 Content-Type: text/plain; charset=ISO-8859-1 2013/11/6 Cecil Westerhof > 2013/11/6 Cecil Westerhof > >> 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? -- Cecil Westerhof --001a11c25f4237d77904ea820df0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>
2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com&g= t;
I am only getting a message:
    ! Package inputenc Erro= r: Unicode char \u8:− not set up for use with LaTeX.

But that should be solvable.

I solved that by changing in my .tex file:
    \usepack= age[utf8]{inputenc}
to:
    \usepackage[utf8x]{inputen= c}
 
and running pdflatex.

Is there a way to get this automatical= ly in the .tex file, so I do not have to change it?
<= div>
I have:
    (defcustom org-export-latex-inputen= c-alist '(\"utf8\" . \"utf8x\") "")
But still the .tex file contains:
    \usepa= ckage[utf8]{inputenc}
instead of:
    \usepackage[utf8x]{inputenc}

=
What is the right way to do this?

--
Cecil Westerhof
--001a11c25f4237d77904ea820df0--