ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Xenia <yoraxe@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: missing pagebreak using vim-module for typing
Date: Tue, 01 May 2012 12:24:28 +0200	[thread overview]
Message-ID: <4F9FB9DC.3020309@googlemail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1205010241370.15520@ybpnyubfg.ybpnyqbznva>

[-- Attachment #1: Type: text/plain, Size: 557 bytes --]

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.

Thanks,

Xenia

[-- Attachment #2: code.log --]
[-- Type: text/x-log, Size: 15854 bytes --]

(code.tex

ConTeXt  ver: 2012.04.19 23:18 MKIV  fmt: 2012.4.22  int: english/english

system          > cont-new.mkiv loaded
(/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > code.top loaded

system          > options > start used options

used options    > % runtime options files (command line driven)
used options    > \unprotect
used options    > % feedback and basic job control
used options    > % handy for special styles
used options    > \startluacode
used options    > document = document or { }
used options    > document.arguments={
used options    > }
used options    > document.files={
used options    >  "code",
used options    > }
used options    > \stopluacode
used options    > % process info
used options    > \setupsystem[inputfile=code]
used options    > \setupsystem[\c!n=2,\c!m=2]
used options    > % modes
used options    > % options (not that important)
used options    > \startsetups *runtime:options
used options    > \stopsetups
used options    > % styles and modules
used options    > \startsetups *runtime:modules
used options    > \stopsetups
used options    > % done
used options    > \protect \endinput

system          > options > stop used options

(code.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
resolvers       > modules > loaded: 'vim'
(../../home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex
loading         > Vim syntax highlighting (ver: 2012.04.18)
resolvers       > modules > loaded: 'filter'
(../../home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv
loading         > Filter (ver: 2012.04.18)
resolvers       > modules > loaded: 'module-catcodes'
(../../home/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex
loading         > Module Catcodes (ver: 2011.12.17)
))
resolvers       > modules > loaded: 'syntax-highlight'
(../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-highlight.mkiv
loading         > Code syntax highlighting (ver: 2012.04.18)
resolvers       > modules > loaded: 'syntax-groups'
(../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-groups.tex
loading         > Syntax highlighting groups (ver: 2012.01.03)
resolvers       > modules > already loaded: 'module-catcodes'
)
resolvers       > modules > already loaded: 'filter'
)){/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
fonts           > typescripts > unknown: library 'loc'
{/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
(code-temp-MATLAB-0.vimout)
backend         > xmp > using file '/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
 )</home/context/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf></home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>

system          > files > start used files

used files      >    1: filename=code | filetype=tex | foundname=code.tex | usedmethod=filesystem
used files      >    2: filename=cont-new.mkiv | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database
used files      >    3: filename=code.top | foundname=code.top | usedmethod=direct
used files      >    4: filename=lang-us.lua | filetype=lua | foundname=/home/context/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=database
used files      >    5: filename=t-vim.tex | filetype=tex | foundname=/home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex | usedmethod=database
used files      >    6: filename=../../home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex | foundname=../../home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex | usedmethod=direct
used files      >    7: filename=t-filter.mkiv | filetype=tex | foundname=/home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv | usedmethod=database
used files      >    8: filename=../../home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv | foundname=../../home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv | usedmethod=direct
used files      >    9: filename=t-module-catcodes.tex | filetype=tex | foundname=/home/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex | usedmethod=database
used files      >   10: filename=../../home/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex | foundname=../../home/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex | usedmethod=direct
used files      >   11: filename=t-syntax-highlight.mkiv | filetype=tex | foundname=/home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-highlight.mkiv | usedmethod=database
used files      >   12: filename=../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-highlight.mkiv | foundname=../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-highlight.mkiv | usedmethod=direct
used files      >   13: filename=t-syntax-groups.tex | filetype=tex | foundname=/home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-groups.tex | usedmethod=database
used files      >   14: filename=../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-groups.tex | foundname=../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-groups.tex | usedmethod=direct
used files      >   15: filename=mkiv-base.map | filetype=map | format=map | foundname=/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map | usedmethod=database
used files      >   16: filename=lm.lfg | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/fonts/lm.lfg | usedmethod=database
used files      >   17: filename=lm-math.lfg | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/fonts/lm-math.lfg | usedmethod=database
used files      >   18: filename=lm-math.map | filetype=map | format=map | foundname=/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map | usedmethod=database
used files      >   19: filename=lm-rm.map | filetype=map | format=map | foundname=/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map | usedmethod=database
used files      >   20: filename=lmroman12-regular | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=database
used files      >   21: filename=lmroman7-regular.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman7-regular.otf | usedmethod=database
used files      >   22: filename=rm-lmr7.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/rm-lmr7.tfm | usedmethod=database
used files      >   23: filename=lmmi7.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/lmmi7.tfm | usedmethod=database
used files      >   24: filename=lmsy7.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/lmsy7.tfm | usedmethod=database
used files      >   25: filename=lmex10.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/lmex10.tfm | usedmethod=database
used files      >   26: filename=msam7.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/amsfonts/symbols/msam7.tfm | usedmethod=database
used files      >   27: filename=msbm7.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/amsfonts/symbols/msbm7.tfm | usedmethod=database
used files      >   28: filename=stmary10.afm | filetype=afm | format=afm | foundname=/home/context/tex/texmf/fonts/afm/public/stmaryrd/stmary10.afm | usedmethod=database
used files      >   29: filename=stmary10.pfb | filetype=pfb | format=pfb | foundname=/home/context/tex/texmf/fonts/type1/public/stmaryrd/stmary10.pfb | usedmethod=database
used files      >   30: filename=lmroman7-bold.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman7-bold.otf | usedmethod=database
used files      >   31: filename=lmmib7.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/lmmib7.tfm | usedmethod=database
used files      >   32: filename=lmsans8-regular.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmsans8-regular.otf | usedmethod=database
used files      >   33: filename=lmmono8-regular.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf | usedmethod=database
used files      >   34: filename=eufm7.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/amsfonts/euler/eufm7.tfm | usedmethod=database
used files      >   35: filename=eufb7.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/amsfonts/euler/eufb7.tfm | usedmethod=database
used files      >   36: filename=lmroman9-regular.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman9-regular.otf | usedmethod=database
used files      >   37: filename=rm-lmr9.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/rm-lmr9.tfm | usedmethod=database
used files      >   38: filename=lmmi9.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/lmmi9.tfm | usedmethod=database
used files      >   39: filename=lmsy9.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/lmsy9.tfm | usedmethod=database
used files      >   40: filename=msam10.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/amsfonts/symbols/msam10.tfm | usedmethod=database
used files      >   41: filename=msbm10.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/amsfonts/symbols/msbm10.tfm | usedmethod=database
used files      >   42: filename=lmroman9-bold.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman9-bold.otf | usedmethod=database
used files      >   43: filename=lmmib10.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/lmmib10.tfm | usedmethod=database
used files      >   44: filename=lmsans9-regular.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmsans9-regular.otf | usedmethod=database
used files      >   45: filename=lmmono9-regular.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmmono9-regular.otf | usedmethod=database
used files      >   46: filename=eufm10.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/amsfonts/euler/eufm10.tfm | usedmethod=database
used files      >   47: filename=eufb10.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/amsfonts/euler/eufb10.tfm | usedmethod=database
used files      >   48: filename=lmroman12-regular.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=database
used files      >   49: filename=rm-lmr12.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/rm-lmr12.tfm | usedmethod=database
used files      >   50: filename=lmmi12.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/lmmi12.tfm | usedmethod=database
used files      >   51: filename=lmsy10.tfm | filetype=tfm | format=tfm | foundname=/home/context/tex/texmf/fonts/tfm/public/lm/lmsy10.tfm | usedmethod=database
used files      >   52: filename=lmroman12-bold.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf | usedmethod=database
used files      >   53: filename=lmsans12-regular.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmsans12-regular.otf | usedmethod=database
used files      >   54: filename=lmmono12-regular.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf | usedmethod=database
used files      >   55: filename=code-temp-MATLAB-0.vimout | foundname=code-temp-MATLAB-0.vimout | usedmethod=direct
used files      >   56: filename=lmmono12-regular | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf | usedmethod=database
used files      >   57: filename=lpdf-pdx.xml | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml | usedmethod=database

system          > files > stop used files


system          > structure > start used structure

used structure  > text: code

system          > structure > stop used structure


mkiv lua stats  > used config file          - selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - readable: '/home/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606' (order 1)
mkiv lua stats  > used cache path           - readable: '/home/maja/luatex-cache/context/2448223e6631addb83df348d74153606' (order 2)
mkiv lua stats  > used cache path           - writable: '/home/maja/luatex-cache/context/2448223e6631addb83df348d74153606'
mkiv lua stats  > resource resolver         - loadtime 0.009 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 57 found files, scanned paths: 
mkiv lua stats  > stored bytecode data      - 303 modules, 65 tables, 368 chunks
mkiv lua stats  > cleaned up reserved nodes - 39 nodes, 9 lists of 436
mkiv lua stats  > node memory usage         - 5 glue, 3 penalty, 20 attribute, 30 glue_spec, 6 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 5 instances (re)created, 534 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded tex modules        - 5 requested, 5 found (*-filter *-module-catcodes *-syntax-groups *-syntax-highlight *-vim), 0 missing
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > jobdata time              - 0.001 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks                 - 740 direct, 2036 indirect, 2776 total
mkiv lua stats  > randomizer                - resumed with value 0.86200729983952
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats  > result saved in file      - code.pdf
mkiv lua stats  > loaded fonts              - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats  > fonts load time           - 0.298 seconds 
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.70.1-2011051918 (rev 4277)
mkiv lua stats  > control sequences         - 34114 of 65536 + 100000
mkiv lua stats  > current memory usage      - 45 MB (ctx: 46 MB)
mkiv lua stats  > runtime                   - 0.893 seconds, 1 processed pages, 1 shipped pages, 1.120 pages/second


[-- Attachment #3: code.pdf --]
[-- Type: application/x-pdf, Size: 7119 bytes --]

[-- Attachment #4: code.tex --]
[-- Type: application/x-tex, Size: 866 bytes --]

[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2012-05-01 10:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-01  6:02 Xenia
2012-05-01  6:50 ` Aditya Mahajan
2012-05-01 10:24   ` Xenia [this message]
2012-05-01 11:02     ` Wolfgang Schuster
2012-05-01 16:14       ` Xenia
2012-05-01 16:53         ` Aditya Mahajan
2012-05-01 17:35           ` Aditya Mahajan
2012-05-01 18:29             ` Hans Hagen
2012-05-01 18:46               ` Aditya Mahajan
2012-05-01 18:46             ` Wolfgang Schuster
2012-05-01 18:49               ` Aditya Mahajan
2012-05-06 18:30             ` Xenia
2012-05-06 22:30               ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F9FB9DC.3020309@googlemail.com \
    --to=yoraxe@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).