[NTG-context] [HOWTO] spanning xtable cells
Does anyone knows a hint to get the stacked boxes to the correct size? When usinig non-zero values for the options spaceinbetween and/or columndistance the cells of the xtable will not properly size when spanning over rows and/or columns. e.g. \starttext \startxtable[spaceinbetween=2mm, columndistance=2mm, corner=round] \startxtablebody \startxrow \startxcell[ny=3] a1\stopxcell \startxcell[nx=2] a2/3 \stopxcell \startxcell[ny=3] a4\stopxcell \stopxrow \startxrow \startxcell b2 \stopxcell \startxcell b3 \stopxcell \stopxrow \startxrow \startxcell c2 \stopxcell \startxcell c3 \stopxcell \stopxrow \startxrow \startxcell[nx=3] d1/2/3 \stopxcell \startxcell d4 \stopxcell \stopxrow \startxrow \startxcell e1 \stopxcell \startxcell e2 \stopxcell \startxcell e3 \stopxcell \startxcell e4 \stopxcell \stopxrow \stopxtablebody \stopxtable \stoptext pEpkey.asc Description: application/pgp-keys ___ 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] beta vs current
On 1/30/2020 9:56 PM, Henri Menke wrote: On 1/31/20 8:37 AM, Aditya Mahajan wrote: On Thu, 30 Jan 2020, Hans Hagen wrote: Hi, Already for quite some years the 'current' context release is the one that ends up on texlive. The rest of the year we talk about betas and very rarely an alpha release. This distinction no longer makes sense. From now on there will be no alpha, beta or current (with latest begin the most recent of the three, when present): we only will have latest. Most users follow the latest anyway and keeping a copy of some tree is cheap. There will of course be the yearly tex live snapshots and these will have the year attached to them. So, effectively nothing changes, apart from the fact that we no longer use the labels (and distinction on the website). I like this change. A more fundamental distinction is between the versions: pdftex|xetex : mkii (probaly not used that much any longer) luatex|luajittex : mkiv (also the test for luatex dev) luametatex : lmtx (the (upcoming) real deal) Mojca and I are diuscussing / working on an upgrade of the context garden installations and repositories but more about that later, Will lmtx be available on the next texlive? Probably not, LuaMetaTeX sources are not public yet, so TeX Live can't build it and I don't think they are going to just pull binaries into the tree. They are also very cautious with licensing, so unless something is truly open source they won't pull it (e.g. https://ctan.org/pkg/pgf-pie). the original idea was to have it ready (source code and binaries and so) but tl is already too far into freezing code etc so it would not be integrated anyway (testing, installation etc) and therefore our schedule could be delayed and we now take our time to properly organize the new infrastructure on the garden as well as make sure it compiles nicely on all platforms that we want (using the buildbot infrastructure) which in turn triggers other things regarding luametatex being open source .. it will (as already announced) end up as part of the distribution but i don't want to push all that intermediate stuff in there (we have some quality standards, whatever one might think of that) and we're not in that hurry anyway so, tex live will ship the luatex/mkiv combination and mojca, alan and i i will think of a good moment to release the rest (and maybe next year we will make lmtx the default for tex live .. who knows; there is no reason to complicate installation by adding choices) 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] beta vs current
On 1/31/20 8:37 AM, Aditya Mahajan wrote: > On Thu, 30 Jan 2020, Hans Hagen wrote: > >> Hi, >> >> Already for quite some years the 'current' context release is the one >> that ends up on texlive. The rest of the year we talk about betas and >> very rarely an alpha release. This distinction no longer makes sense. >> >> From now on there will be no alpha, beta or current (with latest begin >> the most recent of the three, when present): we only will have latest. >> Most users follow the latest anyway and keeping a copy of some tree is >> cheap. >> >> There will of course be the yearly tex live snapshots and these will >> have the year attached to them. >> >> So, effectively nothing changes, apart from the fact that we no longer >> use the labels (and distinction on the website). > > I like this change. > >> A more fundamental distinction is between the versions: >> >> pdftex|xetex : mkii (probaly not used that much any longer) >> luatex|luajittex : mkiv (also the test for luatex dev) >> luametatex : lmtx (the (upcoming) real deal) >> >> Mojca and I are diuscussing / working on an upgrade of the context >> garden installations and repositories but more about that later, > > Will lmtx be available on the next texlive? Probably not, LuaMetaTeX sources are not public yet, so TeX Live can't build it and I don't think they are going to just pull binaries into the tree. They are also very cautious with licensing, so unless something is truly open source they won't pull it (e.g. https://ctan.org/pkg/pgf-pie). 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 ___
Re: [NTG-context] beta vs current
On Thu, 30 Jan 2020, Hans Hagen wrote: Hi, Already for quite some years the 'current' context release is the one that ends up on texlive. The rest of the year we talk about betas and very rarely an alpha release. This distinction no longer makes sense. From now on there will be no alpha, beta or current (with latest begin the most recent of the three, when present): we only will have latest. Most users follow the latest anyway and keeping a copy of some tree is cheap. There will of course be the yearly tex live snapshots and these will have the year attached to them. So, effectively nothing changes, apart from the fact that we no longer use the labels (and distinction on the website). I like this change. A more fundamental distinction is between the versions: pdftex|xetex : mkii (probaly not used that much any longer) luatex|luajittex : mkiv (also the test for luatex dev) luametatex : lmtx (the (upcoming) real deal) Mojca and I are diuscussing / working on an upgrade of the context garden installations and repositories but more about that later, Will lmtx be available on the next texlive? 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] [question] \clipping some data from a pdf
On Wed, 29 Jan 2020, Henning Hraban Ramm wrote: Am 2020-01-29 um 00:27 schrieb Floris van Manen : Or does there happen to be some snazzy tool out there to get the coordinates of embedden images within a pdf? In case the "right" size of your image is defined as one of the PDF boxes (MediaBox, TrimBox, CropBox, ArtBox), you can set \externalfigure[drawing][size=art] (size=none/media/crop/trim/art). This was documented at https://www.contextgarden.net/Command/useexternalfigure but I also added a short description at https://www.contextgarden.net/Using_Graphics 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 ___
[NTG-context] beta vs current
Hi, Already for quite some years the 'current' context release is the one that ends up on texlive. The rest of the year we talk about betas and very rarely an alpha release. This distinction no longer makes sense. From now on there will be no alpha, beta or current (with latest begin the most recent of the three, when present): we only will have latest. Most users follow the latest anyway and keeping a copy of some tree is cheap. There will of course be the yearly tex live snapshots and these will have the year attached to them. So, effectively nothing changes, apart from the fact that we no longer use the labels (and distinction on the website). A more fundamental distinction is between the versions: pdftex|xetex : mkii (probaly not used that much any longer) luatex|luajittex : mkiv (also the test for luatex dev) luametatex : lmtx (the (upcoming) real deal) Mojca and I are diuscussing / working on an upgrade of the context garden installations and repositories but more about that later, 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] checking whether file is landscape or portrait
Hello Pablo, also Lua might be useful for you - some code like the one bellow, which is based on an answer in this forum years ago: assert(not figures.getinfo2) figures.getinfo2 = function(name, page) -- [ [NTG-context] Pdf info with Lua/Ctx API ] if type(name) == "string" then name = { name = name, page = page } end if name.name then local data = figures.push(name) local info = figures.identify() if info.status.status ~= 0 then figures.check() -- !Counts pages here! end figures.pop() return --data info end end 'info' might return not only width and height of the image, but also its orientation/rotation. And it would be up to you whether to swap width/height depending on orientation. Hope this helps. Best regards, Lukas On 2020-01-29 16:44, Pablo Rodriguez wrote: On 1/29/20 2:31 PM, Arthur Reutenauer wrote: On Tue, Jan 28, 2020 at 05:43:36PM +0100, Pablo Rodriguez wrote: Iβm afraid this is the second time Iβm aware of the existence of \ifdim (the first time was when reading previous message from Taco π ). Itβs a TeX primitive. From the TeXbook, chapter 20: * \ifdim (compares two dimensions) This is like \ifnum, but it compares two values. For example, to test whether the value of \hsize exceeds 100pt, you can say β\ifdim\hsize>100ptβ. The definition of \ifnum, right above it, states: * \ifnum (compares two integers) The must be either β<β or β=β or β>β. The two integer numbers are compared to each other in the usual way, and the result is true or false accordingly. Many thanks for your reply, Arthur. The explanation is extremely clear. I think I should try to read the TeXbook (but I need time for this first). Many thanks for your help, Pablo ___ 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 ___