ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* very strange error with \xypos and vim-typing
@ 2010-02-08 10:43 Peter Münster
  2010-02-08 19:59 ` Peter Münster
  2010-02-16  9:19 ` Peter Münster
  0 siblings, 2 replies; 9+ messages in thread
From: Peter Münster @ 2010-02-08 10:43 UTC (permalink / raw)
  To: ConTeXt list

Hello,

I get the following error:

! Missing number, treated as zero.
<to be read again> 
                   \dontleavehmode 
<argument> \dontleavehmode 
                           \normalspace 
\secondoftwoarguments #1#2->#2
                              
l.1 \the\dimexpr 
                 63.6383pt-0pt\relax
\MPy #1->\ctxlua {jobpositions.MPy("#1")}
                                         
\dopresetpositionanchors ...expr \MPy \textanchor 
                                                  +\MPh \textanchor
                                                  -\!!dime...
...
l.5 \s[]{bla;}


with this test-file:

\usemodule[vim]
\setupbodyfont[ss, 14pt]
\setuppapersize[S6][S6]
\definevimtyping[C][syntax=c]
\starttext
\startC
\stopC
\xypos{XXX}
\startC
bla;
bla;
bla;
\stopC
\startC
bla;
bla;
bla;
\stopC
\startC
bla;
bla;
bla;
bla;
\stopC
\startC
bla;
bla;
bla;
bla;
bla;
\stopC
\stoptext

t-vim.tex comes from
http://www.ntg.nl/pipermail/ntg-context/2009/042527.html


Strange, because whenever I remove a line of this test-file, the error
disappears.

Could someone help please?

TIA for any hints!
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-02-17  9:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-08 10:43 very strange error with \xypos and vim-typing Peter Münster
2010-02-08 19:59 ` Peter Münster
2010-02-16  9:19 ` Peter Münster
2010-02-16 10:06   ` Hans Hagen
2010-02-16 10:31     ` Peter Münster
2010-02-16 22:21       ` Aditya Mahajan
2010-02-16 22:50         ` Wolfgang Schuster
2010-02-16 22:54         ` Aditya Mahajan
2010-02-17  9:58           ` Hans Hagen

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).