Age | Commit message (Collapse) | Author | Files | Lines |
|
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).
|
|
|
|
|
|
|
|
|
|
Add a variable "hidelinks" to allow to hide links as plain text in LaTeX. It removes any color and borer. The variable does not need any particular argument (see https://www.tug.org/applications/hyperref/manual.html)
|
|
This reverts commit 988a712310194d1994b71aacfc42616c6c75ac06.
|
|
|
|
Pass options to CJKmainfont (CJKoption)
|
|
|
|
|
|
|
|
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.
|
|
|
|
Add option for ToC color
|
|
Also use `\addbibresource` instead of `\bibliography` for biblatex.
See jgm/pandoc#1661.
|