summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAge
* OpenDocument writer: don't use font-face-decls variable.John MacFarlane2013-09-24
|
* HTML5 template: Add meta tag to allow user scaling.John MacFarlane2013-09-07
| | | | (Erik Evenson)
* Removed dependency on citeproc-hs.John MacFarlane2013-08-24
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* reference.odt: Change generator in meta.xml to Pandoc.John MacFarlane2013-08-11
|
* ODT/OpenDocument writer: Minor changes for ODF 1.2 conformance.John MacFarlane2013-08-11
| | | | | See #939. We leave the nonconforming contextual-spacing attribute, which is provided by LibreOffice itself and seems to be supported.
* Preliminary support for new Div and Span elements in writers.John MacFarlane2013-08-08
| | | | | Currently these are "transparent" containers, except in HTML, where they produce div and span elements with attributes.
* Beamer template: Added fonttheme variable.John MacFarlane2013-08-06
|
* LaTeX template: Added `biblio-style` variable.John MacFarlane2013-07-20
| | | | Closes #920.
* LaTeX/Beamer template: Added `classoption` variable.John MacFarlane2013-07-17
| | | | | This is intended for class options like `oneside`; it may be repeated with different options. Thanks to Oliver Matthews.
* Updated sample.lua for new metadata.John MacFarlane2013-07-14
|
* Simplified margin fields in default epub CSS file.John MacFarlane2013-07-13
|
* Default epub CSS: Removed highlighting styles.John MacFarlane2013-07-13
| | | | | These are added automatically to individual chapter files, depending on the highlighting style selected on the command line.
* default.latex: Use tex-ansi mapping for monofont.John MacFarlane2013-07-04
| | | | | This ensures that straight quotes appear as straight, rather than being treated as curly. See #889.
* Custom writer: Pass full metadata, not just tit/auth/date.John MacFarlane2013-06-27
|
* Man writer: give more fine-grained control in template.John MacFarlane2013-06-27
| | | | | | | | | | | | | | | | | 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.
* Use latest chicago-author-date.csl.John MacFarlane2013-06-25
|
* Use new flexible metadata type.John MacFarlane2013-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Latest template changes: title attribute on title section in dzslides.John MacFarlane2013-06-02
|
* Made `\includegraphics` more flexible in LaTeX template.John MacFarlane2013-05-07
| | | | | | Now it can be used with options, if needed. Thanks to Bernhard Weichel.
* Fixed errors in revealjs template.John MacFarlane2013-05-01
|
* revealjs templates: use query hashes for defaults, include remotes.John MacFarlane2013-04-30
|
* LaTeX template: Changes to make mathfont work with xelatex.John MacFarlane2013-04-25
| | | | | We need the mathspec library, not just fontspec, for this. We also need to set options for setmathfont. Closes #734.
* DocBook template: Use DocBook 4.5 doctype.John MacFarlane2013-04-15
|
* Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane2013-04-14
| | | | | | | | | | 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.
* Docx writer: Use Compact style for Plain block elements.John MacFarlane2013-03-30
| | | | | This differentiates between tight and loose lists. Closes #775.
* Slidy: Use slidy.js rather than slidy.js.gz.John MacFarlane2013-03-25
| | | | | | | Reason: some browsers have trouble with the gzipped js file, at least on the local file system. Closes #795.
* revealjs template: include pdf stylesheet by default.John MacFarlane2013-03-24
|
* New revealjs template.John MacFarlane2013-03-23
|
* Updated templates to include reveal.js.John MacFarlane2013-03-22
|
* Added basic support for reveal.js.Jamie F. Olson2013-03-21
| | | | | | | | 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.
* Added OPML template, tests.John MacFarlane2013-03-20
| | | | | Minor fixes to OPML writer. Improved OPML reader tests.
* beamer template: Provide `\Oldincludegraphics` as in LaTeX template.John MacFarlane2013-03-03
| | | | | | | 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.
* EPUB writer: Include html TOC even in epub2.John MacFarlane2013-03-03
| | | | | | | | | | | * 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.
* LaTeX template: Load microtype after fonts.John MacFarlane2013-02-27
| | | | | Microtype needs to know what fonts are being used. Thanks to dfc for the patch.
* Changed style names in reference docx.John MacFarlane2013-02-26
| | | | | | | | | | | 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.
* Added PDF to content types in reference.docx.John MacFarlane2013-02-23
|
* reference.docx: Added default content type for emf.John MacFarlane2013-02-23
|
* Small spacing change in context template.John MacFarlane2013-02-20
|
* ConTeXt template: Use `\placecontent` for toc.John MacFarlane2013-02-20
| | | | Configure it for toc depth. Thanks to Aditya Mahajan.
* ConTeXt writer: Removed `\placecontent`.John MacFarlane2013-02-19
| | | | This produced a duplicate toc, in conjunction with `\placelist`.
* LaTeX template: set secnumdepth to 5 if `--number-sections` specified.John MacFarlane2013-02-18
| | | | | | | This yields behavior equivalent to the other writers, numbering level 4 and 5 headers too. Closes #753.
* Beamer template: Lines to fix captions with longtable.John MacFarlane2013-02-03
| | | | Thanks to Joost Kremers.
* LaTeX template: Use `\urlstyle{same}` to avoid monospace URLs.John MacFarlane2013-01-21
|
* Updated templates.John MacFarlane2013-01-19
| | | | Use upquote package if it exists.
* RTF writer: Added writeRTFWithEmbeddedImages.John MacFarlane2013-01-18
| | | | | | | * RTF writer: Export writeRTFWithEmbeddedImages instead of rtfEmbedImage. * Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF. * Moved code for embedding images in RTF out of pandoc.hs.
* Added `writerHtmlQTags` and `--html-q-tags` option.John MacFarlane2013-01-15
| | | | | | | | | | The previous default was to use `<q>` tags in HTML5. But `<q>` tags are also valid HTML4, and they are not very robust in HTML5. Some user agents don't support them, and some CSS resets prevent pandoc's quotes CSS from working properly (e.g. bootstrap). It seems a better default just to insert quote characters, but the option is provided for those who have gotten used to using `<q>` tags.
* reference.docx: PictureCaption style -> ImageCaption.John MacFarlane2013-01-06
| | | | | This was a typo originally. Thanks to Huashan Chen.
* Docx writer: Use separate footnotes.xml for notes.John MacFarlane2013-01-06
| | | | | | | | | | | | | This seems to help LibreOffice convert the file, even though it was valid docx before. Note that the references in notes must be in word/_rels/footnotes.xml.rel. We handle this now by simply making that file contain all the references in word/_rels/document.xml.rel. Something better could be done eventually, but this works. Closes #637.
* Implemented --toc-depth (and --toc!) for RTF writer.John MacFarlane2013-01-05
|
* Support --toc-depth in context writer.John MacFarlane2013-01-05
|