Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Jairo A. del Rio
Now it works! Thank you so much, Wolfgang!

Jairo :)

El lun., 6 de jul. de 2020 a la(s) 13:48, Wolfgang Schuster (
wolfgang.schuster.li...@gmail.com) escribió:

> Pablo Rodriguez schrieb am 06.07.2020 um 20:04:
> > On 7/6/20 3:58 PM, Jairo A. del Rio wrote:
> >> So, cannot I use focus=standard and cross-references together? Hmm. I
> >> think it should be fixed... But maybe it's an intended feature. Thanks,
> >> Otared.
> >
> > Hi Jairo,
> >
> > "focus=standard" works fine with footnotes.
> >
> >  \setupinteraction[state=start,focus=standard,color=,contrastcolor=]
> >  \defineenumeration[proposition][referenceprefix=prop]
> >  \starttext
> >  \startproposition[1]
> >  \input ward\footnote{Only a footnote}
> >  \stopproposition
> >  \in[prop:1]
> >  \stoptext
> >
> > Your sample doesn’t work, because of the reference prefix. Right now,
> > the /Names reads in the PDF code:
> >
> >  /Names [ (1) 5 0 R ]
> >
> > It seems that "referenceprefix" is forgotten there, which should read
> > with the sample code from above:
> >
> >  /Names [ (prop:1) 5 0 R ]
> >
> > Hans, could you check this? (I’m afraid it doesn’t work with current
> > latest [2020.07.06 19:30])?
>
>
> I'm not Hans but this fixed the problem for me (strc-con.mkiv):
>
> \def\strc_constructions_register_yes[#1][#2]% #1=optional user data
> #2=interfaced-settings
>{\begingroup  % similar to structure so
> we might generalize this
>   ...
>   \clf_setinternalreference
> -  prefix{\referenceprefix}%
> +  prefix{\currentconstructionreferenceprefix}%
> reference {\currentconstructionreference}%
> internal  \locationcount
> view  {\interactionparameter\c!focus}%
>   \relax
>   ...
> \fi}
>
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Resetting image width

2020-07-06 Thread Henning Hraban Ramm

> Am 06.07.2020 um 21:17 schrieb Wolfgang Schuster 
> :
> 
> Henning Hraban Ramm schrieb am 06.07.2020 um 21:03:
>> Hi,
>> for collecting a lot of images into a booklet I set
>> 
>> \setupexternalfigures[width=\textwidth,maxheight=\textheight]
>> 
>> but would like to have some single images defined by height and proportional 
>> width, like
>> 
>> \externalfigure[dummy][width=auto,height=.5\textheight]
>> 
>> but height and width only take dimensions.
>> 
>> Can you give me a hint?
> 
> No argument is also valid.
> 
> \externalfigure[dummy][width=,height=.5\textheight]

I thought so and was sure I tried it and got an error, but I recognized I tried 
"width=," with \clip, and that can’t work, of course.

Sorry for the noise.

Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Resetting image width

2020-07-06 Thread Wolfgang Schuster

Henning Hraban Ramm schrieb am 06.07.2020 um 21:03:

Hi,
for collecting a lot of images into a booklet I set

\setupexternalfigures[width=\textwidth,maxheight=\textheight]

but would like to have some single images defined by height and proportional 
width, like

\externalfigure[dummy][width=auto,height=.5\textheight]

but height and width only take dimensions.

Can you give me a hint?


No argument is also valid.

\externalfigure[dummy][width=,height=.5\textheight]

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Resetting image width

2020-07-06 Thread Henning Hraban Ramm
Hi,
for collecting a lot of images into a booklet I set

\setupexternalfigures[width=\textwidth,maxheight=\textheight]

but would like to have some single images defined by height and proportional 
width, like

\externalfigure[dummy][width=auto,height=.5\textheight]

but height and width only take dimensions.

Can you give me a hint?

Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Pablo Rodriguez
On 7/6/20 8:48 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 06.07.2020 um 20:04:
>> [...]
>> Hans, could you check this? (I’m afraid it doesn’t work with current
>> latest [2020.07.06 19:30])?
>
> I'm not Hans but this fixed the problem for me (strc-con.mkiv):
>
> \def\strc_constructions_register_yes[#1][#2]% #1=optional user data
> #2=interfaced-settings
>{\begingroup  % similar to structure so
> we might generalize this
>   ...
>   \clf_setinternalreference
> -  prefix{\referenceprefix}%
> +  prefix{\currentconstructionreferenceprefix}%
> reference {\currentconstructionreference}%
> internal  \locationcount
> view  {\interactionparameter\c!focus}%
>   \relax
>   ...
> \fi}

Many thanks for your the fix, Wolfgang.

It works perfectly fine here too.

Pablo
--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Hans Hagen

On 7/6/2020 8:48 PM, Wolfgang Schuster wrote:

Pablo Rodriguez schrieb am 06.07.2020 um 20:04:

On 7/6/20 3:58 PM, Jairo A. del Rio wrote:

So, cannot I use focus=standard and cross-references together? Hmm. I
think it should be fixed... But maybe it's an intended feature. Thanks,
Otared.


Hi Jairo,

"focus=standard" works fine with footnotes.

 \setupinteraction[state=start,focus=standard,color=,contrastcolor=]
 \defineenumeration[proposition][referenceprefix=prop]
 \starttext
 \startproposition[1]
 \input ward\footnote{Only a footnote}
 \stopproposition
 \in[prop:1]
 \stoptext

Your sample doesn’t work, because of the reference prefix. Right now,
the /Names reads in the PDF code:

 /Names [ (1) 5 0 R ]

It seems that "referenceprefix" is forgotten there, which should read
with the sample code from above:

 /Names [ (prop:1) 5 0 R ]

Hans, could you check this? (I’m afraid it doesn’t work with current
latest [2020.07.06 19:30])?



I'm not Hans but this fixed the problem for me (strc-con.mkiv):

\def\strc_constructions_register_yes[#1][#2]% #1=optional user data 
#2=interfaced-settings
   {\begingroup  % similar to structure so 
we might generalize this

  ...
  \clf_setinternalreference
-  prefix    {\referenceprefix}%
+  prefix    {\currentconstructionreferenceprefix}%
    reference {\currentconstructionreference}%
    internal  \locationcount
    view  {\interactionparameter\c!focus}%
  \relax
  ...
    \fi}

Wolfgang

But because you're Wolfgang I can apply that patch without checking ...

(no upload today, already done one0

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 06.07.2020 um 20:04:

On 7/6/20 3:58 PM, Jairo A. del Rio wrote:

So, cannot I use focus=standard and cross-references together? Hmm. I
think it should be fixed... But maybe it's an intended feature. Thanks,
Otared.


Hi Jairo,

"focus=standard" works fine with footnotes.

 \setupinteraction[state=start,focus=standard,color=,contrastcolor=]
 \defineenumeration[proposition][referenceprefix=prop]
 \starttext
 \startproposition[1]
 \input ward\footnote{Only a footnote}
 \stopproposition
 \in[prop:1]
 \stoptext

Your sample doesn’t work, because of the reference prefix. Right now,
the /Names reads in the PDF code:

 /Names [ (1) 5 0 R ]

It seems that "referenceprefix" is forgotten there, which should read
with the sample code from above:

 /Names [ (prop:1) 5 0 R ]

Hans, could you check this? (I’m afraid it doesn’t work with current
latest [2020.07.06 19:30])?



I'm not Hans but this fixed the problem for me (strc-con.mkiv):

\def\strc_constructions_register_yes[#1][#2]% #1=optional user data 
#2=interfaced-settings
  {\begingroup  % similar to structure so 
we might generalize this

 ...
 \clf_setinternalreference
-  prefix{\referenceprefix}%
+  prefix{\currentconstructionreferenceprefix}%
   reference {\currentconstructionreference}%
   internal  \locationcount
   view  {\interactionparameter\c!focus}%
 \relax
 ...
   \fi}

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] LMTX and soft links (Linux)

2020-07-06 Thread Pablo Rodriguez
On 7/6/20 7:45 PM, Hans Hagen wrote:
> On 7/6/2020 7:26 PM, Pablo Rodriguez wrote:
>> [...]
>> But an open question (to Hans, Wolfgang and other LMTX developers) is
>> why softlinks in Linux (in Unix, my guess) only work for files and not
>> for directories. Sorry, but this doesn’t make sense to me.
>
> The current upload should be better (according to taco and me).

Many thanks for your the fix, Hans and Taco.

Soft links to directories work fine for me

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Pablo Rodriguez
On 7/6/20 3:58 PM, Jairo A. del Rio wrote:
> So, cannot I use focus=standard and cross-references together? Hmm. I
> think it should be fixed... But maybe it's an intended feature. Thanks,
> Otared.

Hi Jairo,

"focus=standard" works fine with footnotes.

\setupinteraction[state=start,focus=standard,color=,contrastcolor=]
\defineenumeration[proposition][referenceprefix=prop]
\starttext
\startproposition[1]
\input ward\footnote{Only a footnote}
\stopproposition
\in[prop:1]
\stoptext

Your sample doesn’t work, because of the reference prefix. Right now,
the /Names reads in the PDF code:

/Names [ (1) 5 0 R ]

It seems that "referenceprefix" is forgotten there, which should read
with the sample code from above:

/Names [ (prop:1) 5 0 R ]

Hans, could you check this? (I’m afraid it doesn’t work with current
latest [2020.07.06 19:30])?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] LMTX and soft links (Linux)

2020-07-06 Thread Hans Hagen

On 7/6/2020 7:26 PM, Pablo Rodriguez wrote:

On 7/5/20 10:16 PM, Jairo A. del Rio wrote:

Indeed, it works. A fast "cp -rs" solved it. Anyways, I'd rather prefer
a less "manual" method. Thank you very much, Pablo.


Hi Jairo,

glad to read it helped.

But an open question (to Hans, Wolfgang and other LMTX developers) is
why softlinks in Linux (in Unix, my guess) only work for files and not
for directories. Sorry, but this doesn’t make sense to me.

The current upload should be better (according to taco and me).

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] LMTX and soft links (Linux)

2020-07-06 Thread Pablo Rodriguez
On 7/5/20 10:16 PM, Jairo A. del Rio wrote:
> Indeed, it works. A fast "cp -rs" solved it. Anyways, I'd rather prefer
> a less "manual" method. Thank you very much, Pablo.

Hi Jairo,

glad to read it helped.

But an open question (to Hans, Wolfgang and other LMTX developers) is
why softlinks in Linux (in Unix, my guess) only work for files and not
for directories. Sorry, but this doesn’t make sense to me.

Many thanks for your help,

Pablo


> El dom., 5 de jul. de 2020 a la(s) 14:52, Pablo Rodriguez escribió:
>
> On 7/5/20 9:14 PM, Jairo A. del Rio wrote:
> > I'm using both LMTX from the ConTeXt standalone installation and a TeX
> > Live installation. Since I'm using binaries from the standalone (and
> > added LMTX to path, etc.), I created soft links in texmf-modules via
> >
> > ln -s /usr/local/texlive/2020/texmf-dist/tex
> ~/lmtx/tex/texmf-modules/tex
> >
> > and similar (lmtx is my directory for the standalone).
> >
> > LuaTeX finds files without any issues. However LuaMetaTeX gives the
> > following error:
> >
> > runtime error : input file (name of file) is not found, quitting
> >
> > The same result is for modules, .sty files and .tex files. Is this
> > intentional, a bug in LMTX, or is a better solution possible? In case
> > it's useful, I'm working with Ubuntu 20.04. Thank you a lot.
>
> Hi Jairo,
>
> I experience something very similar in Linux too.
>
> LMTX follows softlinks to files, but no softlink to directories.
>
> I don’t know why this happens, but it behaves this way.
>
> Just in case it helps,
>
> Pablo


--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Store images and text in the right margin

2020-07-06 Thread Fabrice Couvreur
Hi Taco,
Thank you for your help. What I want to do is write a course for my
students, and the definitions, theorems ... will be illustrated by graphs,
examples, remarks ... placed in the right margin. The idea is to consider
that a text or a graphic is an element to place in the right margin without
worrying about the nature and that a single command does the job. What you
are proposing goes in the right direction. However, I noticed a little
problem with the hyphenation.
Fabrice

Le lun. 6 juil. 2020 à 16:35, Taco Hoekwater  a écrit :

> Hi Fabrice,
>
> Like this maybe? It depends on what you want to achieve exactly, I think
>
> \useMPlibrary[dum]
>
> \setuppapersize[A4]
>
> \setuplayout
>   [width=12cm,
>rightmargin=5cm]
>
> \defineuserdata [margintext] [alternative=margintext]
>
> \defineuserdataalternative [margintext]
> [renderingsetup=userdata:margintext]
>
> \startsetups [userdata:margintext]
>   \margindata
> [inright]
> [style={\switchtobodyfont[9pt]},
>  width=\rightmarginwidth,
>  align={flushleft,broad},
>  stack=yes]
> {\startframedtext[before=,after=,offset=0pt,width=max,frame=off]
>  \getinlineuserdata
>  \stopframedtext}
> \stopsetups
>
> \showframe
> \starttext
> \startuserdata[margintext]
>  {\bf Remarque — }\input ward
> \stopuserdata
> \startuserdata[margintext]
>  \externalfigure[dummy][width=\rightmarginwidth]
> \stopuserdata
> \startchapter[title=First chapter]
> \dorecurse{2}{\input knuth}
> \stopchapter
> \stoptext
>
>
> > On 6 Jul 2020, at 16:18, Fabrice Couvreur 
> wrote:
> >
> >
> >
> > -- Forwarded message -
> > De : Fabrice Couvreur 
> > Date: lun. 6 juil. 2020 à 12:10
> > Subject: Re: [NTG-context] Store images and text in the right margin
> > To: Marco 
> >
> >
> > Hello,
> > What has been proposed by Wolfgang and Marco works correctly but is it
> possible to define a single environment margintext which would allow to
> include both text and figures ?
> > Thank you
> > Fabrice
>
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Store images and text in the right margin

2020-07-06 Thread Taco Hoekwater
Hi Fabrice,

Like this maybe? It depends on what you want to achieve exactly, I think

\useMPlibrary[dum]

\setuppapersize[A4]

\setuplayout
  [width=12cm,
   rightmargin=5cm]

\defineuserdata [margintext] [alternative=margintext]

\defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]

