[pollen] Re: How to create a tag whose content is modified before rendering?

2018-01-20 Thread clozach
Oops! Never mind. I was just missing a pair of parentheses around the `default-tag-function`. Solution (*pollen.rkt*) *#lang racket/base(require pollen/tag racket/string txexpr pollen/decode)(provide (all-defined-out))(define (title text) ((default-tag-function 'book-title)

[pollen] How to create a tag whose content is modified before rendering?

2018-01-20 Thread clozach
*How can I achieve the Desired Output as shown below?* I think I'm running into an issue with `define`. According to the docs, there are two forms of `define`, one which binds to the result of an expression, and the other to a procedure. It seems as if the 2nd, parameter-taking form is somehow

Re: [pollen] Re: Pollen project server does not invalidate compile cache when files required by pollen.rkt change. Any lighter option than turning off the compile caches?

2018-01-20 Thread Matthew Butterick
I've been persuaded this is a good idea & therefore implemented it. You can now track extra dependencies with the new setup value `compile-cache-watchlist`. On Friday, May 5, 2017 at 10:01:07 PM UTC-4, Matthew Butterick wrote: > > On May 5, 2017, at 6:48 PM, Shannon Severance >