[NTG-context] How to set pdfminorversion in LMTX?

2020-08-09 Thread Aditya Mahajan

Hi,

How do I set pdfminorversion in LTMX. Both \pdfminorversion and \pdfvariable 
minorversion fail with undefined control sequence.

Thanks,
Aditya
___
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] 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 report.

The issue has been fixed in current latest from 2020.08.09 22:03.

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] 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 "mtxrun --script cache --erase" before running "mtxrun --generate"
>> (as I do with each update).
> can you try again
>
> (in case of a broken mtxrun, change the error line to "tex and tex.error")

Many thanks for the fast reply, Hans.

It works fine now.

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] new upload

2020-08-09 Thread Hans Hagen

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 "mtxrun --script cache --erase" before running "mtxrun --generate"
(as I do with each update).

can you try again

(in case of a broken mtxrun, change the error line to "tex and tex.error")

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] orphans and widows not working in LMTX?

2020-08-09 Thread Joseph Canedo
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
Joseph


Le dim. 9 août 2020 à 14:06, Pablo Rodriguez  a écrit :

> 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
> \dorecurse{5}{a\\
> b\\
> c\\
> d\par}
> \stoptext
>
> Compiling it with current latest in LMTX (2020.08.07 23:37) leaves an
> orphan line on page 2 (page #2 starts with "d").
>
> MkIV beta from 2020.01.30 14:13 moves the the last line to avoid the
> orphan (page #2 starts with "c").
>
> Could anyone confirm the issue with orphans/widows in LMTX?
>
> 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
>
> ___
>
___
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] 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
___
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] new upload

2020-08-09 Thread Jairo A. del Rio
Update: after cleaning the cache, I have the same problem as Pablo.

Jairo :)

El dom., 9 de ago. de 2020 a la(s) 13:45, Jairo A. del Rio (
jairoadelr...@gmail.com) escribió:

> On my computer mtxrun --generate works, but context --make fails and the
> command line outputs:
>
> tex error   > tex error on line 448 in file lang-ini.mkxl: ! Undefined
> control sequence
>
>
> \dohyphens ->\hyphenationmode
>\plusthree
> l.448 \dohyphens
>
>
> 
>
> Jairo :)
>
> El dom., 9 de ago. de 2020 a la(s) 13:36, Pablo Rodriguez (oi...@gmx.es)
> escribió:
>
>> 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 --generate" gives an error message:
>>
>> lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to
>> index a nil value (global 'tex')
>>
>> I think something is missing there.
>>
>> Many thhanks 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
>>
>> ___
>>
>
___
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] new upload

2020-08-09 Thread Jairo A. del Rio
On my computer mtxrun --generate works, but context --make fails and the
command line outputs:

tex error   > tex error on line 448 in file lang-ini.mkxl: ! Undefined
control sequence


\dohyphens ->\hyphenationmode
   \plusthree
l.448 \dohyphens




Jairo :)

El dom., 9 de ago. de 2020 a la(s) 13:36, Pablo Rodriguez (oi...@gmx.es)
escribió:

> 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 --generate" gives an error message:
>
> lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to
> index a nil value (global 'tex')
>
> I think something is missing there.
>
> Many thhanks 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
>
> ___
>
___
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] 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 --generate" gives an error message:

lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to
index a nil value (global 'tex')

I think something is missing there.

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


[NTG-context] new upload

2020-08-09 Thread Hans Hagen

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:


\startlines
\meaning\bitwiseset
\meaning\bitwisenot
\meaning\bitwisenil
\meaning\bitwiseand
\meaning\bitwiseor
\meaning\bitwisexor
\meaning\ifbitwiseand
\stoplines

used as:

\scratchcounter = \bitwiseand "01  "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseand "01 with "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseand "03  "02 
\uchexnumbers{\scratchcounter} \par


\scratchcounter = \bitwiseor  "01  "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseor  "01 with "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseor  "03  "02 
\uchexnumbers{\scratchcounter} \par


\scratchcounter = \bitwisexor "01  "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwisexor "01 with "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwisexor "03  "02 
\uchexnumbers{\scratchcounter} \par


\scratchcounter = \bitwisenil \bitwisenil "0F "02 "01 
\uchexnumbers{\scratchcounter} \par
\scratchcounter = \bitwisenil \bitwisenil "0F with "02 with "01 
\uchexnumbers{\scratchcounter} \par


\scratchcounterone\zerocount

