Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
|
|
The option pdfkeywords from hyperref needs keywords separated with a comma `,` instead of a semicolon `;`.
|
|
This requires the footnote package, which is imported only
if present.
See #208. Thanks to Václav Haisman.
|
|
|
|
This restores Pandoc's defaults after applicaiton of changes in
https://github.com/jgm/pandoc/pull/3093.
|
|
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.
|
|
Fixes https://github.com/jgm/pandoc-templates/issues/204 by adding a dummy `\institute` command.
|
|
Addresses https://github.com/jgm/pandoc-templates/issues/201
|
|
|
|
Here's a minimal case:
\documentclass[]{article}
\usepackage{hyperref}
\begin{document}
\section{\%á}
\end{document}
Without this change, this fails on the second invocation of xelatex.
See https://tex.stackexchange.com/questions/313266/and-non-ascii-characters-in-headings
This affects inputs this like
# %á
with pdf output via xelatex.
|
|
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
```
|
|
This will break long urls. https://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url
|
|
Add $institute to the latex template
|
|
Thus you can say `papersize: a4` and the latex will contain
`a4paper`.
This change may break some existing workflows; if you currently
specify `a4paper`, you'll get `a4paperpaper` which is meaningless.
However, the change seems worth it, as it will make the
`papersize` variable work uniformly across ConTeXt, LaTeX,
and html->pdf via wkhtmltopdf.
|
|
Added option for thanks to default.latex
|
|
Use parskip.sty when the 'indent' option isn't set
|
|
|
|
|
|
|
|
|
|
|
|
Make \euro conditional for XeTeX/LuaTeX.
|
|
Mirrors behaviour for pdfTeX.
|
|
The color options are only used for setting the link colour; it is otherwise redundant (someone wanting to add colour to other parts of the document will likely have more complex needs).
|
|
`header-includes` now occurs before setting of title,
author, etc. This allows you to include a definition of
`\subtitle`, for example, before `\subtitle` is called.
Redefining of `\paragraph` and `\subparagraph` now occurs
before `header-includes` rather than after.
|
|
The fallback definition is a no-op. In a class that does not
define `\subtitle`, the `subtitle` will not appear.
This changes earlier behavior, which was to add the subtitle
to the title. This had bad results with page headers etc.
|
|
Subtitle isn't always subject. Also, subtitle can contain
formatting, so we'd need a plain text version as with title.
Easier to remove.
|
|
This reverts commit edf101400a07fd099910fd52c5c55d83855b4c38, reversing
changes made to ff9ebaa31ae31401e236574e81c2e75609adc727.
|
|
|
|
Prevents a conflict when base text is not black. This makes the
`hidelinks` option redundant.
|
|
Also makes minor improvements to spacing. Adds indenting option to ConTeXt and multiple header/footer texts.
|
|
Simplify hyperref usage.
|
|
This reflects the default behaviour of `hyperref` when `colorlinks` is not enabled (but instead sets the colour to black when it is not specified by the user, for the sake of simplicity).
|
|
LaTeX template: add babel-otherlangs and babel-newcommands
|
|
The different usage for `xetex` appears to have been a workaround for bugs fixed in 2009 (see my question on this at <http://tex.stackexchange.com/questions/273339/what-hyperref-options-should-be-used-for-correct-unicode-output>), meaning that the same options can be used for all engines. The `subtitle` is used to set the PDF subject, following ConTeXt. The `bookmarks` option is enabled by default and does not need to be repeated.
|
|
Use Ligatures=TeX for fontspec.
|
|
|
|
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`.”
|
|
Add fontenc, indent, subparagraph variables to LaTeX.
|
|
Enable to hide links as plain text (hyperref option)
|
|
`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.
|
|
Remove xltxtra, xunicode from LaTeX template.
|
|
|
|
|
|
Use `\PassOptionsToPackage` instead of `\usepackage` when package color
is already loaded.
Resolves: #116
See also: #107
|
|
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).
|
|
|