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
John MacFarlane
3befef257c
Added lot
and lof
variables to latex template.
...
lof = list of figures.
lot = list of tables.
2014-07-20 21:54:45 -07:00
John MacFarlane
4425dfc894
Added type="text/css"
to link tags in epub3 template.
2014-07-08 00:23:51 -06:00
John MacFarlane
95f515decb
Merge pull request #65 from claremacrae/dokuwiki
...
Merge in template file for Dokuwiki support
2014-06-28 13:40:15 -07:00
Clare Macrae
f3d3f64d31
Merge remote-tracking branch 'jgm/master' into dokuwiki
2014-06-28 18:25:36 +01:00
John MacFarlane
f3b3f2dda6
Added default.haddock.
2014-06-18 17:48:06 -07:00
John MacFarlane
2c51fb0c40
Fixed subtitle in latex template.
...
See jgm/pandoc#1327 .
2014-06-09 22:33:13 -07:00
John MacFarlane
20fab138d3
LaTeX template: fix subtitles.
...
The old code really requires scrartcl from koma-script.
Closes #1327 .
2014-06-09 22:29:21 -07:00
John MacFarlane
9f1636367e
LaTeX/Beamer templates: Remove conditionalization around date.
...
This restores the old behavior, where no date was printed
if no date was specified. If the `\date` command is removed
entirely, standard document classes will print today's date.
Closes #1321 .
Partially reverts fc5229df16
.
See #61 .
2014-06-01 15:26:23 -07:00
John MacFarlane
620e8fe5e1
latex template: Added linestretch variable that loads setspace.
2014-05-06 10:16:09 -07:00
John MacFarlane
04e59d4df8
latex template: Added fontfamily variable.
...
Thanks to tlvince for the patch. Closes #50 .
2014-05-06 09:54:00 -07:00
John MacFarlane
fc5229df16
latex template: conditionalize author and date.
...
Thanks to ivoanjo for the patch. Closes #61 .
2014-05-06 09:48:59 -07:00
John MacFarlane
5de411030b
Load upquote after fontenc in latex template.
2014-05-06 09:05:46 -07:00
John MacFarlane
3719269b45
Merge pull request #60 from yihui/patch-1
...
upquote must be used after fontenc
2014-05-06 09:03:58 -07:00
Yihui Xie
032af5ecee
upquote must be used after fontenc
...
otherwise single quotes in verbatim environments will be in trouble; see an example at http://stackoverflow.com/a/12852815/559676
2014-05-06 00:21:02 -07:00
John MacFarlane
c3a7937a28
Merge pull request #58 from yihui/master
...
Use \setkeys{Gin}{} to set appropriate defaults for \includegraphics
2014-04-30 23:20:42 -07:00
Yihui Xie
a3cce8d359
Use \setkeys{Gin}{} to set appropriate defaults for \includegraphics, instead of entirely redefining this command.
...
Note we also consider the height of images; if an image is too high, 0.8\textheight will be used for beamer slides, and \textheight is used for articles (see http://tex.stackexchange.com/q/11954/9128 ).
If the user has explicitly provided the width/height options in \includegraphics[], our defaults will be overwritten, and this approach is better than the check `\@ifnextchar[` after \includegraphics because the latter approach simply gives up everything once it sees [, whereas \setkeys{Gin} can keep the good defaults unless they are explicitly overwritten in [].
closes #30 , closes #28 , and closes #26
2014-04-11 17:22:45 -05:00
John MacFarlane
2afb0792ba
Revert "LaTeX template: Allow bibliography to be used in place of biblio-files."
...
This reverts commit 5f8d7968fe
.
I'll use a different approach, setting the biblio-files variable
in the LaTeX writer. This will also work for beamer.
See #42 .
2014-04-11 11:11:16 -07:00
John MacFarlane
5f8d7968fe
LaTeX template: Allow bibliography to be used in place of biblio-files.
...
Closes #43 . Thanks to nougad.
2014-04-11 11:08:54 -07:00
John MacFarlane
7c977fe097
Merge pull request #44 from aaronwolen/beamer-captions
...
Beamer template: Consistent styles for figure and table captions
2014-04-11 11:02:12 -07:00
Garrick Aden-Buie
b8ae07eb09
Fix issue #52 : set max width and height of images in default.beamer
2014-04-11 10:52:09 -07:00
John MacFarlane
79806d4417
reveal.js template: Fix PDF print function.
...
See pandoc issue #1220 .
2014-04-05 15:23:36 -07:00
John MacFarlane
44723bcc95
DocBook template: Use authorgroup.
2014-04-04 21:43:02 -07:00
John MacFarlane
7de81bf0a5
Added caption package to beamer template.
...
Closes #1200 .
2014-04-04 13:13:09 -07:00
John MacFarlane
0ab594bc47
Merge pull request #54 from KarolS/master
...
Improving Unicode support in the Beamer template
2014-03-19 11:11:23 -07:00
John MacFarlane
c6eedc3727
Merge pull request #46 from mb21/master
...
InDesign ICML template
2014-03-04 10:27:08 -08:00
mb21
7e808534ad
InDesign ICML template
2014-02-28 13:09:41 +01:00
KarolS
088fccaeda
Backported changes from default.latex to default.beamer in order to improve Unicode support
2014-02-26 21:51:29 +01:00
John MacFarlane
3a0ed995ca
default.latex: include fontenc only if pdflatex engine is used.
...
See pandoc #1164 .
2014-02-20 09:36:20 -08:00
Alexander Belyaev
cf4e5f4520
Moved $include-after$ to the closing </body>
...
See https://groups.google.com/forum/#!topic/pandoc-discuss/Fbfh8IIcVds
2014-02-12 01:59:25 +04:00
John MacFarlane
50ca8c85d9
Merge pull request #49 from lionandoil/master
...
Fixing default.beamer includegraphics redefinition to allow custom options
2013-12-13 21:41:43 -08:00
Kevin
c1f20a285a
Fixing default.beamer includegraphics redefinition to allow custom options
2013-12-13 11:06:31 +00:00
John MacFarlane
dd1d637420
latex template: Put header includes after title.
...
Closes pandoc#908.
2013-12-11 22:34:57 -08:00
John MacFarlane
dd178889f6
Added abstract variable in latex template.
2013-12-11 22:05:20 -08:00