On 10/28/2023 2:25 PM, Henning Hraban Ramm wrote:
Am 28.10.23 um 14:17 schrieb Mia Bikey:
Hi, I was using mono font as my default font but it appears to have issues with right side inline images.
Here is a Minimal Working Example:
ConTeXt ver: 2023.09.26 18:19 LMTX
\setupbodyfont[mono]
\starttext
Image on the right side gets issues. \placefigure[right]{}{\externalfigure[dummy]} \input tufte \\
Image on the left side is fine. \placefigure[left]{}{\externalfigure[dummy]} \input tufte
\stoptext
I fear there’s something generally wrong with mono font calculations, also affecting line breaking, since I get overfull hboxes with code examples all the time. mono runs way to wide for decent linebreaks so use
\setupalign[verytolerant,stretch] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------