Re: [NTG-context] [DKIM] Re: [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-05 Thread Aditya Mahajan via ntg-context
On Sun, 5 Dec 2021, Hans Hagen via ntg-context wrote:

> On 12/4/2021 10:37 PM, Jan-Erik Hägglöf via ntg-context wrote:
> > I did replace the attached .mkxl files now in the correct directory tree
> together with the rest of all m-xyz.mkxl module files.
> > 
> > The same error message appears and i’m back at square one.
> hm, here i did:
> 
> - install tikz from ctan
> - install curcuitikz from ctan
> - copy the m-files to context/base ...
> 
> ran mtxrun --generate
> 
> there is not much more I can do (esp if it also runs ok at Aditya's place)

Things are not working correctly at my end either. The whole tikz/pgf code 
needs some cleaning up. There are a bunch of errors of the form:

system  > module wrapping error in 'tikz'

because the many of the modules in tikz have a \stopmodule but not a 
\startmodule. I'll try to clean it up, but tikz is a rabbit hole 

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
___


Re: [NTG-context] upload

2021-12-05 Thread Jairo A. del Rio via ntg-context
Hi, Hans. I've got a question. Negative steps are treated as positive:

\starttext
\expandedloop 10 0 -2 {\the\currentloopiterator\ }
\stoptext

gives

0 2 4 6 8 10

Is this expected behavior? If so, it would be fine to have something more
alike to MetaPost's "for ... step ... until" loop. Thank you in advance.

Regards,

Jairo

El vie, 3 dic 2021 a la(s) 09:29, Hans Hagen via ntg-context (
ntg-context@ntg.nl) escribió:

> Hi,
>
> a new upload
>
> - some keywords renamed in the engine and therefore more split between
> mkiv and lmtx (hopefully i included all files) .. if something doesn't
> work any more it might be because i missed a rename.
>
> - i finally decied that it does make sense to have native loops at the
> primitive level (after all, metapost as macro language also has them)
> and although much is possible in macros it doesn't mean we have to do it
> the (often ugly and showing-off-by-abusing-side-effects way).
>
> We have just a constructor:
>
>\unexpandedloop  1 100 1 {.}
>
> and a fully expandable one for e.g. use in \edef:
>
>\expandedloop1 100 1 {.}
>
> plus an also fully expandable one for anywhere but with potential side
> effects (out of order local loops):
>
>\localcontrolledloop 1 100 1 {.}
>
> complemented by a few status primitives (integers, use \the or \number
> to serialize them):
>
>\currentloopiterator
>\currentloopnesting
>
> and a quitter that aborts at the next iteration:
>
>\quitloop
>
> as usual it's experimental for a while. Among the rationales are 'less
> tracing clutter', 'performance' and 'more natural primitive tex coding'
> (but that one is personal).
>
> 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] [DKIM] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-05 Thread Jan-Erik Hägglöf via ntg-context
Ok so I did all the tips, installed from ctan without any success so it is 
interesting to know how it worked out for some and not for me.

Well that is a good question.

Thanks for your help anyway

Regards

Jan-Erik

> 5 dec. 2021 kl. 16:35 skrev Hans Hagen :
> 
> On 12/4/2021 10:37 PM, Jan-Erik Hägglöf via ntg-context wrote:
>> I did replace the attached .mkxl files now in the correct directory tree 
>> together with the rest of all m-xyz.mkxl module files.
>> The same error message appears and i’m back at square one.
> hm, here i did:
> 
> - install tikz from ctan
> - install curcuitikz from ctan
> - copy the m-files to context/base ...
> 
> ran mtxrun --generate
> 
> there is not much more I can do (esp if it also runs ok at Aditya's place)
> 
> 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] m-database module error since update

2021-12-05 Thread Jan-Erik Hägglöf via ntg-context
Since my update to LMTX 2021-12-03 the following error occured:

tex error   > tex error on line 41 in file 
/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/modules/mkiv/m-database.mkiv:
 Missing \endcsname inserted

 

   \endlocalcontrol 
 
   \c 
   !separator
 \mult_interfaces_get_parameters_item_okay 
   #1=#2,->\ifarguments \or \mult_interfaces_get_parameters_item_error \else 
\defcsname \m_mult_interfaces_namespace #1
   \endcsname {#2}\fi 
 \mult_interfaces_get_parameters_item 
   #*#1,->\ifarguments \else \mult_interfaces_get_parameters_item_okay #1,
   \ignorearguments \expandafter \mult_interfaces_get_parameters_item \fi 
 
   \c !separator={,},
\c !quotechar=, \c !commentchar=, \c !strip=\v !no, \c !before=, \c 
!after=, \c !first=, \c !last=, \c !left=, \c !right=
 \mult_interfaces_get_parameters_indeed 
   #1]->\mult_interfaces_get_parameters_item #1
   \ignorearguments \ignorearguments 
...

 


31   [\c!separator={,},
32\c!quotechar=,
33\c!commentchar=,
34\c!strip=\v!no,
35\c!before=,
36\c!after=,
37\c!first=,
38\c!last=,
39\c!left=,
40\c!right=]
41 >>  
42 % \let\currentdatabase\empty \the\everypresetdatabase % or just:
43 
44 \setupdatabase
45   [\c!separator={,}]
46 
47 \def\module_database_process#1#2#3%
48   {\edef\currentdatabasetype{#1}%
49\edef\currentdatabase{#2}%
50\edef\currentdatabasename{#3}%
51\ifx\currentdatabasename\empty
The control sequence marked  should not appear between \csname
and \endcsname.

I have an older version of LMTX 2021-08-10 on my laptop that works fine on same 
document.

Thanks in advance

Jan-Erik Hägglöf
___
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] Status of moderncv with ConTeXt ?

2021-12-05 Thread John Lord via ntg-context


kaddour kardio via ntg-context  writes:


it worked flawlesly dear John.
Thank you.
PS: how can we do to enrich the environnement and use it as a 
full-featured replacement of
the older module? 

Le sam. 4 déc. 2021 à 19:45, John Lord via ntg-context 
 a écrit :


 Laurent Steffan via ntg-context  writes:

 > Hello,
 >
 > In the deprecated document about "Correspondence" dated 2010, 
 > the chapter on résumés describes a ConTeXt
 > reimplementation of the moderncv package. Is this still 
 > usable, 
 > and if so, where can I get the relevant files ?

 >
 > Thanks in advance
 > Laurent Steffan
 >

 Hi all

 I am a recent convert to ConTeXt and have been enjoying the 
 ride. 
 I

 was also not able to get it to work. So, I created a simplified
 version which compiles on the latest LMTX version of ConTeXt. I 
 am
 including a copy here in case it is of interest to anyone else. 
 The
 files included are resume-style, resume-template, and 
 cover-context.


 This is my first post so hopefully the attachments come through 
 OK. 


 Regards

 John Lord


I am glad this worked without issue. Unfortunately, I am not a 
programmer so producing a general purpose module is beyond my 
ability at this stage. This was more of a fun exercise to 
replicate my LaTeX-produced moderncv resume into a ConTeXt 
version. It also gave me the opportunity to learn the ConTeXt way.


I would be more than happy if somebody else were to take this and 
improve.


Regards

John Lord
___
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] [DKIM] Re: [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-05 Thread Hans Hagen via ntg-context

On 12/4/2021 10:37 PM, Jan-Erik Hägglöf via ntg-context wrote:

I did replace the attached .mkxl files now in the correct directory tree 
together with the rest of all m-xyz.mkxl module files.

The same error message appears and i’m back at square one.

hm, here i did:

- install tikz from ctan
- install curcuitikz from ctan
- copy the m-files to context/base ...

ran mtxrun --generate

there is not much more I can do (esp if it also runs ok at Aditya's place)

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
___