Re: [pollen] A few questions about pollen capabilities

2019-05-27 Thread Matthew Butterick
> On May 27, 2019, at 5:24 PM, Joel McCracken wrote: > > The point is I was hoping to avoid having to rebuild the entire links table > every time I process another file. Here's a perhaps simpler way to do it that you could customize further. The Pollen sources define metas for each target

Re: [pollen] Citation system update

2019-05-27 Thread Matthew Butterick
Looks cool! You should turn this into an installable Racket package with docs & tests, perhaps? I'm sure others would benefit from your suffering. > On May 27, 2019, at 12:06 PM, sanc...@gmail.com wrote: > > Joel and I each shared our approaches to footnotes a while back >

Re: [pollen] A few questions about pollen capabilities

2019-05-27 Thread Matthew Butterick
> On May 27, 2019, at 3:20 PM, Joel McCracken wrote: > > I suppose I might be able to do that, but I don't think it will solve my > overall problem. `pollen.rkt` gets loaded/computed repeatedly, once per page, > so it would lose context between pages. I would then have to re-compute it, >

Re: [pollen] A few questions about pollen capabilities

2019-05-27 Thread Joel Dueck
Why not just construct the links "blind"? For example (require net/uri-codec) (define (section name . elements) `(h2 [[id ,(uri-encode name)]] ,@elements)) (define (xref-link file id . elements) `(a [[href ,(format "~a.html#~a" file id)]] ,@elements)) (The uri-encode is

[pollen] Citation system update

2019-05-27 Thread sanchom
Joel and I each shared our approaches to footnotes a while back (https://groups.google.com/d/msg/pollenpub/laWL4SWx0Zc/bNGZyKpABQAJ) I now have a more complete citation system running in my Pollen setup: - https://sanchom.github.io/automating-citations.html -