\startsetups [userdata:margintext]
  \margindata
[inright]
[style={\switchtobodyfont[9pt]},
 width=\rightmarginwidth,
 align={flushleft,broad},
 stack=yes]
{\startframedtext[before=,after=,offset=0pt,width=max,frame=off]
 \getinlineuserdata
 \stopframedtext}
\stopsetups

\showframe
\starttext
\startuserdata[margintext]
 {\bf Remarque — }\input ward
\stopuserdata
\startuserdata[margintext]
 \externalfigure[dummy][width=\rightmarginwidth]
\stopuserdata
\startchapter[title=First chapter]
\dorecurse{2}{\input knuth}
\stopchapter
\stoptext


> On 6 Jul 2020, at 16:18, Fabrice Couvreur  wrote:
> 
> 
> 
> -- Forwarded message -
> De : Fabrice Couvreur 
> Date: lun. 6 juil. 2020 à 12:10
> Subject: Re: [NTG-context] Store images and text in the right margin
> To: Marco 
> 
> 
> Hello,
> What has been proposed by Wolfgang and Marco works correctly but is it 
> possible to define a single environment margintext which would allow to 
> include both text and figures ?
> Thank you
> Fabrice
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Fwd: Store images and text in the right margin

2020-07-06 Thread Fabrice Couvreur
-- Forwarded message -
De : Fabrice Couvreur 
Date: lun. 6 juil. 2020 à 12:10
Subject: Re: [NTG-context] Store images and text in the right margin
To: Marco 


