[NTG-context] error in column sets
In a minimal example like this: \setuppapersize[A5] \definecolumnset[TwoColumns][n=2] \starttext \startcolumnset [TwoColumns] \dorecurse{10}{\samplefile{knuth}} \stopcolumnset \stoptext … many columns start one line too low and overwrite their last line. An extended example (nearly the same as in the manual) shows that some column set spans don’t appear: \showgrid\showframe \definecolumnset[Beispiel][n=3] \definecolumnsetspan[Zwei][n=2,color=blue] \definecolumnsetspan[Drei][n=3,color=red] \starttext \startcolumnset[Beispiel] \startcolumnsetspan[Drei]% this works {\bfd Überschrift} Anleser: \dorecurse{2}{#1: \samplefile{knuth}\par} \stoptitle \stopcolumnsetspan Zwischen: \samplefile{tufte}\par \startcolumnsetspan[Zwei]% This never shows up! Zwei: \dorecurse{2}{#1: \samplefile{lorem}\par} \stopcolumnsetspan Nach: \dorecurse{15}{#1: \samplefile{knuth}\par} \stopcolumnset \stoptext Also I seem to remember that column sets would enforce grid mode, but they clearly don’t. (BTW the old \startcolumns mode works better than I remembered.) Hraban ___ 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 ___
[NTG-context] viewer layers (optional content groups, OCG)
Checking viewer layers: * \setupviewerlayer doesn’t work; e.g. "state=stop" only works if I put it in \defineviewerlayer * visible=no has no effect * what are the options tag/name supposed to do? (https://wiki.contextgarden.net/Viewer_Layers) * known problem: only Acrobat supports JS to control OCGs (\overlayrollbutton in the MWE) Hraban \setupinteraction[state=start]% needed for JS \defineviewerlayer[Gebuesch][ state=stop, ] \defineviewerlayer[Versteck] \setupviewerlayer[Versteck][ % doesn’t work state=stop, ] \starttext Hier fängt der Wald an. \startviewerlayer[Gebuesch] Hier versteckt sich ein Wolf... \stopviewerlayer Bäume, Bäume, Bäume... \viewerlayer[Gebuesch]{... und ein Rotkehlchen} \startviewerlayer[Versteck]Rumpelwicht\stopviewerlayer \defineoverlay[MitVersteck] [{\overlayrollbutton[VideLayer{Versteck}][HideLayer{Versteck}]}] \framed[background=MitVersteck]{Kummst du mul kuckn?} \stoptext ___ 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 ___
[NTG-context] floatcombinations seem to not work correctly after lmtx update
Hi, I recently updated my Context (lmtx). Unfortunately, I'm not aware of the previous version anymore. The current one is 2023.06.04 18:58. After the update one of my documents broke at floatcombinations. The relevant code is this one: ``` \useMPlibrary[dum] \setupcombinations[alternative=text] \definefloat[subfigure][local=yes] \setupcaption[subfigure][numberconversion=a, prefix=no, headseparator={)}] \setuplabeltext[subfigure=] \appendvalue{stopplacefigure}{\resetcounter[subfigure]} \starttext test sdlkf jlsdjf lksjdf \startplacefigure[title=Test] \startfloatcombination[nx=3] \startplacesubfigure[title=Test] \externalfigure[dummy][width=0.3\textwidth] \stopplacesubfigure \startplacesubfigure[title=Test] \externalfigure[dummy][width=0.3\textwidth] \stopplacesubfigure \startplacesubfigure[title=Test] \externalfigure[dummy][width=0.3\textwidth] \stopplacesubfigure \stopfloatcombination \stopplacefigure lskdjf lskjfd lksjdfljsdkjf \stoptext ``` In this minimal example everything works. However, in my real document the subfigures have enormous space between them so just two pictures are visible (see the attached png). Do you have a clue, why this happens? Otherwise, I would take the preamble of the real document and try to lower it down to have a reproducible example (but that takes a lot of time, so I wanted to ask beforehand). Best, Gerion signature.asc Description: This is a digitally signed message part. ___ 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 ___
Re: [NTG-context] TikZ \shade broken
Hi Hans, >> I am running into a problem with the \shade command... >> tex error > tex error on line 8 in file ./TikZtest.tex: Valid keyword >> expected, likely 'direction' >> \pgfsys@vertshading >> #1#2#3->{\pgf@parsefunc {#3}\pgfmathparse {#2}\setbox \pgfutil@tempboxa >> =\hbox dir >> ... > luametatex doesn't have the dir keyword > > (I could probably add it in a simplified form just for this purpose because > the performance penalty is less now.) If you have a chance to add a dir keyword, that would be great. Since the keyword is used inside a TikZ macro, I don’t see any way I can work around it in my document. I am gradually converting my diagrams from TikZ to MetaFun, but with well over a hundred diagrams in my current project, that’s going to take some time. Thanks! Gavin ___ 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 ___
Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?
On Sun, 18 Jun 2023 at 21:56, Hans Hagen via ntg-context wrote: > On 6/18/2023 8:37 PM, Carlos via ntg-context wrote: > > On Sat, Jun 17, 2023 at 06:53:06PM +0200, Hans Hagen via ntg-context > wrote: > >> What is PFC data? > > > > The glyph containers on a table-based SFNT format > > So just shapes or pieces of shapes? > > https://hal.science/hal-02112905v1/file/article-yannis.pdf -- luigi ___ 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 ___