Re: [NTG-context] temporarily move up a section title

2020-11-07 Thread Henning Hraban Ramm
> Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > Dear List, > > I'm trying to move up a section title (section b) 2cm upward: > > \starttext > \section{a} > \blank[-2cm,force]\ > \section{b} > \section{c} > \stoptext > > The empty space (\ ) after the \blank is

[NTG-context] \define in conflict with \startxtable[]

2020-11-07 Thread Sylvain Hubert
Dear List, Could anyone manage to typeset the following example? Here [] causes an error "Extra }, or forgotten \endgroup". \starttext \define\sample{ \startxtable[] \startxtablehead \startxrow \startxcell 123\stopxcell \stopxrow \stopxtablehead \stopxtable

[NTG-context] \setupindenting[first] not working

2020-11-07 Thread Sylvain Hubert
Dear List, The first paragraph of the following example is not indented. \setupindenting[yes,first,4cm] \starttext \section{a} \dorecurse{84}{abc } \dorecurse{84}{abc } \stoptext Does anyone know how to actually get the first paragraph indented? Thanks! Best,

[NTG-context] temporarily move up a section title

2020-11-07 Thread Sylvain Hubert
Dear List, I'm trying to move up a section title (section b) 2cm upward: \starttext \section{a} \blank[-2cm,force]\ \section{b} \section{c} \stoptext The empty space (\ ) after the \blank is necessary here, without which the \blank does nothing. I would like to ask

[NTG-context] "page i/n" in footer

2020-11-07 Thread Sylvain Hubert
Dear List, Does anyone know how to set the footer to be "page i/n" where i=current page number, n=total number of page? I've tried \setuppagenumbering[location=footer, command=\groupedcommand{page }{/\lastcounter[userpage]}] but \lastcounter[userpage] results in empty string. Thanks in

[NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-07 Thread Sylvain Hubert
Dear List, after hours of debugging, I finally found out that \switchtobodyfont[face, 20pt] does NOT behave the same with \switchtobodyfont[face]\switchtobodyfont[20pt]. In my case the latter is the correct one, while the former does nothing but falling back to latinmodern. Does anyone know when

[NTG-context] weird behavior of font.feature.effect

2020-11-07 Thread Sylvain Hubert
Dear List, I'm confused by the result of the following example (see attached): \definefontfamily[face1][rm][gabriola][it={features:{default}}] \definefontfamily[face2][rm][gabriola][it={features:{default, effect={}}}] \definefontfamily[face3][rm][gabriola][it={features:{default,

Re: [NTG-context] \section with userdata

2020-11-07 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 07.11.2020 um 22:42: The motivation of using \section was to avoid \stopsection, but I just found out that \stopsection is not really necessary. Now I would like to ask whether there is any difference between \section{Title} and \startsection[title=Title]. You get

Re: [NTG-context] Works in ConTeXt, fails in LMTX

2020-11-07 Thread ntg
On 7 Nov 2020, at 13:43, Pablo Rodriguez wrote: > > On 11/7/20 1:09 PM, n...@scorecrow.com wrote: >> Some more details on the font inclusion problem I posted about the other day. > > Hi Bruce, > > I think that current LMTX has issues with Bondi12CPlus.TTF. > > Hans, could you have a look at

Re: [NTG-context] \section with userdata

2020-11-07 Thread Sylvain Hubert
The motivation of using \section was to avoid \stopsection, but I just found out that \stopsection is not really necessary. Now I would like to ask whether there is any difference between \section{Title} and \startsection[title=Title]. Thanks. On Sat, 7 Nov 2020 at 22:33, Sylvain Hubert wrote:

Re: [NTG-context] Font protrusion and expansion

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 9:51 PM, Tommaso Gordini wrote: > Thanks Hans and thanks Pablo.  So, \usetypescript is not needed? Hi Tommaso, I never used (or needed) any typescript. But I think they aren’t needed anymore with \definefontfamily and \definefallbackfamily. Pablo -- http://www.ousia.tk

[NTG-context] \section with userdata

2020-11-07 Thread Sylvain Hubert
Dear List, it is known that we can supply additional userdata like authors to \startsection: \startsection[title=Title][author=Someone] so that the author can be included in the table of contents using \structurelistuservariable{author}. Now I would like to do the same with \section, but

Re: [NTG-context] Get section's uservarialbe inside the section

2020-11-07 Thread Sylvain Hubert
On Sat, 7 Nov 2020 at 20:37, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > \structurelistuservariable is for lists (e.g. the table of contents), > to access the values in your text use \structureuservariable. > Indeed. Thanks for the help, Wolfgang.

Re: [NTG-context] Font protrusion and expansion

2020-11-07 Thread Tommaso Gordini
Thanks Hans and thanks Pablo. So, \usetypescript is not needed? Tommaso Il sab 7 nov 2020, 21:24 Pablo Rodriguez ha scritto: > On 11/7/20 7:54 PM, Tommaso Gordini wrote: > > Hello to all. > > > > I am writing to you just to know if the following code, with which I > > would like to activate

[NTG-context] troubles when installing OpenBSD 64 binaries (install.sh?)

2020-11-07 Thread Damien Thiriet
Hi, I tried to install the new OpenBSD amd64 binaries (thanks Hans!) but it failed. I suspect something is wrong with install.sh Here is the script I use to install binaries on a new system: #!/bin/ksh #script pour installer ConTeXt dans une nouvelle version OpenBSD #Pour lire avant usage

Re: [NTG-context] Font protrusion and expansion

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 7:54 PM, Tommaso Gordini wrote: > Hello to all. > > I am writing to you just to know if the following code, with which I > would like to activate the protrusion and expansion of characters in my > document, is correct. Is the command order okay? > > If I wanted to use another font, are

Re: [NTG-context] Get section's uservarialbe inside the section

2020-11-07 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 07.11.2020 um 20:32: Dear List, I have sections tagged with authors:     \startsection[title={Title}][author={Author}] ... \stopsection The authors were to be included in the table of contents using \structurelistuservariable{author}. Now I would also like to

[NTG-context] Get section's uservarialbe inside the section

2020-11-07 Thread Sylvain Hubert
Dear List, I have sections tagged with authors: \startsection[title={Title}][author={Author}] ... \stopsection The authors were to be included in the table of contents using \structurelistuservariable{author}. Now I would also like to mention the authors inside the sections, but

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Wolfgang Schuster
Alan Bowen schrieb am 07.11.2020 um 20:13: Thanks, Pablo. I ran the script but it made no difference. Scheherazade New was loaded with  ver: 2020.11.07 12:47 but not with ver: 2020.09.20 23:02 The console file for the latter shows: selectfont      > the requested fallback font 'Scheherazade

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Alan Bowen
Thanks, Pablo. I ran the script but it made no difference. Scheherazade New was loaded with ver: 2020.11.07 12:47 but not with ver: 2020.09.20 23:02 The console file for the latter shows: selectfont > the requested fallback font 'Scheherazade New' for typeface 'mainface' style 'rm' was

[NTG-context] Font protrusion and expansion

2020-11-07 Thread Tommaso Gordini
Hello to all. I am writing to you just to know if the following code, with which I would like to activate the protrusion and expansion of characters in my document, is correct. Is the command order okay? If I wanted to use another font, are there other things to write? Thank you in advance

Re: [NTG-context] new upload

2020-11-07 Thread Floris van Manen
On 07/11/2020 13:11, Pablo Rodriguez wrote: echo "" && curl -Ihttp://pragma-ade.com/context/latest/cont-tmf.zip 2>&1 | grep Last-Modified && echo "" So you don’t mix access time with last modification. this seems to work: #!/usr/bin/env bash cd ~/context OLD=`stat -c "%w"

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 6:58 PM, Alan Bowen wrote: > Though Scheherazade New font loads properly with the today’s LMTX, I > cannot get it to load with LMTX from 2020.09.20 (which I must stay with > for now because the latest one has its own complaints about my files). > >

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Hans Hagen
On 11/7/2020 6:58 PM, Alan Bowen wrote: Though Scheherazade New font loads properly with the today’s LMTX, I cannot get it to load with LMTX from 2020.09.20 (which I must stay with for now because the latest one has its own complaints about my files).

[NTG-context] new upload lmts

2020-11-07 Thread Hans Hagen
with some fixes -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

Re: [NTG-context] How to define a {\bf}-compatible fake-bold switcher?

2020-11-07 Thread Hans Hagen
On 11/7/2020 6:45 PM, Pablo Rodriguez wrote: On 11/7/20 6:18 PM, Sylvain Hubert wrote: Thank you so much, Pablo. This is exactly what I needed. Could you also tell me where you have learnt these features? I had been searching for this for hours but \effect was still the best of what I've got.

[NTG-context] Scheherazade New loading issue

2020-11-07 Thread Alan Bowen
Though Scheherazade New font loads properly with the today’s LMTX, I cannot get it to load with LMTX from 2020.09.20 (which I must stay with for now because the latest one has its own complaints about my files). \definefallbackfamily[mainface][][Scheherazade New] [range=arabic]

Re: [NTG-context] How to define a {\bf}-compatible fake-bold switcher?

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 6:18 PM, Sylvain Hubert wrote: > Thank you so much, Pablo. This is exactly what I needed. > > Could you also tell me where you have learnt these features? I had been > searching for this for hours but \effect was still the best of what I've > got. Indeed, googling 'context+tex+boldened'

Re: [NTG-context] How to quote the section names in advance like the table of contents?

2020-11-07 Thread Sylvain Hubert
Hi Pablo, thanks for the suggestion, but I was looking for an automated method for writing a module, therefore manual reference is not feasible here. Sylvain On Sat, 7 Nov 2020 at 16:46, Pablo Rodriguez wrote: > On 11/7/20 4:32 PM, Sylvain Hubert wrote: > > Dear List, > > > > say I have three

Re: [NTG-context] How to define a {\bf}-compatible fake-bold switcher?

2020-11-07 Thread Sylvain Hubert
Thank you so much, Pablo. This is exactly what I needed. Could you also tell me where you have learnt these features? I had been searching for this for hours but \effect was still the best of what I've got. Indeed, googling 'context+tex+boldened' or 'contextgarden+boldened' results in nothing

Re: [NTG-context] fancybreak fails in LMTX

2020-11-07 Thread Hans Hagen
On 11/7/2020 5:51 PM, Wolfgang Schuster wrote: Rik Kabel schrieb am 07.11.2020 um 17:13: Hello all, The following example produces the expected output in MkIV, but fails in LMTX (both dated 2020-11-07). The modules directory was copied into the LMTX tree from the MkIV tree, and the log

Re: [NTG-context] issue with LMTX and itemize

2020-11-07 Thread Alan Bowen
and on mine with today’s standalone. A. On Sat, Nov 7, 2020 at 10:27 AM Pablo Rodriguez wrote: > On 11/7/20 4:11 PM, Alan Bowen wrote: > > Hi, Pablo— > > > > Shouldn’t it be either > > \item a > > or > > \startitem a\stopitem > > ? > Hi Alan, > > of course, the sample reads: > > \starttext

Re: [NTG-context] fancybreak fails in LMTX

2020-11-07 Thread Wolfgang Schuster
Rik Kabel schrieb am 07.11.2020 um 17:13: Hello all, The following example produces the expected output in MkIV, but fails in LMTX (both dated 2020-11-07). The modules directory was copied into the LMTX tree from the MkIV tree, and the log indicates that the module is loaded. It gives no

[NTG-context] fancybreak fails in LMTX

2020-11-07 Thread Rik Kabel
Hello all, The following example produces the expected output in MkIV, but fails in LMTX (both dated 2020-11-07). The modules directory was copied into the LMTX tree from the MkIV tree, and the log indicates that the module is loaded. It gives no other clues. The output has a blank line where

Re: [NTG-context] How to quote the section names in advance like the table of contents?

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 4:32 PM, Sylvain Hubert wrote: > Dear List, > > say I have three sections in the document: > >     \section{foo} ... \section{bar} ... \section{baz} ... > > Now I would like to auto generate a heavily customized table of contents > like the following text, which cannot be done by the

Re: [NTG-context] How to define a {\bf}-compatible fake-bold switcher?

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 4:06 PM, Sylvain Hubert wrote: > [...] > Could anyone help me define a {\bf}-aware version of \fakebf which can > render the "4 5 6" in the example above in latinmodern's bold? Hi Sylvain, there is an already defined font feature that fakes boldened fonts: boldened (and also

[NTG-context] How to quote the section names in advance like the table of contents?

2020-11-07 Thread Sylvain Hubert
Dear List, say I have three sections in the document: \section{foo} ... \section{bar} ... \section{baz} ... Now I would like to auto generate a heavily customized table of contents like the following text, which cannot be done by the stock \placecontent in general, and put it into the

Re: [NTG-context] issue with LMTX and itemize

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 4:11 PM, Alan Bowen wrote: > Hi, Pablo— > > Shouldn’t it be either  > \item a > or > \startitem a\stopitem > ? Hi Alan, of course, the sample reads: \starttext \startitemize \startitem a\stopitem \stopitemize \stoptext But the issue still happens on my LMTX

Re: [NTG-context] issue with LMTX and itemize

2020-11-07 Thread Alan Bowen
Hi, Pablo— Shouldn’t it be either \item a or \startitem a\stopitem ? Alan On Sat, Nov 7, 2020 at 9:52 AM Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \starttext > \startitemize > \item a\stopitem > \stopitemize > \stoptext > > With latest LMTX

[NTG-context] How to define a {\bf}-compatible fake-bold switcher?

2020-11-07 Thread Sylvain Hubert
Dear List, I'm using a weirdfont that does not have a pre-defined bold variant but still want to emboldening short extracts of text occasionally, so I've defined \defineeffect[thicker][alternative=both,rulethickness=0.3pt] \define\fakebf{\effect[thicker]} but in situations like

Re: [NTG-context] wrong /Rect in link annotations

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 2:40 PM, Hans Hagen wrote: > On 11/7/2020 12:47 PM, Pablo Rodriguez wrote: >> [...] >> I’m afraid that with current latest rectangles for links got to the end >> of the line when nothing stops them. >> >> Could anyone confirm the issue? >> >> BTW, I include the makeup, because

Re: [NTG-context] another error message in LMTX

2020-11-07 Thread Hans Hagen
On 11/7/2020 3:31 PM, Pablo Rodriguez wrote: On 11/7/20 1:29 PM, Hans Hagen wrote: [...] Many thanks for your in-depth explanation, Hans. This sample triggers the error: \appendtoks \unexpanded\def\doverbatimspace{\char32\hskip\zeropoint}% \to \everyenableelements

[NTG-context] issue with LMTX and itemize

2020-11-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize \item a\stopitem \stopitemize \stoptext With latest LMTX from today, I don’t get any item marker. Could you confirm the issue? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] Problem using a TTF font

2020-11-07 Thread Hans Hagen
On 11/6/2020 3:54 PM, n...@scorecrow.com wrote: This, I'm certain, used to work with an LMTX from the beginning of the year but I've upgraded to "ConTeXt ver: 2020.11.05 23:01 LMTX fmt: 2020.11.6 int: english/english" and now it doesn't. I have a single .tex file in a directory,

Re: [NTG-context] another error message in LMTX

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 1:29 PM, Hans Hagen wrote: > [...] Many thanks for your in-depth explanation, Hans. This sample triggers the error: \appendtoks \unexpanded\def\doverbatimspace{\char32\hskip\zeropoint}% \to \everyenableelements \setuptagging[state=start] \starttext

Re: [NTG-context] Works in ConTeXt, fails in LMTX

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 1:09 PM, n...@scorecrow.com wrote: > Some more details on the font inclusion problem I posted about the other day. Hi Bruce, I think that current LMTX has issues with Bondi12CPlus.TTF. Hans, could you have a look at it? I reproduce can the same issue. >

Re: [NTG-context] wrong /Rect in link annotations

2020-11-07 Thread Hans Hagen
On 11/7/2020 12:47 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] %~ \definemakeup[slide] \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \starttext %~ \startmakeup[slide]

