Re: [NTG-context] [dev-context] Luatex 1.09.0 announcement (Mojca Miklavec)

2018-10-28 Thread luigi scarso
On Thu, Oct 25, 2018 at 1:09 PM Damien Thiriet 
wrote:

> Hi,
>
>
> LuaJIT did not work on OpenBSD 6.3 texlive* packages.
> I can live without it anyway.
> Does this mean that a ConTeXt live install will be available on OpenBSD
> 6.4?
>
>
I have modified  the openbsd6.3-amd64 from minimals
enough to get a context and contextjit that run ok on openbsd 6.4 amd64 .
I have no time now to go on with a complete minimal for openbsd6.3 and
6,4,
Alan & Mojca should have no problems at least with amd64.

-- 
luigi
___
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] columnset regression

2018-10-28 Thread Wolfgang Schuster



Henning Hraban Ramm schrieb am 28.10.18 um 20:49:

Typesetting my songbooklets, I stumbled upon another regression:

If a columnset starts below something else (text, image, frame), the second and 
further columns start at the top of the type area instead of below the upper 
object.

\definecolumnset[drei][n=3]
\usemodule[visual]


\usemodule[old-columnsets]


\starttext

\framed[width=\textwidth,height=.3\textheight]{\ConTeXt}

%\input knuth

\startcolumnset[drei]
\fakewords{30}{50}
\column
\fakewords{30}{50}
\column
\fakewords{30}{50}
\stopcolumnset

\stoptext


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] \framed regression

2018-10-28 Thread Herbert Voss

Am 28.10.18 um 20:37 schrieb Henning Hraban Ramm:

If I just typeset frames, they get 1pt of space inbetween:

\starttext


\offinterlineskip


\dorecurse{20}{%
   %\vskip-1pt% to avoid space
   \framed[width=10cm,height=1cm]{\ConTeXt}%
}
\stoptext


Herbert





I’m not quite sure if that shows the real problem and if that really was tight 
before.

With my tiny labels I had to \vskip-2.365mm to make them fit again.
There the font size was set to 7.5pt and the baselineskip to 2ex.
But these settings didn’t change the 1pt between frames.
The difference it probably due to the labels consisting of nested \frameds with 
images.

Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

Am 2018-10-28 um 20:01 schrieb Henning Hraban Ramm :


Ahoi,

there were a few strange changes in ConTeXt rendering since about since 
mid-August, probably all related to box handling.

I recognized \framed inserts some additional space when I re-typeset some 
sheets of labels that suddenly didn’t fit the labels any more.

Today my editor in chief asked me where the pagination of our magazine went to 
– I guess its footer box became too small, couldn’t investigate yet. He didn’t 
see that the type on the back is askew, probably also from the additional space 
around a \framed

Such sudden changes are really frustrating and might cost me a lot of money 
(the magazine is already printed and distributed).

I’ll try to come up with a MWE.


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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
___


___
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] columnset regression

2018-10-28 Thread Henning Hraban Ramm
Typesetting my songbooklets, I stumbled upon another regression:

If a columnset starts below something else (text, image, frame), the second and 
further columns start at the top of the type area instead of below the upper 
object.

\definecolumnset[drei][n=3]
\usemodule[visual]

\starttext

\framed[width=\textwidth,height=.3\textheight]{\ConTeXt}

%\input knuth

\startcolumnset[drei]
\fakewords{30}{50}
\column
\fakewords{30}{50}
\column
\fakewords{30}{50}
\stopcolumnset

\stoptext




Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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 regression

2018-10-28 Thread Henning Hraban Ramm
If I just typeset frames, they get 1pt of space inbetween:

\starttext
\dorecurse{20}{%
  %\vskip-1pt% to avoid space
  \framed[width=10cm,height=1cm]{\ConTeXt}%
}
\stoptext

I’m not quite sure if that shows the real problem and if that really was tight 
before.

With my tiny labels I had to \vskip-2.365mm to make them fit again.
There the font size was set to 7.5pt and the baselineskip to 2ex.
But these settings didn’t change the 1pt between frames.
The difference it probably due to the labels consisting of nested \frameds with 
images.

Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

Am 2018-10-28 um 20:01 schrieb Henning Hraban Ramm :

> Ahoi,
> 
> there were a few strange changes in ConTeXt rendering since about since 
> mid-August, probably all related to box handling.
> 
> I recognized \framed inserts some additional space when I re-typeset some 
> sheets of labels that suddenly didn’t fit the labels any more.
> 
> Today my editor in chief asked me where the pagination of our magazine went 
> to – I guess its footer box became too small, couldn’t investigate yet. He 
> didn’t see that the type on the back is askew, probably also from the 
> additional space around a \framed
> 
> Such sudden changes are really frustrating and might cost me a lot of money 
> (the magazine is already printed and distributed).
> 
> I’ll try to come up with a MWE.
> 
> 
> Greetlings, Hraban
> ---
> https://www.fiee.net
> http://wiki.contextgarden.net
> https://www.dreiviertelhaus.de
> GPG Key ID 1C9B22FD
> 
> ___
> 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
___

