Re: [NTG-context] Strange behavior with \usetikzlibrary [matrix]
Hi Henry, I am confused because I forgot to replace & by \& in the definition of the matrix. Thank you. Fabrice Le jeu. 18 avr. 2019 à 12:31, Henri Menke a écrit : > On 4/18/19 10:22 PM, Fabrice Couvreur wrote: > > Hi Henry, > > This has no effect, the problem is the same. > > ConTeXt ver: 2019.04.16 08:54 MKIV beta > > PDF is attached. > > > Fabrice > > > > Le jeu. 18 avr. 2019 à 12:17, Henri Menke a > écrit : > > > >> In ConTeXt the ampersand is not an alignment character but has catcode > >> 12 by default. Use the "ampersand replacement" option. > >> > >> \usemodule[tikz] > >> \usetikzlibrary[matrix,decorations.pathreplacing, calc, positioning,fit] > >> \starttext > >> > >> \starttikzpicture[>=stealth,thick,baseline, > >> every right delimiter/.append style={name=rd}, > >> ] > >> \matrix [matrix of math nodes, > >> left delimiter=(, > >> right delimiter=), > >> ampersand replacement=\& > >> ](A){ > >> a_{1,1} \& a_{1,2} \& \dots \& a_{1,j} \& \dots \& a_{1,n}\\ > >> a_{2,1} \& a_{2,2} \& \dots \& a_{2,j} \& \dots \& a_{2,n}\\ > >> \vdots \& \vdots \& \& \vdots \& \& \vdots\\ > >> a_{i,1} \& a_{i,2} \& \dots \& a_{i,j} \& \dots \& a_{i,n}\\ > >> \vdots \& \vdots \& \& \vdots \& \& \vdots\\ > >> a_{n,1} \& a_{n,2} \& \dots \& a_{n,j} \& \dots \& a_{n,n}\\ > >> }; > >> > >> \draw[<-] (rd)--++(0:6mm) node[right]{$i$-ième colonne}; > >> \draw[<-] (A.south-|A-1-4.center) --++(-90:6mm) node[below]{$j$-ième > >> colonne}; > >> > >> \stoptikzpicture > >> \stoptext > >> > >> > >> > >> On 4/18/19 9:26 PM, Fabrice Couvreur wrote: > >> > Hi, > >> > If I compile the following code, the result is not the one expected. > >> > > >> > \usemodule[tikz] > >> > \usetikzlibrary[matrix,decorations.pathreplacing, calc, > positioning,fit] > >> > \starttext > >> > > >> > \starttikzpicture[>=stealth,thick,baseline, > >> > every right delimiter/.append style={name=rd}, > >> > ] > >> > \matrix [matrix of math nodes, > >> > left delimiter=(, > >> > right delimiter=), > >> > ](A){ > >> > a_{1,1} & a_{1,2} & \dots & a_{1,j} & \dots & a_{1,n}\\ > >> > a_{2,1} & a_{2,2} & \dots & a_{2,j} & \dots & a_{2,n}\\ > >> > \vdots & \vdots & & \vdots & & \vdots\\ > >> > a_{i,1} & a_{i,2} & \dots & a_{i,j} & \dots & a_{i,n}\\ > >> > \vdots & \vdots & & \vdots & & \vdots\\ > >> > a_{n,1} & a_{n,2} & \dots & a_{n,j} & \dots & a_{n,n}\\ > >> > }; > >> > > >> > \draw[<-] (rd)--++(0:6mm) node[right]{$i$-ième colonne}; > >> > \draw[<-] (A.south-|A-1-4.center) --++(-90:6mm) node[below]{$j$-ième > >> > colonne}; > >> > > >> > \stoptikzpicture > >> > \stoptext > >> > > >> > Thank you > >> > Fabrice > >> > > >> > > >> > > >> > ___ > >> > 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 > >> > >> > ___ > >> > > > > > > > ___ > > 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 > > ___ > ___ If your question is of interest
Re: [NTG-context] Error concerning "pdfmapline"
Rudolf Bahr schrieb am 18.04.2019 um 20:26: Now, for going another way in order to print Fraktur texts I downloaded various "yfonts" from ctan [1] again and stored them in "~/context-lmtx/tex/texmf-local": yfrak.tfm, yfrak.mf for instance. "mtxrun --script fonts --reload" and "mtxrun --script fonts --list --all --pattern=yfrak" are in vain. The downloaded fonts aren't recognized. This is strange, because fonts with extensions ".mf" and ".tmf" are fonts how Knuth developed them. There are no files with other Fraktur file extensions in CTAN. Please, how to continue with ConTeXt? I'd like to continue to use exactly the same fonts because of a standard nature with my older Fraktur texts. 1. Use the Type1 version of the fonts: https://ctan.org/tex-archive/fonts/ps-type1/yfonts 2. Use a font in Truetype/Opentype format: http://unifraktur.sourceforge.net/ Wolfgang ___ 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] Error concerning "pdfmapline"
On Tue, Apr 16, 2019 at 01:54:21PM +0200, Hans Hagen wrote: > On 4/16/2019 12:04 PM, Rudolf Bahr wrote: > > Hello All! > > > > Using: > > LuaMetaTeX, Version 2.00.0 > > ConTeXt ver: 2019.04.13 17:25 MKIV beta fmt: 2019.4.15 > > > > with following MWE: > > > > -- > > \pdfmapline {yfrak > \definefont [ToggenburgFont][yfrak at 10pt] [.75] > > > > \starttext > > > > %\ToggenburgFont Hallo! > > Maar had ik dit kunnen weten? > > > > \stoptext > > -- > > > > I'm getting now following errors: > > > > fatal error > unsupported cs \pdfmapline > > mtx-context | fatal error: return code: 256 > > > > I'm using the above "\pdfmapline" command since years. > > Now it gives an error even when it isn't used in the text. > > "yfrak.pfb" is in the same directory. > > Are there any hints, please? > because it is not needed in mkiv (never really was as it was ignored) .. > most \pdf* commands are no-ops and most will go (i need to figure out what > the bare minimum is that tikz needs) .. they are not user commands in > context > > actually, there is (as part of the typescript interface): > > \loadmapline > \loadmapfile > > not that they are needed either > > Hans Thank you for the information. Now, for going another way in order to print Fraktur texts I downloaded various "yfonts" from ctan [1] again and stored them in "~/context-lmtx/tex/texmf-local": yfrak.tfm, yfrak.mf for instance. "mtxrun --script fonts --reload" and "mtxrun --script fonts --list --all --pattern=yfrak" are in vain. The downloaded fonts aren't recognized. This is strange, because fonts with extensions ".mf" and ".tmf" are fonts how Knuth developed them. There are no files with other Fraktur file extensions in CTAN. Please, how to continue with ConTeXt? I'd like to continue to use exactly the same fonts because of a standard nature with my older Fraktur texts. Happy Easter! Rudolf [1] https://www.ctan.org/tex-archive/fonts/gothic/yfrak ___ 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] Imposition: 4 on 1, last 2 pages upside down
Hello, I'm trying to get four small A6 pages on one A4 page (portrait) like this: 4 1 3 2 The last two pages should be upside down. This is my starting point: \setuppapersize[A6][A4] \setuparranging[1*4] Aside from the different page sequence, this rotates the last two pages, which is not what I'm looking for. Can anyone help me with this? Sorry if this has been covered before. I'm not very familiar with imposition. Greetings! Paul ___ 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] Strange behavior with \usetikzlibrary [matrix]
On 4/18/19 10:22 PM, Fabrice Couvreur wrote: > Hi Henry, > This has no effect, the problem is the same. ConTeXt ver: 2019.04.16 08:54 MKIV beta PDF is attached. > Fabrice > > Le jeu. 18 avr. 2019 à 12:17, Henri Menke a écrit : > >> In ConTeXt the ampersand is not an alignment character but has catcode >> 12 by default. Use the "ampersand replacement" option. >> >> \usemodule[tikz] >> \usetikzlibrary[matrix,decorations.pathreplacing, calc, positioning,fit] >> \starttext >> >> \starttikzpicture[>=stealth,thick,baseline, >> every right delimiter/.append style={name=rd}, >> ] >> \matrix [matrix of math nodes, >> left delimiter=(, >> right delimiter=), >> ampersand replacement=\& >> ](A){ >> a_{1,1} \& a_{1,2} \& \dots \& a_{1,j} \& \dots \& a_{1,n}\\ >> a_{2,1} \& a_{2,2} \& \dots \& a_{2,j} \& \dots \& a_{2,n}\\ >> \vdots \& \vdots \& \& \vdots \& \& \vdots\\ >> a_{i,1} \& a_{i,2} \& \dots \& a_{i,j} \& \dots \& a_{i,n}\\ >> \vdots \& \vdots \& \& \vdots \& \& \vdots\\ >> a_{n,1} \& a_{n,2} \& \dots \& a_{n,j} \& \dots \& a_{n,n}\\ >> }; >> >> \draw[<-] (rd)--++(0:6mm) node[right]{$i$-ième colonne}; >> \draw[<-] (A.south-|A-1-4.center) --++(-90:6mm) node[below]{$j$-ième >> colonne}; >> >> \stoptikzpicture >> \stoptext >> >> >> >> On 4/18/19 9:26 PM, Fabrice Couvreur wrote: >> > Hi, >> > If I compile the following code, the result is not the one expected. >> > >> > \usemodule[tikz] >> > \usetikzlibrary[matrix,decorations.pathreplacing, calc, positioning,fit] >> > \starttext >> > >> > \starttikzpicture[>=stealth,thick,baseline, >> > every right delimiter/.append style={name=rd}, >> > ] >> > \matrix [matrix of math nodes, >> > left delimiter=(, >> > right delimiter=), >> > ](A){ >> > a_{1,1} & a_{1,2} & \dots & a_{1,j} & \dots & a_{1,n}\\ >> > a_{2,1} & a_{2,2} & \dots & a_{2,j} & \dots & a_{2,n}\\ >> > \vdots & \vdots & & \vdots & & \vdots\\ >> > a_{i,1} & a_{i,2} & \dots & a_{i,j} & \dots & a_{i,n}\\ >> > \vdots & \vdots & & \vdots & & \vdots\\ >> > a_{n,1} & a_{n,2} & \dots & a_{n,j} & \dots & a_{n,n}\\ >> > }; >> > >> > \draw[<-] (rd)--++(0:6mm) node[right]{$i$-ième colonne}; >> > \draw[<-] (A.south-|A-1-4.center) --++(-90:6mm) node[below]{$j$-ième >> > colonne}; >> > >> > \stoptikzpicture >> > \stoptext >> > >> > Thank you >> > Fabrice >> > >> > >> > >> ___ >> > 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 >> >> ___ >> > > > ___ > 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 > ___ > test.pdf Description: Adobe PDF document ___ 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] Strange behavior with \usetikzlibrary [matrix]
Hi Henry, This has no effect, the problem is the same. Fabrice Le jeu. 18 avr. 2019 à 12:17, Henri Menke a écrit : > In ConTeXt the ampersand is not an alignment character but has catcode > 12 by default. Use the "ampersand replacement" option. > > \usemodule[tikz] > \usetikzlibrary[matrix,decorations.pathreplacing, calc, positioning,fit] > \starttext > > \starttikzpicture[>=stealth,thick,baseline, > every right delimiter/.append style={name=rd}, > ] > \matrix [matrix of math nodes, > left delimiter=(, > right delimiter=), > ampersand replacement=\& > ](A){ > a_{1,1} \& a_{1,2} \& \dots \& a_{1,j} \& \dots \& a_{1,n}\\ > a_{2,1} \& a_{2,2} \& \dots \& a_{2,j} \& \dots \& a_{2,n}\\ > \vdots \& \vdots \& \& \vdots \& \& \vdots\\ > a_{i,1} \& a_{i,2} \& \dots \& a_{i,j} \& \dots \& a_{i,n}\\ > \vdots \& \vdots \& \& \vdots \& \& \vdots\\ > a_{n,1} \& a_{n,2} \& \dots \& a_{n,j} \& \dots \& a_{n,n}\\ > }; > > \draw[<-] (rd)--++(0:6mm) node[right]{$i$-ième colonne}; > \draw[<-] (A.south-|A-1-4.center) --++(-90:6mm) node[below]{$j$-ième > colonne}; > > \stoptikzpicture > \stoptext > > > > On 4/18/19 9:26 PM, Fabrice Couvreur wrote: > > Hi, > > If I compile the following code, the result is not the one expected. > > > > \usemodule[tikz] > > \usetikzlibrary[matrix,decorations.pathreplacing, calc, positioning,fit] > > \starttext > > > > \starttikzpicture[>=stealth,thick,baseline, > > every right delimiter/.append style={name=rd}, > > ] > > \matrix [matrix of math nodes, > > left delimiter=(, > > right delimiter=), > > ](A){ > > a_{1,1} & a_{1,2} & \dots & a_{1,j} & \dots & a_{1,n}\\ > > a_{2,1} & a_{2,2} & \dots & a_{2,j} & \dots & a_{2,n}\\ > > \vdots & \vdots & & \vdots & & \vdots\\ > > a_{i,1} & a_{i,2} & \dots & a_{i,j} & \dots & a_{i,n}\\ > > \vdots & \vdots & & \vdots & & \vdots\\ > > a_{n,1} & a_{n,2} & \dots & a_{n,j} & \dots & a_{n,n}\\ > > }; > > > > \draw[<-] (rd)--++(0:6mm) node[right]{$i$-ième colonne}; > > \draw[<-] (A.south-|A-1-4.center) --++(-90:6mm) node[below]{$j$-ième > > colonne}; > > > > \stoptikzpicture > > \stoptext > > > > Thank you > > Fabrice > > > > > > > ___ > > 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 > > ___ > ___ 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] Strange behavior with \usetikzlibrary [matrix]
In ConTeXt the ampersand is not an alignment character but has catcode 12 by default. Use the "ampersand replacement" option. \usemodule[tikz] \usetikzlibrary[matrix,decorations.pathreplacing, calc, positioning,fit] \starttext \starttikzpicture[>=stealth,thick,baseline, every right delimiter/.append style={name=rd}, ] \matrix [matrix of math nodes, left delimiter=(, right delimiter=), ampersand replacement=\& ](A){ a_{1,1} \& a_{1,2} \& \dots \& a_{1,j} \& \dots \& a_{1,n}\\ a_{2,1} \& a_{2,2} \& \dots \& a_{2,j} \& \dots \& a_{2,n}\\ \vdots \& \vdots \& \& \vdots \& \& \vdots\\ a_{i,1} \& a_{i,2} \& \dots \& a_{i,j} \& \dots \& a_{i,n}\\ \vdots \& \vdots \& \& \vdots \& \& \vdots\\ a_{n,1} \& a_{n,2} \& \dots \& a_{n,j} \& \dots \& a_{n,n}\\ }; \draw[<-] (rd)--++(0:6mm) node[right]{$i$-ième colonne}; \draw[<-] (A.south-|A-1-4.center) --++(-90:6mm) node[below]{$j$-ième colonne}; \stoptikzpicture \stoptext On 4/18/19 9:26 PM, Fabrice Couvreur wrote: > Hi, > If I compile the following code, the result is not the one expected. > > \usemodule[tikz] > \usetikzlibrary[matrix,decorations.pathreplacing, calc, positioning,fit] > \starttext > > \starttikzpicture[>=stealth,thick,baseline, > every right delimiter/.append style={name=rd}, > ] > \matrix [matrix of math nodes, > left delimiter=(, > right delimiter=), > ](A){ > a_{1,1} & a_{1,2} & \dots & a_{1,j} & \dots & a_{1,n}\\ > a_{2,1} & a_{2,2} & \dots & a_{2,j} & \dots & a_{2,n}\\ > \vdots & \vdots & & \vdots & & \vdots\\ > a_{i,1} & a_{i,2} & \dots & a_{i,j} & \dots & a_{i,n}\\ > \vdots & \vdots & & \vdots & & \vdots\\ > a_{n,1} & a_{n,2} & \dots & a_{n,j} & \dots & a_{n,n}\\ > }; > > \draw[<-] (rd)--++(0:6mm) node[right]{$i$-ième colonne}; > \draw[<-] (A.south-|A-1-4.center) --++(-90:6mm) node[below]{$j$-ième > colonne}; > > \stoptikzpicture > \stoptext > > Thank you > Fabrice > > > ___ > 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] Strange behavior with \usetikzlibrary [matrix]
Hi, If I compile the following code, the result is not the one expected. \usemodule[tikz] \usetikzlibrary[matrix,decorations.pathreplacing, calc, positioning,fit] \starttext \starttikzpicture[>=stealth,thick,baseline, every right delimiter/.append style={name=rd}, ] \matrix [matrix of math nodes, left delimiter=(, right delimiter=), ](A){ a_{1,1} & a_{1,2} & \dots & a_{1,j} & \dots & a_{1,n}\\ a_{2,1} & a_{2,2} & \dots & a_{2,j} & \dots & a_{2,n}\\ \vdots & \vdots & & \vdots & & \vdots\\ a_{i,1} & a_{i,2} & \dots & a_{i,j} & \dots & a_{i,n}\\ \vdots & \vdots & & \vdots & & \vdots\\ a_{n,1} & a_{n,2} & \dots & a_{n,j} & \dots & a_{n,n}\\ }; \draw[<-] (rd)--++(0:6mm) node[right]{$i$-ième colonne}; \draw[<-] (A.south-|A-1-4.center) --++(-90:6mm) node[below]{$j$-ième colonne}; \stoptikzpicture \stoptext Thank you Fabrice ___ 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 ___