Commit graph

276 commits

Author SHA1 Message Date
John MacFarlane
d574235805 Merge pull request #98 from majutsushi/epub-role-fix
Use creator.role instead of creator.type
2015-06-13 09:32:06 -07:00
Jan Larres
afd95e8e11 Use creator.role instead of creator.type
The EPUB metadata description specifies "role" for creators, not "type":
http://pandoc.org/README.html#epub-metadata

This fixed the two epub templates to use the correct syntax.
2015-06-03 00:28:55 +12:00
John MacFarlane
7db51bc9ae Added default.commonmark template. 2015-06-02 13:22:05 +02:00
John MacFarlane
92e84768b8 LaTeX template: move hyperref before polyglossia.
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-27 12:22:55 -07:00
John MacFarlane
4e72f2bff9 LaTeX, beamer: add setotherlanguages to polyglossia. 2015-05-27 12:14:54 -07:00
John MacFarlane
3370fd9f11 Revealjs: Allow center to be set to false. Closes #93. 2015-05-27 11:02:11 -07:00
John MacFarlane
ab55684bc1 Use polyglossia with xelatex in beamer. Closes #85. 2015-05-27 10:34:21 -07:00
John MacFarlane
513c4388c3 Merge pull request #90 from Kaixhin/master
Add option for ToC color
2015-05-27 10:28:25 -07:00
John MacFarlane
f9c70a54f8 Merge pull request #97 from emwap/beamer_tightlist
Provide the \tightlist command
2015-05-27 09:58:45 -07:00
Anders Persson
1166ed79f1 Provide the \tightlist command
Just as it is provided the default.latex template.
Pandoc-1.14 expexts this command.
2015-05-27 10:46:31 +02:00
John MacFarlane
da35eb3c4a Beamer, LaTeX templates: Use bibliography instead of biblio-files.
Also use `\addbibresource` instead of `\bibliography` for biblatex.

See jgm/pandoc#1661.
2015-05-11 21:13:25 -07:00
John MacFarlane
1b789219e5 Merge pull request #95 from lierdakil/fix-paragraph-undefined
Fix paragraph undefined problem
2015-05-03 22:03:38 -07:00
Nikolay Yakimov
0f736312db Fix paragraph undefined problem 2015-05-03 21:11:36 +03:00
John MacFarlane
81c1a2216b latex template: use providecommand for tightlist.
This avoids a conflict when the memoir class is used.
Closes #94.
2015-05-02 09:08:39 -07:00
John MacFarlane
d248c9d638 LaTeX template: Added \tightlist definition.
See jgm/pandoc#1571.
2015-04-17 19:22:28 -07:00
John MacFarlane
e8aec53fad Merge pull request #92 from lierdakil/patch-1
Redefine (sub)paragraphs in default LaTeX template
2015-04-17 18:38:40 -07:00
Nikolay Yakimov
9ca76d3fbe Redefine (sub)paragraphs in default LaTeX template
This should make those behave more like sections, as per https://github.com/jgm/pandoc/issues/1658
2015-04-17 23:26:21 +03:00
John MacFarlane
12ba81ec96 LaTeX: include grffile when including graphics.
This allows filenames with spaces etc. See jgm/pandoc#2074.
2015-04-13 08:53:08 -07:00
John MacFarlane
09767991b2 OpenDocument: use text:p instead of text:h for title.
Using text:h causes problems with numbering.
See jgm/pandoc#2059.
2015-04-12 21:22:38 -07:00
John MacFarlane
7846f08b61 rst template: Added conditional role definition for raw-latex. 2015-04-07 22:07:11 -07:00
John MacFarlane
bed3f14dbc epub, epub3: added header-includes, include-before, include-after.
Closes jgm/pandoc#1987.
2015-04-07 21:10:00 -07:00
John MacFarlane
c3aa395c71 reveal.js template: move custom css after theme.
This allows custom css to modify themes, instead of being replaced
by themes.

Closes #91.
2015-04-07 20:31:00 -07:00
Kaixhin
aee1b3dea7 Add option for ToC color 2015-04-01 17:46:53 +01:00
John MacFarlane
1d55d84730 Merge pull request #89 from onlyjob/reveal.js
reveal.js: add new configurable options and comments:
2015-03-31 15:47:54 -07:00
Dmitry Smirnov
f51a985b21 reveal.js: add new configurable options and comments:
* Made option "center" configurable.
 * Added new options "maxScale" and "slideNumber".
 * Added comments to existing options.

Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-04-01 08:21:39 +11:00
John MacFarlane
7bdcb5e43d Fixed some cosmetic spacing issues in reveal.js template. 2015-02-16 19:57:17 -08:00
John MacFarlane
260f7876a2 reveal.js template: Fixed link to theme. 2015-02-16 19:51:03 -08:00
John MacFarlane
7db5002730 Merge pull request #81 from aaron0browne/issue-80
Fix revealjs theme functionality
2015-01-31 19:49:12 -08:00
Aaron Browne
066b307b63 Fix revealjs theme functionality
Use up-to-date theme as link convention for revealjs. Leave old theme as
config option just in case. Match current revealjs behavior of
defaulting to "black" theme.

