emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <877hl96qcj.fsf@thinkpad.tsdh.de> (raw)


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ät Koblenz, IST}
--8<---------------cut here---------------end--------------->8---

In the presentation, the ä in Universität 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ät 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ät 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

             reply	other threads:[~2010-07-06  7:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-06  7:07 Tassilo Horn [this message]
2010-07-06 13:04 ` Bug: Org LaTeX export has broken encoding for extra headers [6.36trans (release_6.36.542.gc87b)] Carsten Dominik
2010-07-06 15:35   ` Tassilo Horn

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=877hl96qcj.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --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).