How to reset variable between pages
#73
Closed
opened 4 years ago by pmarinov
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I've updated my Ubuntu and Racket moved from v7.0 to v7.2, using
raco pkg
I installed Pollen for the new Racket which probably also moved it to a later versionSomething has changed because a feature for footnotes that used to work started to behave differently.
In
pollen.rkt
I have:Before, when it worked, the variable
footnotes
used to collect only entries from the current page that has been rendered, now it collects entries randomly between pages.What is the best way to reset the variable between pages?
The project:
https://github.com/pmarinov/bash-scripting-guide/blob/master/pollen.rkt
See #43 generally, and this message in particular. In short, Pollen now reuses namespaces during batch operations, so tag functions that assume a fresh namespace may need to be adjusted.
Thanks for the advise.