From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Bug: Org LaTeX export has broken encoding for extra headers [6.36trans (release_6.36.542.gc87b)] Date: Tue, 06 Jul 2010 09:07:08 +0200 Message-ID: <877hl96qcj.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=40430 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OW2FQ-0007Sf-CU for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 03:07:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OW2FK-0007nY-Ua for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 03:07:16 -0400 Received: from deliver.uni-koblenz.de ([141.26.64.15]:23421) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW2FK-0007nF-MS for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 03:07:10 -0400 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id B331178A4A42 for ; Tue, 6 Jul 2010 09:07:09 +0200 (CEST) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17050-10 for ; Tue, 6 Jul 2010 09:07:08 +0200 (CEST) Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id A778278A4A40 for ; Tue, 6 Jul 2010 09:07:08 +0200 (CEST) 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: emacs-orgmode@gnu.org Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ I'm doing a LaTeX beamer presentation with org. The org doc starts with these lines: --8<---------------cut here---------------start------------->8--- #+STARTUP: beamer #+LaTeX_CLASS: beamer #+TITLE: Implementieren, Integrieren, Installieren #+AUTHOR: Tassilo Horn #+EMAIL: horn@uni-koblenz.de #+LANGUAGE: de #+BEAMER_FRAME_LEVEL: 2 #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_HEADER_EXTRA: \usetheme[secheader]{Boadilla} \institute{Universit= =C3=A4t Koblenz, IST} --8<---------------cut here---------------end--------------->8--- In the presentation, the =C3=A4 in Universit=C3=A4t is printed as an A with= a ~ on top, followed by a d'. The reason is that the BEAMER_HEADER_EXTRA is put before the input encoding declaration. To be clear, org produces a TeX file that starts with --8<---------------cut here---------------start------------->8--- % Created 2010-07-06 Tue 08:57 \documentclass[presentation]{beamer} \usetheme[secheader]{Boadilla} \institute{Universit=C3=A4t Koblenz, IST} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} --8<---------------cut here---------------end--------------->8--- but it should be at least: --8<---------------cut here---------------start------------->8--- % Created 2010-07-06 Tue 08:57 \documentclass[presentation]{beamer} \usepackage[utf8]{inputenc} \usetheme[secheader]{Boadilla} \institute{Universit=C3=A4t Koblenz, IST} \usepackage[T1]{fontenc} --8<---------------cut here---------------end--------------->8--- In general, I'd say that it would be even more safe to put the extra headers below all default headers. Emacs : GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-07-05 on thinkpad Package: Org-mode version 6.36trans (release_6.36.542.gc87b) Bye, Tassilo