From: Marco Pessotto <melmothx@gmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \startstopcomment fails on latest beta
Date: Fri, 03 Feb 2012 10:13:40 +0100 [thread overview]
Message-ID: <87k444i8jf.fsf@universe.krase.net> (raw)
In-Reply-To: <4F2B1BEB.3080800@wxs.nl> (Hans Hagen's message of "Fri, 03 Feb 2012 00:27:39 +0100")
Hans Hagen <pragma@wxs.nl> writes:
> On 1-2-2012 19:31, Marco Pessotto wrote:
>>
>> Hello there.
>>
>> See the following minimal example. Without the \setupinteraction the
>> document compiles just fine.
>
> as there is no beta this week, you can patch yourself ... scrn-wid.lua
> ... should either have
>
> b_scrn_comment_link
>
> or
>
> scrn_comment_box_link
>
> (depending on what's n your system; you can search in scrn-wid.mkiv
> for the right box name)
>
Well, I've applied this change and executed context --make
--- ./tex/texmf-context/tex/context/base/scrn-wid.lua~ 2011-05-24 11:32:54.000000000 +0200
+++ ./tex/texmf-context/tex/context/base/scrn-wid.lua 2012-02-03 09:44:14.000000000 +0100
@@ -117,7 +117,7 @@
end
function commands.insertcomment(specification)
- tex.box["scrn_comment_box_link"] = comments.insert(specification)
+ tex.box["b_scrn_comment_link"] = comments.insert(specification)
end
-- Soundclips
This is better, as the compilation doesn't fail and the comment appears
as comment, but on the page there is a literal "[title=,]" (in the first
example) or "[title=commentname,]" in the second and third example.
\setupinteraction[state=start]
\starttext
Regular 1
\startcomment
1. This won't be published, but attached as a comment
\stopcomment
Regular 2
\startcomment[commentname]
2. This won't be published, but attached as a comment
\stopcomment
Regular 3
\startcomment[commentname][]
3. This won't be published, but attached as a comment
\stopcomment
\stoptext
There is no problem in the "current" version (2011.05.18), but is
present in version 2011.11.29 23:11 (which is the other previous version
I have on my machine).
Thanks for your attention and all your work.
Best regards.
--
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-02-03 9:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-01 18:31 Marco Pessotto
2012-02-02 23:27 ` Hans Hagen
2012-02-03 9:13 ` Marco Pessotto [this message]
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=87k444i8jf.fsf@universe.krase.net \
--to=melmothx@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).