[NTG-context] \framed regression

2018-10-28 Thread Henning Hraban Ramm
Ahoi,

there were a few strange changes in ConTeXt rendering since about since 
mid-August, probably all related to box handling.

I recognized \framed inserts some additional space when I re-typeset some 
sheets of labels that suddenly didn’t fit the labels any more.

Today my editor in chief asked me where the pagination of our magazine went to 
– I guess its footer box became too small, couldn’t investigate yet. He didn’t 
see that the type on the back is askew, probably also from the additional space 
around a \framed

Such sudden changes are really frustrating and might cost me a lot of money 
(the magazine is already printed and distributed).

I’ll try to come up with a MWE.


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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] Table "modules"

2018-10-28 Thread Hans Hagen

On 10/28/2018 5:06 PM, Joseph Wright wrote:

Hello all,

Looking at management of global Lua tables (for the obvious cases ...), 
I notice that all of the core Mk IV files use the construct


     if not modules then modules = { } end
     modules[" From a ConTeXt point-of-view, is it acceptable for third-parties to use 
this construct, or is it 'ConTeXt maintainers only'? I'm wondering for 
code used generically: it would be good to use the same approach, but I 
don't want to tread on any reserved namespaces.
Hard to say ... the only generic code is the fontloader and the only 
check done there is the toplevel 'context' table, so there is not much 
change on a clash I guess. We can hardly claim a namespace, but now at 
least it's possible to see if something is meant for context (and 
originates on context, fwiw).


Anyway, I don't expect much generic code to show up. One problem I see 
is that currently, as context uses that namespace, there are no 
duplicates. So, it being used more general,  probably means that I need 
to add a mechanism that will refuse to (over)load code, but even then i 
cannot oversee implications ... For latex you can consider 
'latexmodules' ... up to you. It's too late now to change it to 
contextmodules.


Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

[NTG-context] Table "modules"

2018-10-28 Thread Joseph Wright

Hello all,

Looking at management of global Lua tables (for the obvious cases ...), 
I notice that all of the core Mk IV files use the construct


if not modules then modules = { } end
modules["From a ConTeXt point-of-view, is it acceptable for third-parties to use 
this construct, or is it 'ConTeXt maintainers only'? I'm wondering for 
code used generically: it would be good to use the same approach, but I 
don't want to tread on any reserved namespaces.


Joseph
___
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] optical bounds in ConTeXt

2018-10-28 Thread Pablo Rodriguez
On 10/28/18 12:50 PM, Hans Hagen wrote:
> On 10/28/2018 11:11 AM, Pablo Rodriguez wrote:
>> [...]
>> Optical bounds used to work with the previous ConTeXt versions, but I
>> cannot get them working with the new font reader (the explanation comes
>> from Hans).
>>
>> Am I missing something or is it something to be implemented yet?
> i'll check it but keep in mind that this font only has a few (so 
> actually it's useless to rely on it's opbd) so i wonder if there are 
> better tests

Many thanks for the good news, Hans.

Some time ago, I modified GFS Baskerville with random values for the
left and right optical bounds in some uppercase Greek letters with
diacritical marks (ἨἮἯὩ).

Just in case it helps, I attach it to this message.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk


TestOPBD-Regular.otf
Description: application/vnd.oasis.opendocument.formula-template
___
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] optical bounds in ConTeXt

2018-10-28 Thread Hans Hagen

On 10/28/2018 11:11 AM, Pablo Rodriguez wrote:

Dear list,

I have the following sample:

 \definefontfeature[default][default][protrusion=quality, opbd=yes]
 \definefontfamily[mainface][rm][Linux Libertine O]
 \setupbodyfont[mainface, 300pt]
 \setuppagenumbering[location=]
 \setupalign[hanging]
 \showframe
 \starttext
 W
 \stoptext

Optical bounds used to work with the previous ConTeXt versions, but I
cannot get them working with the new font reader (the explanation comes
from Hans).

Am I missing something or is it something to be implemented yet?
i'll check it but keep in mind that this font only has a few (so 
actually it's useless to rely on it's opbd) so i wonder if there are 
better tests


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Typesetting abbreviations

2018-10-28 Thread Clyde Johnston
This is very insightful.  I am not a professional typographer but to my eye,
the problem is really with the period.  It should really be treated as a
modification to the previous character rather than a separate full-stop
character.  This way the spacing would work as designed.

 

\setuppapersize[A8]

 

\starttext

 

Mr. \vrule John Doe

 

Mr\kern-.1em.~\vrule John Doe

 

\setuplanguage [en] [spacing=packed]

 

Mr. \vrule John Doe

 

Mr\kern-.1em.~\vrule John Doe

