ddfreyne changed the topic of #nanoc to: 3.6.11 (may 9th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
louquillio_ has quit [Remote host closed the connection]
jugglinmike has quit [Quit: Leaving.]
louquillio_ has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 252 seconds]
prxq has joined #nanoc
<guardian> o/
alerante has joined #nanoc
alerante has quit [Ping timeout: 276 seconds]
DarkOrb has quit [Ping timeout: 245 seconds]
<ddfreyne> hi!
prxq has quit [*.net *.split]
cDlm has quit [*.net *.split]
prxq has joined #nanoc
dkm has quit [Ping timeout: 240 seconds]
dkm has joined #nanoc
bobthecow has quit [Ping timeout: 240 seconds]
bobthecow has joined #nanoc
bobthecow has joined #nanoc
bobthecow has quit [Changing host]
dkm has quit [Ping timeout: 240 seconds]
dkm has joined #nanoc
DarkOrb has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
cDlm has joined #nanoc
alerante has joined #nanoc
jugglinmike has joined #nanoc
Cronecker has quit [Ping timeout: 264 seconds]
VitamineD has joined #nanoc
cDlm has quit [Ping timeout: 252 seconds]
VitamineD has quit [Ping timeout: 264 seconds]
Cronecker has joined #nanoc
Cronecker has quit [Quit: WeeChat 1.0-dev]
<ddfreyne> OK, the new SoundCloud office is pretty cool.
cDlm has joined #nanoc
<tom[]> ddfreyne: is it in the could?
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Changing host]
alerante has joined #nanoc
alerante_ has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
alerante_ has quit [Ping timeout: 252 seconds]
cDlm has quit [Ping timeout: 245 seconds]
cDlm has joined #nanoc
<guardian> o/
alerante has joined #nanoc
<guardian> is any of you compiling a whole nanoc site to pdf?
prxq has quit [Ping timeout: 245 seconds]
<mikey_p> what is the property of an @item that is returned by yielding to it?
<mikey_p> i.e. is there another way to access it's contents?
<mikey_p> or is there a way to access it's filtered contents?
<bobthecow> mikey_p: yes?
<bobthecow> @item.compiled_content
<bobthecow> if you want to get that pre-layout or post-layout or whatever, you can pass a `snapshot: ...` option
<mikey_p> that is giving me a weird recursive compilation error
<mikey_p> ahh, thanks
<mikey_p> that's probably what I'm missing
<bobthecow> recursive compilation error is just what it says on the tin.
<bobthecow> you're asking for the compiled content of something that requires the compiled content of the item you're currently trying to compile.
<mikey_p> yup, that's what I figured, just wasn't sure how to get it's content without the layout
<bobthecow> if you find yourself needing it at some other level (between filters or whatever) you can create your own snapshots while compiling as well.
<bobthecow> (search for "snapshot" on that second page)
<bobthecow> ddfreyne: that page could use a bit deeper ToC hierarchy. There aren't quite enough headings to link to :)
<mikey_p> that may help me with one of my other crazy requests...i'll have to see
<mikey_p> still trying to figure out best practices for working with nanoc, after fighting jekyll for so long
<bobthecow> feel free to ask questions. we're not always available immediately, but we'll answer eventually :P
<guardian> so, is any of you compiling a whole nanoc site to pdf?
<guardian> or how would you do this?
<guardian> rake task afterwards?
<cDlm> I'd use nanoc to generate TeX files and compile those
<bobthecow> i'd use nanoc to generate html files and phantomjs those.
<ddfreyne> guardian: I used nanoc to generate PDFs for work
<ddfreyne> guardian: docbook-to-pdf, or with Prawn (the latter was a bit of a dead end though)
<ddfreyne> guardian: I think that converting it to TeX and then to PDF would work
<ddfreyne> (so what cDlm said)