Am 01.05.2012 um 12:24 schrieb Xenia: > On 01.05.2012 08:50, Aditya Mahajan wrote: >> On Tue, 1 May 2012, Xenia wrote: >> >>> Dear context folks, >>> >>> since Aditya recommended I am using the vim module for including >>> MATLAB-files in my TeX-files. But for longer code snippets there is no >>> pagebreak, so that the code is cuttet at the end of the page. What do I >>> have to do? >>> >>> current version: 2012.04.19 23:18 >> >> Can you post a minimal example? The attached simple test gives me page >> breaks. > > The reason seems so be the frame, that I prefer. I am attaching the files.
Use \definetextbackground for the frame, framedtext’s are unbreakable boxes. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________