aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)Author
2021-10-02pandoc.lua module: fix Space.John MacFarlane
2021-09-29More progress.John MacFarlane
2021-09-19Use babel, not polyglossia, with xelatex.John MacFarlane
Previously polyglossia worked better with xelatex, but that is no longer the case, so we simplify the code so that babel is used with all latex engines. This involves a change to the default LaTeX template.
2021-08-12Various sample.lua editorial fixes. (#7493)William Lupton
These address most of the items mentioned in #7487. There's also a table caption fix (the caption wasn't escaped).
2021-08-01RTF template: specify font family for fixed-width font f1.John MacFarlane
According to the spec, this is mandatory.
2021-07-22LaTeX writer: Use ulem for underline.John MacFarlane
ulem is conditionally included already when the `strikeout` variable is set, so we set this when there is underlined text, and use `\uline` instead of `\underline`. This fixes wrapping for underlined text. Closes #7351.
2021-07-05document-css: reset overflow-wrap on code blocksMauro Bieg
fixes #7423
2021-07-03Revert "LaTeX template: move title, author, date up to top of preamble."John MacFarlane
This reverts commit cc088687b4013c2b8b744eb337ed04fc63f315f2 and PR #7295. This fixes issues people had when using LaTeX commands defined later in the preamble (or in some cases UTF-8 text) in the title or author fields. Closes #7422.
2021-06-21reveal.js writer: better handling of options.John MacFarlane
Previously it was impossible to specify false values for options that default to true; setting the option to false just caused the portion of the template setting the option to be omitted. Now we prepopulate all the variables with their default values, including them unconditionally and allowing them to be overridden.
2021-05-20reveal.js template: use `hash: true` by default rather than...John MacFarlane
`history: true`. Closes #6968. Setting `hash: true` is enough to get linkability to a particular page of the slide show.
2021-05-20ConTeXt reader: improve ordered lists (#7304)Denis Maier
Closes #5016 - change ordered list from itemize to enumerate - adds new itemgroup for ordered lists - add fontfeature for table figures - remove width from itemize in context writer
2021-05-17LaTeX template: improve treatment of CSL entry-spacing.John MacFarlane
Previously with the default template settings (`indent` variable not set), we would get interparagraph spaces separating bib entries even with `entry-spacing="0"`. On the other hand, setting `entry-spacing="2"` gave ridiculously large spacing. This change makes the spacing caused by `entry-spacing` a multiple of `\parskip` by default, which gives aesthetically reasonable output. Those who want a larger or smaller unit (e.g. because they use `indent` which sets `\parskip` to 0) may `\setlength{\cslentryspacingunit}{10pt}` in header-includes to override the defaults. Closes #7296.
2021-05-16LaTeX template: move title, author, date up to top of preamble.John MacFarlane
This allows header-includes to use them, and puts them in a position where you can see them immediately. Closes #7295.
2021-05-16LaTeX template: define commands for zero width non-joiner characterAlbert Krewinkel
Closes: #6639 The zero-width non-joiner character is used to avoid ligatures (e.g. in German).
2021-05-15docx writer settings.xml:John MacFarlane
- Set zoom to 100% by default. - Align math options more with current Word defaults (e.g. Cambria Math font).
2021-05-15docx writer: Remove rsids from settings.docx.John MacFarlane
Word will add these when revisions are made. But it's pointless to start out with a set of them.
2021-05-15HTML-based slide shows: add support for institute (#7289)Thomas Hodgson
Add institute variable (string or list) to HTML-based slide formats.
2021-05-14LaTeX template: Move CSL macro defs before header-includes.John MacFarlane
This allows them to be overriden by header-includes. Closes #7286.
2021-05-10latex template: use non-starred names for xcolor color names.John MacFarlane
This should make svgnames and x11names work properly. Closes #6109.
2021-04-29Support toc-title in revealjs (#7171)Florian Kohrt
* Support toc-title in revealjs * Add semantic HTML "nav" tag Closes #7170. As with default.html5
2021-04-29Update default.latex (#7234)badumont
Fix bad vertical spacing after the bibliography.
2021-04-28list of figures before list of tables in LaTeX and ConTeXt templates (#7235)Julien Dutant
2021-03-16Remove JS comment from HTML (#7154)Florian Kohrt
Illegal, turn into HTML comment
2021-03-14Handle 'nocite' better with --biblatex and --natbib.John MacFarlane
Previously the nocite metadata field was ignored with these formats. Now it populates a `nocite-ids` template variable and causes a `\nocite` command to be issued. Closes #4585.
2021-03-11JATS templates: support 'equal-contrib' attrib for authorsAlbert Krewinkel
Authors who contributed equally to a paper may be marked with `equal-contrib`.
2021-02-26Wrap url colours in braces in the default LaTeX template (#7121)Loïc Grobol
2021-02-20revealjs writer: add 'center' option for vertical slide centering.maurerle
Closes #7104.
2021-02-19Update default ODT styleLorenzo
As of now, the default style for ODT documents has a "First paragraph" style that inherits from "Standard" style and has no top or bottom margin. All subsequent paragraphs have "Text_20_body" style that inherits from "Standard" and add "0.0598in" margins on top and bottom. This makes the final document a bit ugly since the first paragraph has a small gap ("0.0598in") towards the second one, and all subsequent have double that. The proposed fix makes "First paragraph" inherit from "Text_20_body" instead so that it also has a consistent margin. Another approach would be to inherit "Text_20_body" and add a 0 margin on top.
2021-02-18Revert "LaTeX template: disable `` ?` `` and `` !` `` ligatures."John MacFarlane
This reverts commit 24d7cd539ba70aa94480976a7957420c020cb19a.
2021-02-18LaTeX template: disable `` ?` `` and `` !` `` ligatures.John MacFarlane
These are often triggered by accident in languagegs that use ` `` ` for end quote (e.g. German). See jgm/citeproc#54.
2021-02-15JATS writer: add date-type to pub-date elementsAlbert Krewinkel
2021-02-15JATS writer: replace attribute "pub-type" with "publication-format".Albert Krewinkel
The former attribute is deprecated.
2021-02-03LaTeX template: Update to iftex package (#7073)Andrew Dunning
Load the iftex package directly rather than via the ifxetex and ifluatex compatibility wrappers, which have been merged into a single package that is part of the LaTeX core. The capitalization of the commands has been changed for compatibility with older versions of TeX Live that have the version of iftex by the Persian TeX Group. This had been removed in <https://github.com/jgm/pandoc/commit/2845794c0c31b2ef1f3e6a73bb5b109da4c74f37> for compatibility with BasicTeX, but that is no longer an issue.
2021-02-01Add default.bibtex to repository.John MacFarlane
2021-02-01BibTeX writer: use doclayout and doctemplate.John MacFarlane
This change allows bibtex/biblatex output to wrap as other formats do, depending on the settings of `--wrap` and `--columns`. It also introduces default templates for bibtex and biblatex, which allow for using the variables `header-include`, `include-before` or `include-after` (or alternatively the command line options `--include-in-header`, `--include-before-body`, `--include-after-body`) to insert content into the generated bibtex/biblatex. This change requires a change in the return type of the unexported `T.P.Citeproc.writeBibTeXString` from `Text` to `Doc Text`. Closes #7068.
2021-01-29JATS templates: tag author.name as string-nameAlbert Krewinkel
The partitioning the components of a name into surname, given names, etc. is not always possible or not available. Using `author.name` allows to give the full name as a fallback to be used when `author.surname` is not available.
2021-01-12Docx writer: handle table header using styles.John MacFarlane
Instead of hard-coding the border and header cell vertical alignment, we now let this be determined by the Table style, making use of Word's "conditional formatting" for the table's first row. For headerless tables, we use the tblLook element to tell Word not to apply conditional first-row formatting. Closes #7008.
2021-01-10JATS writer: fix citations (#7018)Albert Krewinkel
* JATS writer: keep code lines at 80 chars or below * JATS writer: fix citations
2021-01-10Update default CSL to use latest chicago-author-date.csl.John MacFarlane
2021-01-06Remove `\setupthinrules` from default context template.John MacFarlane
The width parameter this used is not actually supported, and the command didn't do anything.
2020-12-27Use meta-description instead of description in templates.John MacFarlane
Since this is an attribute value, we need to prepare it in the writer.
2020-12-27templates: added the `description` metatag to both html4 and html5 templates ↵Jerry Sky
(#6982) The `description` meta tag will make the generated HTML documents more complete and SEO-friendly.
2020-12-20LaTeX writer: support colspans and rowspans in tables. (#6950)Albert Krewinkel
Note that the multirow package is needed for rowspans. It is included in the latex template under a variable, so that it won't be used unless needed for a table.
2020-12-18Remove data/templates/README.markdown.John MacFarlane
2020-12-18Remove data/make-reference-files.hs.John MacFarlane
I don't think this has been used for a long time.
2020-12-18Remove some extraneous files in data directory.John MacFarlane
2020-12-07LaTeX template: include csquotes package if csquotes variable set.John MacFarlane
2020-12-02Add translations zh-Hans.yaml and zh-Hant.yaml Kolen Cheung
Closes #6904, closes #6909. Co-authored-by: taotieren <[email protected]>
2020-11-27EPUB: use preserveAspectRatio="xMidYMid" for cover image (#6895)Shin Sang-jae
This change affects both the epub2 and the epub3 templates. It avoids distortion of the cover image by requiring that the aspect ratio be preserved.
2020-11-25latex template: put back amssymbJohn MacFarlane
We need it for checkboxes in todo lists, and maybe for other things. In this location it seems compatible with the cases that propmted #6469 and PR #6762.