File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 <configuration >
3636 <sourceDirectory >src/docs/asciidoc</sourceDirectory >
3737 <outputDirectory >target/docs/asciidoc</outputDirectory >
38+ <attributes >
39+ <pdf-stylesdir >${project.basedir} /src/themes</pdf-stylesdir >
40+ <pdf-style >custom</pdf-style >
41+ </attributes >
3842 <backend >pdf</backend >
43+ <doctype >book</doctype >
3944 </configuration >
4045 </plugin >
4146 </plugins >
Original file line number Diff line number Diff line change 1- == Introduction Section
1+ :icons: font
22
3- Hi. I'm a simple test to see if this Maven build is working. If you see me in a nice PDF, then it means everything is [red]#working# .
3+
4+ = Generating book with AsciiDoctorj
5+ Baeldung
6+
7+ [abstract]
8+ This is the actual content.
9+
10+ == First Section
11+
12+ This is first section of the book where you can include some nice icons like icon:comment[].
13+ You can also create http://www.baeldung.com[links]
Original file line number Diff line number Diff line change 1+ title_page :
2+ align : left
3+
4+ page :
5+ layout : portrait
6+ margin : [0.75in, 1in, 0.75in, 1in]
7+ size : A4
8+ base :
9+ font_color : # 333333
10+ line_height_length : 17
11+ line_height : $base_line_height_length / $base_font_size
12+ link :
13+ font_color : # 009900
14+
15+ header :
16+ height : 0.5in
17+ line_height : 1
18+ recto_content :
19+ center : ' {document-title}'
20+ verso_content :
21+ center : ' {document-title}'
22+
23+ footer :
24+ height : 0.5in
25+ line_height : 1
26+ recto_content :
27+ right : ' {chapter-title} | *{page-number}*'
28+ verso_content :
29+ left : ' *{page-number}* | {chapter-title}'
You can’t perform that action at this time.
0 commit comments