asciidoctor-pdf 1.5.0.alpha.6 → 1.5.0.alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +62 -42
- data/bin/asciidoctor-pdf +3 -2
- data/data/fonts/{LICENSE-noto-fonts-2014-01-30 → LICENSE-noto-fonts-2014-11-17} +0 -0
- data/data/fonts/mplus1mn-bold-ascii.ttf +0 -0
- data/data/fonts/mplus1mn-bolditalic-ascii.ttf +0 -0
- data/data/fonts/mplus1mn-italic-ascii.ttf +0 -0
- data/data/fonts/mplus1mn-regular-ascii-conums.ttf +0 -0
- data/data/fonts/notoserif-bold-latin.ttf +0 -0
- data/data/fonts/notoserif-bolditalic-latin.ttf +0 -0
- data/data/fonts/notoserif-italic-latin.ttf +0 -0
- data/data/fonts/notoserif-regular-latin.ttf +0 -0
- data/data/themes/default-theme.yml +95 -43
- data/docs/theming-guide.adoc +1344 -0
- data/lib/asciidoctor-pdf/asciidoctor_ext.rb +2 -0
- data/lib/asciidoctor-pdf/asciidoctor_ext/list.rb +9 -0
- data/lib/asciidoctor-pdf/asciidoctor_ext/list_item.rb +16 -0
- data/lib/asciidoctor-pdf/converter.rb +982 -294
- data/lib/asciidoctor-pdf/core_ext/array.rb +1 -1
- data/lib/asciidoctor-pdf/core_ext/ostruct.rb +2 -2
- data/lib/asciidoctor-pdf/pdf_core_ext.rb +2 -0
- data/lib/asciidoctor-pdf/pdf_core_ext/pdf_object.rb +25 -0
- data/lib/asciidoctor-pdf/pdfmarks.rb +9 -5
- data/lib/asciidoctor-pdf/prawn_ext.rb +1 -0
- data/lib/asciidoctor-pdf/prawn_ext/coderay_encoder.rb +8 -8
- data/lib/asciidoctor-pdf/prawn_ext/extensions.rb +56 -14
- data/lib/asciidoctor-pdf/prawn_ext/formatted_text/transform.rb +52 -10
- data/lib/asciidoctor-pdf/prawn_ext/images.rb +22 -0
- data/lib/asciidoctor-pdf/sanitizer.rb +37 -0
- data/lib/asciidoctor-pdf/theme_loader.rb +130 -30
- data/lib/asciidoctor-pdf/version.rb +1 -1
- metadata +41 -23
- data/data/fonts/LICENSE-liberation-fonts-2.00.1 +0 -102
- data/data/fonts/liberationmono-bold-latin.ttf +0 -0
- data/data/fonts/liberationmono-bolditalic-latin.ttf +0 -0
- data/data/fonts/liberationmono-italic-latin.ttf +0 -0
- data/data/fonts/liberationmono-regular-latin.ttf +0 -0
- data/data/fonts/mplus1p-bold-latin.ttf +0 -0
- data/data/fonts/mplus1p-light-latin.ttf +0 -0
- data/data/fonts/mplus1p-regular-latin.ttf +0 -0
- data/data/themes/asciidoctor-theme.yml +0 -174
- data/examples/chronicles.adoc +0 -429
- data/examples/chronicles.pdf +0 -0
- data/examples/edge-cases.adoc +0 -60
- data/examples/example-pdf-screenshot.png +0 -0
- data/examples/example.adoc +0 -27
- data/examples/example.pdf +0 -0
- data/examples/sample-title-logo.jpg +0 -0
- data/examples/wolpertinger.jpg +0 -0
data/examples/chronicles.pdf
DELETED
Binary file
|
data/examples/edge-cases.adoc
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
= Edge Cases
|
2
|
-
:doctype: book
|
3
|
-
|
4
|
-
== Long code listing
|
5
|
-
|
6
|
-
Here's a long listing block that spans multiple pages.
|
7
|
-
|
8
|
-
.Long listing
|
9
|
-
----
|
10
|
-
Line 1
|
11
|
-
Line 2
|
12
|
-
Line 3
|
13
|
-
Line 4
|
14
|
-
Line 5
|
15
|
-
Line 6
|
16
|
-
Line 7
|
17
|
-
Line 8
|
18
|
-
Line 9
|
19
|
-
Line 10
|
20
|
-
Line 11
|
21
|
-
Line 12
|
22
|
-
Line 13
|
23
|
-
Line 14
|
24
|
-
Line 15
|
25
|
-
Line 16
|
26
|
-
Line 17
|
27
|
-
Line 18
|
28
|
-
Line 19
|
29
|
-
Line 20
|
30
|
-
Line 21
|
31
|
-
Line 22
|
32
|
-
Line 23
|
33
|
-
Line 24
|
34
|
-
Line 25
|
35
|
-
Line 26
|
36
|
-
Line 27
|
37
|
-
Line 28
|
38
|
-
Line 29
|
39
|
-
Line 30
|
40
|
-
Line 31
|
41
|
-
Line 32
|
42
|
-
Line 33
|
43
|
-
Line 34
|
44
|
-
Line 35
|
45
|
-
Line 36
|
46
|
-
Line 37
|
47
|
-
Line 38
|
48
|
-
Line 39
|
49
|
-
Line 40
|
50
|
-
Line 41
|
51
|
-
Line 42
|
52
|
-
Line 43
|
53
|
-
Line 44
|
54
|
-
Line 45
|
55
|
-
Line 46
|
56
|
-
Line 47
|
57
|
-
Line 48
|
58
|
-
Line 49
|
59
|
-
Line 50
|
60
|
-
----
|
Binary file
|
data/examples/example.adoc
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
= Document Title
|
2
|
-
Doc Writer <doc@example.com>
|
3
|
-
:doctype: book
|
4
|
-
:source-highlighter: coderay
|
5
|
-
:listing-caption: Listing
|
6
|
-
|
7
|
-
A simple http://asciidoc.org[AsciiDoc] document.
|
8
|
-
|
9
|
-
== Introduction
|
10
|
-
|
11
|
-
A paragraph followed by a simple list with square bullets.
|
12
|
-
|
13
|
-
[square]
|
14
|
-
* item 1
|
15
|
-
* item 2
|
16
|
-
|
17
|
-
Here's how you say "`Hello, World!`" in Prawn:
|
18
|
-
|
19
|
-
.Create a basic PDF document using Prawn
|
20
|
-
[source,ruby]
|
21
|
-
----
|
22
|
-
require 'prawn'
|
23
|
-
|
24
|
-
Prawn::Document.generate 'example.pdf' do
|
25
|
-
text 'Hello, World!'
|
26
|
-
end
|
27
|
-
----
|
data/examples/example.pdf
DELETED
Binary file
|
Binary file
|
data/examples/wolpertinger.jpg
DELETED
Binary file
|