This avoids the ‘use `Ligatures=TeX` instead of `Mapping=tex-text`’
warning when using LuaTeX. The manual clarifies: “for consistency
`Ligatures=TeX` will perform the same function as `Mapping=tex-text`.”
`fontenc` allows for a different encoding: closes#112.
`indent` and `subparagraph` allow the default Pandoc overrides for
these features to be disabled.
Adds new language and bidi variables; removes duplicated
`\VerbatimFootnotes`.
The standard `fontspec` variables, previously omitted, are now
included. Beamer defaults to the font set as `sansfont`. If `mainfont`
is set, the `serif` font theme will also be used, which uses this for
the slide text (does not have to be a serif font per se).
The paragraph indentation and use of the `url` package seem to have had
no visible effect, and have been removed.
This restores the old behavior, where no date was printed
if no date was specified. If the `\date` command is removed
entirely, standard document classes will print today's date.
Closes#1321.
Partially reverts fc5229df16.
See #61.
Note we also consider the height of images; if an image is too high, 0.8\textheight will be used for beamer slides, and \textheight is used for articles (see http://tex.stackexchange.com/q/11954/9128).
If the user has explicitly provided the width/height options in \includegraphics[], our defaults will be overwritten, and this approach is better than the check `\@ifnextchar[` after \includegraphics because the latter approach simply gives up everything once it sees [, whereas \setkeys{Gin} can keep the good defaults unless they are explicitly overwritten in [].
closes#30, closes#28, and closes#26
In the old solution there was no way to use a LaTeX image where only the
height was used to scale the image -- the width was always implicitly
set as well leading to wrong aspect ratios.
Provide a command \Oldincludegraphics which does just what
\includegraphics would do in the LaTeX template. That we the same input
markup could be used for beamer and LaTeX templates.
This code (from the latex template) was causing bullets
and list numbers to extend beyond the left edge of the slide
in beamer.
Removing it seems to fix things.