Re: [NTG-context] Custom type-imp file creating empty lines

2022-05-11 Thread Alexandre Christe via ntg-context
Hi Pablo,

Thank you so much. That was indeed the issue!

Le mer. 11 mai 2022 à 19:14, Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> a écrit :

> On 5/11/22 18:42, Alexandre Christe via ntg-context wrote:
> > Dear list,
> >
> > I've played a bit with a custom type-imp file (partly inspired from the
> > wiki https://wiki.contextgarden.net/Alegreya_Typescript
> > ). However, the file
> > I ended up with seems to create some empty lines at the beginning of the
> > document (if I use the default or another font this vanishes, so it
> > really comes from that file). Could anyone enlighten me?
>
> Hi Alex,
>
> you added an extra option group here:
>
>   \definefallbackfamily [alegreya] [math] [Alegreya]
> [superscriptsandsubscripts] [force=yes]
>
> I think this may read:
>
>   \definefallbackfamily [alegreya] [math] [Alegreya]
> [range=superscriptsandsubscripts, force=yes]
>
> Just in case it might help,
>
> Pablo
>
> ___
> 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] Custom type-imp file creating empty lines

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 18:42, Alexandre Christe via ntg-context wrote:
> Dear list,
>
> I've played a bit with a custom type-imp file (partly inspired from the
> wiki https://wiki.contextgarden.net/Alegreya_Typescript
> ). However, the file
> I ended up with seems to create some empty lines at the beginning of the
> document (if I use the default or another font this vanishes, so it
> really comes from that file). Could anyone enlighten me?

Hi Alex,

you added an extra option group here:

  \definefallbackfamily [alegreya] [math] [Alegreya]
[superscriptsandsubscripts] [force=yes]

I think this may read:

  \definefallbackfamily [alegreya] [math] [Alegreya]
[range=superscriptsandsubscripts, force=yes]

Just in case it might help,

Pablo
___
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

2022-05-11 Thread Hans Hagen via ntg-context

On 5/11/2022 5:46 PM, Zhichu Chen via ntg-context wrote:

Thanks for the update. But I noticed that the XITS fonts were still the 
old ones:




zhichu@large /opt/context-lmtx/tex/texmf/fonts/opentype/public/xits $ 
fc-query -f '%{fontversion}\n' XITS-Regular.otf  | perl -E 'printf 
"%.3f\n", <>/65536.0'

1.200




According to

https://github.com/aliftype/xits/releases

the final release is version 1.302. Maybe I don't care the new changes 
since 1.200, but every time I compile my file, I get the warnings I 
don't like:




mathematics > tweak > 'XITSMath-Regular', size 6pt, math size 3, 
version 'Version 1.200' found, version 'Version 1.302' expected
mathematics > tweak > 'XITSMath-Bold', size 6pt, math size 3, 
version 'Version 1.109' found, version 'Version 1.302' expected



Do you mind get the new ones in the next beta?

i'll try but you need to check

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] Custom type-imp file creating empty lines

2022-05-11 Thread Alexandre Christe via ntg-context
Dear list,

I've played a bit with a custom type-imp file (partly inspired from the
wiki https://wiki.contextgarden.net/Alegreya_Typescript). However, the file
I ended up with seems to create some empty lines at the beginning of the
document (if I use the default or another font this vanishes, so it really
comes from that file). Could anyone enlighten me?

The file is attached.

BR,
Alex


type-imp-alegreya.mkiv
Description: Binary data
___
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] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 18:09, Wolfgang Schuster via ntg-context wrote:
> Pablo Rodriguez via ntg-context schrieb am 11.05.2022 um 17:57:
>> AfaIk, there is not "--language" option from the command line. (This
>> also makes sense to me.)
>
> \doifdocumentargument {language}
>    {\mainlanguage[\getdocumentargument{language}]}

Many thanks for the info, Wolfgang.

I see that literally anything goes:

  \doifdocumentargument{anything}
{\mainlanguage[\getdocumentargument{anything}]}

