AsccidoctorJ Package Distribution. The aim of this package is to facilitate the usage of AsciiDoc document format on Windows systems. Since a native Windows installer is not available, the idea is to distribute an archive containing AsciidoctorJ JAR files and simple wrapper scripts to run the command line interface.
Unpack the archive in a direcotry and add the bin
directory unpacked to the
PATH environment variable. Then run the command asciidoctorj.bat
on
Windows, or asciidoctorj.sh
on Linux or Mac OS X.
C:\>set PATH=%PATH%;C:\asciidoctorj\bin C:\>asciidoctorj.bat
$ export PATH=$PATH:~/j/asciidoctorj/bin $ asciidoctorj.sh
Some AsciiDoc example documents are provided in the examples
directory.
C:>cd asciidoctorj\examples\article C:>asciidocj.bat article.txt
C:>asciidocj.bat -a icons=font -n -a toc article.txt
C:>asciidocj.bat -a icons=font -n -a toc=right -b pdf article.txt