Hello,
What has been proposed by Wolfgang and Marco works correctly but is it
possible to define a single environment margintext which would allow to
include both text and figures ?
Thank you
Fabrice

Le sam. 4 juil. 2020 à 11:36, Fabrice Couvreur 
a écrit :

> Hi Marco,
> Without being a specialist, I knew the \blank command, but I too thought
> that there must be another solution.
> Thank you for your help.
> Fabrice
>
> Le ven. 3 juil. 2020 à 11:04, Marco  a écrit :
>
>> On Fri, 3 Jul 2020 10:39:41 +0200
>> Fabrice Couvreur  wrote:
>>
>> > I think there should be a space between comments and figures.
>>
>> Maybe you can add manual \blank[…] in the margindata setups, e.g.
>>
>>   ...
>>   {\blank{\bf Remarque — }\getinlineuserdata\blank}
>>
>> Otherwise I'm sure there's a more elegant solution using dedicated
>> keys, but as I haven't used that mechanism for a while I can't tell
>> which works. Maybe manual blanks already do the job.
>>
>> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Jairo A. del Rio
So, cannot I use focus=standard and cross-references together? Hmm. I think
it should be fixed... But maybe it's an intended feature. Thanks, Otared.

Jairo :)

El lun., 6 de jul. de 2020 4:31 a. m., Otared Kavian 
escribió:

