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
data/data/themes/base-theme.yml
CHANGED
@@ -96,7 +96,7 @@ table_head_border_bottom_width: 1.25
|
|
96
96
|
table_body_stripe_background_color: 'EEEEEE'
|
97
97
|
thematic_break_border_style: solid
|
98
98
|
thematic_break_border_width: 0.5
|
99
|
-
|
99
|
+
thematic_break_padding: 0
|
100
100
|
toc_indent: 15
|
101
101
|
toc_line_height: 1.4
|
102
102
|
footnotes_font_size: 9
|
@@ -3,7 +3,7 @@ base_border_color: BBBBBB
|
|
3
3
|
base_font_color: 000000
|
4
4
|
role_subtitle_font_color: 666666
|
5
5
|
link_font_color: ~
|
6
|
-
|
6
|
+
codespan_font_color: ~
|
7
7
|
mark_background_color: CCCCCC
|
8
8
|
menu_caret_content: " <font size=\"1.15em\">\u203a</font> "
|
9
9
|
heading_font_color: $base_font_color
|
@@ -11,10 +11,10 @@ title_page_title_font_color: $role_subtitle_font_color
|
|
11
11
|
abstract_font_color: 2C2C2C
|
12
12
|
abstract_title_font_color: $heading_font_color
|
13
13
|
admonition_column_rule_color: $base_border_color
|
14
|
-
|
15
|
-
|
14
|
+
quote_border_color: $base_border_color
|
15
|
+
quote_cite_font_color: $role_subtitle_font_color
|
16
16
|
verse_border_color: $base_border_color
|
17
|
-
verse_cite_font_color: $
|
17
|
+
verse_cite_font_color: $quote_cite_font_color
|
18
18
|
code_font_color: $base_font_color
|
19
19
|
conum_font_color: $base_font_color
|
20
20
|
example_border_color: $base_border_color
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
- default-with-fallback-font
|
1
|
+
# DEPRECATED
|
2
|
+
extends: default-for-print-with-font-fallbacks
|
@@ -226,8 +226,7 @@ thematic_break:
|
|
226
226
|
border_color: $base_border_color
|
227
227
|
border_style: solid
|
228
228
|
border_width: $base_border_width
|
229
|
-
|
230
|
-
margin_bottom: $vertical_rhythm * 1.5
|
229
|
+
padding: [$vertical_rhythm * 0.5, 0]
|
231
230
|
list:
|
232
231
|
indent: $horizontal_rhythm * 1.5
|
233
232
|
#marker_font_color: 404040
|
@@ -262,6 +261,8 @@ toc:
|
|
262
261
|
footnotes:
|
263
262
|
font_size: round($base_font_size * 0.75)
|
264
263
|
item_spacing: $list_item_spacing / 2
|
264
|
+
index:
|
265
|
+
column_gap: $vertical_rhythm
|
265
266
|
header:
|
266
267
|
font_size: $base_font_size_small
|
267
268
|
line_height: 1
|
@@ -1,9 +1,2 @@
|
|
1
|
-
|
2
|
-
font
|
3
|
-
catalog:
|
4
|
-
merge: true
|
5
|
-
# M+ 1p supports Latin, Latin-1 Supplement, Latin Extended, Greek, Cyrillic, Vietnamese, Japanese & an assortment of symbols
|
6
|
-
# It also provides arrows for ->, <-, => and <= replacements in case these glyphs are missing from font
|
7
|
-
M+ 1p Fallback: GEM_FONTS_DIR/mplus1p-regular-fallback.ttf
|
8
|
-
Noto Emoji: GEM_FONTS_DIR/notoemoji-subset.ttf
|
9
|
-
fallbacks: [M+ 1p Fallback, Noto Emoji]
|
1
|
+
# DEPRECATED
|
2
|
+
extends: default-with-font-fallbacks
|
@@ -0,0 +1,9 @@
|
|
1
|
+
extends: default
|
2
|
+
font:
|
3
|
+
catalog:
|
4
|
+
merge: true
|
5
|
+
# M+ 1p supports Latin, Latin-1 Supplement, Latin Extended, Greek, Cyrillic, Vietnamese, Japanese & an assortment of symbols
|
6
|
+
# It also provides arrows for ->, <-, => and <= replacements in case these glyphs are missing from font
|
7
|
+
M+ 1p Fallback: GEM_FONTS_DIR/mplus1p-regular-fallback.ttf
|
8
|
+
Noto Emoji: GEM_FONTS_DIR/notoemoji-subset.ttf
|
9
|
+
fallbacks: [M+ 1p Fallback, Noto Emoji]
|