ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
To: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
Cc: Aditya Mahajan <adityam@umich.edu>
Subject: Re: [NTG-context] tikz + lmtx
Date: Fri, 28 Apr 2023 01:01:23 -0400 (EDT)	[thread overview]
Message-ID: <91642s13-19r2-q160-791o-p12q36838015@hzvpu.rqh> (raw)
In-Reply-To: <nso51079-7p60-sns0-38nn-r5q9n612nnn1@hzvpu.rqh>

On Fri, 28 Apr 2023, Aditya Mahajan via ntg-context wrote:

> Hi all,
> 
> For a few months now, all features of tikz have not been working with LMTX. After help from Hans and a bit of trial and error, I think that figured out what was going wrong with the catcodes in m-tikz: Since the texcatcodes are different from what tikz expects, the catcodes have to be set inside \starttikzpicture (in addition to before the loading of tikz files, which was already being done). 
> 
> I am attaching the working m-tikz.mkxl file. 
> 
> I have tested this on my course notes, which make extensive use of simple tikz block diagrams and pgfplots graphs. Perhaps others who were having issues with tikz could test if this fixes everything and, if so, we can add this to the distribution.

Circuitikz still doesn't work. Even loading the module fails. Not sure why this is happening:

\usemodule[circuitikz]

gives:


tex error       > tex error on line 77 in file /opt/luametatex/texmf-context/tex/context/modules/mkxl/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

<macro> \pgfkeys@error

which is a bit strange as the key should have been '/tikz/circuitikz/resistor' rather than 'tikz/resistor'.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-04-28  5:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28  4:08 Aditya Mahajan via ntg-context
2023-04-28  5:01 ` Aditya Mahajan via ntg-context [this message]
2023-04-28 13:22   ` Ulrike Fischer via ntg-context
2023-04-28 14:08     ` Gavin via ntg-context
2023-04-28 14:25       ` Aditya Mahajan via ntg-context
2023-04-28 16:42         ` Floris van Manen via ntg-context
2023-04-28 21:38           ` Aditya Mahajan via ntg-context
2023-04-28 14:26     ` Aditya Mahajan via ntg-context
2023-05-02  5:49       ` Aditya Mahajan via ntg-context
2023-05-04 14:45 ` Hans Hagen via ntg-context
2023-05-04 21:12   ` Aditya Mahajan via ntg-context
2023-05-04 21:22     ` Hans Hagen via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=91642s13-19r2-q160-791o-p12q36838015@hzvpu.rqh \
    --to=ntg-context@ntg.nl \
    --cc=adityam@umich.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).