aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2013-12-11latex template: Put header-includes after title.John MacFarlane1-5/+7
Closes #908.
2013-12-11default latex template: added abstract variable.John MacFarlane1-8/+5
2013-12-09Updated beamer template for booktabs.John MacFarlane1-7/+7
2013-12-03Use latest pandoc-templates.John MacFarlane1-3/+6
2013-12-04Add booktabs package for LaTeX tablesJose Luis Duran1-8/+5
[ci skip]
2013-11-30ConTeXt writer: Don't hardcode figure/table placement.John MacFarlane1-6/+7
Instead, let this be set in the template, using `\setupfloat`. Thanks to Aditya Mahajan for the suggestion.
2013-11-22ConTeXt writer: Use setupcaption to separate style from content.John MacFarlane1-5/+7
Instead of adding 'nunumber' every time we place a figure... Closes #1067.
2013-10-21Updated beamer template.John MacFarlane1-5/+5
Now references should work properly (in a slide) when `--biblatex` or `--natbib` is used.
2013-10-20Removed data files for s5, slideous, slidy.John MacFarlane20-4599/+0
Users of s5 and slideous will have to download the needed files, as has been documented for some time in the README. slidy files will be sought on the web, as before.
2013-09-24OpenDocument writer: don't use font-face-decls variable.John MacFarlane1-8/+5
2013-09-07HTML5 template: Add meta tag to allow user scaling.John MacFarlane1-5/+8
(Erik Evenson)
2013-08-24Removed dependency on citeproc-hs.John MacFarlane1-458/+0
Going forward we'll use pandoc-citeproc, as an external filter. The `--bibliography`, `--csl`, and `--citation-abbreviation` fields have been removed. Instead one must include `bibliography`, `csl`, or `csl-abbrevs` fields in the document's YAML metadata. The filter can then be used as follows: pandoc --filter pandoc-citeproc The `Text.Pandoc.Biblio` module has been removed. Henceforth, `Text.CSL.Pandoc` from pandoc-citations can be used by library users. The Markdown and LaTeX readers now longer format bibliographies and citations. That must be done using `processCites` or `processCites'` from Text.CSL.Pandoc. All bibliography-related fields have been removed from `ReaderOptions` and `WriterOptions`: `writerBiblioFiles`, `readerReferences`, `readerCitationStyle`. API change.
2013-08-11reference.odt: Change generator in meta.xml to Pandoc.John MacFarlane1-0/+0
2013-08-11ODT/OpenDocument writer: Minor changes for ODF 1.2 conformance.John MacFarlane2-8/+5
See #939. We leave the nonconforming contextual-spacing attribute, which is provided by LibreOffice itself and seems to be supported.
2013-08-08Preliminary support for new Div and Span elements in writers.John MacFarlane1-0/+8
Currently these are "transparent" containers, except in HTML, where they produce div and span elements with attributes.
2013-08-06Beamer template: Added fonttheme variable.John MacFarlane1-5/+8
2013-07-20LaTeX template: Added `biblio-style` variable.John MacFarlane1-8/+5
Closes #920.
2013-07-17LaTeX/Beamer template: Added `classoption` variable.John MacFarlane1-7/+7
This is intended for class options like `oneside`; it may be repeated with different options. Thanks to Oliver Matthews.
2013-07-14Updated sample.lua for new metadata.John MacFarlane1-5/+5
2013-07-14Initial work to create dokuwiki writer (#386)Clare Macrae1-7/+7
In this first version, all dokuwiki files are straight copies of the media wiki counterparts.
2013-07-13Simplified margin fields in default epub CSS file.John MacFarlane1-1/+1
2013-07-13Default epub CSS: Removed highlighting styles.John MacFarlane1-19/+0
These are added automatically to individual chapter files, depending on the highlighting style selected on the command line.
2013-07-04default.latex: Use tex-ansi mapping for monofont.John MacFarlane1-6/+7
This ensures that straight quotes appear as straight, rather than being treated as curly. See #889.
2013-06-27Custom writer: Pass full metadata, not just tit/auth/date.John MacFarlane1-7/+7
2013-06-27Man writer: give more fine-grained control in template.John MacFarlane1-7/+6
Now the `title`, `section`, `header`, and `footer` can all be set individually in metadata. The `description` variable has been removed. Quotes have been added so that spaces are allowed in the title. If you have a title that begins COMMAND(1) footer here | header here pandoc will parse it as before into a title, section, header, and footer. But you can also specify these elements explicitly. Closes #885.
2013-06-25Use latest chicago-author-date.csl.John MacFarlane1-408/+444
2013-06-24Use new flexible metadata type.John MacFarlane1-7/+7
* Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this.
2013-06-02Latest template changes: title attribute on title section in dzslides.John MacFarlane1-5/+8
2013-05-07Made `\includegraphics` more flexible in LaTeX template.John MacFarlane1-5/+5
Now it can be used with options, if needed. Thanks to Bernhard Weichel.
2013-05-01Fixed errors in revealjs template.John MacFarlane1-5/+5
2013-04-30revealjs templates: use query hashes for defaults, include remotes.John MacFarlane1-8/+5
2013-04-25LaTeX template: Changes to make mathfont work with xelatex.John MacFarlane1-5/+8
We need the mathspec library, not just fontspec, for this. We also need to set options for setmathfont. Closes #734.
2013-04-15DocBook template: Use DocBook 4.5 doctype.John MacFarlane1-5/+5
2013-04-14Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane1-0/+312
pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script.
2013-03-30Docx writer: Use Compact style for Plain block elements.John MacFarlane1-0/+0
This differentiates between tight and loose lists. Closes #775.
2013-03-25Slidy: Use slidy.js rather than slidy.js.gz.John MacFarlane3-5/+3021
Reason: some browsers have trouble with the gzipped js file, at least on the local file system. Closes #795.
2013-03-24revealjs template: include pdf stylesheet by default.John MacFarlane1-7/+5
2013-03-23New revealjs template.John MacFarlane1-6/+6
2013-03-22Updated templates to include reveal.js.John MacFarlane1-0/+8
2013-03-21Added basic support for reveal.js.Jamie F. Olson1-6/+0
Support unordered and ordered lists with "fragment" elements. Modified by JGM to remove the --reveal_js-url command-line option. Instead use -V reveal_js-url=... as with slidy and the other slide formats. Also cleaned up the list code in the HTML writer.
2013-03-20Added OPML template, tests.John MacFarlane1-13/+5
Minor fixes to OPML writer. Improved OPML reader tests.
2013-03-03beamer template: Provide `\Oldincludegraphics` as in LaTeX template.John MacFarlane1-7/+12
The template redefines `\includegraphics` to give special treatment for too-wide images. But this causes problems for literal uses of `\includegraphics`. This change allows authors to use `\Oldincludegraphics`, as in the latex template.
2013-03-03EPUB writer: Include html TOC even in epub2.John MacFarlane1-0/+2
* The TOC is included in `<spine>`, but `linear` is set to `no` unless the `--toc` option is specified. * Include `<guide>` element in OPF. * This should allow the TOC to be useable in Kindles when converted with kindlegen. * Results validate with epubcheck 3.0 for both epub and epub3 output. * Closes #773.
2013-02-27LaTeX template: Load microtype after fonts.John MacFarlane1-5/+8
Microtype needs to know what fonts are being used. Thanks to dfc for the patch.
2013-02-26Changed style names in reference docx.John MacFarlane1-0/+0
FootnoteReference -> FootnoteRef. Hyperlink -> Link. Why? Because the old names got changed by Word when the reference.docx was edited. I don't understand why, but this fixes things. Closes #414.
2013-02-23Added PDF to content types in reference.docx.John MacFarlane1-0/+0
2013-02-23reference.docx: Added default content type for emf.John MacFarlane1-0/+0
2013-02-20Small spacing change in context template.John MacFarlane1-8/+5
2013-02-20ConTeXt template: Use `\placecontent` for toc.John MacFarlane1-6/+7
Configure it for toc depth. Thanks to Aditya Mahajan.
2013-02-19ConTeXt writer: Removed `\placecontent`.John MacFarlane1-7/+6
This produced a duplicate toc, in conjunction with `\placelist`.