`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.
There are several conflicts that are raised when you use tufte-handout
layout with the default.latex template, namely hyperref and color, which
are already loaded by the class.
This commit enables to only load `hyperref` and `color` packages if they
are not already loaded (by Tufte).
Works only with xelatex.
This is not a big deal since when it hits on a utf8 unknown char (say Asian script), pandoc suggests to switch to the xelatex engine.
This avoids a warning: “Package bidi Error: Oops! you have loaded package
hyperref after bidi package. Please load package hyperref before bidi package,
and then try to run xelatex on your document again.”
Closes#96.
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
This reverts commit 5f8d7968fe.
I'll use a different approach, setting the biblio-files variable
in the LaTeX writer. This will also work for beamer.
See #42.