Commit graph

331 commits

Author SHA1 Message Date
Andrew Dunning
d54b34cca6 ConTeXt link colour to black; define all sections.
Sets default link colour to black with normal style (default is bolded red/green links), per the discussion in #138. Provides heading styles for all section types applied by Pandoc.
2015-10-20 15:31:11 -04:00
John MacFarlane
69ccb94916 Merge pull request #138 from adunning/patch-1
Expand ConTeXt variables; drop MkII support.
2015-10-20 11:24:11 -07:00
John MacFarlane
5d0aaa0b39 Merge pull request #137 from mb21/lang-inlines
LaTeX template: add babel-otherlangs and babel-newcommands
2015-10-19 23:01:46 -07:00
Andrew Dunning
befc9e2e84 Expand ConTeXt variables; drop MkII support. 2015-10-19 17:55:56 -04:00
John MacFarlane
60228b4005 Merge pull request #136 from adunning/title-prefix
Use en dash to separate title-prefix.
2015-10-18 21:50:58 -07:00
John MacFarlane
69609ded4e Merge pull request #135 from adunning/fontspec
Use Ligatures=TeX for fontspec.
2015-10-18 21:50:11 -07:00
John MacFarlane
879f793fac Man: insert "automatically generated" comment only if pandoc-version set.
This will make it possible to deactivate it for automatic tests,
so they don't need to be updated every time we bump a version.
2015-10-18 09:57:01 -07:00
mb21
e3cfba2926 LaTeX and beamer templates: add babel-otherlangs and babel-newcommands 2015-10-18 16:48:55 +02:00
Andrew Dunning
4ee7a20dfc Use en dash to separate title-prefix. 2015-10-16 08:48:24 -04:00
Andrew Dunning
a91783cee3 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`.”
2015-10-16 08:41:15 -04:00
John MacFarlane
319b641365 Merge pull request #134 from adunning/patch-1
Update reveal.js template from 3.1 source.
2015-10-14 20:46:54 -07:00
Andrew Dunning
d104c53565 Add width, height variables to reveal.js. 2015-10-14 17:31:23 -04:00
Andrew Dunning
da139313d2 Update reveal.js template from 3.1 source.
All configuration options are now available as variables, but are only be included if set (reveal.js uses defaults otherwise).
2015-10-14 17:15:21 -04:00
John MacFarlane
16a172d79c Merge pull request #133 from adunning/latex-options
Add fontenc, indent, subparagraph variables to LaTeX.
2015-10-14 10:02:49 -07:00
John MacFarlane
aad70de992 Merge pull request #113 from hugoroy/patch-1
Enable to hide links as plain text (hyperref option)
2015-10-13 20:31:51 -07:00
John MacFarlane
40cc09ff57 Merge pull request #132 from adunning/patch-1
Add `dir` variable to HTML5 and update shiv.
2015-10-13 20:30:25 -07:00
John MacFarlane
d998cfbfc3 Merge pull request #131 from adunning/master
Realign LaTeX and beamer templates.
2015-10-13 20:29:23 -07:00
Andrew Dunning
a108c1ea17 Move HTML5 Shiv after CSS.
Per usage notes at <https://github.com/aFarkas/html5shiv/blob/master/readme.md>.
2015-10-13 22:30:55 -04:00
Andrew Dunning
d6f2a585bc Add dir variable to HTML5 and update shiv.
Project moved from Google Code to <https://github.com/aFarkas/html5shiv>.
2015-10-13 22:22:38 -04:00
Andrew Dunning
4698c2f5cb Add fontenc, indent, subparagraph variables to LaTeX.
`fontenc` allows for a different encoding: closes #112.

`indent` and `subparagraph` allow the default Pandoc overrides for
these features to be disabled.
2015-10-11 02:03:42 -04:00
Andrew Dunning
92e66456ec Realign LaTeX and beamer templates.
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-11 01:39:56 -04:00
John MacFarlane
ff0db28a2c Merge pull request #130 from adunning/xltxtra
Remove xltxtra, xunicode from LaTeX template.
2015-10-10 16:07:25 -07:00
John MacFarlane
0081fa9306 Merge pull request #127 from lyrixx/patch-1
[Reveals] Be able to change customize 'progress' and 'controls'
2015-10-10 14:04:38 -07:00
John MacFarlane
f32abb9617 Merge pull request #129 from mb21/polyglossia-lang
Change variable to polyglossia-lang.name and .options
2015-10-10 13:52:06 -07:00
John MacFarlane
627f9344b3 Merge pull request #123 from alexvong1995/better-man-template
Better man template (Closes #117)
2015-10-10 13:13:03 -07:00
Andrew Dunning
5701a7cc35 Remove xltxtra, xunicode. 2015-10-10 11:22:30 -04:00
mb21
77cb2e5cfa Change variable to polyglossia-lang.name and .options 2015-10-07 22:46:44 +02:00
John MacFarlane
159a15c96c Added space after colon in figure captions.
Closes #128.
2015-10-07 09:48:10 -07:00
Grégoire Pineau
859c5feeb9 [Reveals] Be able to change customize 'progress' and 'controls' 2015-10-05 16:39:28 +02:00
John MacFarlane
cddd99ccb2 Merge pull request #115 from xoolive/pr-tufte
Deal with conflicts with tufte-handout.cls
2015-10-04 21:42:43 -07:00
Xavier Olive
def68fce50 Keep the same options when color is already passed
Use `\PassOptionsToPackage` instead of `\usepackage` when package color
is already loaded.

Resolves: #116
See also: #107
2015-10-04 21:03:26 +02:00
Xavier Olive
f73de97de9 Deal with conflicts with tufte-handout.cls
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-10-04 21:03:26 +02:00
John MacFarlane
229ec44bb6 Merge pull request #122 from adunning/patch-1
Allow for font options in LaTeX.
2015-10-03 16:57:09 -07:00
Alex Vong
8a4bf5f764 Add a comment stating the man page is
`Automatically generated by Pandoc $pandoc-version$`.

* default.man: Add comment.
2015-10-01 02:28:17 +08:00
Alex Vong
304c65f73f Add new template variables $adjusting$ and $hyphenate$ for default.man.
$adjusting$ takes the values "l", "r", "c" or "b",
which adjusts text to left, right, center or both margins respectively.

$hyphenate$ is set to "true" by default,
setting it to "false" will turn off hyphenation.

* default.man: Add new variables $adjusting$ and $hyphenate$.
2015-10-01 02:28:17 +08:00
Andrew Dunning
1d728214e8 Allow for font options. 2015-09-29 16:55:50 -04:00
John MacFarlane
2f5f539605 Merge pull request #121 from gbonnefille/inner-outer
Add support for inner/outer theme
2015-09-29 10:00:22 -07:00
Guilhem Bonnefille
9787605ff6 Addd support for inner/outer theme 2015-09-29 11:51:59 +02:00
John MacFarlane
e5aacec789 Merge pull request #120 from mb21/bidi
Support bidirectional text output with XeLaTeX, ConTeXt and HTML
2015-09-26 17:06:42 -07:00
mb21
0b80b7006f Support bidirectional text output with XeLaTeX, ConTeXt and HTML 2015-09-26 21:28:09 +02:00
John MacFarlane
04bdf5a9b7 Merge pull request #114 from mb21/language-variables
LaTeX, ConTeXt: more specific language variables
2015-09-25 10:34:16 -07:00
mb21
aabd14676b LaTeX, ConTeXt: more specific language variables 2015-08-20 23:14:27 +02:00
Hugo Roy
fbc42d0bbc hidelinks take no argument 2015-08-20 20:11:34 +02:00
Hugo Roy
2b7111ddec Enable to hide links as plain text (hyperref option)
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-20 15:26:11 +02:00
John MacFarlane
8ea41996bf Revert "LaTeX template: move abstract to before \maketitle."
This reverts commit 988a712310.
2015-08-11 11:46:47 -07:00
John MacFarlane
988a712310 LaTeX template: move abstract to before \maketitle. 2015-08-09 09:45:11 -07:00
John MacFarlane
d171db3e6d Merge pull request #108 from mb21/patch-2
ConTeXt template description lists
2015-07-06 16:56:23 -07:00
mb21
7ce5302d20 ConTeXt template description lists 2015-06-28 23:35:43 +02:00
John MacFarlane
4d9a73d767 Merge pull request #106 from xoolive/pr-cjk
Pass options to CJKmainfont (CJKoption)
2015-06-27 18:06:38 -07:00
John MacFarlane
c731010d23 Merge pull request #107 from xoolive/pr-color
Add dvipsnames colors
2015-06-27 18:04:01 -07:00