* Bug: Org LaTeX export has broken encoding for extra headers [6.36trans (release_6.36.542.gc87b)]
@ 2010-07-06 7:07 Tassilo Horn
2010-07-06 13:04 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Tassilo Horn @ 2010-07-06 7:07 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: Org LaTeX export has broken encoding for extra headers [6.36trans (release_6.36.542.gc87b)]
2010-07-06 7:07 Bug: Org LaTeX export has broken encoding for extra headers [6.36trans (release_6.36.542.gc87b)] Tassilo Horn
@ 2010-07-06 13:04 ` Carsten Dominik
2010-07-06 15:35 ` Tassilo Horn
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2010-07-06 13:04 UTC (permalink / raw)
To: Tassilo Horn; +Cc: emacs-orgmode
On Jul 6, 2010, at 9:07 AM, Tassilo Horn wrote:
>
> 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.
OK, I am doing that now - let's hope this will not break anything.
Please note that you can specify the precise order of all those header
pieces by
putting these cookies into you class definition:
[DEFAULT-PACKAGES] \\usepackage statements for default packages
[NO-DEFAULT-PACKAGES] do not include any of the default packages
[PACKAGES] \\usepackage statements for packages
[NO-PACKAGES] do not include the packages
[EXTRA] the stuff from #+LaTeX_HEADER
[NO-EXTRA] do not include #+LaTeX_HEADER stuff
[BEAMER-HEADER-EXTRA] the beamer stuff
HTH
- Carsten
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: Org LaTeX export has broken encoding for extra headers [6.36trans (release_6.36.542.gc87b)]
2010-07-06 13:04 ` Carsten Dominik
@ 2010-07-06 15:35 ` Tassilo Horn
0 siblings, 0 replies; 3+ messages in thread
From: Tassilo Horn @ 2010-07-06 15:35 UTC (permalink / raw)
To: emacs-orgmode
Carsten Dominik <carsten.dominik@gmail.com> writes:
Hi Carsten,
>> In general, I'd say that it would be even more safe to put the extra
>> headers below all default headers.
>
> OK, I am doing that now - let's hope this will not break anything.
Well, at least for my presentation it works fine now. :-)
> Please note that you can specify the precise order of all those header
> pieces by putting these cookies into you class definition:
>
> [DEFAULT-PACKAGES] \\usepackage statements for default packages
> [NO-DEFAULT-PACKAGES] do not include any of the default packages
> [PACKAGES] \\usepackage statements for packages
> [NO-PACKAGES] do not include the packages
> [EXTRA] the stuff from #+LaTeX_HEADER
> [NO-EXTRA] do not include #+LaTeX_HEADER stuff
> [BEAMER-HEADER-EXTRA] the beamer stuff
Thanks for the hint.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-06 15:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-06 7:07 Bug: Org LaTeX export has broken encoding for extra headers [6.36trans (release_6.36.542.gc87b)] Tassilo Horn
2010-07-06 13:04 ` Carsten Dominik
2010-07-06 15:35 ` Tassilo Horn
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.