> Hi Jairo,
>
> If you remove
> focus=standard
> the interaction works fine.
>
> Best regards: Otared K.
>
> > On 6 Jul 2020, at 01:15, Jairo A. del Rio 
> wrote:
> >
> > The following:
> >
> >
> \setupinteraction[state=start,focus=standard,color=black,contrastcolor=black]
> >
> \defineenumeration[proposition][alternative=top,text=Proposición,headalign=middle,numberconversion=R,headstyle=\WORDS,style=\emph,referenceprefix=prop]
> > \starttext
> > \startproposition[1]
> > \dorecurse{10}{\input ward}
> > \stopproposition
> > \in[prop:1]
> > \stoptext
> >
> > works almost perfectly. However, the cross-reference does not work, even
> if the number of the enumeration is displayed correctly. The example fails
> both in LuaTeX and LuaMetaTeX. As I remember, the problem appeared as early
> as 2019, so not a matter of a bad installation. Any ideas?
> >
> > Cordially,
> >
> > Jairo :)
> >
> >
> ___
> > 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://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : http://contextgarden.net
> >
> ___
>
>
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Otared Kavian
Hi Jairo,

If you remove
focus=standard
the interaction works fine.

Best regards: Otared K.

> On 6 Jul 2020, at 01:15, Jairo A. del Rio  wrote:
> 
> The following:
> 
> \setupinteraction[state=start,focus=standard,color=black,contrastcolor=black]
> \defineenumeration[proposition][alternative=top,text=Proposición,headalign=middle,numberconversion=R,headstyle=\WORDS,style=\emph,referenceprefix=prop]
> \starttext
> \startproposition[1]
> \dorecurse{10}{\input ward}
> \stopproposition
> \in[prop:1] 
> \stoptext 
> 
> works almost perfectly. However, the cross-reference does not work, even if 
> the number of the enumeration is displayed correctly. The example fails both 
> in LuaTeX and LuaMetaTeX. As I remember, the problem appeared as early as 
> 2019, so not a matter of a bad installation. Any ideas?
> 
> Cordially,
> 
> Jairo :)
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___