asciidoctor-pdf 2.0.0.beta.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +170 -82
- data/README.adoc +79 -1216
- data/data/themes/base-theme.yml +1 -1
- data/data/themes/default-for-print-theme.yml +4 -4
- data/data/themes/default-for-print-with-fallback-font-theme.yml +2 -3
- data/data/themes/default-for-print-with-font-fallbacks-theme.yml +3 -0
- data/data/themes/{sans-with-fallback-font-theme.yml → default-sans-theme.yml} +1 -1
- data/data/themes/default-sans-with-font-fallbacks-theme.yml +3 -0
- data/data/themes/default-theme.yml +3 -2
- data/data/themes/default-with-fallback-font-theme.yml +2 -9
- data/data/themes/default-with-font-fallbacks-theme.yml +9 -0
- data/docs/theming-guide.adoc +5 -6051
- data/lib/asciidoctor/pdf/converter.rb +2237 -2094
- data/lib/asciidoctor/pdf/ext/asciidoctor/abstract_block.rb +31 -0
- data/lib/asciidoctor/pdf/ext/asciidoctor.rb +1 -0
- data/lib/asciidoctor/pdf/ext/prawn/document/column_box.rb +20 -0
- data/lib/asciidoctor/pdf/ext/prawn/extensions.rb +89 -42
- data/lib/asciidoctor/pdf/ext/prawn/formatted_text/box.rb +14 -0
- data/lib/asciidoctor/pdf/ext/prawn/formatted_text/indented_paragraph_wrap.rb +39 -0
- data/lib/asciidoctor/pdf/ext/prawn-table/cell/asciidoc.rb +2 -9
- data/lib/asciidoctor/pdf/ext/prawn.rb +2 -0
- data/lib/asciidoctor/pdf/formatted_text/source_wrap.rb +7 -2
- data/lib/asciidoctor/pdf/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 027a0c91049b52843552b50087dc100ecaf0143bf2d342c2d3e5a8d37bd8fcda
|
4
|
+
data.tar.gz: 1723e9c0ab2eab7f2f25dd31e6085e31103724c27eff2e3b9a1fe818d64161af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d563c7b4def055b2732563910f0abc318d09e566423592a008535730480363a52f36f0d3bd27ed431490d3cf80bc855c8e98dc271556b8b27ea63ebd1a7b284d
|
7
|
+
data.tar.gz: 82834fe8af002bc265e09880d8ef11e25e6e9943c1bf6fb4359f655364a15b49e8b71134adbe0fb3db567759944915faabe1cf5720a558751c3fcb53266c1c3f
|
data/CHANGELOG.adoc
CHANGED
@@ -1,9 +1,96 @@
|
|
1
1
|
= {project-name} Changelog
|
2
2
|
:project-name: Asciidoctor PDF
|
3
|
-
:
|
3
|
+
:url-repo: https://github.com/asciidoctor/asciidoctor-pdf
|
4
4
|
|
5
5
|
This document provides a high-level view of the changes to the {project-name} by release.
|
6
|
-
For a detailed view of what has changed, refer to the {
|
6
|
+
For a detailed view of what has changed, refer to the {url-repo}/commits/main[commit history] on GitHub.
|
7
|
+
|
8
|
+
== 2.0.0 (2022-05-18) - @mojavelinux
|
9
|
+
|
10
|
+
Improvements::
|
11
|
+
|
12
|
+
* use more stable approach to recreating current bounds in scratch document
|
13
|
+
* add foundation to support multi-column layout for the body of an article (using an extended converter only)
|
14
|
+
|
15
|
+
=== Details
|
16
|
+
|
17
|
+
{url-repo}/releases/tag/v2.0.0[git tag] | {url-repo}/compare/v2.0.0.rc.1\...v2.0.0[full diff]
|
18
|
+
|
19
|
+
== 2.0.0.rc.1 (2022-05-17) - @mojavelinux
|
20
|
+
|
21
|
+
Enhancements::
|
22
|
+
|
23
|
+
* allow theme to position caption for code and example blocks below block using `caption-end` key (#1730)
|
24
|
+
* allow hyphenation to be turned on and configured using the `base-hyphens` key in the theme (#2161)
|
25
|
+
* replace `docdir` attribute reference in value of `pdf-themesdir` and `pdf-fontsdir` attributes (if not already replaced) (#412)
|
26
|
+
* split out `start_title_page` method from `ink_title_page` to make customization of the title page simpler using an extended converter
|
27
|
+
* introduce `start_toc_page` method to handle positioning cursor at first page of TOC
|
28
|
+
|
29
|
+
Improvements::
|
30
|
+
|
31
|
+
* reclassify and mark which methods in the converter are private
|
32
|
+
* organize methods in converter
|
33
|
+
* add DOM traversal methods to simplify the logic in the converter
|
34
|
+
* remove requirement to add dummy text to title page to preserve it
|
35
|
+
|
36
|
+
Bug Fixes::
|
37
|
+
|
38
|
+
* apply top line height padding to first line of text when text runs to top of next page (#2173)
|
39
|
+
* don't add entry to outline for notitle section if no content follows it
|
40
|
+
* don't add entry to TOC for notitle section if no content follows it
|
41
|
+
* look for block align roles on image instead of text align roles (#2176)
|
42
|
+
* use correct left value when creating bounding box
|
43
|
+
* don't apply border on block images to logo image on title page
|
44
|
+
|
45
|
+
=== Details
|
46
|
+
|
47
|
+
{url-repo}/releases/tag/v2.0.0.rc.1[git tag] | {url-repo}/compare/v2.0.0.beta.2\...v2.0.0.rc.1[full diff]
|
48
|
+
|
49
|
+
== 2.0.0.beta.2 (2022-05-14) - @mojavelinux
|
50
|
+
|
51
|
+
Enhancements::
|
52
|
+
|
53
|
+
* add support for float attribute on image; wrap ensuing paragraphs around image with `float` attribute (#353)
|
54
|
+
* add `supports_float_wrapping?` method for extended converter to override to enlist other blocks in float wrapping; add example to docs (#353)
|
55
|
+
* add `image-float-gap` key to theme to control space around image float (#353)
|
56
|
+
* add support for `text-transform` property on first line of abstract in theme (#2141)
|
57
|
+
* rename `resolve_alignment_from_role` to `resolve_text_align_from_role` to reflect proper terminology and purpose; alias old method name
|
58
|
+
* add support for orphan avoidance to discrete headings to match behavior of section titles (using call to `arrange_heading`) (#2151)
|
59
|
+
* rename `arrange_section` to `arrange_heading` to reflect proper terminology and purpose
|
60
|
+
* add `index-column-gap` key to theme to control size of gap between columns
|
61
|
+
* coerce `image-caption-max-width` to `fit-content` if `float` attribute is set on block image (#2150)
|
62
|
+
* add support for text box with fixed height via `:height` option to `typeset_text` helper
|
63
|
+
* configure `typeset_text` and `ink_prose` to return remaining fragments when `:height` option is specified
|
64
|
+
* add support for `:indent_paragraphs` option to formatted text box (#353)
|
65
|
+
* if `float` attribute is set on block image, set max width on caption to `fit-content` if max width not already set to a `fit-content` value
|
66
|
+
* add built-in default-sans theme
|
67
|
+
|
68
|
+
Improvements::
|
69
|
+
|
70
|
+
* rename theme suffix with-fallback-font to with-font-fallbacks
|
71
|
+
* rename sans-with-fallback-font theme to default-sans-with-font-fallbacks
|
72
|
+
* configure spacing around thematic break using `thematic-break-padding` key instead of margin top and bottom (#2164)
|
73
|
+
* rename `convert_listing_or_literal` to `convert_code` and alias old name
|
74
|
+
* reify convert handler for STEM blocks (`convert_stem`)
|
75
|
+
* reify convert handler for pass blocks (`convert_pass`) and remove block decoration
|
76
|
+
|
77
|
+
Bug Fixes::
|
78
|
+
|
79
|
+
* honor `caption-align` when element align is not `left` and `caption-max-width` is % of element width (e.g., `fit-content(50%)`) (#2156)
|
80
|
+
* do not orphan sidebar title (#2158)
|
81
|
+
* allow theme to set font style of first line of abstract to `normal_italic` (#2138)
|
82
|
+
* add support for `:color` option to `Prawn::Text::Formatted::Box` directly and remove workarounds
|
83
|
+
* preserve columns on subsequent pages in the index section (#2149)
|
84
|
+
* fix return value of `cursor` method inside block for column box in index section
|
85
|
+
* correctly detect preceding code block when determining whether to collapse top margin of colist
|
86
|
+
* apply bottom margin to thematic break that falls at top of page (#2164)
|
87
|
+
* allow extended converter to override `convert_code` method to handle `convert_listing` and `convert_literal` calls
|
88
|
+
* restore margin below pass block
|
89
|
+
* remove use of deprecated theme keys in default-for-print theme
|
90
|
+
|
91
|
+
=== Details
|
92
|
+
|
93
|
+
{url-repo}/releases/tag/v2.0.0.beta.2[git tag] | {url-repo}/compare/v2.0.0.beta.1\...v2.0.0.beta.2[full diff]
|
7
94
|
|
8
95
|
== 2.0.0.beta.1 (2022-05-04) - @mojavelinux
|
9
96
|
|
@@ -14,11 +101,12 @@ Enhancements::
|
|
14
101
|
* allow extended converter to insert or filter toc entries by overriding `get_entries_for_toc` method (#2097)
|
15
102
|
* add `asciidoctor/pdf/nopngmagick` script to unregister Gmagick handler for PNG images only (#1687)
|
16
103
|
* allow theme to configure which end the caption is placed for a block image (#2115)
|
17
|
-
* add `Page#imported` method to mark page as imported (which suppresses running
|
104
|
+
* add `Page#imported` method to mark page as imported (which suppresses running content)
|
18
105
|
* add support for `smallcaps` text transform by replacing lowercase letters with small capital variants (#1192)
|
19
106
|
* use `base-border-color` as default border color; control appearance of border using `border-width` value alone (#2134)
|
20
107
|
* remove border colors in base theme so all border colors can be controlled using `base-border-color` when extending theme
|
21
108
|
* enable running footer when using base theme
|
109
|
+
* allow built-in optimizer to set PDF compliance flag (PDF/A and PDF/X) using value of `optimize` attribute (#125)
|
22
110
|
|
23
111
|
Bug Fixes::
|
24
112
|
|
@@ -52,7 +140,7 @@ Bug Fixes::
|
|
52
140
|
* allow `ink_toc` method in extended converter to insert page above TOC page
|
53
141
|
* remap `layout_` methods contributed to converter by prepended module
|
54
142
|
* neutralize padding hacks in themes designed before the converter had smart margins
|
55
|
-
* allow smallest ends or sides border width on block to be less than 1
|
143
|
+
* allow the smallest ends or sides border width on block to be less than 1
|
56
144
|
* cap border corners on block when width is defined using array (uniform or otherwise) (#2103)
|
57
145
|
* fix crash in certain circumstances when theme does not define value for `base-border-width` key
|
58
146
|
* use sensible fallbacks for table border and grid color and width (retains backwards compatibility)
|
@@ -76,7 +164,7 @@ Enhancements::
|
|
76
164
|
* allow the title of any section to be hidden using the `notitle` option
|
77
165
|
* allow imported PDF page to be referenced in TOC by enclosing in parent section with `notitle` option (#1213)
|
78
166
|
* allow entry for preface to be added to TOC without adding title to body using the `notitle` option on the preface section (#1786)
|
79
|
-
* automatically promote the `notitle` option from the first block in the
|
167
|
+
* automatically promote the `notitle` option from the first block in the preamble to preface section; restore lead role on opening paragraph (#1786)
|
80
168
|
|
81
169
|
Improvements::
|
82
170
|
|
@@ -103,13 +191,13 @@ Bug Fixes::
|
|
103
191
|
Enhancements::
|
104
192
|
|
105
193
|
* make delimited blocks breakable by default; require the `unbreakable` option on the block to retain the previous "`keep together`" behavior (#2004, #578, #509, #240)
|
106
|
-
* add support for the
|
107
|
-
* add support for the
|
194
|
+
* add support for the `unbreakable` option on a table to prevent it from being split across pages (#2022, #871, #819, #331)
|
195
|
+
* add support for the `breakable` option on a table (special case) to keep the caption and ID with the start of the table (#2022, #993)
|
108
196
|
* implement smart bottom margins on blocks to prevent extra space below blocks, particularly nested blocks (#1515, #1513, #1845)
|
109
197
|
* drop support for `top-margin` key on block and prose categories in theme; space between delimited blocks and lists now controlled using bottom margins only (#1515)
|
110
198
|
* allow location of anchor for block to be positioned relative to content using `block-anchor-top` key in theme (#2013)
|
111
|
-
* allow page numbering and running content to start after first page of a document without a title page by assigning an integer to the respective `
|
112
|
-
* allow page numbering and running content to start after toc (wherever it's placed) by assigning the keyword `after-toc` to the respective `
|
199
|
+
* allow page numbering and running content to start after first page of a document without a title page by assigning an integer to the respective `start-at` theme key (#1644)
|
200
|
+
* allow page numbering and running content to start after toc (wherever it's placed) by assigning the keyword `after-toc` to the respective `start-at` theme key (#1763)
|
113
201
|
* allow theme to configure page numbering to start at cover (#1727)
|
114
202
|
* allow the front and back cover images to be defined in the theme (#1584)
|
115
203
|
* allow the front and back cover images to be specified as a data URI (#1584)
|
@@ -146,7 +234,7 @@ Enhancements::
|
|
146
234
|
* normalize space characters in authors content and drop lines with unresolved attribute references (#1642)
|
147
235
|
* skip image block with missing image if computed alt text resolves to empty string (#1645)
|
148
236
|
* custom theme does not inherit from base theme by default; must be specified explicitly using `extends: base` (#1640)
|
149
|
-
* allow theme to configure number of index columns using `
|
237
|
+
* allow theme to configure number of index columns using `index-columns` key (#1663)
|
150
238
|
* configure AsciiDoc table cell to inherit font properties from table and scale font size of nested blocks (#926)
|
151
239
|
* scale font size of literal table cell (#1696)
|
152
240
|
* add support for `id` attribute on link macro
|
@@ -157,13 +245,13 @@ Enhancements::
|
|
157
245
|
* allow admonition icon image to be remote (if allow-uri-read is set) or data URI (#1711)
|
158
246
|
* allow theme to configure font color of unresolved footnote using unresolved role
|
159
247
|
* show textual label on admonition if icon image fails to embed (#1741)
|
160
|
-
* allow theme to disable title page by assigning false to `
|
248
|
+
* allow theme to disable title page by assigning false to `title-page` category key (#1754)
|
161
249
|
* allow Rouge theme to be specified as theme class or instance (API only)
|
162
250
|
* allow theme to control font size of dot leader in TOC
|
163
|
-
* allow section to override outlinelevels for self and children using `outlinelevels` attribute on section
|
251
|
+
* allow section to override `outlinelevels` for self and children using `outlinelevels` attribute on section
|
164
252
|
* use value of `author` attribute for PDF info and pdfmark if locked by the API (#1778)
|
165
253
|
* only extend theme in extends hierarchy once unless modified with `!important` (#1800)
|
166
|
-
* add print-optimized themes (default-for-print and default-for-print-with-fallback-font) (#1699)
|
254
|
+
* add print-optimized themes (`default-for-print` and `default-for-print-with-fallback-font`) (#1699)
|
167
255
|
* add support for power operator in theme (with same precedence as multiply and divide) (#1813)
|
168
256
|
* include floor and ceil match characters in fallback font (#1832) (*@oddhack*)
|
169
257
|
* allow horizontal and vertical lines of table grid to be styled independently (#1875) (*@hextremist*)
|
@@ -190,7 +278,7 @@ Bug Fixes::
|
|
190
278
|
* do not insert blank line in index when term is forced to break (#1665)
|
191
279
|
* honor prepress page margins on subsequent pages in index (#1929)
|
192
280
|
* use more robust strategy for line height normalization that accounts for case when line contains only monospaced text (#1650)
|
193
|
-
* add support for line-height property on lead role as documented
|
281
|
+
* add support for `line-height` property on `lead` role as documented
|
194
282
|
* prevent generator from allocating space for placeholder null char (used for anchors) if font is missing glyph (#1672)
|
195
283
|
* ensure background and admonition icon image files are closed after being read (#1566)
|
196
284
|
* ensure temporary images generated by running content are cleaned up (#1566)
|
@@ -247,10 +335,10 @@ Bug Fixes::
|
|
247
335
|
* fix vertical center alignment of normal table cell
|
248
336
|
* short-circuit xreftext containing a circular reference path
|
249
337
|
* prevent PDF page import from corrupting references in PDF (#1726)
|
250
|
-
* display decimal list marker correctly when list is reversed (e.g., 10., 09., 08., etc)
|
338
|
+
* display decimal list marker correctly when list is reversed (e.g., 10., 09., 08., etc.)
|
251
339
|
* use correct spacing for dotted border dash on table (length and spacing should match width)
|
252
340
|
* set color space on page with only image so font color is preserved in running content (#1742)
|
253
|
-
* compute font size for superscript and subscript correctly when parent element uses em and
|
341
|
+
* compute font size for superscript and subscript correctly when parent element uses `em` and `%` units (#1745)
|
254
342
|
* respect hyphenation exceptions when word is adjacent to non-word character (#1715)
|
255
343
|
* fix crash when TOC is enabled and index is empty
|
256
344
|
* align TOC section properly when index exceeds one page and `section_indent` is positive (#1735)
|
@@ -285,7 +373,7 @@ Bug Fixes::
|
|
285
373
|
* verify alignment of list marker in AsciiDoc table cell (#1965)
|
286
374
|
* don't crash if value of `width` attribute on image has invalid format (#1970)
|
287
375
|
* don't render borders and backgrounds in scratch document
|
288
|
-
* don't insert blank page after document title if first block (chapter or toc macro) has nonfacing option (#1988)
|
376
|
+
* don't insert blank page after document title if first block (chapter or toc macro) has `nonfacing` option (#1988)
|
289
377
|
* coerce negated variable reference to number if value of variable is numeric
|
290
378
|
* prepress page margins should honor value of `pdf-folio-placement` (#1918)
|
291
379
|
* ensure callout number in callout list stays with primary text when item is advanced to next page (#1967)
|
@@ -561,7 +649,7 @@ Bug Fixes::
|
|
561
649
|
* allow theme to control font properties (font size, font color, etc) of description list term (#1289)
|
562
650
|
* allow theme to override caption styles for specific block categories: blockquote, code, example, footnotes, image, listing, and table (#307)
|
563
651
|
* allow theme to control style of verse block independently of a quote block (#40)
|
564
|
-
* position list marker correctly when media=prepress and list item is advanced to next page or split across pages (#1303)
|
652
|
+
* position list marker correctly when `media=prepress` and list item is advanced to next page or split across pages (#1303)
|
565
653
|
* layout horizontal dlist in two columns (#310)
|
566
654
|
* apply normal substitutions to content of manname section (#1294)
|
567
655
|
* optimize PDF using quality specified in value of optimize attribute if optimize attribute is set (#535)
|
@@ -598,7 +686,7 @@ Bug Fixes::
|
|
598
686
|
* allow multiple font dirs to be specified using the pdf-fontsdir attribute (#80)
|
599
687
|
* fill and stroke bounds of example across all pages (#362)
|
600
688
|
* allow page background color and background image to be used simultaneously (#1186)
|
601
|
-
* allow theme to
|
689
|
+
* allow theme to specify initial zoom (#305)
|
602
690
|
* strip surrounding whitespace from text in normal table cells
|
603
691
|
* allow attribute references to be used in image paths in theme (#588)
|
604
692
|
* resolve variables in font catalog in theme file
|
@@ -611,11 +699,11 @@ Bug Fixes::
|
|
611
699
|
* reduce min font size in base theme
|
612
700
|
* allow theme to configure the minimum height required after a section title for it to stay on same page (#1210)
|
613
701
|
* convert hyphen to underscore in theme key for admonition icon type (#1217)
|
614
|
-
* always resolve images in running content relative to themesdir (instead of document) (#1183)
|
702
|
+
* always resolve images in running content relative to `themesdir` (instead of document) (#1183)
|
615
703
|
* fix placement of toc in article when doctitle is not set (#1240)
|
616
704
|
* honor text alignment role on abstract paragraph(s)
|
617
|
-
* don't insert blank page at start of document if media=prepress and document does not have a cover (#1181)
|
618
|
-
* insert blank page after cover if media=prepress (#1181)
|
705
|
+
* don't insert blank page at start of document if `media=prepress` and document does not have a cover (#1181)
|
706
|
+
* insert blank page after cover if `media=prepress` (#1181)
|
619
707
|
* add support for stretch role on table (as preferred alias for spread) (#1225)
|
620
708
|
* include revremark on title page if specified (#1198)
|
621
709
|
* allow theme to configure border around block image (#767)
|
@@ -639,13 +727,13 @@ Bug Fixes::
|
|
639
727
|
* only apply title page background image to the title page (#1144)
|
640
728
|
* make sure title page background or color (and only title page background or color) gets applied to title page even when page has already been created (#1144)
|
641
729
|
* fix crash when image_width is defined in theme (#995)
|
642
|
-
* fix crash when toc is enabled and toc-title attribute is unset
|
730
|
+
* fix crash when toc is enabled and `toc-title` attribute is unset
|
643
731
|
* correctly map legacy Font Awesome icon names when icon set is not specified (#1157)
|
644
732
|
* coerce color values in theme that contain uppercase letters (#1149)
|
645
733
|
* prevent table alignment from modifying margins of subsequent pages; only align table if width is less than bounds (#1170)
|
646
734
|
* ensure base font color is set
|
647
735
|
* use more robust mechanism to detect an empty page; tare content stream after adding page background color or image
|
648
|
-
* ignore pdf-themesdir unless pdf-theme is specified (#1167)
|
736
|
+
* ignore `pdf-themesdir` unless pdf-theme is specified (#1167)
|
649
737
|
* allow theme to control glyphs used for conums (#133)
|
650
738
|
* allow theme to control background and border of inline kbd (#313, #1004)
|
651
739
|
* add support for link on image in running content (#1002)
|
@@ -662,12 +750,12 @@ Bug Fixes::
|
|
662
750
|
|
663
751
|
== 1.5.0.beta.1 (2019-07-08) - @mojavelinux
|
664
752
|
|
665
|
-
* rename pdf-style and pdf-stylesdir attributes to pdf-theme and pdf-themesdir
|
666
|
-
* don't load fallback font by default; move fallback font to default-with-fallback-font theme
|
753
|
+
* rename `pdf-style` and `pdf-stylesdir` attributes to `pdf-theme` and `pdf-themesdir`, respectively (while still honoring the old names for compatibility) (#1127)
|
754
|
+
* don't load fallback font by default; move fallback font to `default-with-fallback-font` theme
|
667
755
|
* apply cell padding to table cells in the head row (#1098)
|
668
|
-
* allow the theme to control the padding of table cells in the head row using the table_head_cell_padding key (#1098)
|
756
|
+
* allow the theme to control the padding of table cells in the head row using the `table_head_cell_padding` key (#1098)
|
669
757
|
* fix position of table caption for reduced-width tables when caption align is center (#1138)
|
670
|
-
* adjust width of table caption to match width of table unless table_caption_max_width is none in theme (#1138)
|
758
|
+
* adjust width of table caption to match width of table unless `table_caption_max_width` is none in theme (#1138)
|
671
759
|
* fix position of text in running header (#1087)
|
672
760
|
* ignore start attribute on ordered list if marker is disabled
|
673
761
|
* allow start value to be negative for ordered lists that use arabic or roman numbering (#498)
|
@@ -676,13 +764,13 @@ Bug Fixes::
|
|
676
764
|
* scale SVG background image to fit page in the same way raster image is scaled (#765)
|
677
765
|
* allow page background size to be controlled using image macro attributes (#1117)
|
678
766
|
* allow page background image position to be controlled using position attribute on image macro (#1124)
|
679
|
-
* add support for fit=cover for cover, page background, and running content images (#1136)
|
767
|
+
* add support for `fit=cover` for cover, page background, and running content images (#1136)
|
680
768
|
* change default background image position to center (#1124)
|
681
769
|
* allow cover image position to be controlled using position attribute on image macro (#1134)
|
682
770
|
* change default cover image position to center (#1134)
|
683
771
|
* allow cover image size to be controlled using fit, pdfwidth, and width attributes; don't scale image by default (#1134)
|
684
|
-
* set enable_file_requests_with_root and enable_web_requests options for all SVGs (#683)
|
685
|
-
* automatically set pdf-stylesdir if pdf-style ends with .yml and pdf-stylesdir is not specified (#1126)
|
772
|
+
* set `enable_file_requests_with_root` and `enable_web_requests` options for all SVGs (#683)
|
773
|
+
* automatically set `pdf-stylesdir` if `pdf-style` ends with .yml and `pdf-stylesdir` is not specified (#1126)
|
686
774
|
* replace hyphens with underscores in top-level theme keys
|
687
775
|
* allow hyphens to be used in variable references in theme (#1122)
|
688
776
|
* allow theme to control background and border of inline code (literal) (#306)
|
@@ -730,7 +818,7 @@ Bug Fixes::
|
|
730
818
|
* add visual regression capability to test suite (@beatchristen)
|
731
819
|
* ensure index section doesn't get numbered when using Asciidoctor < 1.5.7
|
732
820
|
* add part signifier and part number to part title if partnums is set; allow signifier to be customized using part-signifier attribute (#597)
|
733
|
-
* add support for the chapter-signifier attribute as the
|
821
|
+
* add support for the chapter-signifier attribute as the preferred alternative to chapter-label
|
734
822
|
* warn if the image referenced in the running content cannot be found (#731)
|
735
823
|
|
736
824
|
== 1.5.0.alpha.17 (2019-04-23) - @mojavelinux
|
@@ -743,7 +831,7 @@ Bug Fixes::
|
|
743
831
|
* drop support for Rouge < 2
|
744
832
|
* add a test suite (#37)
|
745
833
|
* allow running content (header and footer) to be enabled on title and toc pages; controlled by running_content_start_at property in theme (#606)
|
746
|
-
* add support for nbsp named entity (i.e., `+ `); replace
|
834
|
+
* add support for nbsp named entity (i.e., `+ `); replace occurrences of nbsp named entity with a single space in outline
|
747
835
|
* upgrade to FontAwesome 5; introduce the fas, far, and fab icon sets, now preferred over fa; drop support for octicons (#891) (@jessedoyle)
|
748
836
|
* place footnotes at end of chapters in books or end of document otherwise (#85) (@bcourtine)
|
749
837
|
* fix rendering of footnotes directly adjacent to text in a normal table cell (#927)
|
@@ -755,14 +843,14 @@ Bug Fixes::
|
|
755
843
|
* set line spacing for non-AsciiDoc table cells (#296)
|
756
844
|
* consider all scripts when looking for leading alpha characters in index (#853)
|
757
845
|
* don't create title page for article doctype unless title-page attribute is set (#105)
|
758
|
-
* don't show article title if notitle attribute is set (#998)
|
846
|
+
* don't show article title if `notitle` attribute is set (#998)
|
759
847
|
* generate name section for manpage doctype automatically (#882)
|
760
848
|
* remove unprocessed passthroughs in literal cells
|
761
849
|
* apply font style from theme to formatted text description list term (#854)
|
762
850
|
* prevent tempfile for remote image from being deleted before it's used (#947)
|
763
851
|
* handle case when uri to make breakable is empty (#936)
|
764
|
-
* add support for frame=ends as alternative to frame=topbot on table
|
765
|
-
* allow table frame and grid to be set globally using the table-frame and table-grid attributes (#822)
|
852
|
+
* add support for `frame=ends` as alternative to `frame=topbot` on table
|
853
|
+
* allow table frame and grid to be set globally using the `table-frame` and `table-grid` attributes (#822)
|
766
854
|
* disable table stripes by default (#1049)
|
767
855
|
* allow table stripes to be enabled globally using table-stripes attribute (#1049)
|
768
856
|
* use new logging subsystem, if available; otherwise, use shim (#905)
|
@@ -822,8 +910,8 @@ Bug Fixes::
|
|
822
910
|
* document in README how to install Asciidoctor PDF on Ruby 2.0.0
|
823
911
|
* enable Travis CI; configure CI-based deployment to RubyGems.org
|
824
912
|
|
825
|
-
{
|
826
|
-
{
|
913
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.16[issues resolved] |
|
914
|
+
{url-repo}/releases/tag/v1.5.0.alpha.16[git tag]
|
827
915
|
|
828
916
|
== 1.5.0.alpha.15 (2017-03-27) - @mojavelinux
|
829
917
|
|
@@ -857,8 +945,8 @@ Bug Fixes::
|
|
857
945
|
* document that background images are scaled to fit bounds of page
|
858
946
|
* add note in theming guide about using double quoted strings
|
859
947
|
|
860
|
-
{
|
861
|
-
{
|
948
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.15[issues resolved] |
|
949
|
+
{url-repo}/releases/tag/v1.5.0.alpha.15[git tag]
|
862
950
|
|
863
951
|
== 1.5.0.alpha.14 (2017-02-05) - @mojavelinux
|
864
952
|
|
@@ -964,16 +1052,16 @@ Bug Fixes::
|
|
964
1052
|
* clarify in README how inline image are sized
|
965
1053
|
* clarify instructions in README about how to specify a page number range for printing
|
966
1054
|
* document in theming guide how to define and apply a custom Rouge theme
|
967
|
-
* rename pdfmarks to pdfmarks
|
1055
|
+
* rename `pdfmarks` to `pdfmarks`; document pdfmark attribute in theming guide
|
968
1056
|
* describe the quoted string value type in the theming guide
|
969
1057
|
* add self-referencing anchor to each key prefix in theming guide
|
970
|
-
* document nonfacing option for sections (@jnerlich)
|
971
|
-
* fix documentation for toc_dot_leader_font_color in theming guide (@davidgamba)
|
1058
|
+
* document `nonfacing` option for sections (@jnerlich)
|
1059
|
+
* fix documentation for `toc_dot_leader_font_color` in theming guide (@davidgamba)
|
972
1060
|
* document that dot leader inherits font properties from toc category
|
973
1061
|
* fill in missing defaults for keys in theming guide
|
974
1062
|
* rewrite intro to Keys section in theming guide
|
975
1063
|
* add keys for prose, menu, and conum categories to theming guide
|
976
|
-
* document outline_list_marker_font_color key in theming guide
|
1064
|
+
* document `outline_list_marker_font_color` key in theming guide
|
977
1065
|
* refactor measurement value helpers into module (#677)
|
978
1066
|
* add reproducible flag to examples
|
979
1067
|
* add inline ref and corresponding xref to chronicles example
|
@@ -981,12 +1069,12 @@ Bug Fixes::
|
|
981
1069
|
* update instructions and Gemfile config to use with Ruby 1.9.3
|
982
1070
|
* configure build as the default rake task
|
983
1071
|
|
984
|
-
{
|
985
|
-
{
|
1072
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.14[issues resolved] |
|
1073
|
+
{url-repo}/releases/tag/v1.5.0.alpha.14[git tag]
|
986
1074
|
|
987
1075
|
== 1.5.0.alpha.13 (2016-09-19) - @mojavelinux
|
988
1076
|
|
989
|
-
* Add support for mirror (recto/verso) margins and facing pages when media=prepress
|
1077
|
+
* Add support for mirror (recto/verso) margins and facing pages when `media=prepress`
|
990
1078
|
* Add non-breaking hyphen glyph to built-in fonts so its intended behavior is honored (#462)
|
991
1079
|
* Add page break before a book part (#329)
|
992
1080
|
* Allow running (header/footer) content to be arranged in columns (#449)
|
@@ -1001,7 +1089,7 @@ Bug Fixes::
|
|
1001
1089
|
* Add support for literal and verse table cell styles
|
1002
1090
|
* Preserve indentation in literal and verse table cells
|
1003
1091
|
* Preserve paragraph breaks in normal table cells
|
1004
|
-
* Honor value of width attribute even when autowidth option is set on table (#519)
|
1092
|
+
* Honor value of width attribute even when `autowidth` option is set on table (#519)
|
1005
1093
|
* Align table title to left edge of table, regardless of table alignment (#469)
|
1006
1094
|
* Add support for reversed option on ordered list (#491)
|
1007
1095
|
* Don't drop whitespace in front of conum on final line of source block (#470)
|
@@ -1011,16 +1099,16 @@ Bug Fixes::
|
|
1011
1099
|
* Resolve bare image-related attribute values relative to base_dir
|
1012
1100
|
* Only allow Prawn SVG to fetch remote images if the allow-uri-read attribute is set (#548)
|
1013
1101
|
* Introduce page_margin_inner and page_margin_outer keys to theme
|
1014
|
-
* Start title page, toc, main content, parts, and chapters on recto page when media=prepress and doctype=book
|
1015
|
-
* Allow default font style for table to be set via theme (table_font_style)
|
1102
|
+
* Start title page, toc, main content, parts, and chapters on recto page when `media=prepress` and `doctype=book`
|
1103
|
+
* Allow default font style for table to be set via theme (`table_font_style`)
|
1016
1104
|
* Use correct default bullet per nested unordered list level (#529)
|
1017
|
-
* Call start_new_part at start of each book part
|
1018
|
-
* Delegate to layout_part_title method to layout part title
|
1105
|
+
* Call `start_new_part` at start of each book part
|
1106
|
+
* Delegate to `layout_part_title` method to layout part title
|
1019
1107
|
* Don't match a special section as a chapter unless the doctype is book
|
1020
1108
|
* Fix list marker placement when list item touches bottom of page
|
1021
1109
|
* Eliminate excessive spacing between list items that contain nested lists
|
1022
1110
|
* Drop lines in running (header/footer) content with unresolved attributes (#522)
|
1023
|
-
* Ensure start_new_chapter is always executed at a chapter transition (#524)
|
1111
|
+
* Ensure `start_new_chapter` is always executed at a chapter transition (#524)
|
1024
1112
|
* Add support for root xref (e.g., <<included-doc#>>) (#521)
|
1025
1113
|
* Prevent block from spilling to next page if there's no more content (#361)
|
1026
1114
|
* Add support for px units to pdf-page-size attribute
|
@@ -1048,8 +1136,8 @@ Bug Fixes::
|
|
1048
1136
|
* Configure README for better preview on GitHub
|
1049
1137
|
* Update chronicles example to modern AsciiDoc syntax; update content
|
1050
1138
|
|
1051
|
-
{
|
1052
|
-
{
|
1139
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.13[issues resolved] |
|
1140
|
+
{url-repo}/releases/tag/v1.5.0.alpha.13[git tag]
|
1053
1141
|
|
1054
1142
|
== 1.5.0.alpha.12 (2016-08-05) - @mojavelinux
|
1055
1143
|
|
@@ -1066,7 +1154,7 @@ Bug Fixes::
|
|
1066
1154
|
* Document theme-related AsciiDoc attributes in theming guide (#428)
|
1067
1155
|
* Section title alignment should be customizable via theme (#343)
|
1068
1156
|
* Collapse all whitespace when normalizing (#355)
|
1069
|
-
* Require space on either side of math operator to avoid
|
1157
|
+
* Require space on either side of math operator to avoid interpreting dates as math equations (#429)
|
1070
1158
|
* Allow specifying a font style for a title on the title page (#423)
|
1071
1159
|
* Fix Prawn SVG to support arrow heads on lines (#75)
|
1072
1160
|
* Upgrade prawn-svg to 0.25.1
|
@@ -1085,8 +1173,8 @@ Bug Fixes::
|
|
1085
1173
|
* Add hints to theming guide about how to apply styles when using Maven or Gradle (@fwilhe)
|
1086
1174
|
* Fix gemspec to collect files when project is not a git repository or git is not available
|
1087
1175
|
|
1088
|
-
{
|
1089
|
-
{
|
1176
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.12[issues resolved] |
|
1177
|
+
{url-repo}/releases/tag/v1.5.0.alpha.12[git tag]
|
1090
1178
|
|
1091
1179
|
== 1.5.0.alpha.11 (2016-01-05) - @mojavelinux
|
1092
1180
|
|
@@ -1109,14 +1197,14 @@ Bug Fixes::
|
|
1109
1197
|
* Document that page background colors & images do not currently work in AsciidoctorJ PDF
|
1110
1198
|
* Use failproof relative require logic in bin script
|
1111
1199
|
|
1112
|
-
{
|
1113
|
-
{
|
1200
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.11[issues resolved] |
|
1201
|
+
{url-repo}/releases/tag/v1.5.0.alpha.11[git tag]
|
1114
1202
|
|
1115
1203
|
== 1.5.0.alpha.10 (2015-11-01) - @mojavelinux
|
1116
1204
|
|
1117
1205
|
* Allow admonition icon to be customized by theme (#121) (@jessedoyle)
|
1118
1206
|
* Update to prawn-icon 1.0.0 (#335) (@jessedoyle)
|
1119
|
-
* Only generate the pdfmarks file if the pdfmarks attribute is set
|
1207
|
+
* Only generate the pdfmarks file if the `pdfmarks` attribute is set
|
1120
1208
|
* Honor table alignment (via align attribute or role) (#299)
|
1121
1209
|
* Use Hash for ViewerPreferences; set initial magnification (#303)
|
1122
1210
|
* Handle case when colpcwidth is unspecified (#314)
|
@@ -1127,8 +1215,8 @@ Bug Fixes::
|
|
1127
1215
|
* Document theme key that sets sidebar padding (#344)
|
1128
1216
|
* Handle case when CodeRay passes nil text to text_token
|
1129
1217
|
|
1130
|
-
{
|
1131
|
-
{
|
1218
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.10[issues resolved] |
|
1219
|
+
{url-repo}/releases/tag/v1.5.0.alpha.10[git tag]
|
1132
1220
|
|
1133
1221
|
== 1.5.0.alpha.9 (2015-08-02) - @mojavelinux
|
1134
1222
|
|
@@ -1163,8 +1251,8 @@ Bug Fixes::
|
|
1163
1251
|
* Upgrade thread_safe gem
|
1164
1252
|
* Prevent crash if doc has no sections (@abatalev)
|
1165
1253
|
|
1166
|
-
{
|
1167
|
-
{
|
1254
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.9[issues resolved] |
|
1255
|
+
{url-repo}/releases/tag/v1.5.0.alpha.9[git tag]
|
1168
1256
|
|
1169
1257
|
== 1.5.0.alpha.8 (2015-06-23) - @mojavelinux
|
1170
1258
|
|
@@ -1201,8 +1289,8 @@ Bug Fixes::
|
|
1201
1289
|
* Update theming guide
|
1202
1290
|
* Fix cross references in README
|
1203
1291
|
|
1204
|
-
{
|
1205
|
-
{
|
1292
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.8[issues resolved] |
|
1293
|
+
{url-repo}/releases/tag/v1.5.0.alpha.8[git tag]
|
1206
1294
|
|
1207
1295
|
== 1.5.0.alpha.7 (2015-05-31) - @mojavelinux
|
1208
1296
|
|
@@ -1232,7 +1320,7 @@ Bug Fixes::
|
|
1232
1320
|
* Show warning when image cannot be read (#148)
|
1233
1321
|
* Allow page background image to be specified (#134)
|
1234
1322
|
* Support PDF format as cover page (#113)
|
1235
|
-
*
|
1323
|
+
* Accommodate numbered list with large numbers (#91)
|
1236
1324
|
* Position list marker correctly (#140)
|
1237
1325
|
* Allow theme to set font size & family of table cells (#139)
|
1238
1326
|
* Unencode character entities in document title (#136)
|
@@ -1255,8 +1343,8 @@ Bug Fixes::
|
|
1255
1343
|
* Use SafeYAML to load theme files
|
1256
1344
|
* Handle transparent value for table background colors
|
1257
1345
|
|
1258
|
-
{
|
1259
|
-
{
|
1346
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.7[issues resolved] |
|
1347
|
+
{url-repo}/releases/tag/v1.5.0.alpha.7[git tag]
|
1260
1348
|
|
1261
1349
|
== 1.5.0.alpha.6 (2014-11-28) - @mojavelinux
|
1262
1350
|
|
@@ -1265,8 +1353,8 @@ Bug Fixes::
|
|
1265
1353
|
* Add example for specifying theme file (Leif Gruenwoldt) (#61)
|
1266
1354
|
* Add thread_safe gem to remove warning when registering converter
|
1267
1355
|
|
1268
|
-
{
|
1269
|
-
{
|
1356
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.6[issues resolved] |
|
1357
|
+
{url-repo}/releases/tag/v1.5.0.alpha.6[git tag]
|
1270
1358
|
|
1271
1359
|
== 1.5.0.alpha.5 (2014-09-15) - @mojavelinux
|
1272
1360
|
|
@@ -1276,35 +1364,35 @@ Bug Fixes::
|
|
1276
1364
|
* Don't activate implicit header include processor by default (#48, #25)
|
1277
1365
|
* Draw box around listings and literal blocks than span more than one page (#11)
|
1278
1366
|
|
1279
|
-
{
|
1280
|
-
{
|
1367
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.5[issues resolved] |
|
1368
|
+
{url-repo}/releases/tag/v1.5.0.alpha.5[git tag]
|
1281
1369
|
|
1282
1370
|
== 1.5.0.alpha.4 (2014-09-09) - @mojavelinux
|
1283
1371
|
|
1284
1372
|
* Fix yield statement so Asciidoctor PDF can be used with JRuby
|
1285
1373
|
* Document that the coderay gem must be installed to run the examples (#42)
|
1286
1374
|
|
1287
|
-
{
|
1288
|
-
{
|
1375
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.4[issues resolved] |
|
1376
|
+
{url-repo}/releases/tag/v1.5.0.alpha.4[git tag]
|
1289
1377
|
|
1290
1378
|
== 1.5.0.alpha.3 (2014-09-08) - @mojavelinux
|
1291
1379
|
|
1292
1380
|
* Remove unnecessary dependencies (tilt, slim, thread_safe)
|
1293
1381
|
|
1294
|
-
{
|
1295
|
-
{
|
1382
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.3[issues resolved] |
|
1383
|
+
{url-repo}/releases/tag/v1.5.0.alpha.3[git tag]
|
1296
1384
|
|
1297
1385
|
== 1.5.0.alpha.2 (2014-09-05) - @mojavelinux
|
1298
1386
|
|
1299
1387
|
* Add magic encoding header to source file so Asciidoctor PDF can be used with Ruby 1.9.3 (#33, #36)
|
1300
1388
|
|
1301
|
-
{
|
1302
|
-
{
|
1389
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.2[issues resolved] |
|
1390
|
+
{url-repo}/releases/tag/v1.5.0.alpha.2[git tag]
|
1303
1391
|
|
1304
1392
|
== 1.5.0.alpha.1 (2014-09-04) - @mojavelinux
|
1305
1393
|
|
1306
1394
|
* Rewrite as proper Asciidoctor converter (#29)
|
1307
1395
|
* Initial pre-release
|
1308
1396
|
|
1309
|
-
{
|
1310
|
-
{
|
1397
|
+
{url-repo}/issues?q=milestone%3Av1.5.0.alpha.1[issues resolved] |
|
1398
|
+
{url-repo}/releases/tag/v1.5.0.alpha.1[git tag]
|