[NTG-context] missing pagebreak using vim-module for typing

Xenia yoraxe at googlemail.com
Tue May 1 18:14:42 CEST 2012


On 01.05.2012 13:02, Wolfgang Schuster wrote:
> 
> 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.

Thanks, that works, but now the linewrapping does not work correctly
(after the frame) and the line numbering starts in line 2.
I am attaching all files.

Thank you.

Xenia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linewrap.log
Type: text/x-log
Size: 19821 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120501/6b3331d2/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linewrap.pdf
Type: application/x-pdf
Size: 8359 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120501/6b3331d2/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linewrap.tex
Type: application/x-tex
Size: 547 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120501/6b3331d2/attachment-0001.tex>


More information about the ntg-context mailing list