Omikhleia / resilient.sile

Advanced book classes and packages for the SILE typesetting system
MIT License
21 stars 4 forks source link

Styling for code and verbatim #56

Closed Omikhleia closed 11 months ago

Omikhleia commented 11 months ago

See discussion https://github.com/Omikhleia/resilient.sile/discussions/55

As noted there, overriding \code is easy. The verbatim environment is less obvious due to the way it uses its hook -- but looking at the original implementation, it does not make sense to me (a null baselineskip, really? Etc.) so I am implementing a full resilient-replacement for it.

Omikhleia commented 11 months ago

See also https://github.com/Omikhleia/markdown.sile/pull/98 for related changes in markdown.sil to ensure proper wrapping of styles.