Commit graph

370 commits

Author SHA1 Message Date
John MacFarlane
293e847b76 Merge pull request #162 from adunning/patch-3
Make \euro conditional for XeTeX/LuaTeX.
2015-12-03 10:35:15 -08:00
John MacFarlane
b766694c0b Merge pull request #161 from adunning/patch-2
Make color option change dependent on colorlinks.
2015-12-03 10:34:09 -08:00
John MacFarlane
4407397a7a Merge pull request #163 from vlm/patch-1
Make sure disabling hyphenation actually works.
2015-12-03 10:26:36 -08:00
Lev Walkin
23d4d65803 Make sure disabling hyphenation actually works.
For some reason, `.nh` does not work if specified _prior to_ `.TH`. If `.nh` is below `.TH`, hyphenation is properly disabled.
2015-12-01 22:33:46 -08:00
Andrew Dunning
e45a3fac77 Make \euro conditional for XeTeX/LuaTeX.
Mirrors behaviour for pdfTeX.
2015-11-30 22:53:19 -05:00
Andrew Dunning
1811fb32eb Make color option change dependent on colorlinks.
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).
2015-11-30 22:46:50 -05:00
John MacFarlane
5e9fad4caf Merge pull request #157 from ousia/patch-1
font loading with simplefonts
2015-11-20 14:46:04 -08:00
John MacFarlane
2f9ba8e766 Merge pull request #156 from adunning/patch-1
Revert use of \setuphead for ConTeXt title block.
2015-11-20 14:44:03 -08:00
John MacFarlane
db3aec1a82 latex: Moved definitions of subparagraph, header-includes.
`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.
2015-11-20 14:30:24 -08:00
John MacFarlane
4ac59af242 latex: Use \subtitle command for subtitle, and give fallback defn.
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.
2015-11-20 14:26:12 -08:00
John MacFarlane
769581dfe2 latex template: Removed setting of 'subject' from subtitle.
Subtitle isn't always subject. Also, subtitle can contain
formatting, so we'd need a plain text version as with title.
Easier to remove.
2015-11-20 14:20:28 -08:00
John MacFarlane
e94ed582b4 Revert "Merge pull request #158 from xoolive/pr-title"
This reverts commit edf101400a, reversing
changes made to ff9ebaa31a.
2015-11-20 11:38:01 -08:00
John MacFarlane
edf101400a Merge pull request #158 from xoolive/pr-title
Issue for title.meta when subtitle is set
2015-11-20 10:57:34 -08:00
Xavier Olive
04f49ca4a1 Issue for title.meta when subtitle is set 2015-11-20 10:31:58 +01:00
Pablo Rodríguez
56bb94b61f font loading with simplefonts
simplefonts is required, since ConTeXt stable from TeX Live 2015 seems to have problem with some typefaces when not used.
2015-11-19 22:15:49 +01:00
Andrew Dunning
959c20399b Revert use of \setuphead for ConTeXt title block.
Thanks to Rik Kabel on pandoc-discuss.
2015-11-17 20:22:23 -05:00
John MacFarlane
ff9ebaa31a beamer template: added 'navigation' variable.
Valid values are empty (default), frame, vertical, horizontal.
2015-11-17 10:48:14 -08:00
John MacFarlane
16e9428d8a Merge pull request #151 from vsivsi/master
reveal.js - Fix broken parallaxBackgroundHorizontal and parallaxBackgroundVertical support.
2015-11-15 22:01:09 -08:00
Vaughn Iverson
37cfc617ed Removed quotes from around values inserted for parallaxBackgroundHorizontal and parallaxBackgroundVertical. These values should be integers, not strings 2015-11-15 18:29:30 -08:00
John MacFarlane
c31874467b opendocument template: Add "automatic-styles" tag.
This allows more customization.
See jgm/pandoc#2520.
2015-11-14 17:18:33 -08:00
John MacFarlane
ef963c3060 Merge pull request #141 from adunning/keywords
ConTeXt/LaTeX/Beamer clean-up
2015-11-12 16:00:56 -08:00
Andrew Dunning
e0bd757310 Provide separate linkcontrastcolor in ConTeXt. 2015-11-09 11:37:43 -05:00
Andrew Dunning
2823096cb4 Rename ConTeXt style to linkstyle.
Not necessary to write `normal` to prevent links from rendering as bold.
2015-11-09 11:35:47 -05:00
Andrew Dunning
3ed48ae68f Make LaTeX/ConTeXt link colour optional.
Prevents a conflict when base text is not black. This makes the
`hidelinks` option redundant.
2015-11-09 11:10:47 -05:00
John MacFarlane
12a0110a0a Beamer template: added code to prevent slide breaks inside paragraphs.
This will matter, in pracitce, only when `allowframebreaks` is used.

It is especially helpful for bibliography slides.

Closes #2442. Thanks to Nick Bart for the solution.
2015-10-30 11:04:48 -07:00
John MacFarlane
a3c8439ad6 Beamer template: fix incompatibility of section slides with natbib.
Natbib (and presumably biblatex) bibliography commands create
their own section.  Since these are in frame environments,
we have an incompatibility with the `\AtBeginSection` macro
which creates a special frame when a new section occurs.
(We can't have a frame inside another frame.)

This change disables `\AtBeginSection` inside bibliography
slides.

This supersedes #145.  See discussion tehre.
2015-10-29 10:10:42 -07:00
John MacFarlane
de2e524e7d Merge pull request #144 from adunning/html-keywords
Add keywords to HTML templates; realign.
2015-10-25 12:18:14 -07:00
John MacFarlane
2d4df824cd Merge pull request #143 from adunning/patch-1
Update dzslides template from source.
2015-10-25 12:17:19 -07:00
John MacFarlane
219dea4059 Merge pull request #142 from adunning/asciidoc
Fix author, date in AsciiDoc; add keywords, abstract.
2015-10-25 12:16:32 -07:00
Andrew Dunning
e7f2258c89 Always use $for$ to allow multiple options in LaTeX/ConTeXt/Beamer.
Also makes minor improvements to spacing. Adds indenting option to ConTeXt and multiple header/footer texts.
2015-10-23 08:55:45 -04:00
Andrew Dunning
400dadd444 Realign HTML templates.
Add lang, dir, quotes where not included previously; always make
display of author and date conditional.
2015-10-22 18:05:18 -04:00
Andrew Dunning
f92d725b05 Add keywords to HTML templates. 2015-10-22 18:01:27 -04:00
Andrew Dunning
7733b15c8d Update dzslides template from source. 2015-10-22 17:13:25 -04:00
Andrew Dunning
5481fb0853 Fix author, date in AsciiDoc; add keywords, abstract.
AsciiDoctor did not parse previous output.
2015-10-22 16:03:09 -04:00
John MacFarlane
06fe6706f1 Merge pull request #139 from adunning/patch-2
Simplify hyperref usage.
2015-10-20 14:59:38 -07:00
John MacFarlane
d2ae8a577b Merge pull request #140 from adunning/patch-1
ConTeXt link colour to black; define all sections.
2015-10-20 13:37:41 -07:00
Andrew Dunning
8264f9f8f8 Write title block in ConTeXt using \title.
This prevents a page number from appearing on the first page.
2015-10-20 16:07:18 -04:00
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
Andrew Dunning
a84f822c30 Change default LaTeX link colour to black.
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-20 14:38:48 -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
17f380f089 Simplify hyperref usage.
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-19 18:21:58 -04: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