On Monday, August 8, 2016 at 10:40:41 AM UTC-5, Chris Forster wrote: > > > I've seen this discussion > <https://groups.google.com/forum/#!topic/pollenpub/TCineGx-N8E/discussion> > on organizing project files; I have a similar, though *I think* distinct > question. Is it (easily) feasible to put all files from a particular output > target in a subdirectory of the project root? This would clean up the > project root, but also help for some other purposes; for instance, I'm > trying to use Pollen to create partial LaTeX files, stow them in a > subdirectory, and then recombine them on demand (for, essentially, > customized anthologies). It would be nice to put all my latex partials in a > single subdirectory so that other code could reach in their and compile > them (based on user selection, say, from the web). > > I could accomplish this manually (I think), by doing raco pollen publish; > then, in the published directory making a bunch of subdirectories and > moving by file extension; but is there a way to do within Pollen? > >
I sort of do this within Pollen at the point when the file is rendered -- see this template file <https://github.com/otherjoel/thenotepad/blob/master/template.pdf.p> (towards the end). Here I'm mainly generating PDFs, but I'm saving the .ltx byproducts within a subdirectory. (In this project I don't have .ltx as an "official" separate target, just html and PDF). Along with that kind of technique, I think using a makefile would be the best way to get what you want (and is a very good way of building non-trivial Pollen projects in general). -- You received this message because you are subscribed to the Google Groups "Pollen" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
