[NTG-context] autostart included video

2020-11-18 Thread Aditya Mahajan
Hi,

I use \externalfigure[filename.mp4] to include a video in a presentation. Is it 
possible to autostart the video automatically when the page is loaded? 

Thanks,
Aditya
___
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] viewerprefix

2020-11-18 Thread jbf

Hi list,

I have successfully managed to get a vertically-oriented page number in 
words in the margins, but NOT with the number prefixed by the word 
'page'. I thought I would be able to do this by adding viewerprefix=Page 
(mentioned on the wiki for \setupuserpagenumber) but it gives me no 
result. Any thoughts on how I can achieve this? As I say, everything 
else works except the desired prefix.


Current MWE:

\def\mypagenumber#1%
{\inframed[frame=off,leftframe=on,rightframe=on,orientation=90]{#1}}

\setuppagenumbering[alternative=doublesided,location=margin,command=\mypagenumber]
\setupuserpagenumber[numberconversion=words,viewerprefix=Page]

\starttext
\input Knuth
\stoptext

Julian

___
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 fails with custom tags (MkIV continues to work)

2020-11-18 Thread Hans Hagen

On 11/18/2020 11:41 PM, Rik Kabel wrote:
Documents fail with an error when they include \startelement[tagname]. 
This started on or before the 2020.11.17T12:42 LMTX update, and 
continues with 2020.11.18 19:16 LMTX. MkIV continues to work as expected.


Example:

\setelementbackendtag[myTag]
\setelementnature[myTag][mixed]

\starttext

  \startelement[myTag] % <---

   This works with MkIV but fails with LMTX, complaining: {\tt
   tex error on line 17 in file G:/extract.mkvi: The file ended
   when scanning an argument.}

   It works in LMTX when marked lines are removed, but\unknown

  \stopelement  % <---

\stoptext
ha, i was to optimistic about using some low level macro (needs to 
extend it)


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] new upload

2020-11-18 Thread Hans Hagen

On 11/18/2020 10:21 PM, Wolfgang Schuster wrote:

Pablo Rodriguez schrieb am 18.11.2020 um 22:05:

On 11/18/20 7:42 PM, Hans Hagen wrote:

Hi,

A new upload ... still some 150 tex files to go (from mkiv to lmtx
speak) ... after that the lua ones ... some fixes applied, maybe some
new temp issues introduced ... thanks for testing.


Many thanks for the new upload, Hans.

Even headings and lists are indented now:

   \showframe\showgrid
   \setupindenting[yes, always, big]
   \starttext
   \placelist[section]
   \dorecurse{5}
 {\section{Section \recurselevel} \input{zapf}}
   \stoptext

I think this may be a bug.



Minimal example:

\showgrid

\starttext

\parindent\emwidth

text

\noindent text

\stoptext

found it ... fixed in next upload (relates to normalization)

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] upload

2020-11-18 Thread Hans Hagen

On 11/18/2020 9:29 PM, Pablo Rodriguez wrote:

On 11/17/20 3:15 PM, Hans Hagen wrote:

On 11/17/2020 2:57 PM, Pablo Rodriguez wrote:

[...]
What are we doing wrong that prevents the update of the installation?

I don't know. Nothing really changed in the installer.


It may be something unrelated, but I don’t know why the resolver
databases (I assume tex/texmf-*.tma) aren’t detected by the installer
(or it considers them outdated).

The second cuestion is that current is set to %S (but probably this is
only about not showing the right version).

   resolvers | resolving | warning: no lua configuration files found
   resolvers | resolving | no texmf paths are defined (using TEXMF)
   resolvers | resolving |
   mtxrun| the resolver databases are not present or outdated
   mtx-install   | server   : lmtx.pragma-ade.com
   mtx-install   | instance : install-lmtx
   mtx-install   | platform : linux-64
   mtx-install   | system   : unix
   mtx-install   | updating tex/texmf, 1541 files
   mtx-install   | updating tex/texmf-context, 3757 files
   mtx-install   | updating tex/texmf-linux-64, 6 files
   mtx-install   | skipping tex/texmf-linux-64/bin/context
   mtx-install   | skipping tex/texmf-linux-64/bin/mtxrun
   mtx-install   | current  : %S
   mtx-install   | target   : true
   mtx-install   | removing : mtxrun
   mtx-install   | removing : context
   mtx-install   | linked   : mtxrun
   mtx-install   | linked   : context

Just in case it might help,
it looks like lua can't load a file (no problem loading it in editors) 
so i need to hack around it (maybe something lua 5.4 that i need to 
investigate)


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
___


