aboutsummaryrefslogtreecommitdiff
path: root/default.latex
AgeCommit message (Collapse)AuthorFilesLines
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.
2014-06-09LaTeX template: fix subtitles.John MacFarlane1-4/+2
The old code really requires scrartcl from koma-script. Closes #1327.
2014-06-01LaTeX/Beamer templates: Remove conditionalization around date.John MacFarlane1-2/+0
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 fc5229df167aa61cdbcf14ce24581b36bb0a5b90. See #61.
2014-05-06latex template: Added linestretch variable that loads setspace.John MacFarlane1-0/+4
2014-05-06latex template: Added fontfamily variable.John MacFarlane1-0/+4
Thanks to tlvince for the patch. Closes #50.
2014-05-06latex template: conditionalize author and date.John MacFarlane1-0/+4
Thanks to ivoanjo for the patch. Closes #61.
2014-05-06Load upquote after fontenc in latex template.John MacFarlane1-2/+2
2014-04-11Use \setkeys{Gin}{} to set appropriate defaults for \includegraphics, ↵Yihui Xie1-16/+6
instead of entirely redefining this command. 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
2014-04-11Revert "LaTeX template: Allow bibliography to be used in place of ↵John MacFarlane1-7/+2
biblio-files." This reverts commit 5f8d7968fe7c3d8da3363b7e3ff1a11914c081ae. I'll use a different approach, setting the biblio-files variable in the LaTeX writer. This will also work for beamer. See #42.
2014-04-11LaTeX template: Allow bibliography to be used in place of biblio-files.John MacFarlane1-2/+7
Closes #43. Thanks to nougad.
2014-02-20default.latex: include fontenc only if pdflatex engine is used.John MacFarlane1-1/+1
See pandoc #1164.