* running tikz @ 2021-09-30 9:57 Alain Delmotte via ntg-context 2021-09-30 10:01 ` Henri Menke via ntg-context ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: Alain Delmotte via ntg-context @ 2021-09-30 9:57 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Alain Delmotte [-- Attachment #1: Type: text/html, Size: 2184 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: running tikz 2021-09-30 9:57 running tikz Alain Delmotte via ntg-context @ 2021-09-30 10:01 ` Henri Menke via ntg-context 2021-09-30 10:28 ` Alain Delmotte via ntg-context 2021-09-30 18:52 ` Aditya Mahajan via ntg-context 2021-09-30 13:32 ` Hans Hagen via ntg-context 2021-09-30 18:48 ` Aditya Mahajan via ntg-context 2 siblings, 2 replies; 9+ messages in thread From: Henri Menke via ntg-context @ 2021-09-30 10:01 UTC (permalink / raw) To: ntg-context; +Cc: Henri Menke 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 Cheers, Henri > > Thanks, > > Alain > > %% ConTeXt file > > \usemodule[tikz] > \starttext > We are working on > \starttikzpicture > \draw (-1.5,0) -- (1.5,0); > \draw (0,-1.5) -- (0,1.5); > \stoptikzpicture. > \stoptext > _____________________________________________________________________ > ______________ > 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: running tikz 2021-09-30 10:01 ` Henri Menke via ntg-context @ 2021-09-30 10:28 ` Alain Delmotte via ntg-context 2021-09-30 18:52 ` Aditya Mahajan via ntg-context 1 sibling, 0 replies; 9+ messages in thread From: Alain Delmotte via ntg-context @ 2021-09-30 10:28 UTC (permalink / raw) To: Henri Menke via ntg-context; +Cc: Alain Delmotte [-- Attachment #1: Type: text/html, Size: 1488 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: running tikz 2021-09-30 10:01 ` Henri Menke via ntg-context 2021-09-30 10:28 ` Alain Delmotte via ntg-context @ 2021-09-30 18:52 ` Aditya Mahajan via ntg-context 2021-10-01 6:33 ` Hans Hagen via ntg-context 2021-10-01 9:36 ` Henri Menke via ntg-context 1 sibling, 2 replies; 9+ messages in thread From: Aditya Mahajan via ntg-context @ 2021-09-30 18:52 UTC (permalink / raw) To: Henri Menke via ntg-context; +Cc: Aditya Mahajan 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? 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: running tikz 2021-09-30 18:52 ` Aditya Mahajan via ntg-context @ 2021-10-01 6:33 ` Hans Hagen via ntg-context 2021-10-01 9:36 ` Henri Menke via ntg-context 1 sibling, 0 replies; 9+ messages in thread From: Hans Hagen via ntg-context @ 2021-10-01 6:33 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen On 9/30/2021 8:52 PM, 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 Nowdays exagerating remarks like "lots of ..." just like "many buge ..." and "completely broken ..." and some more make me put something at the bottom of my list cq. dismiss. > 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? I don't know. If you send me the examplex that don't work I can check it. I suppose that it there is a well defined interface layer we can provide the connection and maintain that in the context distribution. And we can also just decide that some features are not supported (for instance because they interfere with context resource management). 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: running tikz 2021-09-30 18:52 ` Aditya Mahajan via ntg-context 2021-10-01 6:33 ` Hans Hagen via ntg-context @ 2021-10-01 9:36 ` Henri Menke via ntg-context 2021-10-01 12:32 ` Hans Hagen via ntg-context 1 sibling, 1 reply; 9+ messages in thread From: Henri Menke via ntg-context @ 2021-10-01 9:36 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Henri Menke 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: running tikz 2021-10-01 9:36 ` Henri Menke via ntg-context @ 2021-10-01 12:32 ` Hans Hagen via ntg-context 0 siblings, 0 replies; 9+ messages in thread From: Hans Hagen via ntg-context @ 2021-10-01 12:32 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen On 10/1/2021 11:36 AM, Henri Menke via ntg-context wrote: > 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). keep in mind that luatex has no \pdf prefixes (i added these for usage like tikz but we have other ones in context) in context we always used the 'direction' keyword because when we dropped many directions from luatex these weird three letter ones made no sense (basically they were sort of used as three constructor elements but that model was already dropped) anyway, as i mentioned, somehow the intenet triggers exageration: 'competely unueable' is also one of these 'move to bottom of todo list' things > 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. nothing changed there (also because we never really used the engines stuff) ut any resource managament has to be intercaces to any macro package that said: i have a few tikz test files and when they run ok it's fine for me ... if something fails users can ask on the list (with a mnew) and when they don't ... no reason to complain 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: running tikz 2021-09-30 9:57 running tikz Alain Delmotte via ntg-context 2021-09-30 10:01 ` Henri Menke via ntg-context @ 2021-09-30 13:32 ` Hans Hagen via ntg-context 2021-09-30 18:48 ` Aditya Mahajan via ntg-context 2 siblings, 0 replies; 9+ messages in thread From: Hans Hagen via ntg-context @ 2021-09-30 13:32 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen On 9/30/2021 11:57 AM, 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? mtxrun --generate and you ned to use use m-tikz.mk* from the distribution 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: running tikz 2021-09-30 9:57 running tikz Alain Delmotte via ntg-context 2021-09-30 10:01 ` Henri Menke via ntg-context 2021-09-30 13:32 ` Hans Hagen via ntg-context @ 2021-09-30 18:48 ` Aditya Mahajan via ntg-context 2 siblings, 0 replies; 9+ messages in thread From: Aditya Mahajan via ntg-context @ 2021-09-30 18:48 UTC (permalink / raw) To: Alain Delmotte via ntg-context; +Cc: Aditya Mahajan On Thu, 30 Sep 2021, 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 did you install TikZ? The error message seems to suggest that tikz module is not installed. You can check by looking at the output of mtxrun t-pgf.tex On my system, that gives: /opt/luametatex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex (which I had installed the texmf-modules tree by copying from the context standalone tree. > How to make all the files in the distribution known to the compiler? By putting them in the right location in the tree (somewhere inside $TEXMF/tex/context ...). 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-10-01 12:32 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-09-30 9:57 running tikz Alain Delmotte via ntg-context 2021-09-30 10:01 ` Henri Menke via ntg-context 2021-09-30 10:28 ` Alain Delmotte via ntg-context 2021-09-30 18:52 ` Aditya Mahajan via ntg-context 2021-10-01 6:33 ` Hans Hagen via ntg-context 2021-10-01 9:36 ` Henri Menke via ntg-context 2021-10-01 12:32 ` Hans Hagen via ntg-context 2021-09-30 13:32 ` Hans Hagen via ntg-context 2021-09-30 18:48 ` Aditya Mahajan via ntg-context
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).