fabio / asciidoctorj-pkg

AsccidoctorJ Package Distribution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AsciidoctorJ Package Distribution

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.

Requirements

The package distribution requires Java, version 8 is recommended.

Installation

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.

Windows
C:\>set PATH=%PATH%;C:\asciidoctorj\bin
C:\>asciidoctorj.bat
Linux or Mac OS X
$ export PATH=$PATH:~/j/asciidoctorj/bin
$ asciidoctorj.sh

Examples

Some AsciiDoc example documents are provided in the examples directory.

Convert document into HTML
C:>cd asciidoctorj\examples\article
C:>asciidocj.bat article.txt
Convert into HTML, with icons, numbering sections and table of contents
C:>asciidocj.bat -a icons=font -n -a toc article.txt
Convert into PDF, with icons, numbering and table of contents
C:>asciidocj.bat -a icons=font -n -a toc=right -b pdf article.txt

About

AsccidoctorJ Package Distribution

License:Other


Languages

Language:Shell 44.0%Language:Java 35.6%Language:Batchfile 20.4%