summaryrefslogtreecommitdiff
path: root/data/templates/styles.citations.html
AgeCommit message (Collapse)Author
2014-11-17Really fix #1758. Add `id="cover"` to body on cover page.John MacFarlane
Not title page!
2014-11-16Removed extra body tag from epub3 template.John MacFarlane
This fixes a bug introduced by the previous fix.
2014-11-16epub, epub3 templates: Added id="cover" to body of titlepage.John MacFarlane
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 MacFarlane
Closes #1648.
2014-09-26LaTeX template: load polyglossia before bibtex.John MacFarlane
Fixes jgm/pandoc-templates#70. Thanks to bluebirch.
2014-09-09LaTeX template: Added \VerbatimFootnotes if there is verbatim in notes.John MacFarlane
Fixes a bug when there is verbatim inside notes. Closes #1616.
2014-09-01LaTeX writer: Use a declaration for tight listsJose Luis Duran
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 MacFarlane
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-20LaTeX template: disable microtype protrusion for typewriter font.John MacFarlane
Closes #1549. Thanks to lemzwerg.
2014-08-17Fixed typo in templates README.John MacFarlane
2014-08-16Updated README in templates to indicate templates license.John MacFarlane
The templates are duel licensed, BSD3 and GPL2+.
2014-08-13EPUB3 template: add epub:type annotation in titlepage.John MacFarlane
2014-08-12Docx Reader: Trim line breaks from the beginning and end of SectionJesse Rosenthal
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 MacFarlane
2014-07-20Include `lot` and `lof` variables in latex template.John MacFarlane
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-08Added type attribute to link tags in epub3 template.John MacFarlane
They are supposed to be only "advisory" in HTML5, but apparently kindlegen needs them.
2014-06-28Updated to latest version of jgm/pandoc-templates - including default.dokuwikiClare Macrae
2014-06-28Updated to latest version of jgm/pandoc-templatesClare Macrae
2013-07-14Initial work to create dokuwiki writer (#386)Clare Macrae
In this first version, all dokuwiki files are straight copies of the media wiki counterparts.
2013-07-04default.latex: Use tex-ansi mapping for monofont.John MacFarlane
This ensures that straight quotes appear as straight, rather than being treated as curly. See #889.
2013-06-27Man writer: give more fine-grained control in template.John MacFarlane
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-24Use new flexible metadata type.John MacFarlane
* 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 MacFarlane
2013-05-07Made `\includegraphics` more flexible in LaTeX template.John MacFarlane
Now it can be used with options, if needed. Thanks to Bernhard Weichel.
2013-05-01Fixed errors in revealjs template.John MacFarlane
2013-04-30revealjs templates: use query hashes for defaults, include remotes.John MacFarlane
2013-04-25LaTeX template: Changes to make mathfont work with xelatex.John MacFarlane
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 MacFarlane
2013-03-25Slidy: Use slidy.js rather than slidy.js.gz.John MacFarlane
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 MacFarlane
2013-03-23New revealjs template.John MacFarlane
2013-03-22Updated templates to include reveal.js.John MacFarlane
2013-03-21Added basic support for reveal.js.Jamie F. Olson
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 MacFarlane
Minor fixes to OPML writer. Improved OPML reader tests.
2013-03-03beamer template: Provide `\Oldincludegraphics` as in LaTeX template.John MacFarlane
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-02-27LaTeX template: Load microtype after fonts.John MacFarlane
Microtype needs to know what fonts are being used. Thanks to dfc for the patch.
2013-02-20Small spacing change in context template.John MacFarlane
2013-02-20ConTeXt template: Use `\placecontent` for toc.John MacFarlane
Configure it for toc depth. Thanks to Aditya Mahajan.
2013-02-19ConTeXt writer: Removed `\placecontent`.John MacFarlane
This produced a duplicate toc, in conjunction with `\placelist`.
2013-02-18LaTeX template: set secnumdepth to 5 if `--number-sections` specified.John MacFarlane
This yields behavior equivalent to the other writers, numbering level 4 and 5 headers too. Closes #753.
2013-02-03Beamer template: Lines to fix captions with longtable.John MacFarlane
Thanks to Joost Kremers.
2013-01-21LaTeX template: Use `\urlstyle{same}` to avoid monospace URLs.John MacFarlane
2013-01-19Updated templates.John MacFarlane
Use upquote package if it exists.
2013-01-18RTF writer: Added writeRTFWithEmbeddedImages.John MacFarlane
* RTF writer: Export writeRTFWithEmbeddedImages instead of rtfEmbedImage. * Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF. * Moved code for embedding images in RTF out of pandoc.hs.
2013-01-15Added `writerHtmlQTags` and `--html-q-tags` option.John MacFarlane
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.
2013-01-05Implemented --toc-depth (and --toc!) for RTF writer.John MacFarlane
2013-01-05Support --toc-depth in context writer.John MacFarlane
2013-01-05Changed --toc-level to --toc-depth.John MacFarlane
2013-01-05Implemented --toc-level for rst.John MacFarlane
2013-01-05Implemented --toc-level in LaTeX writer.John MacFarlane