[NTG-context] Bug with \setuptagging and layers
When the first line of the following example is removed, all is well. With it present, the image in the layer has the text "image" added to the image. This problem is not present in, inter alia, TL18. \setuptagging [state=start] \setupexternalfigures [location=default] \definelayout [testpage] \definelayer [testpage] [width=\paperwidth,height=\paperheight] \startsetups [testpage] \setlayerframed [testpage] [preset=rightbottom,hoffset=.25in,voffset=.25in, background=color,backgroundcolor=yellow] {\externalfigure[cow.pdf]} \stopsetups \setupbackgrounds [page] [setups=testpage,background={testpage}] \starttext \startmakeup [testpage] \framed[background=color,backgroundcolor=yellow] {\externalfigure[cow.pdf]} \stopmakeup \stoptext -- Rik ___ 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] font pathes with colons
Am Sat, 9 Jun 2018 11:52:43 +0200 schrieb Hans Hagen: >> As far as I can see the code which does the splitting is in >> font-def.lua and so part of the generic code. Is there anything that >> can be done to correct his? Or can one somehow protect the colon >> after c: to be interpretated as file-detail separator? > i can support {weird name} but need to check first if it will not > interfere with context (or luatex-plain) Thanks. But if protection is possible, why doesn't [...] already does it? I thought that in the brackets is always only a path anyway. -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ 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] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs
Hello, I have two questions about TABLEs. Suppose having the following code: \setuplayout[page] \starttext \startalignment[middle] \dontleavehmode \bTABLE[before=,after=,inbetween=] \bTABLEbody \dorecurse{10}{ \bTR \bTD aaa\eTD \bTD bbb\eTD \eTR } \eTABLEbody \eTABLE \crlf \bTABLE[before=,after=,inbetween=] \bTABLEbody \bTR \bTD AAA\eTD \bTD BBB\eTD \eTR \eTABLEbody \eTABLE \stopalignment % \page \startalignment[middle] \dontleavehmode \bTABLE[split=yes] \bTABLEbody \dorecurse{60}{ \bTR \bTD uuu\eTD \bTD vvv\eTD \eTR } \eTABLEbody \eTABLE \stopalignment \stoptext - How to make the "uuu - vvv" table - which goes into several pages - centered on each page, like "aaa - bbb" (non splitting) table is? - How to suppress the vertical space between the last row of "aaa - bbb" table and the first row of the "AAA - BBB" table? (I'm trying to typeset some picture playing cards, so usual typographic rules don't apply here...) Any help would be appreciated. Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396 t.mkiv Description: Binary data t.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] font pathes with colons
On 6/8/2018 11:51 PM, Ulrike Fischer wrote: I have been playing around with lua fonts and investigating where to store and how to load them. The best with luaotfload and latex seems to be currently to get (with a kpse call) the absolute path and then load with the "xetex" syntax: \font\duckchessfont = [\directlua{tex.sprint(kpse.find_file("luafont-duckchess.lua", "misc fonts"))}]:mode=node;+liga;+tlig;original=latinmodernsans This worked but I also saw in the log curious messages luaotfload | load : font option "/Users//Documents/Git/lua-font- pond/texmf/fonts/misc/luafont/luafont-duckchess.lua]:mode=node" unknown. I investigated a bit. I'm on windows and imho this looks as if the syntax parser is splitting after the C: of the drive and putting the rest in the specification.detail field. As far as I can see the code which does the splitting is in font-def.lua and so part of the generic code. Is there anything that can be done to correct his? Or can one somehow protect the colon after c: to be interpretated as file-detail separator? i can support {weird name} but need to check first if it will not interfere with context (or luatex-plain) 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 ___