diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-09-29 15:00:34 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-29 15:00:34 -0700 |
commit | ac4067fe2e6e798da3e771d56dfd9a9c1b5fb366 (patch) | |
tree | 482d97564a875552b6e8cb76194be10564feed24 /changelog.md | |
parent | 0e02d5cacc7adb76ff5d1091849a314e29235153 (diff) | |
download | pandoc-ac4067fe2e6e798da3e771d56dfd9a9c1b5fb366.tar.gz |
MANUAL.txt: Add fuller documentation of templates.
Including new template syntax, partials, etc.
Closes #5779.
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/changelog.md b/changelog.md index 3ce84a10e..d4314aaa3 100644 --- a/changelog.md +++ b/changelog.md @@ -498,20 +498,21 @@ * Improvements in templates system (from doctemplates-0.6.1): + Pandoc templates now support a number of new features that - have been added in doctemplates: notably, partials and keywords - to control nesting and reflowing of text. + have been added in doctemplates: notably, `elseif`, `it`, + partials and keywords to control nesting and reflowing of + text. + We now used templates parameterized on doclayout Doc types. - The main impact of this change is better reflowing of content - interpolated into templates. Previously, interpolated variables - were rendered independently and intepolated as strings, - which could lead to overly long lines. Now the templates - interpolated as Doc values which may include breaking - spaces, and reflowing occurs after template interpolation - rather than before. + The main impact of this change is better reflowing of + content interpolated into templates. Previously, + interpolated variables were rendered independently and + intepolated as strings, which could lead to overly long + lines. Now the templates interpolated as Doc values which + may include breaking spaces, and reflowing occurs after + template interpolation rather than before. + Remove code from the LaTeX, Docbook, and JATS writers that - looked in the template for strings to determine whether it is a - book or an article, or whether csquotes is used. This was - always kludgy and unreliable. + looked in the template for strings to determine whether it + is a book or an article, or whether csquotes is used. This + was always kludgy and unreliable. + Change template code to use new API for doctemplates. * Template changes: |