Download AsciiDoc User Guide

Transcript
AsciiDoc User Guide
Tables .........................................................................................................................................68
Filters .................................................................................................................................................69
Filter Search Paths .....................................................................................................................69
Filter Configuration Files ...........................................................................................................69
Code Filter .................................................................................................................................70
Source Code Highlighter Filter ..................................................................................................70
Music Filter ................................................................................................................................70
Converting DocBook to other file formats ........................................................................................71
a2x Toolchain Wrapper ..............................................................................................................72
Toolchain Components ..............................................................................................................72
AsciiDoc DocBook XSL Drivers ...............................................................................................73
FOP ............................................................................................................................................74
Generating Plain Text Files ...............................................................................................................74
XML and Character Sets ....................................................................................................................74
PDF Fonts ..................................................................................................................................75
Help Commands .................................................................................................................................75
Customizing Help ......................................................................................................................75
Tips and Tricks ..................................................................................................................................75
Know Your Editor ......................................................................................................................75
Vim Commands for Formatting AsciiDoc .................................................................................75
Troubleshooting .........................................................................................................................77
Gotchas ......................................................................................................................................77
Combining Separate Documents ................................................................................................78
Processing Document Sections Separately ................................................................................79
Processing Document Chunks ...................................................................................................79
Badges in HTML Page Footers ..................................................................................................80
Pretty Printing AsciiDoc Output ................................................................................................80
Supporting Minor DocBook DTD Variations ............................................................................80
Shipping Stand-alone AsciiDoc Source .....................................................................................80
Inserting Blank Space ................................................................................................................81
Closing Open Sections ...............................................................................................................81
Validating Output Files ..............................................................................................................81
Glossary .............................................................................................................................................81
A. Migration Notes ............................................................................................................................82
Version 7 to version 8 ................................................................................................................82
Version 6 to version 7 ................................................................................................................82
B. Packager Notes ..............................................................................................................................83
C. AsciiDoc Safe Mode .....................................................................................................................84
D. Installing FOP on Windows ..........................................................................................................84
E. Installing FOP on Linux ................................................................................................................85
F. Installing Java on Windows ...........................................................................................................86
G. Installing Java on Linux ................................................................................................................86
H. Using AsciiDoc with non-English Languages ..............................................................................86
I. ASCIIMathML Support ..................................................................................................................87
J. Vim Syntax Highlighter .................................................................................................................88
Limitations .................................................................................................................................88
AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages.
AsciiDoc files can be translated to HTML and DocBook markups using the asciidoc(1) command.
AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the backend output markups
(which can be almost any type of SGML/XML markup) can be customized and extended by the user.
3