Re: [NTG-context] LMTX for alpine linux (musl)

2020-01-02 Thread Henri Menke
On 1/3/20 8:23 PM, Mojca Miklavec wrote:
> On Thu, 2 Jan 2020 at 14:42, Martin Hasoň wrote:
>>
>> Hi all,
>>
>> I would like use the LMTX in alpine linux (musl). Is this version planned to 
>> be prepared?
> 
> What's the oldest version of Alpine that we would want to support?

Regular LuaTeX can be built on Alpine 3.1 or newer.  See also

https://github.com/TeX-Live/luatex/blob/trunk/.travis.yml

Cheers,
Henri

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


Re: [NTG-context] LMTX for alpine linux (musl)

2020-01-02 Thread Mojca Miklavec
On Thu, 2 Jan 2020 at 14:42, Martin Hasoň wrote:
>
> Hi all,
>
> I would like use the LMTX in alpine linux (musl). Is this version planned to 
> be prepared?

What's the oldest version of Alpine that we would want to support?

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
___


Re: [NTG-context] overlay problem (beta 31.12.2019)

2020-01-02 Thread Hans Hagen

On 1/2/2020 5:00 PM, Peter Rolf wrote:

Hi Hans

There is a small problem with overlays.

%-
\starttext
\defineoverlay[foo][{\blackrule[color=black,width=20mm,height=20mm]}]%
\framed[background=foo,strut=no,offset=overlay]%{\blackrule[color=white,width=16mm,height=16mm]}
\stoptext
%-


put this in cont-new.mkiv :

\ifcase\contextlmtxmode \else

\unexpanded\def\executedefinedoverlay#1#2%
  {\bgroup
   \setlayoutcomponentattribute{\v!overlay:#1}%
   \setbox\scratchbox\hbox 
\layoutcomponentboxattribute{\the\everyoverlay#2}%


\boxxoffset\scratchbox-.5\dimexpr\wd\scratchbox-\d_framed_target_wd\relax

\boxyoffset\scratchbox-.5\dimexpr\ht\scratchbox-\d_framed_target_ht+\d_framed_target_dp\relax
   \wd\scratchbox\d_framed_target_wd
   \ht\scratchbox\d_framed_target_ht
   \dp\scratchbox\d_framed_target_dp
   \box\scratchbox
   \egroup}

\fi

no updates today and tomorrow

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] Indentation problem inside enumeration

2020-01-02 Thread Mikael P. Sundqvist
On Tue, Dec 17, 2019 at 8:39 AM Mikael P. Sundqvist 
wrote:

> Hi!
>
> I've met a strange problem with indentation in consecutive enumerations.
> It seems to me that if
>
> 1) the first enumeration uses indentnext=no
> AND
> 2) the next enumeration uses a background
>
> then the second(?) paragraph of the second enumeration is not indented.
>
> Here is a small example (see what lines to comment to avoid the problem).
>
> %%%
> \defineenumeration[losning][
> text=Lösning,
> title=yes,
> alternative=serried,
> width=fit,
> number=no,
> headstyle={\em},
> titlestyle=,
> indentnext=no,% another way to get indentation is to comment this line
> indenting={yes,medium},
> ]
>
> \defineframedtext[anmärkningsbakgrunden][
> width=\textwidth,
> background=color,
> backgroundcolor=gray,
> ]
>
> \defineenumeration[anmarkning][
> text=Anmärkning,
> title=yes,
> headstyle={\definedfont[Bold*default]\WORD},
> alternative=serried,
> width=fit,
> number=no,
> prefix=no,
> indentnext=no,
> indenting={yes,medium},
> before={\startanmärkningsbakgrunden},% if these two lines are commented
> then
> after={\stopanmärkningsbakgrunden},% the indentation works
> ]
>
> \starttext
>
> \startlosning
> This environment destroys indentation in the next.
> \stoplosning
>
> \startanmarkning
> This is just a first paragraph.
>
> This paragraph should be indented.
>
> This paragraph is always indented.
> \stopanmarkning
> \stoptext
> %%%
>
> (This is a stripped down example with some settings removed. But it shows
> the point.)
>
> Am I doing something wrong? The resulting pdf is attached.
>
> /Mikael
>
> PS I think I saw this problem both with mkiv and lmtx.
>
>
Bump. (Am I doing something wrong?)

/Mikael
___
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] overlay problem (beta 31.12.2019)

2020-01-02 Thread Peter Rolf
Hi Hans

There is a small problem with overlays.

%-
\starttext
\defineoverlay[foo][{\blackrule[color=black,width=20mm,height=20mm]}]%
\framed[background=foo,strut=no,offset=overlay]%{\blackrule[color=white,width=16mm,height=16mm]}
\stoptext
%-

The inner square should be centered.


Peter
___
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] LMTX for alpine linux (musl)

2020-01-02 Thread Hans Hagen

On 1/2/2020 2:43 PM, Martin Hasoň wrote:

I would like use the LMTX in alpine linux (musl). Is this version 
planned to be prepared?
I don't know what else is needed compared to regular linux but if so, 
then you need to convince Mojca to set up a build client for it.


At some point the source tree will be an integral part of the context 
distribution so then one can compile on the platform in use (assuming 
that nothing special is needed).


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] LMTX for alpine linux (musl)

2020-01-02 Thread Martin Hasoň
Hi all,

I would like use the LMTX in alpine linux (musl). Is this version planned
to be prepared?

Best regards
Martin Hasoň
___
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
___