Commit graph

444 commits

Author SHA1 Message Date
John MacFarlane
c4ba8bab62 Rename default.docbook -> default.docbook4. 2017-01-26 22:36:17 +01:00
John MacFarlane
335360e40c Moved default.epub -> default.epub2. 2017-01-26 20:41:06 +01:00
John MacFarlane
67d6011199 Rename default.html -> default.html4. 2017-01-25 21:44:37 +01:00
John MacFarlane
8519808e47 Merge pull request #239 from Wandmalfarbe/master
Copied a few changes from default.latex to default.beamer
2017-01-25 12:04:04 +01:00
Wandmalfarbe
bda97ec5a4 Copied a few changes from default.latex to default.beamer 2017-01-24 20:37:24 +01:00
John MacFarlane
60c9c45041 Changed position of \VerbatimNotes and fancyvrb in latex, beamer templates.
This fixes hyperlinks on footnotes in documents that contain
verbatim in notes.

(Note: the beamer template was updated to match the LaTeX template,
but at this point verbatim in notes seems not to work in beamer.)

Supersedes #238.
2017-01-24 14:47:05 +01:00
John MacFarlane
2fab0b28e1 Merge pull request #233 from wilx/JelteF-patch-1
Add hyphen option to url package
2017-01-10 10:51:08 +01:00
Vaclav Haisman
36c6c9e49c Merge from master to update #193. 2017-01-09 21:50:39 +01:00
John MacFarlane
2dc4054e7c Merge pull request #229 from wilx/master
Allow passing options to `microtype` LaTeX package
2017-01-03 20:52:20 -08:00
Vaclav Haisman
13c6fa0a6f Allow passing options to microtype LaTeX package 2017-01-03 10:11:56 +01:00
John MacFarlane
64a97848c4 Merge pull request #226 from mb21/patch-1
DocBook5: fix namespace declarations
2016-12-30 20:06:16 -07:00
Mauro Bieg
f5fde82ceb DocBook5: fix namespace declarations 2016-12-28 14:09:50 +01:00
John MacFarlane
d4f203657a Merge pull request #224 from Wandmalfarbe/patch-1
Keyword definition used wrong separator
2016-12-04 21:09:16 +01:00
Wandmalfarbe
631dd23383 Keyword definition used wrong separator
The option pdfkeywords from hyperref needs keywords separated with a comma `,` instead of a semicolon `;`.
2016-12-04 15:16:11 +01:00
John MacFarlane
c5b8f6c8e6 Merge pull request #223 from Nicop06/patch-1
DZSlides: Force word wrapping in code tags
2016-11-25 11:19:18 +01:00
Nicolas Porcel
bd5818c52a Force word wrapping in code tags
For instance, if you try to compile the following markdown code with pandoc (using 1.12):

``` markdown
Page 1
------

    This is a very long code line that will appear on every slide even on page three

Page 2
------

My content

Page 3
------

My last content
```

using this command:

    pandoc -s -t dzslides test.md -o /tmp/test.html

