From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug in org-latex (6.34c)? Date: Sun, 24 Jan 2010 11:24:26 +0100 Message-ID: <98FF36E0-D5DC-4743-B957-FC730083BD17@uva.nl> References: <87aaw5kq3c.fsf@gmx.ch> <3155356B-A9D8-4D7D-97C2-65F44F8FDC87@gmail.com> <87iqasjtcr.fsf@rub.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NYze4-0000xD-Q5 for emacs-orgmode@gnu.org; Sun, 24 Jan 2010 05:24:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NYzdz-0000wf-Rh for emacs-orgmode@gnu.org; Sun, 24 Jan 2010 05:24:39 -0500 Received: from [199.232.76.173] (port=41422 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYzdz-0000wT-IS for emacs-orgmode@gnu.org; Sun, 24 Jan 2010 05:24:35 -0500 Received: from pony.ic.uva.nl ([145.18.40.181]:45719) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NYzdz-00034s-5z for emacs-orgmode@gnu.org; Sun, 24 Jan 2010 05:24:35 -0500 In-Reply-To: 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: Sven Bretfeld Cc: emacs-org Mode On Jan 24, 2010, at 10:55 AM, Carsten Dominik wrote: > > On Jan 24, 2010, at 12:26 AM, Sven Bretfeld wrote: > >> Hi Carsten >> >> Carsten Dominik writes: >> >>> This works for me: >>> >>> (setq org-export-latex-inputenc-alist '(("utf8" . "utf8x))) >> >> Yes, that's working. Thank you very much. >> >>> Is this what you have? >> >> I set that function via customize. I think there was only one set og >> parenthesis. >> >>> I can make a variable to turn this automatic fixing of inputenc >>> off, so >>> that the configured value in org-export-latex-classes will always be >>> used.... >> >> So, it's not a bug, it'a a feature. At least it should be >> documented in >> a more accessible place. All the predefined export classes contain >> the >> \usepackage[utf8]{inputenc} header. This suggests that having that >> line >> or changing it would have any effect. > > Maybe we should redefine the classes to use > > \usepackage[BUFFERCODING]{inputenc} > > and the only modify the coding system if it is the special value > BUFFERCODING, but not if the user has specified one explicitly...... OK, when I can push next, it will work like this: When the class defines \usepackage[AUTO]{inputenc} then Org will set the coding system automatically. If the class specifies an explicit coding system like \usepackage[utf8]{inputenc} it will be left alone. This is a lot more predictable that what I had before, thanks for making me change this. - Carsten > > - Carsten > >> >> Thanks again and greetings, >> >> Sven >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > - Carsten > > > - Carsten