Many thanks for your help,

Pablo
___
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] \startXML vs \startPARSEDXML

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 11:47, Denis Maier via ntg-context wrote:
> Hi everyone,
>
> the wikipage on \starttyping
> (https://wiki.contextgarden.net/Command/_starttyping
> ) says there are
> some dedicated commands, e.g. \startXML and \startPARSEDXML. How do they
> differ?

Hi Denis,

yesterday I had to start using xml instead of parsed-xml.

See the difference:

  \setuppapersize[A4, landscape]
  \setupbodyfont[dejavu]
  \starttext
  \startxtable[option=stretch]
  \startxrow[offset=1ex]
  \startxcell
  \startXML
  
  
   

 Anuncio
 
 Belleza

   
  
  \stopXML
  \stopxcell
  \startxcell
  \startPARSEDXML
  
  
   

 Anuncio
 
 Belleza

   
  
  \stopPARSEDXML
  \stopxcell
  \stopxrow
  \stopxtable
  \stoptext

I wonder why attribute values are parsed so. I don’t know whether this
might be a bug (but this is why I replaced "parsed-xml" with "xml" in my
code).

If I could ask you a favor, would you be so kind to confirm whether
\xmlpos and \xmldepth are misbehaving or not (as already reported in
https://mailman.ntg.nl/pipermail/ntg-context/2022/105495.html and
https://mailman.ntg.nl/pipermail/ntg-context/2022/105604.html)?

Many thanks for your help,

Pablo
___
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] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Wolfgang Schuster via ntg-context

Pablo Rodriguez via ntg-context schrieb am 11.05.2022 um 17:57:

AfaIk, there is not "--language" option from the command line. (This
also makes sense to me.)


\doifdocumentargument {language}
  {\mainlanguage[\getdocumentargument{language}]}

\starttext
\currentmainlanguage
\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] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 09:40, Gerben Wierda via ntg-context wrote:
>> On 11 May 2022, at 08:59, Taco Hoekwater  wrote:
>> [...]
>> The language settings trigger a system mode, see
>>
>> https://wiki.contextgarden.net/Modes#System_modes
>
> Thanks, but how do I influence this from the command line? Does it
> work the other way around, so with “—mode=en”?
Hi Gerben,

I think this may do the trick:

  \doiftext{\env{ml}}
{\mainlanguage[\env{ml}]}
  \starttext
   Document main language:
\startmodeset
[**en] {English}
[**es] {Spanish}
[**de] {German}
[**nl] {Dutch}
[**ru] {Russian}
\stopmodeset%
   .
  \stoptext

Of course, "--arguments=ml=nl" would be the right option to pass the
language from the command line.

AfaIk, there is not "--language" option from the command line. (This
also makes sense to me.)

Just in case it might help,

Pablo
___
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

2022-05-11 Thread Zhichu Chen via ntg-context

Hi Hans,


Thanks for the update. But I noticed that the XITS fonts were still the 
old ones:




zhichu@large /opt/context-lmtx/tex/texmf/fonts/opentype/public/xits $ 
fc-query -f '%{fontversion}\n' XITS-Regular.otf  | perl -E 'printf 
"%.3f\n", <>/65536.0'

1.200




According to

https://github.com/aliftype/xits/releases

the final release is version 1.302. Maybe I don't care the new changes 
since 1.200, but every time I compile my file, I get the warnings I 
don't like:




mathematics > tweak > 'XITSMath-Regular', size 6pt, math size 3, 
version 'Version 1.200' found, version 'Version 1.302' expected
mathematics > tweak > 'XITSMath-Bold', size 6pt, math size 3, 
version 'Version 1.109' found, version 'Version 1.302' expected



Do you mind get the new ones in the next beta?


Best regards,

Zhichu


On 5/9/22 23:41, Hans Hagen via ntg-context wrote:

Hi,

