From: David Arnold <darnold@northcoast.com>
Subject: Cloning versus copying
Date: Fri, 04 Jun 1999 23:44:15 -0700 [thread overview]
Message-ID: <3.0.5.32.19990604234415.0084fdb0@mail.northcoast.com> (raw)
All,
What's the difference between cloning and copying, as in the following file?
%output=pdf
\setupinteraction
[state=start]
\setupcolors
[state=start]
\tracefieldstrue
\definesymbol[yes-a][$\times$]
\definesymbol[yes-b][$\star$]
\definesymbol[nop-a][$\bullet$]
\definesymbol[nop-b][$-$]
\definefield[example-1][radio][setup 1][ex-a,ex-b,ex-c][ex-c]
\definesubfield[ex-a,ex-b,ex-c][setup 1][yes-a,nop-a]
\setupfield [setup 1] [width=0.5cm,height=0.5cm,framecolor=red]
\setupfield [setup 2] [width=.75cm,height=.75cm]
\copyfield[ex-a][ex-x]
\copyfield[ex-b][ex-y]
\copyfield[ex-c][ex-z]
\clonefield[ex-a][ex-p][setup 2][yes-b,nop-b]
\clonefield[ex-b][ex-q][setup 2][yes-b,nop-b]
\clonefield[ex-c][ex-r][setup 2][yes-b,nop-b]
\showfields[example-1,ex-a,ex-b,ex-c,ex-x,ex-y,ex-z,ex-p,ex-q,ex-r]
\starttext
Hello, cruel world!
\hbox{\field[ex-a]\field[ex-b]\field[ex-c]}
\hbox{\field[ex-x]\field[ex-y]\field[ex-z]}
Some more text.
\hbox{\field[ex-p]\field[ex-q]\field[ex-r]}
\stoptext
I see no difference, and I can't think of a situation where I would want
either of these behaviors. Why is it that when I click in ex-q, the fields
ex-a,ex-b,ex-c, ex-z, ex-y, and ex-z revert to nop-a?
next reply other threads:[~1999-06-05 6:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-05 6:44 David Arnold [this message]
1999-06-05 12:49 ` 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=3.0.5.32.19990604234415.0084fdb0@mail.northcoast.com \
--to=darnold@northcoast.com \
/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).