On Thu, 2021-09-30 at 14:52 -0400, Aditya Mahajan via ntg-context
wrote:
> On Thu, 30 Sep 2021, Henri Menke via ntg-context wrote:
> 
> > On Thu, 2021-09-30 at 11:57 +0200, Alain Delmotte via ntg-context
> > wrote:
> > > Hi!
> > > 
> > > I would like to use tikz to benefit of the package "pgf-soroban"
> > > I
> > > did write for LaTeX (after adapting it and before, later, to
> > > translate it to metapost).
> > > 
> > > I did try the sample program from the tikz manual, but I get an
> > > error
> > > saying that "t-pgf.tex" is not found; but it is in the tree of
> > > ConTeXt-lmtx.
> > > 
> > > How to make all the files in the distribution known to the
> > > compiler?
> > 
> > 
> > Note that there is currently no proper support for LMTX in
> > PGF/TikZ.
> > 
> > https://github.com/pgf-tikz/pgf/issues/990
> 
> Interesting... it seems that only a few features don't work. I
> regularly use pgfplots, and haven't noticed any compatibility issues
> in my examples.
> 
> What will be needed to add a LMTX "driver" for TikZ? Porting pgfsys-
> luatex.def to pgfsys-luametatex.def? Or is something else also
> needed?

Yes, there would have to be a pgfsys-luametatex.def and some detection
code to switch the driver appropriately but that latter part is easy.
I'm not too sure what is needed for the former though for LMTX.

When I last looked at it about a year ago it was completely unusable
with the LuaTeX driver because position tracking primitives were
removed (\pdflastxpos, \pdflastypos) and box keywords had changed
(\hbox dir TRT). Some catcode trickery in pgfplots also had stopped
working (https://github.com/pgf-tikz/pgfplots/pull/353).

As Hans mentioned in another message, the PDF resource management has
changed (if I understand it correctly), so things like shadings and
patterns would have to be adjusted.

Cheers, Henri

> 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
> _______________________________________________________________________
> ____________


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

Reply via email to