[NTG-context] LMTX fails with custom tags (MkIV continues to work)

2020-11-18 Thread Rik Kabel
Documents fail with an error when they include \startelement[tagname]. 
This started on or before the 2020.11.17T12:42 LMTX update, and 
continues with 2020.11.18 19:16 LMTX. MkIV continues to work as expected.


Example:

   \setelementbackendtag[myTag]
   \setelementnature[myTag][mixed]

   \starttext

 \startelement[myTag] % <---

  This works with MkIV but fails with LMTX, complaining: {\tt
  tex error on line 17 in file G:/extract.mkvi: The file ended
  when scanning an argument.}

  It works in LMTX when marked lines are removed, but\unknown

 \stopelement  % <---

   \stoptext

--
Rik

___
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] new upload

2020-11-18 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 18.11.2020 um 22:05:

On 11/18/20 7:42 PM, Hans Hagen wrote:

Hi,

A new upload ... still some 150 tex files to go (from mkiv to lmtx
speak) ... after that the lua ones ... some fixes applied, maybe some
new temp issues introduced ... thanks for testing.


Many thanks for the new upload, Hans.

Even headings and lists are indented now:

   \showframe\showgrid
   \setupindenting[yes, always, big]
   \starttext
   \placelist[section]
   \dorecurse{5}
 {\section{Section \recurselevel} \input{zapf}}
   \stoptext

I think this may be a bug.



Minimal example:

\showgrid

\starttext

\parindent\emwidth

text

\noindent text

\stoptext

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] new upload

2020-11-18 Thread Pablo Rodriguez
On 11/18/20 7:42 PM, Hans Hagen wrote:
> Hi,
>
> A new upload ... still some 150 tex files to go (from mkiv to lmtx
> speak) ... after that the lua ones ... some fixes applied, maybe some
> new temp issues introduced ... thanks for testing.

Many thanks for the new upload, Hans.

Even headings and lists are indented now:

  \showframe\showgrid
  \setupindenting[yes, always, big]
  \starttext
  \placelist[section]
  \dorecurse{5}
{\section{Section \recurselevel} \input{zapf}}
  \stoptext

I think this may be a bug.

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] upload

2020-11-18 Thread Pablo Rodriguez
On 11/17/20 3:15 PM, Hans Hagen wrote:
> On 11/17/2020 2:57 PM, Pablo Rodriguez wrote:
>> [...]
>> What are we doing wrong that prevents the update of the installation?
> I don't know. Nothing really changed in the installer.

It may be something unrelated, but I don’t know why the resolver
databases (I assume tex/texmf-*.tma) aren’t detected by the installer
(or it considers them outdated).

The second cuestion is that current is set to %S (but probably this is
only about not showing the right version).

  resolvers | resolving | warning: no lua configuration files found
  resolvers | resolving | no texmf paths are defined (using TEXMF)
  resolvers | resolving |
  mtxrun| the resolver databases are not present or outdated
  mtx-install   | server   : lmtx.pragma-ade.com
  mtx-install   | instance : install-lmtx
  mtx-install   | platform : linux-64
  mtx-install   | system   : unix
  mtx-install   | updating tex/texmf, 1541 files
  mtx-install   | updating tex/texmf-context, 3757 files
  mtx-install   | updating tex/texmf-linux-64, 6 files
  mtx-install   | skipping tex/texmf-linux-64/bin/context
  mtx-install   | skipping tex/texmf-linux-64/bin/mtxrun
  mtx-install   | current  : %S
  mtx-install   | target   : true
  mtx-install   | removing : mtxrun
  mtx-install   | removing : context
  mtx-install   | linked   : mtxrun
  mtx-install   | linked   : context

Just in case it might 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
___


[NTG-context] Subfigures, referencing and resetting counter

2020-11-18 Thread Marco Patzer
Hi!

I struggle with referencing subfigures. Combinations can't be
referenced to my knowledge, that's why I went with another float for
the inner subfigure. Example:


\useMPlibrary[dum]

\definefloat
  [subfigure]
  [subfigures]
  [figure]

\setupcaptions
  [subfigure]
  [numberconversion=characters,
   numberstopper=)]

\setuplabeltext
  [subfigure=]

\definecounter
  [subfigure]
  [way=bytext]

\starttext

\startplacefigure [title=First, reference=first]
  \startfloatcombination [nx=2, ny=1]
\startplacesubfigure
  \externalfigure
\stopplacesubfigure
\startplacesubfigure [reference=fig:firstsub]
  \externalfigure