\scratchcounterone \bitwiseset "FFF
\ifbitwiseand  \scratchcounterone "800 YES \else NOP \fi
\ifbitwiseand  \scratchcounterone "F00 YES \else NOP \fi
\ifbitwiseand  \scratchcounterone "100 YES \else NOP \fi
\scratchcounterone \bitwisenot \scratchcounterone
\ifbitwiseand  \scratchcounterone "800 YES \else NOP \fi
\ifbitwiseand  \scratchcounterone "F00 YES \else NOP \fi
\ifbitwiseand  \scratchcounterone "100 YES \else NOP \fi

\scratchcounter \bitwiseand "01 "02
\scratchcounter \numexpr"01+"02\relax

\ifcase  \bitwiseand \scratchcounterone \plusone \else \fi
\ifbitwiseand\scratchcounterone \plusone \else \fi
\ifnum   \scratchcounterone=\plusone \else \fi

A while ago I played with bitwise operator sin \numexpr but in the end 
removed that because it's messy with the symbols to be used, but I will 
look at that agaon if 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
___


Re: [NTG-context] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Jairo A. del Rio
Nice, I'm reading results right now. Thank you a lot, Hans.

Jairo :)

El dom., 9 de ago. de 2020 a la(s) 13:05, Hans Hagen (j.ha...@xs4all.nl)
escribió:

> On 8/9/2020 8:03 PM, Jairo A. del Rio wrote:
> > Oh, thank you a lot, Hans, that's a really cleaner way than mine. One
> > more question, is there something similar to EmWidth for \textwidth or
> > \linewidth? Better, a better way to access TeX dimensions? Thank you
> again.
> When you grep for EmWidth ...
>
> LineWidth
> TextWidth
>
> and plenty more like that
>
> 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] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Hans Hagen

On 8/9/2020 8:03 PM, Jairo A. del Rio wrote:
Oh, thank you a lot, Hans, that's a really cleaner way than mine. One 
more question, is there something similar to EmWidth for \textwidth or 
\linewidth? Better, a better way to access TeX dimensions? Thank you again.

When you grep for EmWidth ...

LineWidth
TextWidth

and plenty more like that

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] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Jairo A. del Rio
Oh, thank you a lot, Hans, that's a really cleaner way than mine. One more
question, is there something similar to EmWidth for \textwidth or
\linewidth? Better, a better way to access TeX dimensions? Thank you again.

Jairo :)

El dom., 9 de ago. de 2020 a la(s) 12:46, Hans Hagen (j.ha...@xs4all.nl)
escribió:

