summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAge
* Updated LaTeX template: `CJKoptions` variable, allow dvipsnames for colors.John MacFarlane2015-06-27
| | | | | | | | | | | Thanks to Xavier Olive. The addition of the `CJKoptions` variable allows one to set (e.g.) a bigger font size for Asian fonts than latin ones. Including dvipsnames allows specifying colors like MidnightBlue for link colors. This brings in a dependency on the color package, but it is a standard package and required anyway by graphics.
* Added CJKmainfont to latex template (Xavier Olive).John MacFarlane2015-06-13
|
* epub templates: use 'author.role', not 'author.type'.John MacFarlane2015-06-13
|
* Added default commonmark template.John MacFarlane2015-06-02
|
* make-reference-files: use proper path separators for Windows.John MacFarlane2015-05-28
| | | | | Fixes a bug with reference.docx and reference.odt in Windows builds.
* LaTeX template: Move hyperref before polyglossia.John MacFarlane2015-05-27
| | | | | | This avoids an error "Please load package hyperref before bidi package, and then try to run xelatex on your document again". See jgm/pandoc-templates #96.
* LaTeX/beamer: added `setotherlanguages` in polyglossia.John MacFarlane2015-05-27
| | | | | | This uses an `otherlang` variable that takes a list of languages. As requseted in #2174.
* Revealjs: allow 'center' to be set to false.John MacFarlane2015-05-27
|
* Template changes.John MacFarlane2015-05-27
| | | | | | * Use polyglossia with xelatex in beamer (#85). * Provide `\tightlist` in beamer template (Anders Persson). * Add toccolor variable to control link color in toc (Kaixhin).
* Don't use sup element for epub footnotes.John MacFarlane2015-05-11
| | | | | | | | | Instead, just use an a element with class `footnoteRef`. This allows more styling options, and provides better results in some readers (e.g. iBooks, where anything inside the a tag breaks popup footnotes). Closes #1995.
* 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.
* | ODT Writer: Figure captionsNikolay Yakimov2015-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Works pretty much the same as Word writer. Following styles are used for figures: Figure -- for figure with empty caption FigureWithCaption (based on Figure) -- for figure with caption FigureCaption (based on Caption) -- for figure captions Also, TableCaption (based on Caption) is used for table captions. We need FigureWithCaption to set keepWithNext, in order to keep caption with figure.
* | 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.
* | Merge pull request #2035 from lierdakil/issue2031John MacFarlane2015-03-30
|\ \ | | | | | | Docx Writer/Reference: Add keepNext to objects w/ captions
| * | Reference Docx: Add keepNext to table captionsNikolay Yakimov2015-03-29
| | |
| * | Docx Writer: Add a style to figure imagesNikolay Yakimov2015-03-29
| | | | | | | | | | | | | | | | | | | | | Figures with empty captions use style "Figure" Figures with nonempty captions use style "Figure with Caption", which is based on "Figure", and additionally has keepNext set.
* | | Add toc heading style to reference.docxNikolay Yakimov2015-03-29
|/ /
* | Reference Docx: update word/footnotes.xmlNikolay Yakimov2015-03-29
| |
* | Create reference files from unpacked archives with helper programNikolay Yakimov2015-03-28
| |
* | Add unpacked reference dataNikolay Yakimov2015-03-28
| |
* | Remove pre-built reference filesNikolay Yakimov2015-03-28
| |
* | Update reference.docxNikolay Yakimov2015-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fixed revealjs template so style css is correctly included.John MacFarlane2015-02-16
| | | | | | | | Closes #1949.
* | Docx writer: Add footnotes id -1 and 0.Jesse Rosenthal2015-02-12
| | | | | | | | | | | | | | | | 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.
* | Docx Writer: Alter Blockquote style slightly.Jesse Rosenthal2015-02-11
| | | | | | | | | | | | | | 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.
* | Docx Writer: Update reference.docxJesse Rosenthal2015-02-11
| | | | | | | | | | This updates reference.docx to make BodyText a quick style, and inherit from it appropriately.
* | Added FirstParagraph to docx templates.Jesse Rosenthal2015-02-09
| |
* | revealjs template - link to non-minified css, js.John MacFarlane2015-01-20
| | | | | | | | The minified versions no longer ship with the library.
* | Remove SourceCode style from reference.docx.John MacFarlane2015-01-12
| | | | | | | | | | | | | | | | This is added automatically by the docx writer. If it's in the template, we'll get two copies. See #1872.
* | 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 ...
* Docx writer: Bibliography entries get Bibliography style.John MacFarlane2014-08-23
| | | | Closes #1559.