On Jan 22, 2018, at 4:38 PM, Joel Dueck <dueck...@gmail.com> wrote:We’re getting heavy snow all day today here in Minneapolis, so I took the day off. I spent some of the down time writing up my approach for implementing footnotes in an upcoming project: https://thenotepad.org/posts/pollen-footnotes-approach.html
On Jan 24, 2018, at 7:38 PM, Joel Dueck <dueck...@gmail.com> wrote:I found that, conveniently, the #:txexpr-proc will match the ◊fn tags in the same order a left-to-right reader would encounter them in the text, regardless of nesting. If I had given it more thought, I might have figured out that Pollen does the same with the entire doc.
On Jan 24, 2018, at 8:30 PM, Matthew Butterick <m...@mbtype.com> wrote:FWIW this is the same as `(length (member name fn-names))` if you avoid putting duplicates in `fn-names` to begin with. `member` returns the tail of the list beginning with the matching item. So in this case, you'd get a list of the footnote refs from the target name to the beginning (because the list is being accumulated in reverse)
> (+ 1 (index-of (remove-duplicates (reverse fn-names)) name))
FWIW this is the same as `(length (member name fn-names))` if you avoid putting duplicates in `fn-names` to begin with. `member` returns the tail of the list beginning with the matching item. So in this case, [the tail would comprise a list of the footnote names from the target name to the first name collected (because the list is being accumulated in reverse). ]
I apologize if I exploded part of your blog post. Occasional unfortunate side effect of being a curious character. May we be united in the quest for knowledge ;)
We’re getting heavy snow all day today here in Minneapolis, so I took the day off. I spent some of the down time writing up my approach for implementing footnotes in an upcoming project: https://thenotepad.org/posts/pollen-footnotes-approach.htmlHopefully it can be of use to someone! If there’s anything I can correct or clear up, let me know.
--
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 pollenpub+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for writing your thoughts on foot/side notes! Great inspiration.Is there a way to make the notes look pretty even when you print the page?
I tried use "Print..." in Chrome, and it is hard to tell where the notes end.
/Jens Axel
2018-01-23 1:38 GMT+01:00 Joel Dueck <dueck...@gmail.com>:
We’re getting heavy snow all day today here in Minneapolis, so I took the day off. I spent some of the down time writing up my approach for implementing footnotes in an upcoming project: https://thenotepad.org/posts/pollen-footnotes-approach.htmlHopefully it can be of use to someone! If there’s anything I can correct or clear up, let me know.
--
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 pollenpub+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jens —
I assume you mean that when you go to https://thenotepad.org/posts/pollen-footnotes-approach.html and
print that page in your browser, the footnotes run in with the text, correct?
Two things to note:
1. The technique I discuss in that article is one that I'll be using on a different site—it is not the technique I actually use on that page.
(I wondered/worried if that would be confusing as I was writing it.)
1a. The footnotes on the page (the sidenote-style ones) don't print well via the browser, and that's actually another point against them that I didn't mention.
1b. The footnotes made with the technique discussed in the page should print just fine.