From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Lomov Subject: Re: Latex export does not work Date: Thu, 7 Nov 2013 15:21:52 +0900 Message-ID: <20131107062152.GG18733@smoon> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeIyi-0003yA-BS for emacs-orgmode@gnu.org; Thu, 07 Nov 2013 01:22:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeIyd-0004Uc-Jz for emacs-orgmode@gnu.org; Thu, 07 Nov 2013 01:22:04 -0500 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:51270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeIyd-0004US-Bi for emacs-orgmode@gnu.org; Thu, 07 Nov 2013 01:21:59 -0500 Received: by mail-lb0-f181.google.com with SMTP id x18so79096lbi.12 for ; Wed, 06 Nov 2013 22:21:57 -0800 (PST) Received: from smoon ([188.168.154.117]) by mx.google.com with ESMTPSA id vx8sm1709072lbb.8.2013.11.06.22.21.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Nov 2013 22:21:55 -0800 (PST) Content-Disposition: inline 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 Hello, ** Cecil Westerhof [2013-11-06 14:23:15 +0100]: > 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? 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"