<ddfreyne>
guardian: asciidoc translates kinda nicely into docbook, whichi is a nice format to write documentation in
<ddfreyne>
(Been plyaing around with that as well)
<guardian>
ok
<guardian>
let's say I want a nanoc site to generate both html and pdf, how would I do it?
<guardian>
would it be nanoc -> html -> pdf (as postprocess)?
<ddfreyne>
guardian: You can have HTML with a print CSS stylesheet and use wkhtmltopdf/prince/..., convert to latex and then to pdf, or use xslt-fo and then translate to pdf
<ddfreyne>
guardian: Does not need to be postprocess
<ddfreyne>
You can have a binary->text filter in nanoc that outputs PDFs
<guardian>
and your nanoc.pdf file? it's asciidoc -- nanoc --> docbook --> pdf?
<ddfreyne>
guardian: I am not using nanoc for that atm, and I am using a bunch of different workflows to see which one works best
<ddfreyne>
The one that is currently online is made using asciidoc+dblatex
<ddfreyne>
Or wait, asciidoc+pandoc I think
<ddfreyne>
asciidoc -> docbook (using asciidoc), then docbook -> tex -> pdf (using pandoc + pdflatex)
<guardian>
ok
<guardian>
looks a tad tedious :)
<ddfreyne>
It is :(
<ddfreyne>
make test
<ddfreyne>
Nope. :D
alerante has joined #nanoc
alerante has quit [Ping timeout: 246 seconds]
VitamineD has joined #nanoc
VitamineD has quit [Ping timeout: 246 seconds]
VitamineD has joined #nanoc
VitamineD has quit [Ping timeout: 252 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bobthecow>
you don't have to do anything to register the filter, right? just using bundler's auto-require is sufficient since you have the nanoc-asciidoctor.rb file in lib?
<ddfreyne>
bobthecow: Not everyone necessarily uses Bundler though
<bobthecow>
true.
<bobthecow>
so they can require it themselves :)
<bobthecow>
also, they should.
<bobthecow>
this is nanoc 4.x for crying out loud.
<bobthecow>
let's embrace 2008 and actually start using bundler.
smkelly has quit [*.net *.split]
francois2 has quit [*.net *.split]
Jutah has quit [*.net *.split]
TobiasFar has quit [*.net *.split]
Jutah_ is now known as Jutah
<ddfreyne>
bobthecow: Working on the nanoc-external repo now
<ddfreyne>
It needs a bit of changes, so I'll send lifepillar a PR and ask him to transfer it to nanoc once he's done