[NTG-context] format error with latest 2020-11-16 19:40 with mkiv (luatex)

2020-11-16 Thread Adam Reviczky
Hi,

I am getting the following error message trying to generate the formats
(context --make) with the latest version (latest 2020-11-16 19:40) with
luatex 1.13.0 7385 (not lmtx).

loading > ConTeXt Typesetting Macros / Triggering Actions
resolvers   > lua > loading file
'/usr/share/texmf/tex/context/base/mkiv/typo-inj.lua' succeeded

tex error   > tex error on line 49 in file
/usr/share/texmf/tex/context/base/mkiv/typo-inj.mkiv: ! Parameters must be
numbered consecutively


*
l.49 \permanent\tolerant\protected\def\checkinjector  [#1]#*

[#2]{\clf_checkinjector{#1}{#2}}

39 %D \placeregister[index][criterium=text]
40 %D \page
41 %D \startsection[title=Alpha] first  \index{first}  \stopsection
42 %D \startsection[title=Beta]  second \index{second} \stopsection
43 %D \startsection[title=Gamma] third  \index{third}  \stopsection
44 %D \startsection[title=Delta] fourth \index{fourth} \stopsection
45 %D \stoptext
46
47 \permanent \protected\def\resetinjector
 [#1]{\clf_resetinjector{#1}}
48 \permanent \protected\def\markinjector
[#1]{\dontleavehmode\clf_markinjector{#1}}
49 >>  \permanent\tolerant\protected\def\checkinjector
 [#1]#*[#2]{\clf_checkinjector{#1}{#2}}
50 \permanent \protected\def\checknextinjector
 [#1]{\clf_checkinjector{#1}{\v!next}}
51 \permanent \protected\def\checkpreviousinjector
 [#1]{\clf_checkinjector{#1}{\v!previous}}
52 %permanent \protected\def\checknextinjector
 [#1]{\clf_checknextinjector{#1}}
53 %permanent \protected\def\checkpreviousinjector
 [#1]{\clf_checkpreviousinjector{#1}}
54 \permanent\tolerant\protected\def\setinjector
 [#1]#*[#2]#*[#3]{\clf_setinjector{#1}{#2}{#3}}
55 \permanent\tolerant\protected\def\showinjector
[#1]{\clf_showinjector{#1}}
56
57 \permanent\protected\def\domarkinjector#1#2% called at the lua end
58   {\dontleavehmode\llap{\infofont\ifcase#1\else\red\fi<#2>\quad}}
59

Swapping typo-inj.mkxl with typo-inj.mkiv makes it work though, changing
\permanent\tolerant\protected\def\checkinjector [#1]#*[#2]{\clf
_checkinjector{#1}{#2}}
\permanent\tolerant\protected\def\setinjector [#1]#*[#2]#*[#3]{\clf
_setinjector{#1}{#2}{#3}}
back to
\unexpanded\def\docheckinjector [#1][#2]{\clf_checkinjector{#1}{#2}}
\unexpanded\def\dosetinjector [#1][#2][#3]{\clf_setinjector{#1}{#2}{#3}}

Were the files mixed up?
Shouldn't the former be for mkxl (lmtx) and the latter for mkiv?

Adam
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug in overprint? (was: how to set overprint)

2020-11-16 Thread Andres Conrado Montoya
> What editors do you use?

I checked using Acrobat X on windows, PDFStudio 12 and Master PDF Editor on
linux

-- 
Andrés Conrado Montoya
Andi Kú
andresconr...@gmail.com
http://sesentaycuatro.com
http://messier87.com
http://chiquitico.org

Los fines no justifican los medios, porque la medida verdadera de nuestro
carácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.


“You develop an instant global consciousness, a people orientation, an
intense dissatisfaction with the state of the world, and a compulsion to do
something about it. From out there on the moon, international politics look
so petty. You want to grab a politician by the scruff of the neck and drag
him a quarter of a million miles out and say, ‘Look at that, you son of a
bitch.’” — Apollo 14 astronaut Edgar Mitchell
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \framed command: (strange ?) difficulty to control the interlinespace between the first and the second line

2020-11-16 Thread Wolfgang Schuster



Garulfo schrieb am 16.11.2020 um 21:07:

Hi,

with a simple application of \framed, see MWE below, the space between 
the first line and the second line doesn't match with the others (gap 
is bigger).


I get similar results:
- with my computer and live.contextgarden.net
- with context 2019.03.21 and 2020.11.08


1. Is it the expected behavior ?


Yes.


2. What is the recommended way to benefit from the functionnalities of
   \framed but without this effect ?


Add "strut=no" to \framed, you can see the same effect when you add 
\strut at the beginning of the first line in the other examples. You can 
add \showstruts at the begin of your document to see the effect of \strut.


Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] \framed command: (strange ?) difficulty to control the interlinespace between the first and the second line

2020-11-16 Thread Garulfo

Hi,

with a simple application of \framed, see MWE below, the space between 
the first line and the second line doesn't match with the others (gap is 
bigger).


I get similar results:
- with my computer and live.contextgarden.net
- with context 2019.03.21 and 2020.11.08


1. Is it the expected behavior ?
2. What is the recommended way to benefit from the functionnalities of
   \framed but without this effect ?


Many thanks again for your support.



== MWE =

\setupbodyfont[sans, 16pt]

\starttext

\framed[align=flushleft,offset=0pt,frame=off,foregroundcolor=darkred]
{\WORD\tfb
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce}

\blank[big]
\startalignment[flushleft]
{\WORD\tfb
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce}
\stopalignment

\blank[big]
\vbox{\raggedright\WORD\tfb
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce}

\blank[big]
\ruledvtop{\raggedright\WORD\tfb
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce}

\blank[big]
\framed[offset=0pt,frame=off,foregroundcolor=darkgreen]
{\ruledvtop{\raggedright\WORD\tfb
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce}}

\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] latest lmtx, \startitemeze and Multipage TABLEs no longer works

2020-11-16 Thread Bertrand Masson

Thanks, I'm waiting for the next version

Le 16/11/2020 à 17:36, Wolfgang Schuster a écrit :

Bertrand Masson schrieb am 16.11.2020 um 14:29:

Hello
With the latest version of lmtx (ConTeXt  ver: 2020.11.04 09:40 LMTX  
fmt: 2020.11.14) \ startitemeze [2] no longer works. Bullets (-) no 
longer appear!


This is already fixed, you're just a few versions behind.

Multipage TABLEs with \bTABLE[split=repeat,option=stretch] no longer 
works.


Should be fixed in the next release.

BTW: Minimal working examples are useful.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] latest lmtx, \startitemeze and Multipage TABLEs no longer works

2020-11-16 Thread Wolfgang Schuster

Bertrand Masson schrieb am 16.11.2020 um 14:29:

Hello
With the latest version of lmtx (ConTeXt  ver: 2020.11.04 09:40 LMTX  
fmt: 2020.11.14) \ startitemeze [2] no longer works. Bullets (-) no 
longer appear!


This is already fixed, you're just a few versions behind.


Multipage TABLEs with \bTABLE[split=repeat,option=stretch] no longer works.


Should be fixed in the next release.

BTW: Minimal working examples are useful.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] latest lmtx, \startitemeze and Multipage TABLEs no longer works

2020-11-16 Thread Hans van der Meer
Shouldn't it be \startitemize ? Or is there another problem?
dr. Hans van der Meer


> On 16 Nov 2020, at 14:29, Bertrand Masson  wrote:
> 
> Hello
> With the latest version of lmtx (ConTeXt  ver: 2020.11.04 09:40 LMTX  fmt: 
> 2020.11.14) \ startitemeze [2] no longer works. Bullets (-) no longer appear!
> 
> Multipage TABLEs with \bTABLE[split=repeat,option=stretch] no longer works.
> 
> Bertrand
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug in overprint? (was: how to set overprint)

2020-11-16 Thread Jano Kula
Hello Andrés!

On Wed, 11 Nov 2020 at 01:25, Andres Conrado Montoya Acosta <
ela...@chiquitico.org> wrote:

> may I ask someone, who understands knockout and overprint in the printing
>> press, to check test cases in the attached file from the test suite, if
>> overprint is working or not in Mark IV, please?
>>
>> Regards,
>> Jano
>>
>>
> Hi Jano, as far as I can check with my pdf editors, it seems overprinting
> is working. The black ink is printed above the blue, with no white reserve
> below it.
>

Sorry for the delay, I had to downsample the screenshots after the original
reply didn't get through (too big) and in the end remove them completely.

Thank you for checking. Looks like a bug in Acrobat (older version
11.0.23), not ConTeXt.
What editors do you use?

After your test I was digging deeper. When I disable black plate in *Preview:
Separations* it doesn't show an overprint, the room under the letters is
white (original problem). When I remove one overprint manually in
Illustrator, Acrobat shows the remaining overprints. I've found out later,
I could use *Profile: Color Warnings*, where all overprints are visible,
but I would rather see it in separated plates.

Hope this helps someone in the future, too.
Jano
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] XML Namespaces and XML Setups

2020-11-16 Thread Christoph Reller
Dear List,

Consider the following MWE:

\startxmlsetups xml:demo:base
  \xmlsetsetup{#1}{tag}{xml:demo:tag}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{xml:demo:base}
\startxmlsetups xml:demo:tag
  %\doif{\xmlnamespace{#1}}{o}{NameSpaceO:}
  \xmlflush{#1}
\stopxmlsetups
\starttext
\startbuffer[test]


  text text

\stopbuffer
\xmlprocessbuffer{demo}{test}{}
\stoptext

My questions:
- Is there a good way to have a separate XML setup for each XML namespace?
- Alternatively, one has to do the distinction within the same XML setup.
In this case, how do we get the complete namespace? (In this example:
"NameSpaceA" and "NameSpaceO")

Thanks in advance for your help!

Cheers, Christoph
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] latest lmtx, \startitemeze and Multipage TABLEs no longer works

2020-11-16 Thread Bertrand Masson

Hello
With the latest version of lmtx (ConTeXt  ver: 2020.11.04 09:40 LMTX  
fmt: 2020.11.14) \ startitemeze [2] no longer works. Bullets (-) no 
longer appear!


Multipage TABLEs with \bTABLE[split=repeat,option=stretch] no longer works.

Bertrand

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables in multiple columns?

2020-11-16 Thread Bruce Horrocks


> On 16 Nov 2020, at 08:55, Bruce Horrocks  wrote:

[snip]

> I'm interested because I have a long thin table that I would to avoid having 
> to manually split, but I would also like the heading to repeat at the top of 
> each column and \starttabulation doesn't do the latter. I was hoping that 
> \bTABLE did.

Sorry I meant \startabulate not \startabulation

--
Bruce Horrocks
Hampshire, UK

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Tables in multiple columns?

2020-11-16 Thread Bruce Horrocks
There's an example in the Wiki on how to put a table into multiple columns that 
no longer works in LMTX (version 2020.11.05 23:01).


\starttext
\startcolumns[n=3]
\bTABLE
\dorecurse{21}
{\bTR \bTD a\eTD \bTD b \eTD \eTR}
\eTABLE
\stopcolumns
\stoptext

I'm interested because I have a long thin table that I would to avoid having to 
manually split, but I would also like the heading to repeat at the top of each 
column and \starttabulation doesn't do the latter. I was hoping that \bTABLE 
did.

--
Bruce Horrocks
Hampshire, UK

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___