This implements suggestion from geometry package manual section 9 Known
problems:
> With mag ≠ 1000, no truedimen and hyperref, hyperref should be loaded
> before geometry. Otherwise the resulted PDF size will become wrong.
This fixes hyperlinks on footnotes in documents that contain
verbatim in notes.
(Note: the beamer template was updated to match the LaTeX template,
but at this point verbatim in notes seems not to work in beamer.)
Supersedes #238.
For instance, if you try to compile the following markdown code with pandoc (using 1.12):
``` markdown
Page 1
------
This is a very long code line that will appear on every slide even on page three
Page 2
------
My content
Page 3
------
My last content
```
using this command:
pandoc -s -t dzslides test.md -o /tmp/test.html
the long code line will appear on every slide. Using pre-wrap fixes the problem by forcing word wrap of code. The only drawback is that it requires IE 8 [according to MDN](https://developer.mozilla.org/fr/docs/Web/CSS/white-space), which make it less compatible.
A workaround it to wrap the code when writing it, but if you consider inline code tags using the accents \`\` in markdown this is not possible.
I'm not sure if there is a reason why these were witheld from the
default beamer template, but it seemed to work when I added it in to my
Beamer project.
There was some previous discussion about this at jgm/pandoc#1600.
Every heading element semantically creates a new section. Three
consecutive heading elements, e.g. `<h1></h1>`, `<h2></h2>`,
`<h3></h3>`, are semantically equivallent to a section with two nested
subsections. This is not the intended meaning of subtitle, author, and
date, making plain `<p>` elements the better choice. This is one of the
W3C's [common idioms].
This change is the result of discussions on issue jgm/pandoc#3119.
[common idioms]: https://www.w3.org/TR/html5/common-idioms.html#common-idiomsFixes: jgm/pandoc#3119
Adding ability to define custom font families. Needed for correct `polyglossia` operation with Cyrillic fonts and perhaps can find some other usages. Example usage in YAML metadata:
```
fontfamilies:
- name: \cyrillicfont
font: Liberation Serif
- name: \cyrillicfonttt
options: Scale=MatchLowercase
font: Liberation Mono
```
The beamerarticle package needs to be loaded directly after the documentclass
declaration. Loading it later (e.g. using the -H option) leads to several
errors due to package dependencies.
This patch also introduces a new variable "beamerarticle" to activate the
beamerarticle package.