Re: [NTG-context] new upload

2020-11-07 Thread Floris van Manen
On 07/11/2020 13:11, Pablo Rodriguez wrote: Improved message: echo "" && curl -Ihttp://pragma-ade.com/context/latest/cont-tmf.zip 2>&1 | grep Last-Modified && echo "" So you don’t mix access time with last modification. Just in case it helps, That helps. Thx

Re: [NTG-context] another error message in LMTX

2020-11-07 Thread Hans Hagen
On 11/7/2020 12:41 PM, Pablo Rodriguez wrote: Hans, using latest from yesterday, I get the following error: tex error > tex error on line 22 in file cont-yes.mkiv: Valid keyword expected, likely 'minus' mt xrunjit \relax \buff_verbatim_type_buffer_indeed

Re: [NTG-context] new upload

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 12:53 PM, Pablo Rodriguez wrote: > [...] > I have a simpler approach that might help you: > > curl -I http://pragma-ade.com/context/latest/cont-tmf.zip Improved message: echo "" && curl -I http://pragma-ade.com/context/latest/cont-tmf.zip 2>&1 | grep Last-Modified && echo "" So you

[NTG-context] Works in ConTeXt, fails in LMTX

2020-11-07 Thread ntg
Some more details on the font inclusion problem I posted about the other day. This code: ---begin--- \definefont[fontCoverTitle][name:brushwood at 94pt] \starttext This text in default font. \fontCoverTitle{EXAMPLE} \stoptext ---end--- works as expected in ConTeXt ver: 2020.03.10 14:44

