Re: [NTG-context] running tikz
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 ___
Re: [NTG-context] Regular online meet-up
Ok, how about Tuesday (October 5th) at 15:00 CEST (11:00 EDT, 21:00 SGT)? Hraban > Am 29.09.2021 um 07:09 schrieb Denis Maier via ntg-context > : > > Hi, > > I think a regular online meetup would be great, and I agree with Hans that > some way to collect topics would be nice. Re Time: I'd prefer Mo-Thursday > during regular working hours (Central European Time), but maybe that should > be offered at different times to accomodate for different needs? > > Denis ___ 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] running tikz
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 ___
Re: [NTG-context] running tikz
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 ___
Re: [NTG-context] running tikz
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 ___
Re: [NTG-context] running tikz
Hi! Le 30/09/2021 à 12:01, Henri Menke via ntg-context a écrit : 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 OK, in fact it works in ConTeXt standalone, so I'll use that for the moment. Thanks, Alain ___ 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] running tikz
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 ___
[NTG-context] running tikz
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? 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 ___
[NTG-context] Blank line after \item: MkIV vs LMTX and how to properly get rid of it
Hello. Consider the following small example: 8< -- \starttext \startitemize[n] \item \input tufte \item \placefigure[right,none]{}{\externalfigure[cow]}% \input tufte \item \blank[overlay]% \placefigure[right,none]{}{\externalfigure[cow]}% \input tufte \stopitemize \startitemize[n,intext] \item \input tufte \item \placefigure[right,none]{}{\externalfigure[cow]}% \input tufte \item \blank[overlay]% \placefigure[right,none]{}{\externalfigure[cow]}% \input tufte \stopitemize \stoptext 8< -- I see a difference in MkIV and LMTX work: - MkIV always put a blank line despite '\blank[overlay]' command; - with \blank[overlay] and 'intext' option LMTX clutters item label (number in this case). Q1: is this the expected behavior for MkIV and LMTX? I found a recipe with \blank[overlay] in the mailing list. Q2: is it expected that LMTX will clutter item label when I use \blank[overlay]? I suspect the answer is "yes" due to the option name. Q3: how to prevent blank line insertion in such case: an item with text framing a picture (on right side or on left side but the picture is below the item label)? --- WBR, Vladimir Lomov -- Without freedom of choice there is no creativity. -- Kirk, "The return of the Archons", stardate 3157.4 signature.asc Description: PGP signature ___ 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 ___