aboutsummaryrefslogtreecommitdiff
path: root/default.latex
AgeCommit message (Collapse)AuthorFilesLines
2015-11-20Issue for title.meta when subtitle is setXavier Olive1-1/+1
2015-11-09Make LaTeX/ConTeXt link colour optional.Andrew Dunning1-7/+11
Prevents a conflict when base text is not black. This makes the `hidelinks` option redundant.
2015-10-23Always use $for$ to allow multiple options in LaTeX/ConTeXt/Beamer.Andrew Dunning1-12/+22
Also makes minor improvements to spacing. Adds indenting option to ConTeXt and multiple header/footer texts.
2015-10-20Merge pull request #139 from adunning/patch-2John MacFarlane1-24/+12
Simplify hyperref usage.
2015-10-20Change default LaTeX link colour to black.Andrew Dunning1-3/+3
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).
2015-10-19Merge pull request #137 from mb21/lang-inlinesJohn MacFarlane1-3/+4
LaTeX template: add babel-otherlangs and babel-newcommands
2015-10-19Simplify hyperref usage.Andrew Dunning1-21/+9
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.
2015-10-18Merge pull request #135 from adunning/fontspecJohn MacFarlane1-1/+1
Use Ligatures=TeX for fontspec.
2015-10-18LaTeX and beamer templates: add babel-otherlangs and babel-newcommandsmb211-3/+4
2015-10-16Use Ligatures=TeX for fontspec.Andrew Dunning1-1/+1
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`.”
2015-10-14Merge pull request #133 from adunning/latex-optionsJohn MacFarlane1-1/+7
Add fontenc, indent, subparagraph variables to LaTeX.
2015-10-13Merge pull request #113 from hugoroy/patch-1John MacFarlane1-1/+2
Enable to hide links as plain text (hyperref option)
2015-10-11Add fontenc, indent, subparagraph variables to LaTeX.Andrew Dunning1-1/+7
`fontenc` allows for a different encoding: closes #112. `indent` and `subparagraph` allow the default Pandoc overrides for these features to be disabled.
2015-10-11Realign LaTeX and beamer templates.Andrew Dunning1-4/+1
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.
2015-10-10Merge pull request #130 from adunning/xltxtraJohn MacFarlane1-1/+0
Remove xltxtra, xunicode from LaTeX template.
2015-10-10Remove xltxtra, xunicode.Andrew Dunning1-1/+0
2015-10-07Change variable to polyglossia-lang.name and .optionsmb211-2/+4
2015-10-04Keep the same options when color is already passedXavier Olive1-4/+4
Use `\PassOptionsToPackage` instead of `\usepackage` when package color is already loaded. Resolves: #116 See also: #107
2015-10-04Deal with conflicts with tufte-handout.clsXavier Olive1-0/+8
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).
2015-09-29Allow for font options.Andrew Dunning1-5/+5
2015-09-26Support bidirectional text output with XeLaTeX, ConTeXt and HTMLmb211-0/+17
2015-08-20LaTeX, ConTeXt: more specific language variablesmb211-4/+4
2015-08-20hidelinks take no argumentHugo Roy1-2/+2
2015-08-20Enable to hide links as plain text (hyperref option)Hugo Roy1-0/+1
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)
2015-08-11Revert "LaTeX template: move abstract to before `\maketitle`."John MacFarlane1-3/+3
This reverts commit 988a712310194d1994b71aacfc42616c6c75ac06.
2015-08-09LaTeX template: move abstract to before `\maketitle`.John MacFarlane1-3/+3
2015-06-27Merge pull request #106 from xoolive/pr-cjkJohn MacFarlane1-1/+1
Pass options to CJKmainfont (CJKoption)
2015-06-27Rename CJKoption to CJKoptionsXavier Olive1-1/+1
2015-06-24Add dvipsnames colorsXavier Olive1-0/+1
2015-06-24Pass options to CJKmainfont (CJKoption)Xavier Olive1-1/+1
2015-06-02Support for Asian languages, CJKmainfont labelXavier Olive1-0/+4
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.
2015-05-27LaTeX template: move hyperref before polyglossia.John MacFarlane1-17/+17
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.
2015-05-27LaTeX, beamer: add setotherlanguages to polyglossia.John MacFarlane1-0/+1
2015-05-27Merge pull request #90 from Kaixhin/masterJohn MacFarlane1-1/+1
Add option for ToC color
2015-05-11Beamer, LaTeX templates: Use `bibliography` instead of `biblio-files`.John MacFarlane1-5/+5
Also use `\addbibresource` instead of `\bibliography` for biblatex. See jgm/pandoc#1661.
2015-05-03Fix paragraph undefined problemNikolay Yakimov1-0/+4
2015-05-02latex template: use providecommand for tightlist.John MacFarlane1-1/+1
This avoids a conflict when the memoir class is used. Closes #94.
2015-04-17LaTeX template: Added `\tightlist` definition.John MacFarlane1-0/+2
See jgm/pandoc#1571.
2015-04-17Redefine (sub)paragraphs in default LaTeX templateNikolay Yakimov1-0/+6
This should make those behave more like sections, as per https://github.com/jgm/pandoc/issues/1658
2015-04-13LaTeX: include grffile when including graphics.John MacFarlane1-1/+1
This allows filenames with spaces etc. See jgm/pandoc#2074.
2015-04-01Add option for ToC colorKaixhin1-1/+1
2014-09-27LaTeX template: Add shorthands=off to babel options.John MacFarlane1-1/+1
This prevents special bindings of characters like " in Spanish.
2014-09-25Revert "Use biblatex-chicago instead of biblatex."Stefan Björk1-1/+1
This reverts commit a0ea58bc2ed43a09f6c349ad20a0b1ee2791a75b.
2014-09-24Use biblatex-chicago instead of biblatex.Stefan Björk1-1/+1
2014-09-24Fixed typo.Stefan Björk1-1/+0
2014-09-24Moved polyglossia/babel definitions to before biblatex; otherwise biblatex ↵Stefan Björk1-8/+9
fails with xetex.
2014-09-09Added \VerbatimFootnotes if there is verbatim in notes.John MacFarlane1-0/+1
See http://tex.stackexchange.com/questions/203/how-to-obtain-verbatim-text-in-a-footnote Closes jgm/pandoc#1616.
2014-08-20latex template: disable protrusion for typewriter font.John MacFarlane1-1/+4
Closes #1549. Thanks to lemzwerg.
2014-07-20Added `lot` and `lof` variables to latex template.John MacFarlane1-0/+6
lof = list of figures. lot = list of tables.
2014-06-09Fixed subtitle in latex template.John MacFarlane1-2/+1
See jgm/pandoc#1327.