aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2015-09-25LaTeX, ConTeXt templates: more specific language variables.John MacFarlane1-6/+7
Instead of directly using `lang`, we now use `babel-lang` and `polyglossia-lang` and `context-lang`. These variables are set by the writers to the necessary values, based on the `lang` variable (which now always takes a value in BCP47 format).
2015-09-15sample.lua - define CaptionedImage, add newline at end.John MacFarlane1-1/+7
Cloess #2393.
2015-08-16Merge pull request #2352 from ousia/masterJohn MacFarlane1-1/+4
added selectors for nested emphasis (epub.css)
2015-08-13Added `--bash-completion` option.John MacFarlane1-0/+62
This generates a bash completion script. To use: eval "$(pandoc --bash-completion)"
2015-08-11LaTeX template: reverted change in abstract position.John MacFarlane1-6/+5
2015-08-11Revert "LaTeX template: move abstract to before `\maketitle`."John MacFarlane1-5/+8
This reverts commit aa08b4cd677b975cf63c451a3414df447e31b55c.
2015-08-09LaTeX template: move abstract to before `\maketitle`.John MacFarlane1-8/+5
See http://tex.stackexchange.com/questions/139469/to-have-abstract-in-the-docu ment-class-revtex
2015-08-07added selectors for nested emphasis (epub.css)Pablo Rodríguez1-1/+4
2015-07-15Merge pull request #2303 from hftf/h6John MacFarlane1-3/+23
Add missing Heading 6 style in reference Docx
2015-07-15Reference Docx: Add missing Header 6 style (steel blue)Ophir Lifshitz1-0/+20
Based on Header 4 (bold, steel blue) and Header 5 (italic, steel blue)
2015-07-15Reference Docx: Correct outlineLvl for Header stylesOphir Lifshitz1-3/+3
Not sure if this actually affects anything
2015-07-13Updated dzslides template.John MacFarlane1-30/+128
2015-07-06ConTeXt template: activate hanging indent for definition lists.John MacFarlane1-7/+7
(mb21)
2015-07-01New method for building man pages.John MacFarlane2-27/+0
+ Removed `--man1`, `--man5` options (breaking change). + Removed `Text.Pandoc.ManPages` module (breaking API change). + Version bump to 1.15 because of the breaking changes, even though they involve features that have only been in pandoc for a day. + Makefile target for `man/man1/pandoc.1`. This uses pandoc to create the man page from README using a custom template and filters. + Added `man/` directory with template and filters needed to build man page. + We no longer have two man pages: pandoc.1 and pandoc_markdown.5. Now there is just pandoc.1, which has all the content from README. This change was needed because of the extensive cross-references between parts of the README. + Removed old `data/pandoc.1.template` and `data/pandoc_markdown.5.template`.
2015-06-28New method for producing man pages.John MacFarlane2-0/+27
This change adds `--man1` and `--man5` options to pandoc, so pandoc can generate its own man pages. It removes the old overly complex method of building a separate executable (but not installing it) just to create the man pages. The man pages are no longer automatically created in the build process. The man/ directory has been removed. The man page templates have been moved to data/. New unexported module: Text.Pandoc.ManPages. Text.Pandoc.Data now exports readmeFile, and `readDataFile` knows how to find README. Closes #2190.
2015-06-27Updated LaTeX template: `CJKoptions` variable, allow dvipsnames for colors.John MacFarlane1-7/+7
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.
2015-06-13Added CJKmainfont to latex template (Xavier Olive).John MacFarlane1-7/+7
2015-06-13epub templates: use 'author.role', not 'author.type'.John MacFarlane1-5/+8
2015-06-02Added default commonmark template.John MacFarlane1-11/+5
2015-05-28make-reference-files: use proper path separators for Windows.John MacFarlane1-2/+3
Fixes a bug with reference.docx and reference.odt in Windows builds.
2015-05-27LaTeX template: Move hyperref before polyglossia.John MacFarlane1-5/+11
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.
2015-05-27LaTeX/beamer: added `setotherlanguages` in polyglossia.John MacFarlane1-5/+5
This uses an `otherlang` variable that takes a list of languages. As requseted in #2174.
2015-05-27Revealjs: allow 'center' to be set to false.John MacFarlane1-5/+5
2015-05-27Template changes.John MacFarlane1-9/+5
* Use polyglossia with xelatex in beamer (#85). * Provide `\tightlist` in beamer template (Anders Persson). * Add toccolor variable to control link color in toc (Kaixhin).
2015-05-11Don't use sup element for epub footnotes.John MacFarlane1-0/+1
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.
2015-05-11LaTeX, Beamer templates: use `bibliography` instead of `biblio-files`.John MacFarlane1-7/+8
Also use `\addbibresource` instead of `\bibliography` for biblatex. See #1661.
2015-05-10Fixed accidental reversion to earlier templates version.John MacFarlane1-7/+7
From last commit.
2015-05-09Improved warnings when image size can't be determined.John MacFarlane1-7/+7
Closes #1834.
2015-05-03LaTeX template: degrade gracefully if `\paragraph` not defined.John MacFarlane1-7/+7
2015-05-02latex template: use providecommand for tightlist.John MacFarlane1-6/+7
This avoids a conflict when memoir class is used. Thanks to Joseph Harriott.
2015-04-17Merge branch 'latex-tightlist' of https://github.com/jlduran/pandoc into ↵John MacFarlane1-7/+6
jlduran-latex-tightlist Conflicts: data/templates
2015-04-17LaTeX template: redefine `\paragraph`, `\subparagraph`...John MacFarlane1-6/+7
to behave more like section headers. Closes #1658.
2015-04-13LaTeX template: include grffile together with graphicx.John MacFarlane1-7/+6
This properly handles filenames containing spaces and dots. Closes #2074.
2015-04-12OpenDocument template: use `text:p` instead of `text:h` for title.John MacFarlane1-5/+8
Using `text:h` causes problems with numbering. Closes #2059. Thansk to @nkalvi for diagnosing this.
2015-04-12ODT Writer: Figure captionsNikolay Yakimov1-0/+16
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.
2015-04-07RST writer: better handling of raw latex inline.John MacFarlane1-7/+5
We use `` :raw-latex:`...` `` and add a definition for this role to the template. Closes #1961.
2015-04-07epub, epub3: added header-includes, include-before, include-after.John MacFarlane1-9/+6
Closes #1987.
2015-04-07reveal.js template: move custom css after theme.John MacFarlane1-7/+9
This allows custom css to modify themes, instead of being replaced by themes.
2015-03-31reveal.js template: add new configurable options.John MacFarlane1-5/+8
(Dmitry Smirnov, jgm/pandoc-templates#89) * Made option "center" configurable. * Added new options "maxScale" and "slideNumber". * Added comments to existing options.
2015-03-30Merge pull request #2035 from lierdakil/issue2031John MacFarlane1-0/+14
Docx Writer/Reference: Add keepNext to objects w/ captions
2015-03-29Add toc heading style to reference.docxNikolay Yakimov1-0/+19
2015-03-29Reference Docx: Add keepNext to table captionsNikolay Yakimov1-0/+3
2015-03-29Docx Writer: Add a style to figure imagesNikolay Yakimov1-0/+11
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.
2015-03-29Reference Docx: update word/footnotes.xmlNikolay Yakimov1-2/+26
2015-03-28Create reference files from unpacked archives with helper programNikolay Yakimov1-0/+26
2015-03-28Add unpacked reference dataNikolay Yakimov23-0/+1616
2015-03-28Remove pre-built reference filesNikolay Yakimov2-0/+0
2015-03-01Update reference.docxNikolay Yakimov1-0/+0
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
2015-02-16Fixed revealjs template so style css is correctly included.John MacFarlane1-8/+5
Closes #1949.
2015-02-12Docx writer: Add footnotes id -1 and 0.Jesse Rosenthal1-0/+0
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.