\stoptext

 

Maybe this would be better handled with a macro.

 

Clyde

 

From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] 
Sent: Sunday, October 28, 2018 11:54 AM
To: mailing list for ConTeXt users; Clyde Johnston
Subject: Re: [NTG-context] Typesetting abbreviations

 

You can disable the bigger space at the end of a sentence with the spacing
key from \setuplanguage but as you can see from the example below ~ creates
a normal space.

\setuppapersize[A8]

\starttext

Mr. \vrule John Doe

Mr.~\vrule John Doe

Mr.\nobreakspace\vrule John Doe

Mr.\ \vrule John Doe

Mr.\narrownobreakspace\vrule John Doe

\blank

Mr. \vrule John Doe

\setuplanguage [en] [spacing=packed]

Mr. \vrule John Doe

\stoptext

Wolfgang


Clyde Johnston schrieb am 27.10.18 um 23:04:



What is the correct way to typeset an abbreviation in ConTeXt?  The space
after the full stop seems too big and if I use \thinspace, I cannot use
ties.

 

No command - space is too big

\starttext

Mr. John Doe

\stoptext

 

With tie - space is too big

\starttext

Mr.~John Doe

\stoptext

 

With \thinspace - looks right except at an end of line

\starttext

Mr.\thinspace John Doe

\stoptext

 

Any suggestions are welcome!

 

Thanks,

Clyde







___
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
___

[NTG-context] optical bounds in ConTeXt

2018-10-28 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\definefontfeature[default][default][protrusion=quality, opbd=yes]
\definefontfamily[mainface][rm][Linux Libertine O]
\setupbodyfont[mainface, 300pt]
\setuppagenumbering[location=]
\setupalign[hanging]
\showframe
\starttext
W
\stoptext

Optical bounds used to work with the previous ConTeXt versions, but I
cannot get them working with the new font reader (the explanation comes
from Hans).

Am I missing something or is it something to be implemented yet?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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] Typesetting abbreviations

2018-10-28 Thread Wolfgang Schuster
You can disable the bigger space at the end of a sentence with the 
spacing key from \setuplanguage but as you can see from the example 
below ~ creates a normal space.


\setuppapersize[A8]

\starttext

Mr. \vrule John Doe

Mr.~\vrule John Doe

Mr.\nobreakspace\vrule John Doe

Mr.\ \vrule John Doe

Mr.\narrownobreakspace\vrule John Doe

\blank

Mr. \vrule John Doe

\setuplanguage [en] [spacing=packed]

Mr. \vrule John Doe

\stoptext

Wolfgang


Clyde Johnston schrieb am 27.10.18 um 23:04:


What is the correct way to typeset an abbreviation in ConTeXt?  The 
space after the full stop seems too big and if I use \thinspace, I 
cannot use ties.


No command – space is too big

\starttext

Mr. John Doe

\stoptext

With tie – space is too big

\starttext

Mr.~John Doe

\stoptext

With \thinspace – looks right except at an end of line

\starttext

Mr.\thinspace John Doe

\stoptext

Any suggestions are welcome!

Thanks,

Clyde



___
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] [dev-context] Luatex 1.09.0 announcement (Mojca Miklavec)

2018-10-28 Thread Mojca Miklavec
Dear Damien,

On Thu, 25 Oct 2018 at 13:09, Damien Thiriet wrote:
>
> LuaJIT did not work on OpenBSD 6.3 texlive* packages.

While it's not super important to have it, there's something super
suspicious about that. It did work until Luigi switched to the
experimental branch:

http://build.contextgarden.net/builders/luatex.openbsd-amd64-6.2.prg/builds/217
and broke immediately after that:

http://build.contextgarden.net/builders/luatex.openbsd-amd64-6.2.prg/builds/222

In TeX Live it broke for me some time ago. I checked the history, but
already the first build for OpenBSD 6.2 had luajittex build disabled
(in April 2018; according to git history I committed the change on the
29th of April 2018). I would say it must have worked in TeX Live 2017,
but I compiled that one with gcc on OpenBSD 6.0/6.1 rather than with
clang. Not that this is a valid excuse though: as shown above, clang
successfully compiled luajittex on OpenBSD 6.2 and 6.3 from the luatex
repository until very recently.

> I can live without it anyway.
> Does this mean that a ConTeXt live install will be available on OpenBSD 6.4?

I was not aware that OpenBSD 6.4 was out until you mentioned it. I'll
upgrade the machine on our build farm.

But just to make sure: did the minimals work correctly for you on 6.3?

> As usual I would be highly interested, even more since I discovered that
> using official packages (TL-2017 btw), you have to load everything to
> get context, since texlive-texmf-full is a texlive-texmf-context dependency.

I would try to talk to Edd or others packaging TeX Live if there's a
way to reduce the dependencies. We can help advise on what is (not)
needed.

Mojca
___
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
___