summaryrefslogtreecommitdiff
path: root/data/templates/default.commonmark
Commit message (Collapse)AuthorAge
...
* Beamer template: added code to prevent slide breaks inside paragraphs.John MacFarlane2015-10-30
| | | | | | | | This will matter, in practice, only when `allowframebreaks` is used. It is especially helpful for bibliography slides. Closes #2442. Thanks to Nick Bart for the solution.
* Beamer template: fix incompatibility of section slides with natbib.John MacFarlane2015-10-29
| | | | | | | | | | | | | | Natbib (and presumably biblatex) bibliography commands create their own section. Since these are in frame environments, we have an incompatibility with the `\AtBeginSection` macro which creates a special frame when a new section occurs. (We can't have a frame inside another frame.) This change disables `\AtBeginSection` inside bibliography slides. Thinks to Yihui Xie for bringing the problem to my attention. This supersedes #145. See discussion there.
* Template improvements (Andrew Dunning).John MacFarlane2015-10-25
| | | | | | | | | - Added `keywords` to HTML templates and fixed alignment. - Updated dzslides template from source. - Added `lang`, `dir`, `quotes` to HTML templates; always make author and date display conditional. - Fixed `author` and `date` in asciidoc; added `keywords`, `abstract`. - Updated tests.
* LaTeX template: simplify hyperref usage.John MacFarlane2015-10-20
| | | | Andrew Dunning. #139.
* ConTeXt template: link color to black, define all sections.John MacFarlane2015-10-20
| | | | Andrew Dunning.
* Updated latex, beamer templates to support language divs/spans.John MacFarlane2015-10-19
| | | | | | | | Mainly this adds a template variable that can be filled by commands that make babel understand the polyglossia-style language directives. Thanks to mb21.
* HTML-based templates: Use en dash between title prefix & title.John MacFarlane2015-10-18
| | | | | Instead of a hyphen. (Andrew Dunning.)
* Man template: make "generated by" comment conditional.John MacFarlane2015-10-18
| | | | | This allows it to be disabled for automated tests, so they needn't be updated every version bump.
* 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).
* 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
* ConTeXt template: activate hanging indent for definition lists.John MacFarlane2015-07-06
| | | | (mb21)
* 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
|
* 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).
* 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
| |