dbcb / asciidocToGo

Portable version of asciidoc including plugins (dot, latex, code highlighting)
Other
11 stars 1 forks source link

Add support for Asciidoctor #4

Open mojavelinux opened 9 years ago

mojavelinux commented 9 years ago

Add support for Asciidoctor as an alternative to the AsciiDoc Python implementation.

More information can be found at http://asciidoctor.org.

dbcb commented 9 years ago

i will not make a version with asciidoctor yet. this means switching to ruby and do all the work again. for me it is more construvtive to rewrite asciidoc in c++ and reduce dependencies as much as possible. asciidoc2 should also clean up some limitations that currently exists.

mojavelinux commented 9 years ago

I understand. Though, doesn't it just execute the asciidoc command under the covers? In that case, you would just need to change the call to asciidoctor instead of asciidoc. The rest of the toolchain should work as is.

dbcb commented 9 years ago

yes, but asciidoctogo comes with a complete pre installed environment. it's not just the gui. that's part of the philosophy. it runs out of the box. i like asciidocter. the output is more modern then asciidoc yet. it runs great under linux and can can be easy installed by apt-get and co. this isn't true under windows.

mojavelinux commented 9 years ago

Keep in mind you can also use the Asciidoctor stylesheet with Asciidoc Python to modernize the output.

https://github.com/asciidoctor/asciidoctor/blob/master/data/stylesheets/asciidoctor-default.css

this isn't true under windows.

There's a possibility of using Asciidoctor.js or AsciidoctorJ to avoid a Ruby installation.

To get the Ruby version is just a matter of installing Ruby (via the Ruby installer) and then gem install asciidoctor. But I understand that's one more thing to install (actually 2 more).

shpshp commented 9 years ago

Suggested pdf generating tool (miktex) isn't good enough at russian (cyrillic) fonts. Independent pdf (ok, ruby!) generator is highly requested!!!!

dbcb commented 9 years ago

Ok, guys. Thanks for the Information. I will take a deeper look to it.

sergeevabc commented 5 years ago

AsciiDoc is a step forward which is long overdue, yet lack of lightweight portable converters leaves it in the boondocks of history. What a shame, dear mankind. Even Pandoc has been going wobbly on this since 2014.