\stopplacesubfigure
  \stopfloatcombination
\stopplacefigure

\startplacefigure [title=Second, reference=second]
  \startfloatcombination [nx=2, ny=1]
\startplacesubfigure
  \externalfigure
\stopplacesubfigure
\startplacesubfigure [title=beta, reference=fig:secondsub]
  \externalfigure
\stopplacesubfigure
  \stopfloatcombination
\stopplacefigure

See \in{figure}[first],
\in{figure}[fig:firstsub] and
\in{figure}[fig:secondsub].

\stoptext


How to reset the counter for the subfigure to start anew for each
new figure?

The second issue is the referencing of subfigures. The MWE shows
“figure b)” and “figure d)” rather than “figure 1b)” and “figure
2b)”. How to include the outer float counter in the reference?

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
___


[NTG-context] Bilingual text on facing pages

2020-11-18 Thread MANUEL GONZALEZ SUAREZ
Hello everyone:

Do you know if we can make bilingual editions with ConTeXt, as they are done 
with the reledpar package for LaTeX? I have consulted this page 
(https://tex.stackexchange.com/questions/113899/parallel-text-in-context), but 
I don't really understand what can be done. I have tried the code with MKIV but 
it does not work well.

Thank you.

Manuel González

___
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] new upload

2020-11-18 Thread Hans Hagen

Hi,

A new upload ... still some 150 tex files to go (from mkiv to lmtx 
speak) ... after that the lua ones ... some fixes applied, maybe some 
new temp issues introduced ... thanks for testing.


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] reusableMPgraphic not working

2020-11-18 Thread Bruce Horrocks


> On 18 Nov 2020, at 13:28, Rik Kabel  wrote:
> 
> 
> On 11/18/2020 08:11, Bruce Horrocks wrote:
>> Just working through the Metafun manual and have hit a problem. In the 
>> following MWE the green circle appears but the blue one doesn't. Surely 
>> reusable graphics must be so commonly used that it has to be me that's doing 
>> something wrong?
>> 
>> (Context version is: 2020.11.05 23:01)
>> 
>> \starttext
>> \startuseMPgraphic{name1}
>>  fill fullcircle scaled 100pt withcolor green ;
>> \stopuseMPgraphic
>> Green circle: \useMPgraphic{name1}
>> 
>> \startreusableMPgraphic{name2}
>>  fill fullcircle scaled 100pt withcolor blue ;
>> \stopreusableMPgraphic
>> Blue circle:\reuseMPgraphic{name2}
>> \stoptext
>> 
> 
> Works as expected here, producing both circles. I am using 2020.11.17 12:39, 
> both LMTX and MkIV.

Thanks. A complete wipe and reinstall of TeX Live and ConTeXt has fixed it for 
me. No idea what was corrupted though.

--
Bruce Horrocks
Hampshire, UK

___
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] MacOS+TeXlive: installation problems

2020-11-18 Thread Tomas Hala
Dear Fabrice, 

helpful links, thank you very much.

Best wishes, 

Tomáš 


Tue, Nov 17, 2020 ve 03:42:35PM -0500 Fabrice L napsal(a):
#Hi,
# 
#The solution is rather simple, check here:
#[3]https://support.apple.com/en-us/HT202491
#or
#[4]https://support.apple.com/en-ca/guide/mac-help/mh40616/macAfter
# 
# 
#  Le 17 nov. 2020 à 15:23, Tomas Hala <[1]tomas.h...@mendelu.cz> a écrit :
#  Hi all,
# 
#  one student of mine asked me for a help with installation TeXlive
#  (from [2]http://www.tug.org/mactex/mactex-download.html)
#  on her MacBook Air 16 with macOS Catalina.
# 
#  Despite the fact that the site states
#  "All install packages are developer-signed and notarized by Apple.",
#  she got:
#  "Cannot be opened because its from unidentified developer, MacOS cannot
#  verify that this app is free from malware."
# 
#  What could it be?
#  I have got no experience with MacOS, so I would like to ask for some
#  hints how we can fix it.
___
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] RE : RE : Macro \spaceorpar seems gone in latest upload

2020-11-18 Thread Joseph
In margin texts yes (actually via a shorter macro name). I’ll try using \\ then. ThanksJoseph Provenance : Courrier pour Windows 10 De : Wolfgang SchusterEnvoyé le :mercredi 18 novembre 2020 17:04À : mailing list for ConTeXt usersCc : JosephObjet :Re: [NTG-context] RE : Macro \spaceorpar seems gone in latest upload Joseph schrieb am 18.11.2020 um 15:35:No problem I can copy paste definition in my tex file and problem solved .No need to bring it back if no general use.Where do you use the command, in margin texts and framed blocks you can just use \\.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] RE : Macro \spaceorpar seems gone in latest upload

