summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAge
* reveal.js template changes (Andrew Dunning).John MacFarlane2015-10-14
| | | | | | | | | - Add width, height variables to reveal.js. - Update reveal.js template from 3.1 source. All configuration options are now available as variables, but are only be included if set (reveal.js uses defaults otherwise).
* LaTeX template: Add fontenc, indent, subparagraph variables.John MacFarlane2015-10-14
| | | | Thanks to Andrew Dunning.
* Template changes:John MacFarlane2015-10-13
| | | | | | | - Move HTML5 shiv after CSS (Andrew Dunning). - Fix HTML5 shiv URL (Andrew Dunning). - Add dir attribute in html5 (Andrew Dunning). - Realign beamer and LaTeX templates (Andrew Dunning).
* Removed xltxtra, xunicode from LaTeX template.John MacFarlane2015-10-10
| | | | | | Thanks Andrew Dunning. Updated tests and changelog.
* reveal.js template: add controls, progress variables.John MacFarlane2015-10-10
| | | | Thanks to Grégoire Pineau.
* Adjusted latex template for changes to polyglossia-lang variable.John MacFarlane2015-10-10
|
* Man template improvements:John MacFarlane2015-10-10
| | | | | | | - Added comment stating that the page is autogenerated by pandoc, giving version. - Added `adjusting` and `hyphenate` variables. - Documented new variables.
* Beamer template: Added space after colon in figure caption.John MacFarlane2015-10-07
|
* Updated latex template to work better with tufte...John MacFarlane2015-10-04
| | | | | | and other packages that include hyperref or color. Thanks to Xavier Olive.
* Template updates.John MacFarlane2015-10-03
| | | | | | | Beamer: added `innertheme`, `outertheme` variables. LaTeX: added `mainfontoptions`, `sansfontoptions`, `monofontoptions`, `mathfontoptions`, `fontfamilyoptions`.
* Beamer template: allow setting outer/inner theme.John MacFarlane2015-09-29
|
* Changes to templates to support handling of bidirectional text.John MacFarlane2015-09-26
| | | | (LaTeX, ConTeXt, HTML)
* LaTeX, ConTeXt templates: more specific language variables.John MacFarlane2015-09-25
| | | | | | | 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).
* sample.lua - define CaptionedImage, add newline at end.John MacFarlane2015-09-15
| | | | Cloess #2393.
* Merge pull request #2352 from ousia/masterJohn MacFarlane2015-08-16
|\ | | | | added selectors for nested emphasis (epub.css)
| * added selectors for nested emphasis (epub.css)Pablo Rodríguez2015-08-07
| |
* | Added `--bash-completion` option.John MacFarlane2015-08-13
| | | | | | | | | | | | | | | | This generates a bash completion script. To use: eval "$(pandoc --bash-completion)"
* | LaTeX template: reverted change in abstract position.John MacFarlane2015-08-11
| |
* | Revert "LaTeX template: move abstract to before `\maketitle`."John MacFarlane2015-08-11
| | | | | | | | This reverts commit aa08b4cd677b975cf63c451a3414df447e31b55c.
* | LaTeX template: move abstract to before `\maketitle`.John MacFarlane2015-08-09
|/ | | | | | See http://tex.stackexchange.com/questions/139469/to-have-abstract-in-the-docu ment-class-revtex
* Merge pull request #2303 from hftf/h6John MacFarlane2015-07-15
|\ | | | | Add missing Heading 6 style in reference Docx
| * Reference Docx: Add missing Header 6 style (steel blue)Ophir Lifshitz2015-07-15
| | | | | | | | Based on Header 4 (bold, steel blue) and Header 5 (italic, steel blue)
| * Reference Docx: Correct outlineLvl for Header stylesOphir Lifshitz2015-07-15
| | | | | | | | Not sure if this actually affects anything
* | Updated dzslides template.John MacFarlane2015-07-13
| |
* | ConTeXt template: activate hanging indent for definition lists.John MacFarlane2015-07-06
|/ | | | (mb21)
* New method for building man pages.John MacFarlane2015-07-01
| | | | | | | | | | | | | | | | | | + 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`.
* New method for producing man pages.John MacFarlane2015-06-28
| | | | | | | | | | | | | | | | | | | | | 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.
* 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.