[NTG-context] bug in PDF boxes? (was: Re: Trouble setting PDF boxes))

2020-04-26 Thread Pablo Rodriguez
On 4/25/20 2:37 PM, Jack Steyn wrote: > Hi, > > I am having trouble setting the PDF boxes to my desired dimensions. > Suppose I have \setuppapersize[/a/][/b/]. I want CropBox = MediaBox > =/ //b/. So far, so good: I can just use cropoffset=0mm in \setuplayout. > But I want TrimBox = /a/. However, a

[NTG-context] two additional pagenumber series

2020-04-29 Thread Pablo Rodriguez
Dear list, for one of the documents I share with others, I need to add five pagenumber series. I’m already using realpage, userpage and subpage. I have just tried to use \definecounter, but it doesn’t work. \setuppapersize[A9] \definecounter[ncounter] [way=bychapter] \startte

Re: [NTG-context] two additional pagenumber series

2020-04-29 Thread Pablo Rodriguez
On 4/29/20 3:32 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 29.04.2020 um 14:00: >> Dear list, >> >> for one of the documents I share with others, I need to add five >> pagenumber series. >> [...] >> My question is: how could I get new

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Pablo Rodriguez
On 5/3/20 2:56 PM, Gerben Wierda wrote: > ConTeXtgarden had theanswer when I searched again: > > \setupbodyfont[dejavu] > \mainlanguage[russian] Hi Gerben, I’m afraid they may be different issues: setting a language and getting the glyphs required for that language. See the following sample:

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-04 Thread Pablo Rodriguez
On 5/4/20 12:36 AM, Gerben Wierda wrote: > [...] > It could help if I would understand ConTeXt better. The link gives me a > grammar for a command, but doesn’t tell me what to put in. > > I tried many, many different permutations, I tried everything I could > find on ConTeXtgarden (but then, that a

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-04 Thread Pablo Rodriguez
On 5/4/20 6:38 PM, Gerben Wierda wrote: > [...] > The above works (including using macOS Helvetica as the font for > cyrillic). Thank you. Hi Gerben, glad to read it worked. > I have no idea why (earlier I got the typescript suggestion for my > fonts management, but this uses another approach).

[NTG-context] --nodates not working

2020-05-15 Thread Pablo Rodriguez
Dear list, the “LuaMeTaTeX Reference Manual” describes that the command line argument "--nodates" removes time dependent information in the output file. I’m afraid it doesn’t work. "\enabledirectives[backend.date=no]" doesn’t work either. This is really useful to be able to generate the exact PD

[NTG-context] does font expansion break -char.width?

2020-05-17 Thread Pablo Rodriguez
Dear list, in this sample for underscore hyphenation (which comes from Hans), font expansion breaks char.width and displaces the underscore: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[under

[NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Pablo Rodriguez
Dear list, I’m accesing superscript glyphs for Garamond Libre with the OT feature and the character with the following sample: \definefontfeature[sups][script=latn, sups=yes] \definefontfamily[twoface][rm][GaramondLibre] \definefontfamily[mainface][rm][EB Garamond 12] \setupbodyfo

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Pablo Rodriguez
On 5/18/20 6:13 PM, Hans Hagen wrote: > On 5/18/2020 5:18 PM, Pablo Rodriguez wrote: >> [...] >> Sorry, but I’m a bit thick now. Does anyone know why characters and OT >> sups provide differently sized glyphs? >> >> I think there might be a bug in the typeface, bu

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-19 Thread Pablo Rodriguez
On 5/19/20 8:24 AM, Henning Hraban Ramm wrote: > [...] > That’s what I did. WRT swash capitals, the author told me: > > \startquotation > I adopted this font, as a fork from an upstream which is no longer published under a libre license. Then I did make some slight extensions. But I didn't choose t

Re: [NTG-context] \pagewidth undefined?

2020-05-19 Thread Pablo Rodriguez
On 5/19/20 1:42 PM, Gerben Wierda wrote: > OK. I just noticed in lmtx documentation that \paperheight and > \paperwidth primitives have been removed, but there is no information > what rteplaces them. So, all the documentation that contains them has > been invalidated (e.g. examples in details.pdf)

Re: [NTG-context] LMTX not working in Windows 10

2020-05-19 Thread Pablo Rodriguez
On 5/19/20 8:57 AM, Hans Hagen wrote: > On 5/19/2020 1:41 AM, Jairo A. del Rio wrote: >> Hi everyone! I've tried installing LMTX on Windows 10 (x64) (I use >> Ubuntu, but my PC isn't available now). Whatever. When I try to execute >> context.exe the following appears: >> >> ! Parameters must be num

Re: [NTG-context] LMTX not working in Windows 10

2020-05-19 Thread Pablo Rodriguez
On 5/19/20 5:55 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 19.05.2020 um 16:42: >> [...] >> I’m getting exactly the same error on Windows (x64). >> >> Where could we get the latest binary? > > You can download the binary from the following link

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Pablo Rodriguez
On 5/20/20 12:26 PM, Jairo A. del Rio wrote: > [...] > Only Twemoji Mozilla and Segoe UI Emoji worked for me, so, what am I > doing wrong? Hi Jairo, using latest ConTeXt with the following sample, I get these results: \definefontfamily[emoj][rm][Twemoji Mozilla][features={color}] \setupbodyf

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Pablo Rodriguez
On 5/20/20 9:39 PM, Hans Hagen wrote: >> [...] >> LMTX (2020.05.18 16:50) displays only black and white icons. >> >> I think this might be a bug in LMTX. >> >> Could you confirm the issue? > what if you wipe the cache Many thanks for your reply, Hans. icons are black and white, no color after wip

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-21 Thread Pablo Rodriguez
On 5/20/20 11:25 PM, Hans Hagen wrote: > On 5/20/2020 10:26 PM, Jairo A. del Rio wrote: >> I did. It turns out that installing graphicsmagick does the trick (pun >> intended) for Noto Color Emoji. However, the issue persists for SVG >> fonts and the same message appears, despite of having cleaned t

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
On 5/23/20 11:52 AM, Gerben Wierda wrote: > [] > Actually, my setup is Optima with Helvetica used for Cyrillic: > > \definefallbackfamily >   [archimate] >   [ss] >   [Helvetica] >   [preset=range:cyrillic, >    tf=style:light, >    it=style:lightoblique, >    bf=style:regular, >    bi=style:obliqu

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
On 5/23/20 8:06 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 23.05.2020 um 20:02: >> On 5/23/20 11:52 AM, Gerben Wierda wrote: >>> [] >>> Actually, my setup is Optima with Helvetica used for Cyrillic: >>> >>> \definefallbackfamily >

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
On 5/23/20 9:50 PM, Gerben Wierda wrote: > [...] >>> \definefontfeature >>>   [effect-widen] >>>   [effect={width=.2,delta=0.3}] >>> >>> \definefallbackfamily >>>   [archimate] >>>   [ss] >>>   [Helvetica] >>>   [preset=range:cyrillic, >>>    tf=style:light, >>>

Re: [NTG-context] Change of Optima to Optima Nova: how to get Optima Nova working?

2020-05-24 Thread Pablo Rodriguez
On 5/24/20 1:50 PM, Gerben Wierda wrote: [...] I’ve decided to buy the Optima Nova font. But now that I use it, I run into the problem that suddenly my fallback for Cyrillic has stopped working. Hi Gerben, the only reason may be that fallback families only work if the main fam

[NTG-context] issue with environment and Lua

2020-05-26 Thread Pablo Rodriguez
Dear list, I have added an \xmlflushcontext to a non-minimal environment file and it crashes again and again. I get the following errors: lua error > lua error on line 8 in file cont-yes.mkiv: function call [560]: ...ext/tex/texmf-context/tex/context/base/mkiv/lxml-tex.lua:918: bad argumen

Re: [NTG-context] issue with environment and Lua

2020-05-27 Thread Pablo Rodriguez
On 5/26/20 9:01 PM, Hans Hagen wrote: > On 5/26/2020 8:24 PM, Pablo Rodriguez wrote: > >> I have added an \xmlflushcontext to a non-minimal environment file and >> it crashes again and again. > > then you probably use the wrong command Many thanks for your reply, Hans.

[NTG-context] bug in \doifinset

2020-05-27 Thread Pablo Rodriguez
Hi Hans, the following sample: \starttext \startTEXpage[offset=1em] \doifinsetelse{i7}{i4, i5, i7} {yes}{no} \stopTEXpage \stoptext outputs "yes" with latest from 2020.05.18 16:50, but "no" with latest from 2020.05.25 23:39. I think this may be a bug, since the sampl

Re: [NTG-context] bug in \doifinset

2020-05-27 Thread Pablo Rodriguez
On 5/27/20 10:39 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 27.05.2020 um 22:31: >> [...] >> I think this may be a bug, since the sample above would only get "yes" >> with { i7}. > No spaces are allowed in these lists. Older versions of the comma

Re: [NTG-context] bug in \doifinset

2020-05-28 Thread Pablo Rodriguez
On 5/27/20 11:58 PM, luigi scarso wrote: >> On Wed, May 27, 2020 at 11:28 PM Pablo Rodriguez wrote: >> Without commas, lists are harder both to read and to write (at least, to me). > > what about > > \starttext > \startTEXpage[offset=1em] > \doifinse

Re: [NTG-context] bug in \doifinset

2020-05-28 Thread Pablo Rodriguez
On 5/28/20 12:23 AM, Hans Hagen wrote: > On 5/27/2020 10:39 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez schrieb am 27.05.2020 um 22:31: >>> [...] >>> I think this may be a bug, since the sample above would only get "yes" >>> with { i7}. >

[NTG-context] Unicode chars and \insertpages (Win7)

2020-05-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \startext \insertpages[ξ_file.pdf] \stoptext Using latest on Linux, it works perfectly fine. On Windows (I’m still on Win7), it doesn’t work unless I replace "ξ" with an ASCII character. Could this be fixed or is it really a limiatation of Windows

[NTG-context] annotations in \insertpages

2020-05-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \attachment[file=https://kbdeveloper.qoppa.com/wp-content/uploads/blank_signed.pdf] \insertpages[https://kbdeveloper.qoppa.com/wp-content/uploads/blank_signed.pdf][interaction=all] \stoptext Is there

Re: [NTG-context] Unicode chars and \insertpages (Win7)

2020-05-30 Thread Pablo Rodriguez
On 5/29/20 9:45 AM, Hans Hagen wrote: > On 5/28/2020 9:49 PM, Pablo Rodriguez wrote: >>[...] >> \insertpages[ξ_file.pdf] >> >> Using latest on Linux, it works perfectly fine. On Windows (I’m still on >> Win7), it doesn’t work unless I replace "ξ"

Re: [NTG-context] Unicode chars and \insertpages (Win7)

2020-05-31 Thread Pablo Rodriguez
On 5/30/20 7:38 PM, Hans Hagen wrote: > On 5/30/2020 6:49 PM, Pablo Rodriguez wrote: >> On 5/29/20 9:45 AM, Hans Hagen wrote: >> [...] >>> That said: I never use non-ascii non-spacy names ... it's the most >>> portable. >> >> This was my first f

[NTG-context] bug with \hyphenatedurl in latest?

2020-06-12 Thread Pablo Rodriguez
Hans, many thanks for the new latest. I’m afraid I’m experiencing a problem with \hyphenatedurl: \starttext \hyphenatedurl{} \stoptext The sample above outuputs "tterhat". Many thanks for your help, Pablo -- http://www.ousia.tk _

Re: [NTG-context] bug with \hyphenatedurl in latest?

2020-06-12 Thread Pablo Rodriguez
On 6/12/20 2:26 PM, Pablo Rodriguez wrote: > [...] > I’m afraid I’m experiencing a problem with \hyphenatedurl: > > \starttext > \hyphenatedurl{} > \stoptext > > The sample above outuputs "tterhat". Many thanks for your fast fix in latest, H

[NTG-context] \recursestring undefined when inside \dorecurse

2020-06-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \dorecurse{25}{\recurselevel\par} \doloopoverstring{a,b,c}{\recursestring} } \stoptext Both LMTX and MkIV complain about \recursestring for being undefined. I wonder whether this is inteded or it is a bug. Many thanks for y

[NTG-context] using annotations for extended print handling

2020-06-14 Thread Pablo Rodriguez
Dear list, I have an over a thousand pages document generated with ConTeXt. I need to print and chapters and part of chapters (or send to other people). /PrintPageRange is great (and you can even generate a new document containing only the pages in /PrintPageRange). But the issue here is that I

[NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
Dear list, I have the following number with wrong annotation placement and wrong page number, which would be both on the second page: \setupinteraction[state=start] \definelayer[pgnumber] \setupbackgrounds[page][background=pgnumber] \starttext \placelist[section][alternative=d] \dorec

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
On 6/15/20 4:09 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 15.06.2020 um 14:52: >> Dear list, >> >> I have the following number with wrong annotation placement and wrong >> page number, which would be both on the second page: >> [...]

[NTG-context] issue with remote \attachment

2020-06-15 Thread Pablo Rodriguez
Hi Hans, one of my documents uses \attachment to embed PDF documents (well, it contains many). I have been doing this for more than a year, but right now it is way slower: over 250s vs. 7s compilation time (with and without the attachment). It takes me 6s to download the document directly with c

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Pablo Rodriguez
On 6/16/20 4:53 AM, Rudolf Bahr wrote: > [...] > Hi Pablo, > > I fear I don't understand what issue you mean, therefore I append my output > here. Many thanks for your reply, Rudolf. The issue is that the layer is placed on the first page, where it should be placed on the second page. This samp

[NTG-context] issue with \comment

2020-06-16 Thread Pablo Rodriguez
Dear list, when trying to report another issue, I found the following one (using latest from 2020.06.12 17:43): \setupinteraction[state=start] \starttext a\contextversion \comment[location={rightmargin}]{comment} \stoptext For some strange reason, \comment isn’t added when there i

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Pablo Rodriguez
On 6/16/20 4:58 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 16.06.2020 um 16:31: >> [...] >> I’m afraid that you get the same result, so there may be a bug there. > > There is no bug. When you take a look at my pagenumber example you see a > few lines at th

Re: [NTG-context] issue with \comment

2020-06-16 Thread Pablo Rodriguez
On 6/16/20 8:00 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 16.06.2020 um 19:20: >> [...] >> I think it might be a bug. Could anyone confirm this? > > Why is everything a bug? > > Some elements like margin blocks or register entries need an anchor. So

[NTG-context] margin comment above heading

2020-06-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \startsetups[tinytiny] \setupwhitespace[-2em] \setupbodyfont[0.01pt] \setupinterlinespace[1sp] \stopsetups \setupinteraction[state=start] \showframe\showgrid \starttext \blank[force, 10em] \section{Move comment above this headi

Re: [NTG-context] margin comment above heading

2020-06-18 Thread Pablo Rodriguez
On 6/17/20 10:47 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 16.06.2020 um 22:17: >> Dear list, >> >> I have the following sample: >> >>\startsetups[tinytiny] >> \setupwhitespace[-2em] >> \setupbodyfont[0.01pt] >>

Re: [NTG-context] margin comment above heading

2020-06-18 Thread Pablo Rodriguez
On 6/17/20 11:26 PM, Henning Hraban Ramm wrote: > [...] > Pablo, do I understand right that you’re converting XML and the > comment comes last in that structure, but you need it first?> I.e. > the real question is how to process the XML structure in a different > order, right? Hraban, yes, this is

[NTG-context] missing command for xmlinfo in latest?

2020-06-29 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] text \stopbuffer \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document}{xml:demo:doc} \stopxmlsetups \xmlregistersetup{xml:demo:base} \startxmlsetups xml:demo:doc \xmlinfo

Re: [NTG-context] LMTX and soft links (Linux)

2020-07-05 Thread Pablo Rodriguez
On 7/5/20 9:14 PM, Jairo A. del Rio wrote: > I'm using both LMTX from the ConTeXt standalone installation and a TeX > Live installation. Since I'm using binaries from the standalone (and > added LMTX to path, etc.), I created soft links in texmf-modules via > > ln -s /usr/local/texlive/2020/texmf-d

Re: [NTG-context] LMTX and soft links (Linux)

2020-07-06 Thread Pablo Rodriguez
developers) is why softlinks in Linux (in Unix, my guess) only work for files and not for directories. Sorry, but this doesn’t make sense to me. Many thanks for your help, Pablo > El dom., 5 de jul. de 2020 a la(s) 14:52, Pablo Rodriguez escribió: > > On 7/5/20 9:14 PM, Jairo A. de

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Pablo Rodriguez
On 7/6/20 3:58 PM, Jairo A. del Rio wrote: > So, cannot I use focus=standard and cross-references together? Hmm. I > think it should be fixed... But maybe it's an intended feature. Thanks, > Otared. Hi Jairo, "focus=standard" works fine with footnotes. \setupinteraction[state=start,focus=sta

Re: [NTG-context] LMTX and soft links (Linux)

2020-07-06 Thread Pablo Rodriguez
On 7/6/20 7:45 PM, Hans Hagen wrote: > On 7/6/2020 7:26 PM, Pablo Rodriguez wrote: >> [...] >> But an open question (to Hans, Wolfgang and other LMTX developers) is >> why softlinks in Linux (in Unix, my guess) only work for files and not >> for directories. Sorry, but

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Pablo Rodriguez
On 7/6/20 8:48 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 06.07.2020 um 20:04: >> [...] >> Hans, could you check this? (I’m afraid it doesn’t work with current >> latest [2020.07.06 19:30])? > > I'm not Hans but this fixed the problem

[NTG-context] lpath to select last item

2020-07-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] Heading list Heading list list Heading list list list \

Re: [NTG-context] lpath to select last item

2020-07-08 Thread Pablo Rodriguez
On 7/8/20 11:59 AM, Hans Hagen wrote: > On 7/7/2020 10:46 PM, Pablo Rodriguez wrote: >> [...] >> Which would be the right lpath to select the last item in each list? > This should work but we're one off so i need to fix that. > > \startbuffer[demo] > >

[NTG-context] embolden font in LMTX

2020-07-15 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] [it={style:regular, features:{default, slanted}}, bi={style:regular, features:{default, boldened, slanted}}, bf={style:regular, features:{default, bol

Re: [NTG-context] embolden font in LMTX

2020-07-17 Thread Pablo Rodriguez
On 7/16/20 10:36 AM, Hans Hagen wrote: >> [...] > I have a fix. This kind of trickery is complicated by the fact that mkiv > and lmtx follow a bit different route and that there is still mkiv code > around that does the lmtx backend stuff (mkiv also had a lua pdf backend > but it was dropped at som

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Pablo Rodriguez
On 7/19/20 8:27 PM, Garulfo wrote: > Thanks a lot !! > > I'm beginning to be able to typeset some simple example without any > struggle. > > https://wiki.contextgarden.net/File:modele_bonjour_le_monde.pdf > > The input file is attached in this mail. Congratulation for your excellent work, Garulfo.

[NTG-context] issue with current latest (2020.07.20)

2020-07-20 Thread Pablo Rodriguez
Dear list, with current latest (LuaTeX 2.06 20200717 + ConTeXt MkIV 2020.07.20 10:48), I cannot open luametatex.pdf (its SHA256 reads cff8b660b65f4f8c121c170bcd59545c5467a7db02614da137e622ef1c5f3964). Acrobat for Linux complains about malformed document and Evince doesn’t display anything. Latest

Re: [NTG-context] issue with current latest (2020.07.20)

2020-07-20 Thread Pablo Rodriguez
On 7/20/20 3:41 PM, Hans Hagen wrote: > On 7/20/2020 3:01 PM, Pablo Rodriguez wrote: >> Dear list, >> >> with current latest (LuaTeX 2.06 20200717 + ConTeXt MkIV 2020.07.20 >> 10:48), I cannot open luametatex.pdf (its SHA256 reads >> cff8b660b65f4f8c121c170bcd59545

Re: [NTG-context] issue with current latest (2020.07.20)

2020-07-20 Thread Pablo Rodriguez
On 7/20/20 6:58 PM, Hans Hagen wrote: > On 7/20/2020 5:11 PM, Pablo Rodriguez wrote: >> [...] >> Acrobat DC in Windows displays characters fine. > > (Here I only test with summatra and occasionally with acrobat reader or > some old acrobat prof.) Sorry, I use Acrobat

Re: [NTG-context] issue with current latest (2020.07.20)

2020-07-20 Thread Pablo Rodriguez
On 7/20/20 9:44 PM, Garulfo wrote: > I don't know if there is link with this thread, but after update I get > the following with "context --make" or "context --make fr" > > resolvers > lua > unknown file 'mult-fmt.lua' > error loading file: mult-fmt.lua (aborting)resolvers | formats |

Re: [NTG-context] issue with current latest (2020.07.20)

2020-07-21 Thread Pablo Rodriguez
On 7/21/20 1:56 PM, Hans Hagen wrote: > On 7/20/2020 9:44 PM, Garulfo wrote: >> I don't know if there is link with this thread, but after update I get >> the following with "context --make" or "context --make fr" >> >> resolvers   > lua > unknown file 'mult-fmt.lua' >> error loading file: mult-

[NTG-context] \insertpages and remote file

2020-07-23 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \insertpages [https://eur-lex.europa.eu/legal-content/EL/TXT% /PDF/?uri=CELEX:32015D0022] [width=0pt] \attachment[file=https://eur-lex.europa.eu/% legal-conten

[NTG-context] indentnext option for \setuplanguage?

2020-07-23 Thread Pablo Rodriguez
Hans, as Garulfo mentioned in a previous message (https://mailman.ntg.nl’t /pipermail/ntg-context/2020/098826.html), French may require that all paragraphs are indented (no matter what comes before the paragraph). Spanish also requires that. How about a key for "indentnext" in \setuplanguage? Tha

Re: [NTG-context] Presentation effects

2020-07-25 Thread Pablo Rodriguez
On 7/25/20 3:48 PM, Kumar Appaiah wrote: > Dear ConTeXt users, > > I have been trying to get the presentation effects listed here to > work: > > https://wiki.contextgarden.net/Presentation_effects > > But I am unable to build the example. I am using the Debian ConTeXt > (version 2020.03.10.20200331

[NTG-context] question on page transitions

2020-07-25 Thread Pablo Rodriguez
Dear list, I have a question about page transitions (lines 297-304 from scrn-pag.mkvi): \def\scrn_transitions_set_indeed {\begingroup \edef\currentinteractionscreendelay{\interactionscreenparameter\c!delay}% \clf_setpagetransition n {\scrn_transitions_list}% delay \ifx\cur

[NTG-context] bug in current latest (2019.10.11 15:57)?

2020-08-03 Thread Pablo Rodriguez
Hi Hans, the following sample complains about an undefined command with ConTeXt latest (2019.10.11 15:57): \starttext {\em æb} \stoptext I think this might be a bug in LMTX. Many thanks for your help, Pablo -- http://www.ousia.tk ___

Re: [NTG-context] lmtx update

2020-08-03 Thread Pablo Rodriguez
On 7/31/20 10:32 AM, Hans Hagen wrote: > Hi, > > Sorry for the long mail ... > > One of the changes in lmtx is that we freeze the properties that > determine the paragraph shape as well as breaking into lines in such a > way that we have predictable behaviour. As a side effect it can be that > exis

Re: [NTG-context] bug in current latest (2019.10.11 15:57)?

2020-08-03 Thread Pablo Rodriguez
On 8/3/20 7:26 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 03.08.2020 um 19:06: >> Hi Hans, >> >> the following sample complains about an undefined command with ConTeXt >> latest (2019.10.11 15:57): >> >> \starttext >> {\em æb} &

[NTG-context] orphans and widows not working in LMTX?

2020-08-09 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe\showgrid \setuppapersize[A7] \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \widowpenalty=1000 \clubpenalty=1000 \brokenpenalty=1000 \stopsetups \setupbodyfont[15pt] \starttext \

Re: [NTG-context] new upload

2020-08-09 Thread Pablo Rodriguez
On 8/9/20 8:08 PM, Hans Hagen wrote: > Hi, > > I uploaded a new lmtx ... not much done due to the heat (entered reading > mode instead) but ... apart from some work in progress ... we now have > some basic bitwise operations (maybe we need some more). So far we have: I’m afraid that even "mtxrun -

Re: [NTG-context] new upload

2020-08-09 Thread Pablo Rodriguez
On 8/9/20 8:45 PM, Jairo A. del Rio wrote: > On my computer mtxrun --generate works, but context --make fails and the > command line outputs: I ran "mtxrun --script cache --erase" before running "mtxrun --generate" (as I do with each update). Just in case it helps, Pablo -- http://www.ousia.tk _

Re: [NTG-context] new upload

2020-08-09 Thread Pablo Rodriguez
On 8/9/20 10:09 PM, Hans Hagen wrote: > On 8/9/2020 8:52 PM, Pablo Rodriguez wrote: >> On 8/9/20 8:45 PM, Jairo A. del Rio wrote: >>> On my computer mtxrun --generate works, but context --make fails and the >>> command line outputs: >> >> I ran "m

Re: [NTG-context] orphans and widows not working in LMTX?

2020-08-09 Thread Pablo Rodriguez
On 8/9/20 9:59 PM, Joseph Canedo wrote: > Hi Pablo, > I've reported similar issue to Hans 2 days ago, from my checks he fixed > it in LMTX version 2020.08.07 23:37. I have not downloaded more recent > version yet. > Hoping it helps Hi Joseph, many thanks for your comment and your previous issue r

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 1:32 PM, Nicola wrote: > Hi, > first of all, let me say *thank you* for the vast improvements on > ConTeXt Garden! Browsing the documentation and finding stuff is so > much easier and pleasant than it used to be (also the site seems > faster). Hi Nicola, Garulfo invested a lot of time

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 9:24 PM, Nicola wrote: > Thank Pablo, Wolfgang, > I have learned more by reading your replies than by myself in the rest > of the afternoon. Hi Nicola, if you found replies useful, please update the wiki (this may help others). > Just one more thing: > [...] > I'd prefer all the title

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 8:34 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.08.2020 um 14:53: >> On 8/11/20 1:32 PM, Nicola wrote: >> [...] >>> 3. Suppress page numbers and headers in all blank pages. >> >> Break pages with \page[yes, blank]. > > Not the

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 10:11 PM, Nicola wrote: > Consider this example: > > \definemakeup[toc][align=middle] > \setuppagenumbering[alternative=doublesided] > \starttext > \startfrontmatter > \startmakeup[toc] > \placecontent > \stopmakeup > %\setuppagenumber[

[NTG-context] compilation error in LMTX

2020-08-13 Thread Pablo Rodriguez
Dear list, compiling a huge XML document (output PDF > 1200 pages), I get the following error with latest current (2020.08.11 15:59): pages > flushing realpage 187, userpage 187, subpage 3 mtx-context | fatal error: return code: 139 Compilation failed. Some hints about what I

[NTG-context] weird issue with xtable

2020-08-13 Thread Pablo Rodriguez
Dear list, in order to avoid a problem already reported (https://mailman.ntg.nl/pipermail/dev-context/2020/003694.html), I added to an indiviual table \startxtable[split=yes] (being the default in the document \setupxtable[split=repeat, header=repeat]). But I’m experiencing a weird issue with tha

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 1:16 PM, Taco Hoekwater wrote: >> On 13 Aug 2020, at 13:07, Pablo Rodriguez wrote: >> [...] >> I get the following error message (that breaks compilation) when I add >> \setupxtable[split=yes]: >> >> You can't use '\prevdepth' in

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 2:33 PM, Taco Hoekwater wrote: > [...] > I forgot to answer this. Simple explanation: > > * 'restricted horizontal mode' is inside an \hbox{} or something similar like > a header/footer, > where line breaks are forbidden > * ‘horizontal mode’ is inside a paragraph, where line breaks a

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 3:11 PM, Wolfgang Schuster wrote: > [...] > With the options "split=no" and "split=repeat" ConTeXt puts the table in > a \vbox but with "split=yes" this doesn't happen. > > To check is this is the problem he can put the table in a float > environment and disable the caption and counter.

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 5:17 PM, Nicola wrote: > Hi, > I still have an issue with blank pages... > >>> 2. Vertically center the ToC (wrt to the text area). >> >> Use a makeup for the TOC (if and only if it takes a single page). > > Yes, the ToC takes a single page. The makeup seems to insert a blank > page afte

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 6:06 PM, Nicola wrote: > [...] > Thanks. That works with my MWE, but in my document I actually have > a chapter, and chapters start on the right page, even if I add page=no > to \setuppagenumbering: > [...] > I have no idea how to allow chapters to start at arbitrary pages when > alterna

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 6:06 PM, Wolfgang Schuster wrote: >> [...] >> What am I doing wrong here? (To avoid an error, I get other errors.) > > There are not enough information to help you. I discovered what was wrong: I had an xtable on the footer to set the page numbering. So I replaced it with the following

[NTG-context] tabulation and \textwidth

2020-08-13 Thread Pablo Rodriguez
Dear list, I have this sample: \showframe \startsetups[footers] \starttabulate [|cw(.5\textwidth)| cw(.5\textwidth)|] [unit=0pt] \NC one\NC two\NC\NR \stoptabulate \stopsetups \setupfootertexts[\directsetup{footers}] \starttext \dorecurse{20}{\input{zapf.tex}\par}

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 10:11 PM, Wolfgang Schuster wrote: > Wolfgang Schuster schrieb am 13.08.2020 um 20:47: >> [...] >> You can use nested frames: >> >> \startsetups[...] >>     \startframed[offset=overlay,frame=off] >>     \framed[width=.22\textiwdth]{\pinter} >>     \framed[width=.24\textiwdth]{

Re: [NTG-context] compilation error in LMTX

2020-08-14 Thread Pablo Rodriguez
On 8/14/20 8:47 AM, Hans Hagen wrote: > On 8/14/2020 2:38 AM, Jannik Voges wrote: >> [...] >> I have a similar problem with long context-documents (but not all long >> context-documents are affected and I don't know what triggers the >> error). Sometimes, the errors (error code 139) are happening o

Re: [NTG-context] compilation error in LMTX

2020-08-15 Thread Pablo Rodriguez
On 8/14/20 9:47 AM, Hans Hagen wrote: > On 8/14/2020 9:26 AM, Pablo Rodriguez wrote: > >> Latest from 2020.08.11 works fine for my huge document, but current >> latest (from today) breaks compilation. So I use latest from 2020.08.11. > > i really need a MWE example th

Re: [NTG-context] compilation error in LMTX

2020-08-15 Thread Pablo Rodriguez
On 8/15/20 7:23 PM, Hans Hagen wrote: > On 8/15/2020 5:25 PM, Pablo Rodriguez wrote: > >> Which is the meaning of error number 139? It might help me to know what >> I should be looking at. >> Hm, but does the current version also quit? I fixed a mp issue. The vers

Re: [NTG-context] compilation error in LMTX

2020-08-15 Thread Pablo Rodriguez
On 8/15/20 7:23 PM, Hans Hagen wrote: > On 8/15/2020 5:25 PM, Pablo Rodriguez wrote: > >> Which is the meaning of error number 139? It might help me to know what >> I should be looking at. > > Hm, but does the current version also quit? I fixed a mp issue. Since my source

Re: [NTG-context] compilation error in LMTX

2020-08-15 Thread Pablo Rodriguez
On 8/15/20 8:14 PM, Pablo Rodriguez wrote: > On 8/15/20 7:23 PM, Hans Hagen wrote: >> On 8/15/2020 5:25 PM, Pablo Rodriguez wrote: >> >>> Which is the meaning of error number 139? It might help me to know what >>> I should be looking at. >>> Hm, but does t

[NTG-context] reading a single element from XML

2020-08-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] This is Only a paragraph. This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph. \stopbuffer \startxmlsetups

Re: [NTG-context] reading a single element from XML

2020-08-16 Thread Pablo Rodriguez
On 8/16/20 11:46 AM, Taco Hoekwater wrote: > \xmlfilter is your friend: > > \startxmlsetups xml:initialize >\xmlsetsetup{#1}{html}{xml:gen} > \stopxmlsetups > > \xmlregistersetup{xml:initialize} > > \startxmlsetups xml:gen > \xmlfilter{#1}{/**/span[@class='special']/command(xml:special)}

[NTG-context] removing word in filtered XML

2020-08-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] This is One of the best a paragraph. This is another paragraph. This is another Two of the best paragraph. This is another Three paragraph. This is ano

Re: [NTG-context] removing word in filtered XML

2020-08-20 Thread Pablo Rodriguez
On 8/20/20 11:08 AM, Taco Hoekwater wrote: > [...] > There is pretty much always ‘a way’, but I do not know of a ’nice’ way. > Your problem is that lxml.flush() and friends do not return a value, > they just do a direct context(‘’) call behind the scenes with no > return string for you to modif

Re: [NTG-context] removing word in filtered XML

2020-08-20 Thread Pablo Rodriguez
On 8/20/20 11:27 AM, Hans Hagen wrote: > On 8/19/2020 6:10 PM, Pablo Rodriguez wrote: >> [...] >> Is there any way to remove " of " and " of the " in the filtered content >> (xml:special)? >> >> Sorry, Lua code is crap for sure. > [...] >

Re: [NTG-context] removing word in filtered XML

2020-08-20 Thread Pablo Rodriguez
On 8/20/20 1:10 PM, Hans Hagen wrote: > On 8/20/2020 12:38 PM, Pablo Rodriguez wrote: >> [...] >> This time, I have to remove two words, such as in: >> >>string.gsub([[\xmlraw{#1}{.}]]," del ", " "):gsub(" de la ", " ")} &g

Re: [NTG-context] removing word in filtered XML

2020-08-21 Thread Pablo Rodriguez
On 8/21/20 2:59 PM, Hans Hagen wrote: > On 8/20/2020 4:20 PM, Pablo Rodriguez wrote: > >>\replaceword[whatever][this or][no] >>\replaceword[whatever][that][] > this feature creep is in the next upload Hans, many thanks for the new feature. Pablo -

Re: [NTG-context] sudden error

2020-08-22 Thread Pablo Rodriguez
On 8/23/20 1:24 AM, jbf wrote: > Am suddenly getting the error: > > close source    > level 1, order 3, name > '/home/me/Documents/Freedom/Context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv' > ! error:  (type 0): cannot find file ''mtx-context | fatal error: > return code: 256 > > I

  1   2   3   4   5   6   7   8   9   10   >