Re: [NTG-context] new upload

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 11:40 AM, Floris van Manen wrote: > Dear Hans, > > Would it be possible to have a simple text file with the latest release > version (or date) tag in it? Next to the folder containing the actual > install script files? In that case it is easy to check that version tag > by comparing

[NTG-context] wrong /Rect in link annotations

2020-11-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] %~ \definemakeup[slide] \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \starttext %~ \startmakeup[slide] \newurl{a} compared to \newurl{a}. %~ \stopmakeup

Re: [NTG-context] new upload

2020-11-07 Thread Floris van Manen
On 07/11/2020 12:19, Hans Hagen wrote: a version mismatch normally comes from the fact that i generate an lmtx update (for wolfgang to check, posted elsewhere) but nor a mkiv one and then upload to the website (as happened) also, the update script itself doesn't get updated so when that

Re: [NTG-context] \setuparranging broken in LMTX?

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 12:25 PM, Hans Hagen wrote: > On 11/7/2020 10:57 AM, Pablo Rodriguez wrote: >> [...] >> With a simple PDF document, I cannot make \setuparranging work in LMTX. >> Using latest from 2020.11.06 20:34. >> [...] > a bit too agressive checking in the engine .. i'll fix it Hans, many thanks

[NTG-context] another error message in LMTX

