Joel Dueck

Results 117 comments of Joel Dueck

Perhaps the `x` attribute could accept a `from spine` directive, something like ```racket (q ((draw "text") (font-italic "true") (x "288 from spine") (width "72") (y "720") (line-align "center") (text "Page...

> My idea so far is to handle alternating pages by specifying a page-repeat attribute Yes, that seems much more straightforward. The specific example you gave, though, makes me squint...

> How should a `quadwriter/markdown` image be scaled and positioned, by default? Specifically for the markdown variant, for raster images as block-level elements, I would scale the image using the...

> PS What would a `pict->quad` function do? It would be good to be able to include `pict`s built with the `racket/draw` functions in the PDF output. even to be...

> the `pict->quad` could be as simple as this, where you render your `pict` object to `png` as a temp file, and then pass the path of this file as...

Image scaling could have a document-wide DPI value with a useful default, or specifiable by keyword argument Outside of `quadwriter/markdown`, perhaps there could be three ways to handle scaling besides...

Maybe allow us (Quadwriter users) to supply the raw PNG or PDF bytes to the Q-expression and we can convert the picts ourselves using [`convert`](https://docs.racket-lang.org/file/convertible.html)?

OK I see what you are getting at. Q-expressions elements can only be strings or other q-expressions. I think I have been confusing q-expressions with `quad`s. So I get why...

> You just want to put boxes at certain positions, with (possibly) line-wrapped type inside, or images? I'm envisioning how I would use quad/quadwriter in place of racket/draw under the...

> What kind of guarantees does LaTeX make about margin notes? This is a tricky question to answer. Most generally, LaTeX considers marginal paragraphs, figures, tables and footnotes (maybe other...