Releases: ggrossetie/asciidoctor-web-pdf
Releases · ggrossetie/asciidoctor-web-pdf
v1.0.0-alpha.5
Summary
Release meta
Released on: 2020-02-01
Released by: @Mogztter
Published by: @Mogztter
Logs: full diff
Changelog
Bug fixes
- prevent late re-layout due to highlighjs padding by re-ordering all link elements to the header - thanks @ahus1
- fix duplicated header when break-after: avoid; active - thanks @ahus1
- clone options to avoid side-effect, otherwise the output file (PDF) will be generated in the temporary file (HTML) (#148)
- do not close the browser in watch mode
- use the new Asciidoctor.js API to create a timings instance (#159) - thanks @danyill
- fix page break logic
Improvements
- upgrade to Paged.js 0.1.35
- remove HTML tags and entities in the PDF outline
- reload the browser when using watch mode with preview
- prevent multiprocessing as Chrome can only have one active printing job
- only print file changes in verbose mode (when watch mode is enabled)
- write binary data to stdout when using
-o -
in the CLI - support to read input from stdin - thanks @danyill
- upgrade to Asciidoctor.js 2.1.0
- upgrade Asciidoctor CLI to 3.2.0
- embed fonts in the stylesheet
- remove unused font m+1p
Infrastructure
- add visual tests
Documentation
- document stylesheet attributes accepting multiple values - thanks @danyill
- add an highlights section on the README
v1.0.0-alpha.4
Summary
Release meta
Released on: 2019-11-17
Released by: @Mogztter
Published by: @Mogztter
Logs: full diff
Changelog
Breaking changes
stylesheet
attribute now replaces the default stylesheet. If you still want to extend the default stylesheet, you can do:
-:stylesheet: custom.css
+:stylesheet: asciidoctor-pdf/css/asciidoctor.css;asciidoctor-pdf/css/document.css;asciidoctor-pdf/css/features/title-document-numbering.css;custom.css
Bug Fixes
- Use a class to force a page break
- Use link element and replace default stylesheet
- Upgrade @asciidoctor/cli to v3.0.2
doctype
defined in the document was ignored
- Ensure rendering is complete before creating PDF
- Remove workaround for text blocks split by a page break
- Replace deprecated and experimental syntax in the default CSS
Improvements
- Preview mode using
--preview
option - Table Of Contents
- PDF outline
- PDF metadata (title, authors, subject, keywords, lang, etc...)
- SVG icons with Font Awesome 5
- STEM support with MathJax 3
- Capture console output and display a helpful message when the page throws an exception
- Resolve stylesheets from
node_modules
and local folders - Allow to specify multiple stylesheets (separated by
;
) - Add language support in the default HTML template
Documentation
- Improve the README
- Add alternative install options
- Add an examples section
- Explain how to create a custom layout
Credits
Thanks to the following people who contributed to this release: