-
-
Notifications
You must be signed in to change notification settings - Fork 98
Description
What version of Racket are you using?
8.15
What program did you run?
scribble/manual render to pdf
example showing continuation-mark-set->context running beyond edge of page in pdf viewer

page 226
https://download.racket-lang.org/releases/8.15/pdf-doc/guide.pdf
What should have happened?
I'd expect scribble to wrap keep margin notes within gutter by wrapping @racket[continuation-mark-set->context] on hyphens like exn-message in @interaction block on the same page.(see full page capture below).
Not a big issue as manual is intended to be used via browser, but may be frustrating for e-reader users who use PDF. (I was trying to publish print copy via amazon with permission of author)
continuation-mark-set->context
Line 124
@margin-note{The @racket[continuation-mark-set->context] procedure provides best-effort structured backtrace information.}
Please include any other relevant details
Interaction block
@interaction[
(with-handlers ([exn:fail?
(lambda (v)
((error-display-handler) (exn-message v) v))])
(car 17))
]'Gutter' guidance from amazon kindle direct publishing:
Insufficient gutter. Books with 407 pages require at least 0.625" (15.875mm) for the gutter (inside margin) and at least 0.25" (6.35mm) for the outside, top and bottom margins.