the long code line will appear on every slide. Using pre-wrap fixes the problem by forcing word wrap of code. The only drawback is that it requires IE 8 [according to MDN](https://developer.mozilla.org/fr/docs/Web/CSS/white-space), which make it less compatible.

A workaround it to wrap the code when writing it, but if you consider inline code tags using the accents \`\` in markdown this is not possible.
2016-11-24 15:32:24 +01:00
John MacFarlane
8a05c8e70a Merge pull request #222 from jez/jez-beamer-hypersetup
Add hypersetup options to beamer templates
2016-10-25 16:01:45 +02:00
Jacob Zimmerman
52429ad76a
Add hypersetup options to beamer templates
I'm not sure if there is a reason why these were witheld from the
default beamer template, but it seemed to work when I added it in to my
Beamer project.

There was some previous discussion about this at jgm/pandoc#1600.
2016-10-20 00:17:46 -04:00
John MacFarlane
1475299c9a LaTeX template: fix footnotes in tables.
This requires the footnote package, which is imported only
if present.

See #208.  Thanks to Václav Haisman.
2016-09-28 11:34:00 +02:00
John MacFarlane
cbbadf94c8 Merge pull request #212 from greut/notes-server
Addition of notes-server option.
2016-09-28 11:29:56 +02:00
John MacFarlane
e1a88be15b Added a comment. 2016-09-28 11:18:31 +02:00
John MacFarlane
f3ab4bc2b9 Merge pull request #215 from wilx/master-figure-placement
LaTeX: Set figure placement defaults.
2016-09-28 11:17:32 +02:00
John MacFarlane
8db1c36001 Use p tag for subtitle, author, date in epub, revealjs, slidy. 2016-09-25 21:43:19 +02:00
John MacFarlane
f2b84d021d Merge pull request #218 from tarleb/html5-semantical-header
Put only one heading element in top-level header
2016-09-25 21:36:09 +02:00
Albert Krewinkel
859acea0b5
Put only one heading element in top-level header
Every heading element semantically creates a new section.  Three
consecutive heading elements, e.g. `<h1></h1>`, `<h2></h2>`,
`<h3></h3>`, are semantically equivallent to a section with two nested
subsections.  This is not the intended meaning of subtitle, author, and
date, making plain `<p>` elements the better choice.  This is one of the
W3C's [common idioms].

This change is the result of discussions on issue jgm/pandoc#3119.

[common idioms]: https://www.w3.org/TR/html5/common-idioms.html#common-idioms

Fixes: jgm/pandoc#3119
2016-09-23 22:04:54 +02:00
John MacFarlane
00491f422b Merge pull request #216 from artemklevtsov/patch-1
Custom font families for beamer template
2016-09-23 18:11:14 +02:00
Artem Klevtsov
abb9e892e4 Custom font families for beamer
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-09-14 16:24:12 +07:00
Vaclav Haisman
c32c8be572 LaTeX: Set figure placement defaults.
This restores Pandoc's defaults after applicaiton of changes in
https://github.com/jgm/pandoc/pull/3093.
2016-08-29 10:17:59 +02:00
Yoan Blanc
9a66aa4a48 Addition of notes-server option.
Enable to run the slides on various hosts and still control it from a
master point of view.

https://github.com/hakimel/reveal.js#server-side-speaker-notes
2016-08-12 14:48:59 +02:00
John MacFarlane
284279f61e Merge pull request #211 from cagix/beamer-theme
Support themeoptions for beamer themes
2016-08-11 21:12:09 +02:00
John MacFarlane
765b5c5685 Merge pull request #210 from cagix/fix_beamerarticle
Load "beamerarticle" first (if needed)
2016-08-06 22:41:20 +02:00
Carsten Gips
35c7887015 Support options for beamer themes
see https://github.com/jgm/pandoc-templates/issues/206#issuecomment-236158334
2016-08-05 16:32:25 +02:00
Carsten Gips
84335edbad Load "beamerarticle" first (if needed)
The beamerarticle package needs to be loaded directly after the documentclass
declaration. Loading it later (e.g. using the -H option) leads to several
errors due to package dependencies.

This patch also introduces a new variable "beamerarticle" to activate the
beamerarticle package.
2016-08-04 16:10:02 +02:00
John MacFarlane
6b2a1db0b9 Restore space between paragraphs in beamer template.
Closes #207.

I believe these lines were removed in error.
@adunning if you think otherwise, please comment here.
2016-07-20 10:44:30 -07:00
John MacFarlane
8bed1acf22 Merge pull request #205 from twsh/master
Added `\institute`
2016-07-18 22:32:24 -07:00
Thomas Hodgson
4851e1df8f Added \institute
Fixes https://github.com/jgm/pandoc-templates/issues/204 by adding a dummy `\institute` command.
2016-07-14 11:17:11 +01:00
John MacFarlane
019d6a2bd8 Merge pull request #203 from twsh/master
Pass $biblatexoptions$ directly to biblatex
2016-07-01 15:13:19 -07:00
Thomas Hodgson
922f5c0bc6 Pass $biblatexoptions$ directly to biblatex
Addresses https://github.com/jgm/pandoc-templates/issues/201
2016-07-01 23:02:46 +01:00
Thomas Hodgson
9ce3d11412 Pass $biblatexoptions$ directly to biblatex
Addresses https://github.com/jgm/pandoc-templates/issues/201
2016-07-01 23:01:09 +01:00
John MacFarlane
ba3a8f7423 Merge pull request #202 from alexivkin/master
ZimWiki template
2016-06-30 23:44:02 -07:00
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
Jelte Fennema
c213cefde9 Add hyphen option to url
This will break long urls. https://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url
2016-04-12 14:35:34 +02: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