I uploaded a new version of lmtx (also because some users have to test 
some new metapost functionality). In the next upload metafun will use 
'double' mode (and scaledfun will be the traditional one). The 
advantage is less dager for overflows and in the meantime running in 
double mode is often also faster.


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
___ 


___
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

2022-05-11 Thread śrīrāma via ntg-context
On 5/9/22 9:24 PM mf via ntg-context wrote:
> I'm downloading it and I see a lot of mkii files and even some Ruby files.
> 
> It looks like some old material got into the update. Is everything right?

Hi Hans,

In addition to the above mkii files and rb files mentioned by Massi, I have 
also 
got a lot of files pertaining to 'win64' which I never had before. [I am on 
linux64].

Thanks,
  Sreeram


___
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] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-05-11 Thread Cron Daemon via ntg-context
receiving incremental file list
 ./
 ctan.lsr
 document-2.htm
 download-1.htm
 download-2.htm
 logo-ade.png
 logo-cts.png
 logo-pod.png
 rss.xml
 show-fil.pdf
 context/latest/
 context/latest/cont-mpd.zip
 context/latest/cont-ppc.zip
 context/latest/cont-sci.zip
 context/latest/cont-tmf.zip
 examplap/
 present/tug-2000/
 present/tug-2000/pre-pdf3.pdf
 
 sent 98,561 bytes  received 20,565,147 bytes  2,755,161.07 bytes/sec
 total size is 453,890,950  speedup is 21.97


Running archiver:

New dir: /var/www/aanhet.net/context//htdocs/archives/context-2022-05-11.12
134404093   
/var/www/aanhet.net/context//htdocs/archives/context-2022-05-11.12/latest
126745317   
/var/www/aanhet.net/context//htdocs/archives/context-2022-05-11.12/current
18956262
/var/www/aanhet.net/context//htdocs/archives/context-2022-05-11.12/alpha
126707516   
/var/www/aanhet.net/context//htdocs/archives/context-2022-05-11.12/beta
406817284   
/var/www/aanhet.net/context//htdocs/archives/context-2022-05-11.12
406817284   total
___
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] List of publications...

2022-05-11 Thread śrīrāma via ntg-context
On 5/11/22 3:23 PM śrīrāma wrote:
> Till there is a fix, I am able to workaround it by:
>   • using only lowercase characters (a-z) in the item tags
>   • comment out all occurrences of
> tag   = lowered[tag]
> field = lowered[field]
>   in publ-ini.lua

To be clear only one of these needs to be applied to get a proper output.

  Sreeram


___
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] List of publications...

2022-05-11 Thread śrīrāma via ntg-context
On 5/11/22 2:24 PM Willi Egger via ntg-context wrote:
> I ws trying to finish my list of publications. How ever I now get a very
> strange list.
> 
> Could someone compile the attached tex-sample-file and see?
> 
> I have ConTeXt  ver: 2022.04.20 19:18 LMTX  fmt: 2022.4.22

Yes: this issue has been there for some time now. Please see:
  https://mailman.ntg.nl/pipermail/ntg-context/2022/105649.html, and,
  https://mailman.ntg.nl/pipermail/ntg-context/2022/105585.html

Till there is a fix, I am able to workaround it by:
  • using only lowercase characters (a-z) in the item tags 
  • comment out all occurrences of 
tag   = lowered[tag]
field = lowered[field]
  in publ-ini.lua

  Sreeram


___
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] \startXML vs \startPARSEDXML

2022-05-11 Thread Denis Maier via ntg-context
Hi everyone,

the wikipage on \starttyping 
(https://wiki.contextgarden.net/Command/_starttyping) says there are some 
dedicated commands, e.g. \startXML and \startPARSEDXML. How do they differ?

Best,
Denis
___
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] List of publications...

2022-05-11 Thread Günter Kolousek via ntg-context


I'm able to confirm that

❯ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file:
mtx-context | current version: 2022.05.10 18:44
mtx-context | main context file:
mtx-context | current version: 2022.05.10 18:44

results in exactly the same output.
Günter


