Commit graph

403 commits

Author SHA1 Message Date
Alex
29aff51754 ZimWiki template 2016-06-29 15:56:30 -07:00
John MacFarlane
856a509326 Added secnumdepth variable to LaTeX template. 2016-06-25 13:11:30 -07:00
John MacFarlane
feffd7c64a Fix for obscure hyperref/xelatex issue.
Here's a minimal case:

    \documentclass[]{article}
    \usepackage{hyperref}
    \begin{document}
    \section{\%á}
    \end{document}

Without this change, this fails on the second invocation of xelatex.
See https://tex.stackexchange.com/questions/313266/and-non-ascii-characters-in-headings

This affects inputs this like

    # %á

with pdf output via xelatex.
2016-06-07 10:07:02 -07:00
John MacFarlane
1a62e83904 Merge pull request #198 from vladipus/patch-1
Custom font families
2016-05-19 10:25:48 -07:00
Vladislav Turbanov
fd4ba42666 Custom font families
Adding ability to define custom font families. Needed for correct polyglossia operation with Cyrillic fonts and perhaps can find some other usages.
Example usage in YAML metadata:

```
fontfamilies:
- name: \cyrillicfont
  font: Liberation Serif
- name: \cyrillicfonttt
  options: Scale=MatchLowercase
  font: Liberation Mono
```
2016-05-18 22:02:09 +04:00
John MacFarlane
63471c3b8c Merge pull request #197 from bcdevices/feature/docbook5
Add docbook5 template
2016-05-01 22:43:21 -07:00
Ivo Clarysse
fdb493a5cf Add docbook5 template 2016-04-30 08:11:14 -07:00
John MacFarlane
d39b2207f9 Merge pull request #79 from josefs/master
Add $institute to the latex template
2016-03-19 13:45:46 -07:00
John MacFarlane
bcd6640e32 Merge pull request #186 from frasertweedale/fix/beamer-institute
add $institute$ to beamer template
2016-03-19 13:45:40 -07:00
Fraser Tweedale
bd01393abd add $institute$ to beamer template 2016-02-18 19:59:53 +10:00
John MacFarlane
40175cfc59 Merge pull request #179 from c-forster/teiwriter
Template for a TEI Writer.
2016-01-21 15:23:57 -08:00
csforste
71a7bcdbf6 Initial TEI template. 2016-01-21 00:07:36 -05:00
John MacFarlane
8660958b2a Merge pull request #155 from adunning/html-abstract
Add TOC to HTML slides where missing.
2016-01-01 20:26:57 -08:00
John MacFarlane
fea830fcd2 Added 'paper' after $papersize$ variable in latex template.
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.
2015-12-23 13:28:59 -08:00
Andrew Dunning
abd1da4263 Add TOC to slides where missing. 2015-12-20 11:00:24 -05:00
John MacFarlane
133a7e0407 Merge pull request #169 from twsh/beamer-includes
Moved header-includes to before setting of title etc.
2015-12-19 18:56:36 -08:00
John MacFarlane
7e91df709a Merge pull request #175 from twsh/thanks
Added option for thanks to default.latex
2015-12-19 18:28:09 -08:00
John MacFarlane
ddf17ce3df Merge pull request #172 from twsh/parskip
Use parskip.sty when the 'indent' option isn't set
2015-12-19 18:25:50 -08:00
John MacFarlane
1ad9e62c63 Merge pull request #167 from twsh/themes
Moved themes after fonts
2015-12-19 18:24:19 -08:00
John MacFarlane
ce7287cfd9 Merge pull request #152 from twsh/biblatex-options
Biblatex options
2015-12-19 18:22:20 -08:00
John MacFarlane
b303fdbc7a Merge pull request #174 from twsh/section-titles
Section titles
2015-12-19 18:10:08 -08:00
Thomas Hodgson
01a0cadf98 Make loading parskip.sty conditional on its availability 2015-12-16 00:01:37 +00:00
Thomas Hodgson
f4742780dc Use biblio-style when setting biblatex options 2015-12-15 14:18:51 +00:00
Thomas Hodgson
8d86ed2b52 Added biblatex options 2015-12-15 14:18:51 +00:00
Thomas Hodgson
c695876718 Added biblatex options 2015-12-15 14:18:51 +00:00
Thomas Hodgson
528cb518ef Added option for thanks 2015-12-15 14:16:37 +00:00
Thomas Hodgson
355b58ff99 Add an option to set title pages for sections 2015-12-15 14:00:46 +00:00
Thomas Hodgson
ac0f48c73f Use parskip.sty when the 'indent' option isn't set 2015-12-10 13:54:13 +00:00
Thomas Hodgson
fb3c22dad8 Moved header-includes to before setting of title etc.
This matches default.latex
2015-12-10 13:38:37 +00:00
Thomas Hodgson
db0cda8f2e Moved themes after fonts
If themes are loaded after fonts then they can override fonts. Otherwise, what the themes set will be overridden by the fallback loading of lmodern.sty.
2015-12-08 18:16:44 +00:00
John MacFarlane
617e2af70c Merge pull request #164 from adunning/patch-2
Make \euro conditional in Beamer for XeTeX/LuaTeX.
2015-12-03 22:15:32 -08:00
Andrew Dunning
809f2f09c6 Make \euro conditional in Beamer for XeTeX/LuaTeX.
Implements the change made for LaTeX in <e45a3fac77>.
2015-12-03 22:38:55 -05:00
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