ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Pessotto <melmothx@gmail.com>
To: ntg-context@ntg.nl
Subject: \startstopcomment fails on latest beta
Date: Wed, 01 Feb 2012 19:31:19 +0100	[thread overview]
Message-ID: <878vkm8ky0.fsf@universe.krase.net> (raw)


Hello there.

See the following minimal example. Without the \setupinteraction the
document compiles just fine.

%% begin
\setupinteraction[state=start]

\starttext

hello

\startcomment

This won’t be published

\stopcomment

\stoptext
%% end

Best regards.


Error log:

mtx-context     | run 1: luatex --fmt="/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./min.tex" \stoptext
This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) 
 \write18 enabled.
(min.tex

ConTeXt  ver: 2012.01.25 14:16 MKIV  fmt: 2012.2.1  int: english/english

system          > cont-new.mkiv loaded
(/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > min.top loaded
(min.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
{/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
fonts           > typescripts > unknown: library 'loc'
{/media/data/melmoth/progetti/context-cutting-edge/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/media/data/melmoth/progetti/context-cutting-edge/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > fallback modern rm 12pt is loaded
check           > missing or ungrouped '=' after 'comment' in line 10 (182>comment:)
! LuaTeX error ...edge/tex/texmf-context/tex/context/base/scrn-wid.lua:120: incorrect index value -1 for tex.setbox()
stack traceback:
	[C]: ?
	...edge/tex/texmf-context/tex/context/base/scrn-wid.lua:120: in function 'insertcomment'
	<main ctx instance>:1: in main chunk.

system          > tex > error on line 13 in file min.tex: LuaTeX error  ...

 3     \setupinteraction[state=start]
 4     
 5     \starttext
 6     
 7     hello
 8     
 9     \startcomment
10     
11     This won’t be published
12     
13 >>  \stopcomment
14     
15     \stoptext
16     


\ctxcommand ...\directlua \zerocount {commands.#1}
                                                  
\184>normal ...\commentparameter \c!textlayer " }}
                                                  \wd \b_scrn_comment_link \...
\scrn_comment_stop ->\scrn_comment_inject 
                                          \egroup 
l.13 \stopcomment
                 
? X


-- 
Marco

___________________________________________________________________________________
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-02-01 18:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01 18:31 Marco Pessotto [this message]
2012-02-02 23:27 ` Hans Hagen
2012-02-03  9:13   ` Marco Pessotto
2012-02-03 14:19     ` Wolfgang Schuster
2012-02-03 14:54       ` Marco Pessotto
2012-02-03 15:13       ` Hans Hagen

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=878vkm8ky0.fsf@universe.krase.net \
    --to=melmothx@gmail.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).