On Tue, 1 May 2012, Aditya Mahajan wrote: > On Tue, 1 May 2012, Xenia wrote: > >>> Use \definetextbackground for the frame, framedtext’s are unbreakable >>> boxes. >> >> Thanks, that works, but now the linewrapping does not work correctly >> (after the frame) > > The bad linebreaks also happen if you remove the background. I'll look into > it (in any case, hypenation should be disabled, so there is a bug somewhere). Add: \startsetups linebreak \language\minusone %disable hypenation \raggedright %avoid overflow lines \stopsetups \unprotect \setupsyntaxhighlighting [setups={syntaxhighlighting@setup,linebreak}] \protect I'll add these to the main module and release a new version. Aditya