summaryrefslogtreecommitdiff
path: root/data/templates/default.ms
Commit message (Collapse)AuthorAge
...
* LaTeX, Beamer templates: use `bibliography` instead of `biblio-files`.John MacFarlane2015-05-11
| | | | | | Also use `\addbibresource` instead of `\bibliography` for biblatex. See #1661.
* Fixed accidental reversion to earlier templates version.John MacFarlane2015-05-10
| | | | From last commit.
* Improved warnings when image size can't be determined.John MacFarlane2015-05-09
| | | | Closes #1834.
* LaTeX template: degrade gracefully if `\paragraph` not defined.John MacFarlane2015-05-03
|
* latex template: use providecommand for tightlist.John MacFarlane2015-05-02
| | | | | This avoids a conflict when memoir class is used. Thanks to Joseph Harriott.
* Merge branch 'latex-tightlist' of https://github.com/jlduran/pandoc into ↵John MacFarlane2015-04-17
|\ | | | | | | | | | | | | jlduran-latex-tightlist Conflicts: data/templates
| * LaTeX writer: Use a declaration for tight listsJose Luis Duran2014-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | LaTeX template: redefine `\paragraph`, `\subparagraph`...John MacFarlane2015-04-17
| | | | | | | | to behave more like section headers. Closes #1658.
* | LaTeX template: include grffile together with graphicx.John MacFarlane2015-04-13
| | | | | | | | | | This properly handles filenames containing spaces and dots. Closes #2074.
* | OpenDocument template: use `text:p` instead of `text:h` for title.John MacFarlane2015-04-12
| | | | | | | | | | Using `text:h` causes problems with numbering. Closes #2059. Thansk to @nkalvi for diagnosing this.
* | RST writer: better handling of raw latex inline.John MacFarlane2015-04-07
| | | | | | | | | | | | | | We use `` :raw-latex:`...` `` and add a definition for this role to the template. Closes #1961.
* | epub, epub3: added header-includes, include-before, include-after.John MacFarlane2015-04-07
| | | | | | | | Closes #1987.
* | reveal.js template: move custom css after theme.John MacFarlane2015-04-07
| | | | | | | | | | This allows custom css to modify themes, instead of being replaced by themes.
* | reveal.js template: add new configurable options.John MacFarlane2015-03-31
| | | | | | | | | | | | | | | | (Dmitry Smirnov, jgm/pandoc-templates#89) * Made option "center" configurable. * Added new options "maxScale" and "slideNumber". * Added comments to existing options.
* | Fixed revealjs template so style css is correctly included.John MacFarlane2015-02-16
| | | | | | | | Closes #1949.
* | revealjs template - link to non-minified css, js.John MacFarlane2015-01-20
| | | | | | | | The minified versions no longer ship with the library.
* | EPUB templates: use div, not p, for "rights" on title page.John MacFarlane2014-12-28
| |
* | Really fix #1758. Add `id="cover"` to body on cover page.John MacFarlane2014-11-17
| | | | | | | | Not title page!
* | Removed extra body tag from epub3 template.John MacFarlane2014-11-16
| | | | | | | | This fixes a bug introduced by the previous fix.
* | epub, epub3 templates: Added id="cover" to body of titlepage.John MacFarlane2014-11-16
| | | | | | | | | | This aids styling, making it possible for example to set 0 margins on the title page. Closes jgm/pandoc#1758.
* | LaTeX template: Add shorthands=off to babel options.John MacFarlane2014-09-27
| | | | | | | | Closes #1648.
* | LaTeX template: load polyglossia before bibtex.John MacFarlane2014-09-26
| | | | | | | | | | Fixes jgm/pandoc-templates#70. Thanks to bluebirch.
* | LaTeX template: Added \VerbatimFootnotes if there is verbatim in notes.John MacFarlane2014-09-09
|/ | | | | Fixes a bug when there is verbatim inside notes. Closes #1616.
* EPUB, EPUB3 templates: Handle structured metadata on titlepage.John MacFarlane2014-08-31
| | | | | | | | | | | | | | | | | | | | | | | | 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 ...
* LaTeX template: disable microtype protrusion for typewriter font.John MacFarlane2014-08-20
| | | | Closes #1549. Thanks to lemzwerg.
* Fixed typo in templates README.John MacFarlane2014-08-17
|
* Updated README in templates to indicate templates license.John MacFarlane2014-08-16
| | | | The templates are duel licensed, BSD3 and GPL2+.
* EPUB3 template: add epub:type annotation in titlepage.John MacFarlane2014-08-13
|
* Docx Reader: Trim line breaks from the beginning and end of SectionJesse Rosenthal2014-08-12
| | | | | | Headers. We might also want to do this elsewhere (for pars, for example).
* epub3 template: Put title page in section with epub:type titlepage.John MacFarlane2014-08-12
|
* Include `lot` and `lof` variables in latex template.John MacFarlane2014-07-20
| | | | | | | | | | | | | 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.
* Added type attribute to link tags in epub3 template.John MacFarlane2014-07-08
| | | | | They are supposed to be only "advisory" in HTML5, but apparently kindlegen needs them.
* Updated to latest version of jgm/pandoc-templates - including default.dokuwikiClare Macrae2014-06-28
|
* Updated to latest version of jgm/pandoc-templatesClare Macrae2014-06-28
|
* Initial work to create dokuwiki writer (#386)Clare Macrae2013-07-14
| | | | In this first version, all dokuwiki files are straight copies of the media wiki counterparts.
* 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.
* 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 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
|
* 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.