Willi Egger via ntg-context @ 2022-05-11 10:54 +02:


Good morning!

I ws trying to finish my list of publications. How ever I now 
get a very strange list.


Could someone compile the attached tex-sample-file and see?

I have ConTeXt  ver: 2022.04.20 19:18 LMTX  fmt: 2022.4.22

Thanks

Willi

[3. application/octet-stream; publist-test.bbl]...

[5. application/pdf; publist-test.pdf]...

[7. application/x-tex; publist-test.tex]...

___
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
___


[NTG-context] List of publications...

2022-05-11 Thread Willi Egger via ntg-context
Good morning!I ws trying to finish my list of publications. How ever I now get a very strange list.Could someone compile the attached tex-sample-file and see?I have ConTeXt  ver: 2022.04.20 19:18 LMTX  fmt: 2022.4.22ThanksWilli

publist-test.bbl
Description: Binary data


publist-test.pdf
Description: Adobe PDF document


publist-test.tex
Description: Binary data
___
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] Does \startnotallmodes work?

2022-05-11 Thread Gerben Wierda via ntg-context
> On 11 May 2022, at 02:37, Rik Kabel via ntg-context  
> wrote:
> 
> On 2022-05-10 17:39, Gerben Wierda via ntg-context wrote:
>> Example. Call with 
>> 
>> context —mode=FR
>> 
>> - Uncomment the first commented lines. Compilation fails because mode FR is 
>> on so that works
>> 
>> But I get English anyway. Uncomment the second commented part and it fails, 
>> but it should not because mode=EN is not turned on.
>> 
>> %\startmode[FR]
>> %  \BLURBONE
>> %  \stopmode
>> 
>> \startnotallmodes[FR,RU]% english is the default
>> \enablemode[EN]
>> \stopnotallmodes
>> 
>> \startmode[EN]
>> %  \BLURBTWO
>> \setuplanguage[en][patterns={en}]
>> \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 
>> Metamodel ESv4]
>> \stopmode
>> \startmode[FR]
>> \setuplanguage[fr][patterns={en,fr}]
>> \setupexternalfigure[directory=../LMTX-Output/without-ids/fr/ArchiMate 3.1 
>> Metamodel ESv4]
>> \stopmode
>> \startmode[RU]
>> \setuplanguage[ru][patterns={en,ru}]
>> \setupexternalfigure[directory=../LMTX-Output/without-ids/ru/ArchiMate 3.1 
>> Metamodel ESv4]
>> \stopmode
>> 
>> Gerben Wierda (LinkedIn )
>> R IT Strategy  (main site)
>> Book: Chess and the Art of Enterprise Architecture 
>> 
>> Book: Mastering ArchiMate 
>> 
> Gerben,
> 
> \startnotallmodes is behaving as it should. Here, it is not the case that RU 
> and FR (all the listed modes) are set, so EN is enabled, and you actually 
> have both FR and EN set.
> 
> Try the following with 
> 
> context —mode=FR
> 
> and make sure you understand the result.
> 
> \starttext
> \doifmode{EN}{EN is enabled\par}
> \doifmode{FR}{FR is enabled\par}
> \doifmode{RU}{RU is enabled\par}
> \doifmode{FR,RU}{at least one of FR and RU modes is enabled\par}
> \doifmode{EN,RU}{at least one of EN and RU modes is enabled\par}
> \doifmode{EN,FR}{at least one of EN and FR modes is enabled\par}
> \doifmode{EN,FR,RU}{at least one of EN, FR, and RU modes is enabled\par}
> \doifnotmode{EN}{EN is not enabled\par}
> \doifnotmode{FR}{FR is not enabled\par}
> \doifnotmode{RU}{RU is not enabled\par}
> \doifnotmode{EN,RU}{neither EN nor RU is enabled\par}
> \doifnotmode{EN,FR}{neither EN nor FR is enabled\par}
> \doifnotmode{RU,FR}{neither RU nor FR is enabled\par}
> \doifnotallmodes{FR,RU}{all of FR and RU modes are not enabled\par}
> \doifnotallmodes{EN,RU}{all of EN and RU modes are not enabled\par}
> \doifnotallmodes{EN,FR}{all of EN and FR modes are not enabled\par}
> \doifnotallmodes{EN,FR,RU}{all of EN, FR, and RU modes are not enabled\par}
> \stoptext
> 
> Then, add the following block to the beginning of the file and try again.
> 
> \definemode[EN,FR,RU][keep]
> \doifmodeelse{EN}
>   {\disablemode[FR]
>\disablemode[RU]}
>   {\doifmodeelse{FR}
>{   \disablemode[EN]
>\disablemode[RU]}
>{\doifmodeelse{RU}
>  { \disablemode[EN]
>\disablemode[FR]}}
>  { \enablemode[EN]}}
> 
> 
> I find it useful to add such a block to the environment of every file that 
> uses mutually-exclusive modes. This version pf the block sets a default value 
> if none is on the command line.
> 

