aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2015-03-28Remove pre-built reference filesNikolay Yakimov2-0/+0
2015-03-01Update reference.docxNikolay Yakimov1-0/+0
Following styles are set as custom: * Author * Abstract * Compact * Image Caption * Table Caption * Definition Term * Definition * First Paragraph Following styles are renamed to correspond with Word Normal.dotm * Block Quote -> Block Text * Link -> Hyperlink * Footnote Ref -> Footnote Reference Following styles added: * Caption Following styles' inheritance changed: * Image Caption <- Caption * Table Caption <- Caption
2015-02-16Fixed revealjs template so style css is correctly included.John MacFarlane1-8/+5
Closes #1949.
2015-02-12Docx writer: Add footnotes id -1 and 0.Jesse Rosenthal1-0/+0
Word uses, by default, footnotes with id -1 and 0 for separators. If a user modifies reference.docx, they will end up with a settings.xml file that references these footnotes, but no such footnotes in the document. This will produce a corruption error. Here we add these to the document and settings.xml file, so future modifications won't break the file.
2015-02-11Docx Writer: Alter Blockquote style slightly.Jesse Rosenthal1-0/+0
Since blockquote derives from BodyText, we just want to specify by default that it won't indent, regardless of what BodyText does. Note that this will not produce any visible difference in the default configuration.
2015-02-11Docx Writer: Update reference.docxJesse Rosenthal1-0/+0
This updates reference.docx to make BodyText a quick style, and inherit from it appropriately.
2015-02-09Added FirstParagraph to docx templates.Jesse Rosenthal1-0/+0
2015-01-20revealjs template - link to non-minified css, js.John MacFarlane1-7/+7
The minified versions no longer ship with the library.
2015-01-12Remove SourceCode style from reference.docx.John MacFarlane1-0/+0
This is added automatically by the docx writer. If it's in the template, we'll get two copies. See #1872.
2014-12-28EPUB templates: use div, not p, for "rights" on title page.John MacFarlane1-6/+7
2014-11-17Really fix #1758. Add `id="cover"` to body on cover page.John MacFarlane1-5/+7
Not title page!
2014-11-16Removed extra body tag from epub3 template.John MacFarlane1-7/+5
This fixes a bug introduced by the previous fix.
2014-11-16epub, epub3 templates: Added id="cover" to body of titlepage.John MacFarlane1-6/+6
This aids styling, making it possible for example to set 0 margins on the title page. Closes jgm/pandoc#1758.
2014-09-27LaTeX template: Add shorthands=off to babel options.John MacFarlane1-7/+6
Closes #1648.
2014-09-26LaTeX template: load polyglossia before bibtex.John MacFarlane1-8/+7
Fixes jgm/pandoc-templates#70. Thanks to bluebirch.
2014-09-09LaTeX template: Added \VerbatimFootnotes if there is verbatim in notes.John MacFarlane1-26/+7
Fixes a bug when there is verbatim inside notes. Closes #1616.
2014-09-01LaTeX writer: Use a declaration for tight listsJose Luis Duran1-29/+0
Currently, pandoc has hard-coded the following in order to make tight lists in LaTeX: ```hs text "\\itemsep1pt\\parskip0pt\\parsep0pt" ``` Which is fine, but does not allow customizations. For example, the `memoir` class already has a `\tightlist` declaration for this purpose: ```tex \newcommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} ``` I'm proposing to use a similar solution: ```diff @@ In Writers/LaTeX.hs: -then text "\\itemsep1pt\\parskip0pt\\parsep0pt" +then text "\\tightlist" @@ In templates/default.latex: +\newcommand{\tightlist}{% + \setlength{\itemsep}{1pt}\setlength{\parskip}{0pt}\setlength{\parsep}{0pt}} ``` This allows us to customize the tightness to our needs. Backward Compatibility If a person is using a custom LaTeX template (not based upon the `memoir` class), the `\tightlist` declaration must be added.
2014-08-31EPUB, EPUB3 templates: Handle structured metadata on titlepage.John MacFarlane1-6/+27
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-23Docx writer: Bibliography entries get Bibliography style.John MacFarlane1-0/+0
Closes #1559.
2014-08-20LaTeX template: disable microtype protrusion for typewriter font.John MacFarlane1-5/+7
Closes #1549. Thanks to lemzwerg.
2014-08-17Fixed typo in templates README.John MacFarlane1-7/+5
2014-08-16Updated README in templates to indicate templates license.John MacFarlane1-5/+7
The templates are duel licensed, BSD3 and GPL2+.
2014-08-13EPUB3 template: add epub:type annotation in titlepage.John MacFarlane1-8/+5
2014-08-12Docx Reader: Trim line breaks from the beginning and end of SectionJesse Rosenthal1-5/+8
Headers. We might also want to do this elsewhere (for pars, for example).
2014-08-12epub3 template: Put title page in section with epub:type titlepage.John MacFarlane1-8/+5
2014-07-29Docx writer: Print subtitle from metadata if present.John MacFarlane1-0/+0
Use Subtitle style. See #1451.
2014-07-26Docx writer: include abstract with Abstract style.John MacFarlane1-0/+0
Addresses docx part of #1451.
2014-07-20Include `lot` and `lof` variables in latex template.John MacFarlane1-5/+8
These can be set to get `\listoftables` and `\listoffigures`. Closes #1407. At this point we won't add a command line argument, because this only affects one writer. But the variables can be set at the command line with -Vlof -Vlot or in YAML metadata.
2014-07-16Custom writers now work with `--template`.John MacFarlane1-19/+4
Removed HTML header scaffolding from data/sample.lua.
2014-07-16Made Citation information available in lua custom writer.John MacFarlane1-2/+7
2014-07-08Added type attribute to link tags in epub3 template.John MacFarlane1-8/+5
They are supposed to be only "advisory" in HTML5, but apparently kindlegen needs them.
2014-06-29Merge remote-tracking branch 'jgm/master' into dokuwikiClare Macrae26-5092/+28
2014-06-28Updated to latest version of jgm/pandoc-templates - including default.dokuwikiClare Macrae1-5/+8
2014-06-28Updated to latest version of jgm/pandoc-templatesClare Macrae1-8/+5
2014-06-18Added haddock template.John MacFarlane1-7/+5
2014-06-09Updated default latex template so `\subtitle` works properly.John MacFarlane1-12/+6
Closes #1327.
2014-06-01Removed header1.xml, footer1.xml from reference.docx.John MacFarlane1-0/+0
2014-06-01Docx writer: Header and footer are now carried over from reference.docx.John MacFarlane1-0/+0
2014-06-01LaTeX/Beamer templates: remove conditional around date.John MacFarlane1-5/+13
Closes #1321.
2014-05-06LaTeX template: Added linestretch variable.John MacFarlane1-7/+5
Documented this and fontfamily.
2014-05-06Added fontfamily variable to latex template. (tlvince)John MacFarlane1-6/+6
2014-05-06Updated templates: conditionalize author/date in latex template.John MacFarlane1-5/+7
2014-05-06Update latex/beamer templates: load upquote after fontenc.John MacFarlane1-8/+5
2014-04-30Use \setkeys{Gin}{} to set appropriate defaults for \includegraphics.John MacFarlane1-11/+7
In pandoc and beamer templates. Thanks to Yihui Xie.
2014-04-20MathMLinHTML: Fix deprecation warninggwern1-10/+10
The use of `nodeValue` on `Attr` objects causes a deprecation warning in Firefox since version 7. This patch causes calls to `value` instead of `nodeValue` for all `Attr` objects. This closes #362.
2014-04-11Beamer template: Consistent styles for figure and table captionsJohn MacFarlane1-5/+12
Thanks to aaronwolen.
2014-04-11Beamer template: Adjust widths correctly for oversized images.John MacFarlane1-7/+5
Thanks to Garrick Aden-Buie for the patch.
2014-04-05Fixed PDF print function in reveal.js template.John MacFarlane1-5/+7
Closes #1220. Thanks to kevinkenan.
2014-04-04DocBook template: use authorgroup if there are authors.John MacFarlane1-7/+5
2014-04-04Added caption package to default beamer template. Closes #1200.John MacFarlane1-7/+6