2020-11-07 Thread Pablo Rodriguez
Hans, using latest from yesterday, I get the following error: tex error > tex error on line 22 in file cont-yes.mkiv: Valid keyword expected, likely 'minus' mt xrunjit \relax \buff_verbatim_type_buffer_indeed ...rrentregime }tab{\typingparameter \c!tab

Re: [NTG-context] \setuparranging broken in LMTX?

2020-11-07 Thread Hans Hagen
On 11/7/2020 10:57 AM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuparranging[2TOP] \setuplayout[page] \starttext \insertpages[file.pdf] \stoptext With a simple PDF document, I cannot make \setuparranging work in LMTX. Using latest from 2020.11.06 20:34.

Re: [NTG-context] new upload

2020-11-07 Thread Hans Hagen
Hi, a version mismatch normally comes from the fact that i generate an lmtx update (for wolfgang to check, posted elsewhere) but nor a mkiv one and then upload to the website (as happened) also, the update script itself doesn't get updated so when that gets adapted one has to get it from

Re: [NTG-context] new upload

2020-11-07 Thread Floris van Manen
Dear Hans, Would it be possible to have a simple text file with the latest release version (or date) tag in it? Next to the folder containing the actual install script files? In that case it is easy to check that version tag by comparing with the local copy and decide if a further download

Re: [NTG-context] force index entries without page number

2020-11-07 Thread Henning Hraban Ramm
> Am 04.09.2020 um 11:59 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 03.09.2020 um 10:17: >> Hi, >> I’d like to have an (person) index entry like >> Ramm, Hraban passim >> i.e. without actual page number. >> How can I force that? >> I also need to be able to refer to it

Re: [NTG-context] new upload

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 10:48 AM, Otared Kavian wrote: > Hi Pablo, > > I had the same issue as the one you were reporting (on MacOS 10.14.6). > I removed the three files > > texmf-context.tma > texmf-osx-64.tma > texmf.tma > > [...] and I think I will get the new version uploaded by Hans (my > internet

[NTG-context] \setuparranging broken in LMTX?

2020-11-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuparranging[2TOP] \setuplayout[page] \starttext \insertpages[file.pdf] \stoptext With a simple PDF document, I cannot make \setuparranging work in LMTX. Using latest from 2020.11.06 20:34. It works perfectly fine with MkIV. Could anyone

Re: [NTG-context] new upload

2020-11-07 Thread Otared Kavian
Hi Pablo, I had the same issue as the one you were reporting (on MacOS 10.14.6). I removed the three files texmf-context.tma texmf-osx-64.tma texmf.tma before issuing the command sh install.sh Now I am getting fetching

Re: [NTG-context] new upload

2020-11-07 Thread Ivan Pešić
Дана 07.11.2020. у 23:42, Hans Hagen пише: Question: do we really need all these 'named characters'  or can we at some point ditch many .. I assume that users who key in greek and cyrillic use unicode nowdays (no hurry, just wondering). That's true Hans, normally I use UTF-8 encoding and a

Re: [NTG-context] new upload

2020-11-07 Thread Ivan Pešić
Дана 07.11.2020. у 23:42, Hans Hagen пише: Question: do we really need all these 'named characters'  or can we at some point ditch many .. I assume that users who key in greek and cyrillic use unicode nowdays (no hurry, just wondering). That's true Hans, normally I use UTF-8 encoding and a