Fixes #80

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
2015-01-31 16:00:17 -05:00
John MacFarlane
cc302d99be Merge pull request #78 from EoinTravers/patch-1
Link to non-minified reveal.js JS and CSS files
2015-01-20 17:17:19 -08:00
Eoin Travers
8fd90a51ff Link to non-minified reveal.js JS and CSS files
`reveal.js` no longer ships with /css/reveal.min.css or /js/reveal.min.js, so template should refer to non-minified original files.
2015-01-19 21:37:44 +00:00
John MacFarlane
2b786e7518 Merge pull request #76 from ousia/master
YAML rights containing blank lines should be wrapped in a <div> (not <p>)
2014-12-28 11:25:26 -08:00
Pablo Rodríguez
5d80361089 replace <p class="rights"> with <div class="rights"> (fixes #75) 2014-12-28 18:10:24 +01:00
John MacFarlane
c76c6c5224 epub templates: insert id="cover" in body of cover page.
We check for the coverpage variable.
2014-11-17 15:42:00 -08:00
John MacFarlane
eac006ec6d Revert "epub, epub3: Added id="cover" to body of titlepage."
This reverts commit 63443da450.
2014-11-17 15:35:09 -08:00
John MacFarlane
9655f58e36 Revert "Removed extra body tag from epub3 template."
This reverts commit 7ff2baf592.
2014-11-17 15:34:59 -08:00
John MacFarlane
7ff2baf592 Removed extra body tag from epub3 template. 2014-11-16 21:12:04 -08:00
John MacFarlane
63443da450 epub, epub3: Added id="cover" to body of titlepage.
Closes jgm/pandoc#1758.
2014-11-16 20:58:17 -08:00
John MacFarlane
ec057f0ad3 LaTeX template: Add shorthands=off to babel options.
This prevents special bindings of characters like " in Spanish.
2014-09-27 17:05:17 -07:00
John MacFarlane
5c35a0a698 Merge pull request #70 from bluebirch/master
Fix polyglossia/biblatex problem with xelatex
2014-09-26 15:31:18 -07:00
Stefan Björk
19525bdeda Revert "Use biblatex-chicago instead of biblatex."
This reverts commit a0ea58bc2e.
2014-09-25 09:54:01 +02:00
Stefan Björk
a0ea58bc2e Use biblatex-chicago instead of biblatex. 2014-09-24 14:53:14 +02:00
Stefan Björk
a9a9180432 Fixed typo. 2014-09-24 14:36:17 +02:00
Stefan Björk
a4b477f6e6 Moved polyglossia/babel definitions to before biblatex; otherwise biblatex fails with xetex. 2014-09-24 14:31:39 +02:00
John MacFarlane
a63c58b23e Added \VerbatimFootnotes if there is verbatim in notes.
See http://tex.stackexchange.com/questions/203/how-to-obtain-verbatim-text-in-a-footnote

Closes jgm/pandoc#1616.
2014-09-09 09:35:33 -07:00
John MacFarlane
2d5491bc0b EPUB, EPUB3 templates: Handle structured metadata on titlepage.
Previously we just expected 'title', 'subtitle', 'author', 'date'.

Now we still support those, but also support the format recommended
for epub metadata in the pandoc README:

---
title:
- type: main
  text: My Book
- type: subtitle
  text: An investigation of metadata
creator:
- role: author
  text: John Smith
- role: editor
  text: Sarah Jones
identifier:
- scheme: DOI
  text: doi:10.234234.234/33
publisher:  My Press
rights:  (c) 2007 John Smith, CC BY-NC
...
2014-08-31 12:00:37 -07:00
John MacFarlane
7be841cee6 latex template: disable protrusion for typewriter font.
Closes #1549. Thanks to lemzwerg.
2014-08-20 08:16:51 -07:00
John MacFarlane
ecb769cb7b Typo: duel->dual. (#13) 2014-08-17 09:57:11 -07:00
John MacFarlane
950b54c55c Indicate that the templates are duel licensed, GPLv2+ and BSD3.
Closes #13.
2014-08-16 16:47:16 -07:00
John MacFarlane
095196e8d6 epub3: Put title page in section w epub:type titlepage. 2014-08-12 17:06:11 -07:00