Skip to content

Vagrant box and shell script for all things Asciidoc/Asciidoctor

License

Notifications You must be signed in to change notification settings

no-simpler/adoc-foundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adoc Foundry: Vagrant box and shell script for all things Asciidoc/Asciidoctor

This setup aims to create a truly cross-platform hassle-free way to transform Asciidoc/Asciidoctor files of any complexity to quality HTML/PDF.

Under the hood it pulls a Vagrant box with Fedora Linux, installs Asciidoctor (and its many sibling projects), Phantomjs, and Prince, along with all the necessary dependencies.

It works as such:

$ vagrant up

…

$ vagrant ssh

…

[vagrant@localhost vagrant]$ ./af.sh

… and all *.adoc files in /src directory become *.html files in /out directory.

Want a PDF? Use -p option. This will activate asciidoctor-pdf.

Want a PDF with CSS styling and complex LaTeX math? Use -P option. This will activate phantomjs and prince post-processing.

Releases

No releases published

Packages

No packages published