From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113745 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?q?Jan-Erik_H=C3=A4ggl=C3=B6f_via_ntg-context?= Newsgroups: gmane.comp.tex.context Subject: Re: circuitikz module seems broken Date: Mon, 13 Dec 2021 21:14:46 +0100 Message-ID: References: <25b6aecf-4dcc-ba43-bf4c-e8c9815346cd@xs4all.nl> <39ef5794-0415-0f0d-c8e2-2b2f98b63bd7@xs4all.nl> <8F43655E-0E92-464D-B3ED-8003FE7C68A0@gmail.com> <76f774e4-90a4-e0c8-e51b-f3748241775a@fiee.net> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8391691696683112639==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29787"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?B?SmFuLUVyaWsgSMOkZ2dsw7Zm?= To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 13 21:15:24 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwrjI-0007Yl-4k for gctc-ntg-context-518@m.gmane-mx.org; Mon, 13 Dec 2021 21:15:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8652A2A1C05; Mon, 13 Dec 2021 21:15:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NWIfNiNWLV3N; Mon, 13 Dec 2021 21:14:59 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1A8F42A1993; Mon, 13 Dec 2021 21:14:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 94DE42A1993 for ; Mon, 13 Dec 2021 21:14:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7TW22T6AFxyZ for ; Mon, 13 Dec 2021 21:14:56 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.46; helo=mail-lf1-f46.google.com; envelope-from=skrantajanneman@gmail.com; receiver= Original-Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 0D6A22A183C for ; Mon, 13 Dec 2021 21:14:55 +0100 (CET) Original-Received: by mail-lf1-f46.google.com with SMTP id m27so32969268lfj.12 for ; Mon, 13 Dec 2021 12:14:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8qGjyEqL+Mq8OX6WZkPLPyWnJFvRucPf4psh1qLOLgc=; b=NAcxAm1tJcXDAC/NINJJGSzirK9/m/sFMvpjkhm6sSi0GqFm+JHS/0mxtzfh6a6f4W AeaEjYPcsi6+5yImmQ5yhy9AI8THQdQNxi0lsIhGejOBaxSQUiNltnleYim5kt3Wvhj+ MTq0RzsvNl5NRMG9g3z4CDfgHbq9aqFDmXZH9HpxMClXlJ+3gaW2NboqXflRgOgrvc9x Eu5uzBTbCZL3g/N20DKjkQ7bRmoRIXOJPEzYVjgd2JYCjXsRHr381Wgas5FzllYx/Nya SBkQGBfS/5R9VaXYuGvJftWZLgAoepUaZsDUV9jOXL3yWRFF9yXOOInqz6gFv+uih1z0 zQuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8qGjyEqL+Mq8OX6WZkPLPyWnJFvRucPf4psh1qLOLgc=; b=x+L+bB5xfkpyeBdxM094a6mBjILFj2xD6lw6CZFSigm6JWNopCkjYKTLrme8G2FDOM c4ui3fTbRWD8GWooMik1tgyTNBjZ7ySQXpxj1gzDxtBVHdK9vybSfexDSS4bAPz0YB3a r3UI1m8qVOzNHkSlIprHEpQFSpvhepHbjCXb0BsZus3EVP0deLlfI4x5T4s0ojuLUF47 FO1bL+UTtzo0e4Pm2yb1yYkSVPIaKbVoezvl1Y6kDhiAFtZfb43nzhk+/t2xujKDbJPI UDRMG9AF3QZvc2ViOeCeOHzZy+D9iVYVLBIydS17NjglC5zJ4TBmSh++Fc1v6jfAhdne zeTw== X-Gm-Message-State: AOAM531kf+IYyMOAbEK7Z32jqG0CxHHh+bxN2B6m2WgCGBXyiSLKaORO V/XcOTNppFo4o0XuPVuBnA23CDI1QjnT+V8zLfIEjq2K X-Google-Smtp-Source: ABdhPJxhIt+B5zYgjlochiNVA5CEcxPvRyGSGuuHBmOaxQnRa+mj12lhlRQoRuFap8dziHC+3yiutnSIgPHB72Uyyyc= X-Received: by 2002:a05:6512:3d8d:: with SMTP id k13mr481492lfv.672.1639426494839; Mon, 13 Dec 2021 12:14:54 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:113745 Archived-At: --===============8391691696683112639== Content-Type: multipart/alternative; boundary="000000000000dc3f0505d30cb9ff" --000000000000dc3f0505d30cb9ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Good work and thank you very much. I dig in to it and try it out Sincerely Jan-Erik Den m=C3=A5n 13 dec. 2021 21:09Aditya Mahajan via ntg-context skrev: > On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > > > > Something is still not working correctly though. With the simple > example that Hans sent, I get error messages: > > > > > > tex error > tex error on line 76 in file m-circuitikz.mkxl: > Package pgfkeys Error: I do not know the key '/tikz/resistor', to which y= ou > passed 'american', and I am going to ignore it. Perhaps you misspelled it > > > > > > which are weird because tikz is looking at keys tikz/resistor rather > than tikz/circuittikz/resistor. But I don't understand why this is the ca= se. > > > > Here is a minimal example to show the error. > > There was an error in circuitikz, which is now fixed in the latest > version: > > https://github.com/circuitikz/circuitikz/pull/600 > > So, the following works (with latest circuittiz from ctan): > > \usemodule[t][circuitikz] > > \starttext > > \startcircuitikz > \draw (0,2) to[I] (2,2); > \stopcircuitikz > > \stoptext > > But fails with m-circuitikz (even after I remove \unprotect ... \protect > from \starttikzinput as in the other thread). So, I don't know what is > going wrong with the catcodes in m-circuitikz. > > 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 > > _________________________________________________________________________= __________ > --000000000000dc3f0505d30cb9ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Good work and thank you very much. I dig in to it and try= it out

Sincerely

Jan-Erik=C2=A0

Den m=C3=A5n 13 = dec. 2021 21:09Aditya Mahajan via ntg-context <ntg-context@ntg.nl> skrev:
On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote:

> On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote:
> >
> > Something is still not working correctly though. With the simple = example that Hans sent, I get error messages:
> >
> > tex error=C2=A0 =C2=A0 =C2=A0 =C2=A0> tex error on line 76 in = file m-circuitikz.mkxl: Package pgfkeys Error: I do not know the key '/= tikz/resistor', to which you passed 'american', and I am going = to ignore it. Perhaps you misspelled it
> >
> > which are weird because tikz is looking at keys tikz/resistor rat= her than tikz/circuittikz/resistor. But I don't understand why this is = the case.
>
> Here is a minimal example to show the error.

There was an error in circuitikz,=C2=A0 which is now fixed in the latest ve= rsion:

https://github.com/circuitikz/circuitikz= /pull/600

So, the following works (with latest circuittiz from ctan):

\usemodule[t][circuitikz]

\starttext

\startcircuitikz
=C2=A0 \draw (0,2) to[I] (2,2);
\stopcircuitikz

\stoptext

But fails with m-circuitikz (even after I remove \unprotect ... \protect fr= om \starttikzinput as in the other thread). So, I don't know what is go= ing wrong with the catcodes in m-circuitikz.

Aditya
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / http://= www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://= context.aanhet.net
archive=C2=A0 : https://bitbucket.org/ph= g/context-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000dc3f0505d30cb9ff-- --===============8391691696683112639== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8391691696683112639==--