Matthew Butterick

Results 190 comments of Matthew Butterick

> really struggled with actually finding the Typography module so I could edit it In DrRacket, right-click on a function and select “Open Defining File” > Is a similar approach...

> the parser is a part of the Pollen package Yes, in a sense. The Markdown parser is a [separate package](https://github.com/greghendershott/markdown) that is imported by Pollen. > That sounds like...

> So, how do I write a template.tg.p, that renders my document in > exactly the same manner as my cv2.txt above: Pollen’s default template is called `fallback.txt` and you...

I don’t remember what specifically changed in 6.2. But yes, judging from that comment it’s safe to amend that file just to import the necessary function from Racket.

I was able to cut a lot of code out of `pollen/mode` (see https://github.com/mbutterick/pollen/commit/9a838418e7c42cc90f1dd9e3e857faf2efb3d8bf). Maybe it can be cut down farther. But the pieces remaining seem necessary because the `at-exp`...

Use `◊(br)`: ``` #lang quadwriter/html This should be the first line. ◊(br) This should be the second line. ``` Separately, I agree that `quadwriter/markup` is a misleading name, since “markup”...

> Can brag be extended with some sort of feature for this? Can’t `brag` already do this? Define `expression` in terms of your subrules, and then splice the names of...

OK, I see what you mean. In that case — can’t `make-rename-transformer` be used (after the parse, within the expander) to convert uses of `expression.inline` and `expression.block` into `expression`? In...

This is one of the trickier formatting problems I’ve come across in working on Quadwriter. Quadwriter doesn’t have a concept of “right-aligned tab stop”, which is how you would handle...

More precisely:`space-after` should be the negative of `line-height`. Here is the relevant fragment of my markup, which should give you enough to go on: ``` (define line-ht "1.3em") `(q (q...