2020-11-18 Thread Wolfgang Schuster

Joseph schrieb am 18.11.2020 um 15:35:


No problem I can copy paste definition in my tex file and problem 
solved .


No need to bring it back if no general use.



Where do you use the command, in margin texts and framed blocks you can 
just use \\.


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] \infull not working

2020-11-18 Thread Hans Hagen

On 11/18/2020 4:12 PM, Nigel King wrote:



However the command \infull{Ch} now results in CH in small capitals.
\infull is already bound to abbreviations so it will take that ones 
settings


(your version doesn't yet define it anew which is fixed in a next upload)

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] \infull not working

2020-11-18 Thread Nigel King
Thanks Hans for your very prompt reply.

I placed
\overloadmode\plusfour
at the beginning of the file

The example now compiles.

However the command \infull{Ch} now results in CH in small capitals.

Is there something I have misunderstood?

Thanks

Nigel

On 18 Nov 2020, at 14:19, Hans Hagen  wrote:

On 11/18/2020 1:35 PM, Nigel King wrote:
> Dear Group,
> Thanks for your excellent work.
> I have just got a new computer and installed Context as I normally do. 
> Unfortunately there appears to be a bug, unless I have done something wrong. 
> \infull appears not to be working. I have used the following test file which 
> is from the wiki but split the line with \infull{Ch} in two to be certain.
> \definesynonyms[test][tests][\infull]
> \setupsynonyms[test][criterium=all]
>  \test{ITU}{International Telecommunication Union}
>  \test{MID}{Maritime Identification Digit}
>  \test{Ch}{Switzerland}
> \starttext
> The \ITU\ is an
> organisation in \infull{Ch}
> \subject{Short is nice}
>  \placelistoftests
> \stoptext
> The log message has this in it.
> tex error   > tex error on line 12 in file 
> /Users/nki001/OneDrive/MyDocuments/Context/NGAForIreland/test.tex: Undefined 
> control sequence

fixed in next upload ... but ... on my machine, where I run with

 \overloadmode\plusfour % error, \plusthree is warning only

i then will get:

csname overload > fatal error, protection level 4, control sequence 'infull', 
properties 'frozen instance protected', file './oeps.tex', line 4

because \infull is already used by the predefine abbreviations instance

no problem if you don't use that feature

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
___


[NTG-context] RE : Macro \spaceorpar seems gone in latest upload

2020-11-18 Thread Joseph
No problem I can copy paste definition in my tex file and problem solved .No need to bring it back if no general use. De : Hans HagenEnvoyé le :mercredi 18 novembre 2020 15:08À : mailing list for ConTeXt users; JosephObjet :Re: [NTG-context] Macro \spaceorpar seems gone in latest upload On 11/17/2020 9:06 PM, Joseph wrote:> Dear list,> > I use occasionally \spaceorpar and it looks like this macro is no longer > defined, is this expected ? If so, is there a replacement please ?hm, it was used only in one place and never a user macro I can bring it back: \permanent\protected\def\spaceorpar   {\endgraf\ifhmode\space\fi} but you have to bribe Wolfgang to add it to the interface specification then 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] \infull not working

2020-11-18 Thread Hans Hagen

On 11/18/2020 1:35 PM, Nigel King wrote:

Dear Group,
Thanks for your excellent work.

I have just got a new computer and installed Context as I normally do. 
Unfortunately there appears to be a bug, unless I have done something wrong. 
\infull appears not to be working. I have used the following test file which is 
from the wiki but split the line with \infull{Ch} in two to be certain.

\definesynonyms[test][tests][\infull]

\setupsynonyms[test][criterium=all]

  \test{ITU}{International Telecommunication Union}
  \test{MID}{Maritime Identification Digit}
  \test{Ch}{Switzerland}

\starttext

The \ITU\ is an
organisation in \infull{Ch}

\subject{Short is nice}
  \placelistoftests

\stoptext

The log message has this in it.

tex error   > tex error on line 12 in file 
/Users/nki001/OneDrive/MyDocuments/Context/NGAForIreland/test.tex: Undefined 
control sequence


fixed in next upload ... but ... on my machine, where I run with

  \overloadmode\plusfour % error, \plusthree is warning only

i then will get:

