* \useexternalfigure globally? (+minor issues)
@ 2011-02-22 21:25 Philipp Gesang
2011-02-22 21:46 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Philipp Gesang @ 2011-02-22 21:25 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 838 bytes --]
Hi all,
[1] in grph-fig.mkiv, “\useexternalfigure” is declared twice
in exactly the same way (ll. 124 and 132).
[2] “\showexternalfigures” does not seem to work in mkiv (fails
at “\startXMLmapping”), is there an alternative?
[3] Is there a way to globally declare an externalfigure from
inside a group? So that in the following example, the second
reference to “kuh” succeeds.
···8<····························································
\starttext
\bgroup
\useexternalfigure[kuh][cow]
\externalfigure[kuh]
\egroup
\externalfigure[kuh]
\stoptext
···8<····························································
Thanks in advance, Philipp
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \useexternalfigure globally? (+minor issues)
2011-02-22 21:25 \useexternalfigure globally? (+minor issues) Philipp Gesang
@ 2011-02-22 21:46 ` Wolfgang Schuster
2011-02-22 22:00 ` Hans Hagen
2011-02-22 22:18 ` Philipp Gesang
0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-02-22 21:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 22.02.2011 um 22:25 schrieb Philipp Gesang:
> Hi all,
>
> [3] Is there a way to globally declare an externalfigure from
> inside a group? So that in the following example, the second
> reference to “kuh” succeeds.
>
> ···8<····························································
> \starttext
>
> \bgroup
> \useexternalfigure[kuh][cow]
\startglobal
\useexternalfigure[kuh][cow]
\stopglobal
Wolfgang
___________________________________________________________________________________
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] 6+ messages in thread
* Re: \useexternalfigure globally? (+minor issues)
2011-02-22 21:46 ` Wolfgang Schuster
@ 2011-02-22 22:00 ` Hans Hagen
2011-02-22 22:18 ` Philipp Gesang
1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2011-02-22 22:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 22-2-2011 10:46, Wolfgang Schuster wrote:
>
> Am 22.02.2011 um 22:25 schrieb Philipp Gesang:
>
>> Hi all,
>>
>> [3] Is there a way to globally declare an externalfigure from
>> inside a group? So that in the following example, the second
>> reference to “kuh” succeeds.
>>
>> ···8<····························································
>> \starttext
>>
>> \bgroup
>> \useexternalfigure[kuh][cow]
>
> \startglobal
> \useexternalfigure[kuh][cow]
> \stopglobal
with side effects (like other local macros bleeding out)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 6+ messages in thread
* Re: \useexternalfigure globally? (+minor issues)
2011-02-22 21:46 ` Wolfgang Schuster
2011-02-22 22:00 ` Hans Hagen
@ 2011-02-22 22:18 ` Philipp Gesang
2011-02-22 22:22 ` Wolfgang Schuster
1 sibling, 1 reply; 6+ messages in thread
From: Philipp Gesang @ 2011-02-22 22:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1212 bytes --]
On 2011-02-22 <22:46:20>, Wolfgang Schuster wrote:
>
> Am 22.02.2011 um 22:25 schrieb Philipp Gesang:
>
> > Hi all,
> >
> > [3] Is there a way to globally declare an externalfigure from
> > inside a group? So that in the following example, the second
> > reference to “kuh” succeeds.
> >
> > ···8<····························································
> > \starttext
> >
> > \bgroup
> > \useexternalfigure[kuh][cow]
>
> \startglobal
> \useexternalfigure[kuh][cow]
> \stopglobal
Thanks a lot, this works like a charm. Too bad I already wrote
a workaround …
Philipp
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \useexternalfigure globally? (+minor issues)
2011-02-22 22:18 ` Philipp Gesang
@ 2011-02-22 22:22 ` Wolfgang Schuster
2011-02-22 22:45 ` Philipp Gesang
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-02-22 22:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 22.02.2011 um 23:18 schrieb Philipp Gesang:
> On 2011-02-22 <22:46:20>, Wolfgang Schuster wrote:
>>
>> Am 22.02.2011 um 22:25 schrieb Philipp Gesang:
>>
>>> Hi all,
>>>
>>> [3] Is there a way to globally declare an externalfigure from
>>> inside a group? So that in the following example, the second
>>> reference to “kuh” succeeds.
>>>
>>> ···8<····························································
>>> \starttext
>>>
>>> \bgroup
>>> \useexternalfigure[kuh][cow]
>>
>> \startglobal
>> \useexternalfigure[kuh][cow]
>> \stopglobal
>
> Thanks a lot, this works like a charm. Too bad I already wrote
> a workaround …
Which?
As Hans wrote \startglobal can result in unwanted side effects.
Wolfgang
___________________________________________________________________________________
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] 6+ messages in thread
* Re: \useexternalfigure globally? (+minor issues)
2011-02-22 22:22 ` Wolfgang Schuster
@ 2011-02-22 22:45 ` Philipp Gesang
0 siblings, 0 replies; 6+ messages in thread
From: Philipp Gesang @ 2011-02-22 22:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1676 bytes --]
On 2011-02-22 <23:22:17>, Wolfgang Schuster wrote:
>
> Am 22.02.2011 um 23:18 schrieb Philipp Gesang:
>
> > On 2011-02-22 <22:46:20>, Wolfgang Schuster wrote:
> >>
> >> Am 22.02.2011 um 22:25 schrieb Philipp Gesang:
> >>
> >>> Hi all,
> >>>
> >>> [3] Is there a way to globally declare an externalfigure from
> >>> inside a group? So that in the following example, the second
> >>> reference to “kuh” succeeds.
> >>>
> >>> ···8<····························································
> >>> \starttext
> >>>
> >>> \bgroup
> >>> \useexternalfigure[kuh][cow]
> >>
> >> \startglobal
> >> \useexternalfigure[kuh][cow]
> >> \stopglobal
> >
> > Thanks a lot, this works like a charm. Too bad I already wrote
> > a workaround …
>
> Which?
My-code specific and Lua-based. Cost me a couple of function
calls but I managed to get the extfig declared outside the group.
> As Hans wrote \startglobal can result in unwanted side effects.
I guess I’ll investigate those later and stick to my code just
now.
Best regards, Philipp
> Wolfgang
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-02-22 22:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-22 21:25 \useexternalfigure globally? (+minor issues) Philipp Gesang
2011-02-22 21:46 ` Wolfgang Schuster
2011-02-22 22:00 ` Hans Hagen
2011-02-22 22:18 ` Philipp Gesang
2011-02-22 22:22 ` Wolfgang Schuster
2011-02-22 22:45 ` Philipp Gesang
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).