Re: [NTG-context] Bilingual text on facing pages

2020-11-19 Thread Pablo Rodriguez
On 11/18/20 8:03 PM, MANUEL GONZALEZ SUAREZ wrote: > Hello everyone:  > > Do you know if we can make bilingual editions with ConTeXt, as they are > done with the reledpar package for LaTeX? I have consulted this page > (https://tex.stackexchange.com/questions/113899/parallel-text-in-context), > but

[NTG-context] \noindentation not working

2020-11-20 Thread Pablo Rodriguez
Dear list, I have the following MWE: \showframe\showgrid \setupindenting[yes, always, big] \starttext \noindentation a a \stoptext Using LMTX (2020.11.19 11:28), I get indentation with \noindentation. Could anyone confirm this? Many thanks for your help, Pablo -- http://www.ous

Re: [NTG-context] \noindentation not working

2020-11-20 Thread Pablo Rodriguez
On 11/20/20 8:07 PM, Hans Hagen wrote: > [...] > Here's a fix: > [...] > (we might need adapt some more code); actually more correct would be: > > \def\spac_indentation_remove >{\ifzeropt\parindent \else > \begingroup > \ifnum\lastnodetype=\gluenodecode > \unskip % we also n

Re: [NTG-context] RE : \noindentation not working

2020-11-20 Thread Pablo Rodriguez
On 11/20/20 9:07 PM, Joseph wrote: > Thanks. Does the fix apply for similar issue I raised with below where > all paragraphs are indented (expected is that first par is not indented) ? > > \setupindenting[yes, next, 1em] > \starttext > \input knuth > \stoptext Yes, the fix solves your issue. Pabl

Re: [NTG-context] bizarre bug in xml

2020-11-20 Thread Pablo Rodriguez
On 11/20/20 10:52 PM, Wolfgang Schuster wrote: > [...] > Optional arguments (e.g. plus/minus values for \hskip) for commands are > handled different in LMTX but it was always recommended to add \relax > after the last value. Hi Wolfgang, the same would apply to \vskip, wouldn’t it? Many thanks f

Re: [NTG-context] LMTX update 2020.11.17 ----> 11.19 | Paragraph indenting

2020-11-21 Thread Pablo Rodriguez
On 11/21/20 10:44 PM, Richard Mahoney wrote: > Hello, > > I noticed yesterday that paragraph indenting appears to have changed between > LMTX 2020.11.17 & 11.19. Usually the first paragraph after a section heading > does not indent, as it does with all subsequent paragraphs. With 11.19 > the first

Re: [NTG-context] Issue with grid

2020-11-22 Thread Pablo Rodriguez
On 11/22/20 5:03 PM, Joseph wrote: > Dear list, > > In some cases with latest LMTX I see text not aligned to grid. MWE > reproduces the problem (could not reproduce with default font). Hi Joseph, I think this is related to the fact that your paragraphs are hard to break between pages, since they

Re: [NTG-context] RE : RE : RE : Issue with grid

2020-11-23 Thread Pablo Rodriguez
On 11/23/20 4:29 PM, Joseph wrote: > Could reproduce this problem with ‘default’ font and even seeing it > cumulating in same page. BTW, Perhaps you already fixed it locally. Hi Joseph, probably the approach has to be different. Setting the whitespace to line fixes everything: \startsetups[*l

Re: [NTG-context] upload

2020-11-23 Thread Pablo Rodriguez
On 11/23/20 6:55 PM, Hans Hagen wrote: > Hi, > > I uploaded a next iteration of lmtx. From now on there are dedicated sub > directories for mklx and mpxl, which is an indication that we're on the > way to a full code split. Hi Hans, I’m afraid that there is an error that prevents the creation of

Re: [NTG-context] RE : upload

2020-11-24 Thread Pablo Rodriguez
On 11/23/20 11:33 PM, Floris van Manen wrote: > [...] > I still get the error: > > csname overload > fatal error, protection level 4, control sequence > 'textcontrolspace', properties 'immutable', file 'enco-ini.mkxl', line 315 > > Also aafter the update I got two different current versions: > > $

Re: [NTG-context] issue with links

2020-11-24 Thread Pablo Rodriguez
On 11/19/20 5:50 PM, Pablo Rodriguez wrote: > Dear list, > > this MWE shows that links may be misbehaving again: > > \setupindenting[yes, always, big] > \setupinteraction[state=start] > \enabledirectives[references.border] > \unexpanded\def\MyURL#1% > {\bgr

Re: [NTG-context] RE : upload

2020-11-25 Thread Pablo Rodriguez
On 11/24/20 7:22 PM, Floris van Manen wrote: > On 24/11/2020 18:28, Pablo Rodriguez wrote: >> I’m afraid you are getting an old version, since the newer one reads: >> >> mtx-context | ConTeXt Process Management 1.04 >> mtx-context | >> mtx-context |

[NTG-context] question about frames

2020-11-25 Thread Pablo Rodriguez
Dear list, here is a minimal sample of frames to make up labels: \setuplayout[page] \starttext \dorecurse{16}{\dontleavehmode\dorecurse{4} {\framed[width=52.5mm, height=18.5mm, align=right]{\null}}\\} \stoptext Which is the way to avoid any vertical space between frames? Sorry, this m

Re: [NTG-context] question about frames

2020-11-26 Thread Pablo Rodriguez
On 11/26/20 9:42 AM, Henning Hraban Ramm wrote: >> Am 25.11.2020 um 22:43 schrieb Pablo Rodriguez: >> [...] >> Which is the way to avoid any vertical space between frames? >> >> Sorry, this may be obvious, but I don’t know how to do it now. > > try offset=overl

Re: [NTG-context] Testing for LMTX

2020-11-26 Thread Pablo Rodriguez
On 11/26/20 8:06 PM, Jean-Philippe Rey wrote: > [...] > Do you know a way to distinguish between LMTX and MkIV ? Hi Jean-Philippe, I guess this is what you are looking for: \starttext \startTEXpage[offset=1em] \startlmtxmode LMTX\stoplmtxmode \startmkivmode MkIV\stopmkivmode \stopTEXpa

Re: [NTG-context] question about frames

2020-11-26 Thread Pablo Rodriguez
On 11/26/20 5:26 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 25.11.2020 um 22:43: >> [...] >> Which is the way to avoid any vertical space between frames? > > Variant 1: > > \offinterlineskip} Many thanks for your reply, Wolfgang. As always, your

[NTG-context] inbetween in \setupnotation

2020-11-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupnotation[footnote] [before={\blackrule[color=red]}, after={\blackrule[color=blue]}, inbetween={\blackrule[color=green]}] \starttext \dorecurse{18}{a\footnote{b} } \stoptext I wonder why the green rule isn’t shown. I mean, I wou

Re: [NTG-context] inbetween in \setupnotation

2020-11-27 Thread Pablo Rodriguez
On 11/27/20 8:29 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 27.11.2020 um 19:48: >> [...] >>\setupnotation[footnote] >> [before={\blackrule[color=red]}, >> after={\blackrule[color=blue]}, >> inbetween={\blackrule[color=green]}]

Re: [NTG-context] new lmtx

2020-11-27 Thread Pablo Rodriguez
On 11/27/20 8:26 PM, Hans Hagen wrote: > Hi, > > A new upload ... a few lua files cleaned up (stale code removed and so) > ... hopefully for the best. Many thanks for the new upload, Hans. A new glitch (present in the previous version too) in PDF links: \setuppapersize[A9] \setupinteraction

Re: [NTG-context] new lmtx

2020-11-28 Thread Pablo Rodriguez
On 11/27/20 9:05 PM, Pablo Rodriguez wrote: > [...] > The link rectangle goes to the end of the line. Hans, many thanks for having fixed the issue in latest from today. Pablo -- http://www.ousia.tk ___ I

Re: [NTG-context] Problem with word not hyphenating

2020-11-30 Thread Pablo Rodriguez
On 11/30/20 4:48 PM, Bruce Horrocks wrote: > The word "re-implementation" refuses to hyphenate and consequently > stick outs into the right margin. > > I've tried using \hyphenation but it makes no difference. > [...] > Any suggestions, please? Hi Bruce, here you have a sample: \setuphyphenati

Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread Pablo Rodriguez
On 12/2/20 6:56 PM, T. Kurt Bond wrote: > Ah, ok. > > Here is a minimal NONWORKING example: the resulting PDF shows the ct and > st ligatures.  What commands should I use to turn them off? Hi Kurt, here you have the sample that should work: %~ \definefontfamily[ebgaramond] [rm] [ebgaramond]

[NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
Dear list, math is all Greek to me and I’m experiencing issues when typesetting the most basic inline formulas. \starttext \startitemize[packed] \item Valor actual neto: $beneficios - costes$. \item Beneficio por euro: $\frac{beneficios}{costes}$. \item Beneficio obtenido el primer año.

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 8:55 PM, Otared Kavian wrote: > Hi Pablo, > > You may use \text in math formulas as in: Many thanks for your reply, Otared. \text is what I needed to fix the issue with ligatures and spacing. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 9:23 PM, Hans Åberg wrote: >> [...] >> Again, formulas are totally foreign to my work with ConTeXt. > > When you do not use \text in math mode, it means implicit multiplication, which has special spacing. Operator names use text kerning. For example $sin x$ is implicit multiplication, an

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 8:48 PM, Pablo Rodriguez wrote: > [...] > 3. Packed works fine with fractions, but packed columns is wrong with > them. It adds too much space. After clearing the issue with text, it seems that fractions add to much space when in list with columns. \showframe\showgrid \

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 10:00 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 03.12.2020 um 21:52: >> On 12/3/20 8:48 PM, Pablo Rodriguez wrote: >>> [...] >>> 3. Packed works fine with fractions, but packed columns is wrong with >>> them. It adds too much space. &

[NTG-context] repeated chapter in LMTX Reference Manual?

2020-12-04 Thread Pablo Rodriguez
Hi Hans, many thanks for your new upload that fixes the issue with scaled external figures. I have just accidentally realized: \startbodymatter \component luametatex-preamble \component luametatex-differences [...] \stopbodymatter \startbackmatter [...] \comp

[NTG-context] \XeTeX\ misbehaving

2020-12-04 Thread Pablo Rodriguez
Hans, just accidentally, I discovered that \XeTeX\ misbehaves: \starttext \input{zapf} \XETEX\ \input{knuth} \stoptext BTW, this is the MWE after I saw http://www.pragma-ade.com/general/manuals/luametatex.pdf#page=15. I hope it helps, Pablo -- http://www.ousia.tk

[NTG-context] sacling isue in lmt_followtext

2020-12-05 Thread Pablo Rodriguez
Hi Hans, I have this sample: \starttext \startMPcode{doublefun} draw lmt_followtext [ text = " ·\input{zapf} ", path = ((12,0)--(32,15)--(50,0)--(45,26)--(64,42) --(40,42)--(32,65)--(24,42)--(0,42)--(0,42) ..(20,26)--(12,0)), autoscaleup = "max", reverse=true,

Re: [NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 3:07 PM, Damien Thiriet wrote: > Hi, > > The following MWE does not give the output I expect, > that is subject starting on page 1 and 3. > What did I miss? Hi Damien, by default, ConTeXt generates single-sided documents. If double-sided documents are needed, proper setup reads: \s

Re: [NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 3:20 PM, Damien Thiriet wrote: > Hi, > > \setuphead[subject] [page={yes,right}] > [...] > makes the job on ConTeXt online, but doesn't with my lmtx version. Hi Damien, https://live.contextgarden.net/cgi-bin/result.cgi?id=EXmDKW gives the expected output: no double-sided document by def

Re: [NTG-context] Confusion with fonts

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 1:03 PM, T. Kurt Bond wrote: > [...] > \definefontfamily[mainface][mm][Latin Modern Math] Hi Kurt, this triggers an error in current latest (2020.12.04 20:22): backend > blocked > function 'setmapfile' is not accessible Using LMTX, it seems to be "Latin Modern Roman Math". I w

Re: [NTG-context] Bugs using \startTEXpage ... \stopTEXpage, Metapost and text

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 3:29 PM, Jairo A. del Rio wrote: > [...] > gives a normal output in MkIV, but buggy output in LMTX. It seems only > TeX commands in Metapost (textext, thetextext, etc.) are affected. Am I > missing something? Hi Jairo, the sample can be much simpler: \starttext \startMPcode draw

Re: [NTG-context] Confusion with fonts

2020-12-08 Thread Pablo Rodriguez
On 12/8/20 10:13 AM, T. Kurt Bond wrote: > I think that what confused me the most is that "\setupbodyfont[pagella]" > works fine, but "\definefontfamily[mainface][rm][pagella]" does not. But is it clear now that identifiers and typeface names (such as explained in my previous message) are totally

[NTG-context] not working command in LMTX

2020-12-08 Thread Pablo Rodriguez
Dear list, I have the following sample: \definecounter[minpagecounter][way=bypage] \def\minipagecounter {\incrementcounter[minpagecounter][1] \rawcounter[minpagecounter]} \starttext \dontleavehmode\dorecurse{4}{\minipagecounter\\} \stoptext LMTX gives only 0 as values. MkIV in

[NTG-context] issue with line breaking and images

2020-12-08 Thread Pablo Rodriguez
Hi Hans, I have the following MWE: \setupexternalfigures[location=default] \starttext \dontleavehmode \dorecurse{80}{\externalfigure[cow][width=.075\textwidth] } \stoptext MkIV does break the lines to compose a paragraph, but LMTX doesn’t use the space to break. In fact, it doesn’t a

Re: [NTG-context] not working command in LMTX

2020-12-08 Thread Pablo Rodriguez
On 12/8/20 5:56 PM, Hans Hagen wrote: > On 12/8/2020 4:59 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I have the following sample: >> >>\definecounter[minpagecounter][way=bypage] >>\def\minipagecounter >> {\incrementcounter[minpageco

Re: [NTG-context] image align in \clip

2020-12-09 Thread Pablo Rodriguez
On 12/9/20 9:38 AM, Jan U. Hasecke wrote: > Dear all, > > I use \clip to simplify working with images. Hi Jan-Ulrich, this command is really useful. > In my real document the clipped image is shifted to the right as if > indented by 1em or so. I have read that Hans solved your issue. I thought

[NTG-context] issue with link and margin in LMTX

2020-12-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A9] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startitemize \dorecurse{2}{\item \MyURL{a.b\\/c.d\letterha

[NTG-context] two arguments for \xmlraw?

2020-12-13 Thread Pablo Rodriguez
Dear list, this is a basic question about \xmlraw. Altough both xml-mkiv.pdf and i-context.pdf only grant them the node argument, I think it works with two arguments: \xmlraw { NODE } { PATH } I used in some documents and I couldn’t make it work with one argument (even when path reads ".").

Re: [NTG-context] upload / metafun

2020-12-15 Thread Pablo Rodriguez
On 12/15/20 8:24 PM, Otared Kavian wrote: > [...] > However after running install. sh on MacOS, I still get current > version: 2020.12.10 22:26, even after removing the .tma files.> So I guess I > have to wait a little bit for the new version to be > upoaded. Hans, I’m afraid I’m having the same

Re: [NTG-context] LMTX MetaFun SVG trouble, a portion of the SVG is cut of in the PDF

2020-12-17 Thread Pablo Rodriguez
On 12/17/20 5:08 PM, Neven Sajko wrote: > On Thu, 17 Dec 2020 at 15:27, Aditya Mahajan wrote: > [...] >> Can you check with a desktop pdf viewer as well. > > It looks the same with MuPDF. Hi Neven, it seems to be an issue with the conversion of the SVG file. > This is a combined TeX file contai

Re: [NTG-context] LMTX MetaFun SVG trouble, a portion of the SVG is cut of in the PDF

2020-12-17 Thread Pablo Rodriguez
On 12/17/20 6:45 PM, Pablo Rodriguez wrote: > On 12/17/20 5:08 PM, Neven Sajko wrote: >> On Thu, 17 Dec 2020 at 15:27, Aditya Mahajan wrote: >> [...] >>> Can you check with a desktop pdf viewer as well. >> >> It looks the same with MuPDF. > > Hi N

Re: [NTG-context] Indic fonts with MkIV and

2020-12-19 Thread Pablo Rodriguez
On 12/19/20 2:59 PM, Robert Zydenbos wrote: > On 19.12.20 09:10, Wolfgang Schuster wrote: > > YES… YES! > YES YES YES YES YES YES (I'm trying to express enthusiasm.) That's it! > > The remaining question here is: where do I find such magical > expressions like "features=kannada-one"? (Why "kannada-

[NTG-context] links in LMTX

2020-12-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A9] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startitemize \dorecurse{2}{\item \MyURL{a.b\\/c.d\letterha

Re: [NTG-context] Indic fonts with MkIV and

2020-12-19 Thread Pablo Rodriguez
On 12/19/20 8:46 PM, Hans Hagen wrote: >> [...] >> I hope the description above might help, > can you wikify this? Of course. Although Robert should review it (to avoid the nonsense I may add to it) BTW, I wonder whether it would be possible to add hyphenation patterns for Kannada (Robert may ben

Re: [NTG-context] Indic fonts with MkIV and

2020-12-19 Thread Pablo Rodriguez
On 12/19/20 8:46 PM, Hans Hagen wrote: > [...] > can you wikify this? Wikified at https://wiki.contextgarden.net/Indic_Scripts. Please, Robert, could you improve it? Many thanks for your help, Pablo -- http://www.ousia.tk _

Re: [NTG-context] a new book has been published, made with the help of ConTeXt

2020-12-19 Thread Pablo Rodriguez
On 12/19/20 10:11 PM, Robert Zydenbos wrote: > Dear readers, > > With great joy and a sense of relief I can now announce that my > latest book, _A Manual of Modern Kannada_ by Robert Zydenbos > (Heidelberg / Berlin: CrossAsia E-Publishing, 2020), a teaching > manual of the Kannada language (Kannada

Re: [NTG-context] efficiently scaling fonts

2020-12-24 Thread Pablo Rodriguez
On 12/24/20 12:20 PM, Hans Hagen wrote: > Hi, > > I uploaded a new lmtx ... in a previous mail i mentioned font scaling > and I made that two dimensional: Hi Hans, many thanks for the LMTX new release. I can only get it working after removing the extra \starttext and adding \stopbuffer and \getb

[NTG-context] MetaFun labels and xsized

2020-12-25 Thread Pablo Rodriguez
Dear list, I have this minimal MetaFun sample (the only one in my real document): \setupbodyfont[pagella] \starttext \startMPcode pair a ; a := (1, 1) ; pair b ; b := (1, 10) ; pair c ; c := (10, 10) ; pair d ; d := (10, 1) ; draw (a--b--c--d--a) xsized .75TextWidth; draw thela

Re: [NTG-context] MetaFun labels and xsized

2020-12-25 Thread Pablo Rodriguez
On 12/25/20 6:36 PM, Fabrice L wrote: >> I have this minimal MetaFun sample (the only one in my real document): >> [...] >> Is there a way to relate adapt the labels to the xsized positions used? > > I’m sure somebody could find a more elegant solution, but here is a simple > one: > > \setupbodyf

Re: [NTG-context] MetaFun labels and xsized

2020-12-25 Thread Pablo Rodriguez
On 12/25/20 10:09 PM, Hans Hagen wrote: >> [...] > \startMPcode > path p ; p := ( > ( 1, 1) -- > ( 1, 5) -- > (10, 10) -- > (14, 4) -- > cycle) xsized .75TextWidth; > > draw p ; > > freelabel("\strut α",point 0 of p,center p) ; > freel

[NTG-context] issue with defined font feature

2020-12-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature [standarddigits] [lnum=yes, tlig=no] \definefontfamily [anothermpface] [rm] [Gabriola] [features={default}] \definefontfamily [anothermpface] [ss] [Gabriola] [features={de

Re: [NTG-context] issue with defined font feature

2020-12-26 Thread Pablo Rodriguez
On 12/26/20 6:36 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 26.12.2020 um 12:58: >> I have the following sample: >> [...] >> I’m not being able to get both lnum and no en-dashes: the defined font >> feature seems to require the default and I cannot get en-

Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2020-12-27 Thread Pablo Rodriguez
On 12/27/20 5:47 PM, Joseph wrote: > Dear list, > > Following MWE allows to reproduce the problem. Text right margin looks > completely misaligned. Hi Hans, I was about to report the same issue, when I found the report by Joseph. Another MWE, just in case it might help: \showframe\showgrid

Re: [NTG-context] RE : HZ broken with latest 2020-12-27 LMTX

2020-12-28 Thread Pablo Rodriguez
On 12/28/20 1:03 AM, Hans Hagen wrote: > [...] > ok, found .. somehow i deleted a line Hi Hans, does current latest (from 2020.12.28 01:41) contain the missing line? Sorry, but hz isn’t working and I don’t know whether current latest should fix it. Many thanks for your help, Pablo -- http://ww

Re: [NTG-context] adding url as a footnote in the caption of figure

2020-12-29 Thread Pablo Rodriguez
On 12/29/20 8:23 PM, Jeong Dal wrote: > [...] > I am trying to add a url as a footnote in the caption. > There is no error, but it is written in two lines in the footnote. > I also try \hyphenatedurl, \letterslash in the wiki, but it is no use. > I am using "ConTeXt  ver: 2020.12.22 22:14 LMTX”. H

Re: [NTG-context] lmtx upload

2021-01-05 Thread Pablo Rodriguez
On 1/5/21 11:01 AM, Hans Hagen wrote: > Hi, > > A new version has been uploaded. This one has: > >\enableexperiments[fonts.compact] > > for the brave to test. Hi Hans, many thanks for your new release with the experimental feature. I get a compilation time decrease from 64s to 58s in one of

[NTG-context] \definefontfeature and script

2021-01-05 Thread Pablo Rodriguez
Hans, this sample shows an issue with script: \definefontfeature [default] [default] [script=latn] \definefontfeature [onumsmcp] [onum=yes, smcp=yes, c2sc=yes] \setupbodyfont [pagella] \starttext \feature[+][onumsmcp]\tfb abc123ABC \stoptext If

Re: [NTG-context] \definefontfeature and script

2021-01-05 Thread Pablo Rodriguez
On 1/5/21 5:11 PM, Hans Hagen wrote: > On 1/5/2021 4:46 PM, Pablo Rodriguez wrote: >> [...] >> If script=auto, current latest (2021.01.05 10:45) works fine. If it is >> set to Latin (as above), I don’t get small caps. >> >> Besides the potential issue in ConTeX

Re: [NTG-context] \definefontfeature and script

2021-01-06 Thread Pablo Rodriguez
On 1/6/21 1:41 PM, Hans Hagen wrote: > On 1/5/2021 6:53 PM, Pablo Rodriguez wrote: >> [...] >> GFS Heraklit >> (https://greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip [direct >> link].) defines Greek c2sc and smcp for grek{dflt} (as displayed by >> Fo

[NTG-context] xtable as list item

2021-01-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize[n][margin=yes] \item a \item \startembeddedxtable[option={stretch, width}] \dorecurse{25}{\startxrow \startxcell \Characters{\recurselevel}\stopxcell \startxcell \characters{\recurselevel}\stopxcell \

[NTG-context] extra width in cropbox and trimbox

2021-01-12 Thread Pablo Rodriguez
Dear list, I have already reported this before (https://mailman.ntg.nl/pipermail/ntg-context/2020/099636.html). I have the following sample: \setupinteractionscreen [width=fit] \starttext \null \stoptext Mediabox is fine: [ 0 0 595.2756 841.8898 ] But cropbox and trimbox conta

[NTG-context] issue with doublesided layer

2021-01-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \definelayer[layer] [doublesided=yes] \setlayer[layer] {layer} \setupbackgrounds[text] [background={layer}] \starttext \null \stoptext Simply defining a doublesided layer breaks compilation in LMTX. It works fine with MkIV. I’m

Re: [NTG-context] issue with doublesided layer

2021-01-19 Thread Pablo Rodriguez
On 1/19/21 6:43 PM, Hans Hagen wrote: > On 1/19/2021 5:46 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I have the following sample: >> >>\definelayer[layer] >> [doublesided=yes] >> [...] >> Simply defining a doublesided layer breaks c

Re: [NTG-context] web server

2021-01-22 Thread Pablo Rodriguez
On 1/22/21 1:46 PM, Hans Hagen wrote: > Hi, > > I'm moving the webserver to another ip address so there can be some > temnporary hickups (dns and such) Many thanks for your info, Hans. This explains why I’m not able to update LMTX now. Pablo -- http://www.ousia.tk ___

Re: [NTG-context] web server

2021-01-23 Thread Pablo Rodriguez
On 1/23/21 3:43 AM, Hans Hagen wrote: > On 1/23/2021 1:38 AM, Jairo A. del Rio wrote: >> So, is it still broken? > [...] > but ... i need to quit now in order not to get into a too bad mood but > updating ... lmtx should work (well, it does here) .. tomorrow i'll play > a bit more (we're locked dow

Re: [NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Pablo Rodriguez
On 1/23/21 8:59 AM, Richard Mahoney wrote: > [...] > \placetable[here,90] > > results in the trashing of all subsequent body text in the PDF. > [...] > This error has been occurring for some time now, and unfortunately, > while I would like to keep up the recent releases of LMTX, it is > essential

Re: [NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Pablo Rodriguez
On 1/23/21 10:43 PM, Hans Hagen wrote: > On 1/23/2021 12:10 PM, Pablo Rodriguez wrote: >> [...] >> LMTX misplaces next paragraph on next page with both 90 and 270. >> [...] > The code is not different from mkiv but instead we swap dimens using a > primitive. When you set

Re: [NTG-context] new font trickery

2021-01-24 Thread Pablo Rodriguez
On 1/24/21 4:44 PM, Hans Hagen wrote: > \starttext > > \setupexternalfigure[directory={global,default}] > > \startsetups box:demo:103 > \externalfigure[cow-brown.pdf][height=12pt] > \stopsetups > > \startsetups box:demo:104 > \externalfigure[cow-black.pdf][height=10pt] > \stopsetups > > \

Re: [NTG-context] new font trickery

2021-01-24 Thread Pablo Rodriguez
On 1/24/21 5:51 PM, Hans Hagen wrote: >> [...] >> I only get black cows and black squares for bitmap images. >> >> I think this isn’t intended. > Works ok here ... so are the images found? Buggy pdf viewer? Many thanks for your reply, Hans. Images are found, but not with "directory=default", but

[NTG-context] rscale not working

2021-01-24 Thread Pablo Rodriguez
Hans, rscale doesn’t work with latest from 2021.01.24 16:07: \definefontfamily[mainface][rm][Latin Modern Serif] \definefontfamily[mainface][tt][Latin Modern Sans][rscale=2] \setupbodyfont[mainface, 60pt] \starttext \dorecurse{26} {\character{\recurselevel}{\tt\character{\recurselev

[NTG-context] font bug in latest from 2021.01.29 19:44?

2021-01-29 Thread Pablo Rodriguez
Dear list, this sample cannot be compiled with latest LMTX (2021.01.29 19:44). \enableexperiments[fonts.compact] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] \setupbodyfont [main

Re: [NTG-context] font bug in latest from 2021.01.29 19:44?

2021-01-29 Thread Pablo Rodriguez
On 1/29/21 11:24 PM, Hans Hagen wrote: > On 1/29/2021 9:59 PM, Pablo Rodriguez wrote: > >> Could anyone confirm this bug? > hm, some overload protection side effect ... i'll fix it Many thanks for the fix, Hans. Pablo --

[NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-08 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteractionscreen[option=max] \starttext \startTEXpage \null \stopTEXpage \stoptext LMTX doesn’t include full page. MkIV compiles it fine. If I remove the TEXpage, LMTX includes the full page mode. I’m using latest version from 2021.0

[NTG-context] latest LMTX breaks XML compilation

2021-02-08 Thread Pablo Rodriguez
Hans, using latest from (2021.02.08 17:03) with all my XML sources breaks compilation with the following error: > tex error on line 2 in file : Argument of \xmlw has an extra } How I can detect when ConTeXt uses \xmlw? Latest from 2021.02.08 17:03 doesn’t have this problem. Many thanks for y

Re: [NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-09 Thread Pablo Rodriguez
On 2/8/21 11:01 PM, Hans Hagen wrote: >> [...] >> LMTX doesn’t include full page. MkIV compiles it fine. >> >> If I remove the TEXpage, LMTX includes the full page mode. > LMTX is more accurate as \null has zero dimensions an dit's a fitting page > > what you want is > > \startpagemakeup > > \stopp

Re: [NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-09 Thread Pablo Rodriguez
On 2/9/21 7:30 PM, Hans Hagen wrote: > On 2/9/2021 7:15 PM, Pablo Rodriguez wrote: >> [...] >> Sorry, Hans, the original sample was different, but I removed the offset >> option in order to make it smaller: >> >>\setupinteractionscreen[option=max] >>

Re: [NTG-context] Table of Content

2021-02-12 Thread Pablo Rodriguez
On 2/11/21 12:11 PM, Ursula Hermann wrote: > Dear List! > > > I did this example, which works perfect. If i would like to  take a new > page after the Table of Content, is \page the right way?  Hi Ursula, "\page\null\page" does the trick in your case. "\setuppagenumber[alternative=doublesided]"

[NTG-context] issue printing with Acrobat?

2021-02-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A4, landscape] \setupinteractionscreen[option={landscape, paper}] \starttext \dorecurse{2} {\startmakeup[page][pagestate=start, align=middle] \dontleavehmode \scale[width=.8\textwidth]{middle} \stopmakeup} \stoptext Select

Re: [NTG-context] Table of Content

2021-02-12 Thread Pablo Rodriguez
On 2/12/21 4:40 PM, Hans Hagen wrote: > On 2/12/2021 3:43 PM, Pablo Rodriguez wrote: >> [...] >> "\page\null\page" does the trick in your case. > > \page[left,empty,right] etc Hans, I never thought this were possible: \starttext \page[left,empty,right, left,

[NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
Dear Hans, I’m afraid that style doesn’t work for headings in current latest (2021.02.12 18:49): \setuphead[chapter][style=\it] \setuphead[section][style=\it] \starttext \chapter{Chapter} \section{Section} \input zapf \stoptext Many thanks for your help, Pablo -- http://www.ousia.

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
On 2/13/21 12:13 AM, Pablo Rodriguez wrote: > Dear Hans, > > I’m afraid that style doesn’t work for headings in current latest > (2021.02.12 18:49): Hans, it might be that the style option doesn’t work in other commands (or at all): \setuphead[section][style=\it] \setuplist[se

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
On 2/13/21 12:33 AM, Hans Hagen wrote: > On 2/13/2021 12:13 AM, Pablo Rodriguez wrote: >> Dear Hans, >> >> I’m afraid that style doesn’t work for headings in current latest >> (2021.02.12 18:49): >> [...] > can you check again? Many thanks for your fast fix

[NTG-context] LMTX problem with XML

2021-02-14 Thread Pablo Rodriguez
Hans, the following sample breaks compilation with latest after release from 2021.02.05 17:45: \startbuffer[demo] http://www.w3.org/1999/xhtml";> In Body \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1} {html|body|di

Re: [NTG-context] LMTX problem with XML

2021-02-14 Thread Pablo Rodriguez
On 2/14/21 1:34 PM, Pablo Rodriguez wrote: > Hans, > > the following sample breaks compilation with latest after release from > 2021.02.05 17:45: > [...] > Current latest from 2021.02.13 00:28 complains about argument of \xmlw > having an extra }. Hans, many thanks for your

Re: [NTG-context] LMTX problem with XML

2021-02-14 Thread Pablo Rodriguez
On 2/14/21 5:47 PM, Hans Hagen wrote: > On 2/14/2021 5:25 PM, Pablo Rodriguez wrote: >> On 2/14/21 1:34 PM, Pablo Rodriguez wrote: >>> Hans, >>> >>> the following sample breaks compilation with latest after release from >>> 2021.02.05 17:45: >&

Re: [NTG-context] LMTX problem with XML

2021-02-15 Thread Pablo Rodriguez
On 2/14/21 10:32 PM, Hans Hagen wrote: > On 2/14/2021 9:24 PM, Pablo Rodriguez wrote: > >> But I‘m afraid it will take some time before I can provide a minimal >> sample showing the issue. > > We have plenty of time in these lock down days. Many thanks for your reply,

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Pablo Rodriguez
On 2/15/21 8:47 PM, Mohammad Hossein Bateni wrote: > Hi, > > Is there a way to set the fallback for fonts when we define them not as > a typescript but using \definefont? > > \definefont[MyFont][Font.otf*MyFeatures] > > Is there a default fallback one can specify? > Is simplefonts module deprecated

[NTG-context] infinite number of runs

2021-02-17 Thread Pablo Rodriguez
Hans, I have some documents that trigger infinite runs. I want to provide a minimal sample that shows this. But is there some code in the .tuc file (or in the .log file with \tracingall) that shows the need of another run? Many thanks for your help, Pablo -- http://www.ousia.tk ___

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Pablo Rodriguez
On 2/19/21 4:02 PM, Ursula Hermann wrote: > Dear List,  > i have the little following example:  > > \setuppapersize[A8,landscape] > \setuplayout[leftmargin=2.5cm, >              leftmargindistance=0.2cm, >              backspace=2.9cm, >              width=4cm] > \showframe > \starttext > \blackrul

[NTG-context] issue with references

2021-02-19 Thread Pablo Rodriguez
Hans, I have the following sample: \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section] \setupreferencestructureprefix [default] [prefixsegments=*:*] \starttext \startTEXpage[offset=1em] \chapter{Chapter} \section[sec]{Section} As told

[NTG-context] path in LuaMetaFun

2021-02-20 Thread Pablo Rodriguez
Dear list, I have the fowllowing sample: \starttext \startmakeup[page][align=middle] \startMPcode{doublefun} draw lmt_followtext [ text = "\feature[+][smallcaps]\bf\samplefile{zapf} ", path = ((0,0)..(3,3.25)..(9,-3.25)..(12,0)..(9,3.25)..(3,-3.25)..(0,0)), autoscaleup = "max", rever

Re: [NTG-context] path in LuaMetaFun

2021-02-20 Thread Pablo Rodriguez
On 2/20/21 12:59 PM, Pablo Rodriguez wrote: > [...] > Which is the right way to close the path or what am I missing? I see that cycle is the way to go: \starttext \startmakeup[page][align=middle] \dontleavehmode \startMPcode{doublefun} path p ; p := (0,0)..(3,3.5)..(9,-3.5)..(12,0)..

Re: [NTG-context] path in LuaMetaFun

2021-02-20 Thread Pablo Rodriguez
On 2/20/21 1:28 PM, Hans Hagen wrote: > On 2/20/2021 1:19 PM, Pablo Rodriguez wrote: >> [...] >> On the other side, I’m afraid that cycle has problems with lmt_followtext. > could be, i'm playing a bit with the converter and introduced a issue > but that will be fix

Re: [NTG-context] [LMTX] fonts problem (again)

2021-02-21 Thread Pablo Rodriguez
On 2/21/21 5:05 PM, Hans Hagen wrote: > On 2/21/2021 4:45 PM, kaddour kardio wrote: >> >> Hi! Once again i'm unable to load my system's font which is working well >> with MKIV. >> [...] >> export >> OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/ >> [...] >> This pr

Re: [NTG-context] [LMTX] fonts problem (again)

2021-02-23 Thread Pablo Rodriguez
On 2/23/21 6:45 PM, Hans Hagen wrote: > On 2/23/2021 6:15 PM, kaddour kardio wrote: >> Thank you Hans and Pablo, symlinking the font directories to luametatex >> font directory worked as expected. I guess i have to follow the same >> steps after every update.. > no, because texmf-fonts is never tou

[NTG-context] looping an overlay

2021-02-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startTEXpage[offset=1em] \startoverlay \dostepwiserecurse{25}{95}{5} {{\recurselevel\ }} \stopoverlay \stopTEXpage \stoptext Which is the right way to loop an overlay? Many thanks for your help, Pablo

Re: [NTG-context] looping an overlay

2021-02-24 Thread Pablo Rodriguez
On 2/24/21 7:44 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 24.02.2021 um 19:23: >> [...] >>\starttext >> \startTEXpage[offset=1em] >>\startoverlay >> \dostepwiserecurse{25}{95}{5} >>{{\recurselevel\ }} >

<    1   2   3   4   5   6   7   8   9   10   >