Thanks. It seems that the last part has a {}-issue. \enablemode[EN] is always 
wxecuted if on the commandline only FR or RU is set 

\definemode[EN,FR,RU][keep]
\doifmodeelse{EN}
  {
\disablemode[FR]
\disablemode[RU]
  }
  {
\doifmodeelse{FR}
{
  \disablemode[EN]
  \disablemode[RU]
}
{
  \doifmodeelse{RU}
  {
\disablemode[EN]
\disablemode[FR]
  }
}
{
  \enablemode[EN]
}
  }

I am now using

\doifmodeelse{EN}
  {
\disablemode[FR]
\disablemode[RU]
  }
  {
\doifmodeelse{FR}
{
  \disablemode[EN]
  \disablemode[RU]
}
{
  \doifmodeelse{RU}
  {
\disablemode[EN]
\disablemode[FR]
  }
  {
\enablemode[EN]
  }
}
  }

> -- 
> 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
> ___

___
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] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-05-11 Thread Cron Daemon via ntg-context
receiving incremental file list
 ./
 ctan.lsr
 document-2.htm
 download-1.htm
 download-2.htm
 logo-ade.png
 logo-cts.png
 logo-pod.png
 rss.xml
 
 sent 1,462 bytes  received 130,379 bytes  263,682.00 bytes/sec
 total size is 456,803,270  speedup is 3,464.80
___
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] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Gerben Wierda via ntg-context

> On 11 May 2022, at 08:59, Taco Hoekwater  wrote:
> 
> 
> 
>> On 10 May 2022, at 23:40, Gerben Wierda via ntg-context  
>> wrote:
>> 
>> Fix
> 
>>> I was wondering if this can be simplified, e.g. by setting language on the 
>>> command line instead, enable a mode derived from a language set on the 
>>> command line, 
> 
> The language settings trigger a system mode, see
> 
> https://wiki.contextgarden.net/Modes#System_modes

Thanks, but how do I influence this from the command line? Does it work the 
other way around, so with “—mode=en”?

Yours,

G

___
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] cross-reference query solved

2022-05-11 Thread jbf via ntg-context
To those who assisted me with helpful hints yesterday, thank you. I 
finally got the cross-referencing working correctly after examining my 
overall structure in the light of those hints.


I think that what was preventing things from working properly, was that 
I had all the entries for a particular chapter enclosed in a setup. I 
won't go into why I had adopted that approach, but in restructuring 
things far more sensibly, I was able to do away with the \start\...\stop 
setups. I think this is what was causing the problem.


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] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Taco Hoekwater via ntg-context


> On 10 May 2022, at 23:40, Gerben Wierda via ntg-context  
> wrote:
> 
> Fix

>> I was wondering if this can be simplified, e.g. by setting language on the 
>> command line instead, enable a mode derived from a language set on the 
>> command line, 

The language settings trigger a system mode, see

https://wiki.contextgarden.net/Modes#System_modes

Best wishes,
Taco

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
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
___