csname overload > fatal error, protection level 4, control sequence 
'infull', properties 'frozen instance protected', file './oeps.tex', line 4


because \infull is already used by the predefine abbreviations instance

no problem if you don't use that feature

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] Macro \spaceorpar seems gone in latest upload

2020-11-18 Thread Hans Hagen

On 11/17/2020 9:06 PM, Joseph wrote:

Dear list,

I use occasionally \spaceorpar and it looks like this macro is no longer 
defined, is this expected ? If so, is there a replacement please ?

hm, it was used only in one place and never a user macro

I can bring it back:

\permanent\protected\def\spaceorpar
  {\endgraf\ifhmode\space\fi}

but you have to bribe Wolfgang to add it to the interface specification 
then


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] reusableMPgraphic not working

2020-11-18 Thread Rik Kabel


On 11/18/2020 08:11, Bruce Horrocks wrote:

Just working through the Metafun manual and have hit a problem. In the 
following MWE the green circle appears but the blue one doesn't. Surely 
reusable graphics must be so commonly used that it has to be me that's doing 
something wrong?

(Context version is: 2020.11.05 23:01)

\starttext
\startuseMPgraphic{name1}
  fill fullcircle scaled 100pt withcolor green ;
\stopuseMPgraphic
Green circle: \useMPgraphic{name1}

\startreusableMPgraphic{name2}
  fill fullcircle scaled 100pt withcolor blue ;
\stopreusableMPgraphic
Blue circle:\reuseMPgraphic{name2}
\stoptext



Works as expected here, producing both circles. I am using 2020.11.17 12:39, 
both LMTX and MkIV.

--
RIk


___
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] reusableMPgraphic not working

2020-11-18 Thread Bruce Horrocks
Just working through the Metafun manual and have hit a problem. In the 
following MWE the green circle appears but the blue one doesn't. Surely 
reusable graphics must be so commonly used that it has to be me that's doing 
something wrong?

(Context version is: 2020.11.05 23:01)

\starttext
\startuseMPgraphic{name1}
 fill fullcircle scaled 100pt withcolor green ;
\stopuseMPgraphic
Green circle: \useMPgraphic{name1}

\startreusableMPgraphic{name2}
 fill fullcircle scaled 100pt withcolor blue ;
\stopreusableMPgraphic
Blue circle:\reuseMPgraphic{name2}
\stoptext

--
Bruce Horrocks
Hampshire, UK

___
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] \infull not working

2020-11-18 Thread Nigel King
Dear Group,
Thanks for your excellent work.

I have just got a new computer and installed Context as I normally do. 
Unfortunately there appears to be a bug, unless I have done something wrong. 
\infull appears not to be working. I have used the following test file which is 
from the wiki but split the line with \infull{Ch} in two to be certain.

\definesynonyms[test][tests][\infull]

\setupsynonyms[test][criterium=all]

 \test{ITU}{International Telecommunication Union}
 \test{MID}{Maritime Identification Digit}
 \test{Ch}{Switzerland}

\starttext

The \ITU\ is an 
organisation in \infull{Ch}

\subject{Short is nice}
 \placelistoftests

\stoptext

The log message has this in it.

tex error   > tex error on line 12 in file 
/Users/nki001/OneDrive/MyDocuments/Context/NGAForIreland/test.tex: Undefined 
control sequence


 organisation in \infull
{Ch}


 2 
 3 \setupsynonyms[test][criterium=all]
 4 
 5  \test{ITU}{International Telecommunication Union}
 6  \test{MID}{Maritime Identification Digit}
 7  \test{Ch}{Switzerland}
 8 
 9 \starttext
10 
11 The \ITU\ is an 
12 >>  organisation in \infull{Ch}
13 


Thoughts?

Nigel King
___
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] Index formatting difference LMTX and MkIV redux

2020-11-18 Thread Hans Hagen

On 11/17/2020 10:14 PM, Pablo Rodriguez wrote:

On 11/17/20 9:34 PM, Rik Kabel wrote:

Bump.

This is still a problem. Can anyone acknowledge that the problem exists
outside my own installation? If so, is there a work-around? An explanation?


Hi Rik,

I can reproduce your problem, but I’m afraid I don’t know the
explanation for this or even a workaround.
We have a more accurate limiter so you get one more word (keep in mind 
that the ... is part of the width). Then, when being used stretch and 
shrink kick in and your '4cm' gives too much space. I'll enable the 
features that freezes the spacing to fit the width but even then you 
will overflow. So, you need to decrease the 4cm.


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
___