> On 8/9/2020 5:39 PM, Jairo A. del Rio wrote:
> > Hi, list! I'm doing the following to scale squares and other stuff in
> > MetaPost/MetaFun. Although the following kinda works (maybe I'm just
> > lucky with this), I want to know how to do a better piece from it. I'm
> > concerned with passing data from Lua and TeX to Metapost and better ways
> > to do it in ConTeXt. Thank you in advance.
> >
> > \starttext
> > My text
> >
> > \startMPinitializations
> > numeric myunit;
> > myunit := \the\dimexpr1em\relax;
> > \stopMPinitializations
> > \startluacode
> >
> > userdata = userdata or {}
> > userdata.dummydata = { {1, 2}, {3, 4} }
> >
> > context.startMPcode()
> >
> > for j=1,#userdata.dummydata do
> > for i=1,#userdata.dummydata[1] do
> > context("draw unitsquare scaled myunit shifted ((%d,%d)*myunit);",
> > userdata.dummydata[i][j], userdata.dummydata[i][j])
> > end
> > end
> >
> > context.stopMPcode()
> >
> > \stopluacode
> > \stoptext
> Something:
>
> \starttext
>
> \startluacode
>
>  userdata = userdata or {}
>  userdata.dummydata = { {1, 2}, {3, 4} }
>
>  function MP.GetI()
>  mp.print(#userdata.dummydata)
>  end
>  function MP.GetJ(i)
>  mp.print(#userdata.dummydata[i])
>  end
>  function MP.GetIJ(i,j)
>  mp.pair(userdata.dummydata[i][j],userdata.dummydata[i][j])
>  end
>
> \stopluacode
>
> \startMPcode
>  numeric myunit ; myunit := EmWidth;
>  for i = 1 upto lua.MP.GetI() :
>  for j = 1 upto lua.MP.GetJ(i) :
>  draw unitsquare scaled myunit shifted (myunit *
> (lua.MP.GetIJ(i,j)));
>  endfor ;
>  endfor ;
> \stopMPcode
>
> \stoptext
>
> There are of course also other ways but this is more educational as start.
>
> 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] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Hans Hagen

On 8/9/2020 5:39 PM, Jairo A. del Rio wrote:
Hi, list! I'm doing the following to scale squares and other stuff in 
MetaPost/MetaFun. Although the following kinda works (maybe I'm just 
lucky with this), I want to know how to do a better piece from it. I'm 
concerned with passing data from Lua and TeX to Metapost and better ways 
to do it in ConTeXt. Thank you in advance.


\starttext
My text

\startMPinitializations
numeric myunit;
myunit := \the\dimexpr1em\relax;
\stopMPinitializations
\startluacode

userdata = userdata or {}
userdata.dummydata = { {1, 2}, {3, 4} }

context.startMPcode()

for j=1,#userdata.dummydata do
for i=1,#userdata.dummydata[1] do
context("draw unitsquare scaled myunit shifted ((%d,%d)*myunit);", 
userdata.dummydata[i][j], userdata.dummydata[i][j])

end
end

context.stopMPcode()

\stopluacode
\stoptext

Something:

\starttext

\startluacode

userdata = userdata or {}
userdata.dummydata = { {1, 2}, {3, 4} }

function MP.GetI()
mp.print(#userdata.dummydata)
end
function MP.GetJ(i)
mp.print(#userdata.dummydata[i])
end
function MP.GetIJ(i,j)
mp.pair(userdata.dummydata[i][j],userdata.dummydata[i][j])
end

\stopluacode

\startMPcode
numeric myunit ; myunit := EmWidth;
for i = 1 upto lua.MP.GetI() :
for j = 1 upto lua.MP.GetJ(i) :
draw unitsquare scaled myunit shifted (myunit * 
(lua.MP.GetIJ(i,j)));

endfor ;
endfor ;
\stopMPcode

\stoptext

There are of course also other ways but this is more educational as start.

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] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Jairo A. del Rio
Hi, list! I'm doing the following to scale squares and other stuff in
MetaPost/MetaFun. Although the following kinda works (maybe I'm just lucky
with this), I want to know how to do a better piece from it. I'm concerned
with passing data from Lua and TeX to Metapost and better ways to do it in
ConTeXt. Thank you in advance.

\starttext
My text

\startMPinitializations
numeric myunit;
myunit := \the\dimexpr1em\relax;
\stopMPinitializations
\startluacode

userdata = userdata or {}
userdata.dummydata = { {1, 2}, {3, 4} }

context.startMPcode()

for j=1,#userdata.dummydata do
for i=1,#userdata.dummydata[1] do
context("draw unitsquare scaled myunit shifted ((%d,%d)*myunit);",
userdata.dummydata[i][j], userdata.dummydata[i][j])
end
end

context.stopMPcode()

\stopluacode
\stoptext

Jairo :)
___
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] 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
\dorecurse{5}{a\\
b\\
c\\
d\par}
\stoptext

Compiling it with current latest in LMTX (2020.08.07 23:37) leaves an
orphan line on page 2 (page #2 starts with "d").

MkIV beta from 2020.01.30 14:13 moves the the last line to avoid the
orphan (page #2 starts with "c").

Could anyone confirm the issue with orphans/widows in LMTX?

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] Using \applytosplitstringwordspaced and allies

2020-08-09 Thread Jairo A. del Rio
I know about expex. I was trying something more akin to this:

https://tex.stackexchange.com/questions/552518/how-do-i-typeset-interleaved-streams-of-text-with-independent-line-breaks

Jairo :)

El dom., 9 de ago. de 2020 a la(s) 01:52, Wolfgang Schuster (
wolfgang.schuster.li...@gmail.com) escribió:

> Jairo A. del Rio schrieb am 08.08.2020 um 16:31:
> > Thank you very much! Something else happens:
> >
> > \applytosplitstringwordspaced\somemacro{Content and {\tt typewriter}
> > more content}
> >
> > either ignores braced groups or ignores macros AND prints braces "{"
> > and "}" as if it were in verbatim mode depending on the content being
> > on the document or loaded via Lua, even when context.escape is used.
> > How to keep {\it braced content}? Thank you in advance.
>
> Are you trying to typeset interlinear text?
>
> http://mirrors.ctan.org/macros/generic/expex/expex-doc.pdf
>
> 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] Using \applytosplitstringwordspaced and allies

2020-08-09 Thread Wolfgang Schuster

Jairo A. del Rio schrieb am 08.08.2020 um 16:31:

Thank you very much! Something else happens:

\applytosplitstringwordspaced\somemacro{Content and {\tt typewriter} 
more content}


either ignores braced groups or ignores macros AND prints braces "{" 
and "}" as if it were in verbatim mode depending on the content being 
on the document or loaded via Lua, even when context.escape is used. 
How to keep {\it braced content}? Thank you in advance.


Are you trying to typeset interlinear text?

http://mirrors.ctan.org/macros/generic/expex/expex-doc.pdf

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
___