Re: [NTG-context] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-25 Thread Andres Conrado
Tank you very much Pablo. I'll try that. They are proper latex fonts, tho,
so I'm no sure that will do. I also have a background i humanities and book
design, but I'm now making math books, go figure. It's very interesting
from a typographic point of view.

Now I'm more interested in seeing what happens with the last code I sent
here, in another message... "Strange behavior in somewhat complex layout"
Maybe nobody noticed it. I hope I can figure that out.
___
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] luatex-fonts-merged.lua broken?

2019-06-25 Thread Ulrike Fischer
Hans,

we think that luatex-fonts-merged.lua is broken: It contains in line
8594 

return characters.indicgroups

(from luatex-basics-chr.lua) and such a return statement is a
problem in a merged file. 


-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/

___
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] issue with italic correction (again)

2019-06-25 Thread Taco Hoekwater


> Op 25 jun. 2019 om 21:42 heeft Pablo Rodriguez  het volgende 
> geschreven:
> 
> BTW, I wonder why the second definition of \DesiredFont doesn’t change
> the font for the buffer used after it.

Using \switchtobodyfont instead of \setupbodyfont for all except the first call 
should help. You may need to add a \usebodyfont[mainface_corrected] as well (in 
the setup block). I cannot actually test right now, on a mobile device...

Best wishes,
Taco
___
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] issue with italic correction (again)

2019-06-25 Thread Pablo Rodriguez
Dear list,

[sorry for insisting, but I have the impression that the previous
version of this message went unnoticed.]

I have the following sample:

\def\DesiredFont{TeX Gyre Termes}
\definefontfeature[italic][itlc=yes,textitalics=yes]
\setupitaliccorrection[global, always]
\definefontfamily
[mainface]
[rm]
[\DesiredFont]
\definefontfamily
[mainface_corrected]
[rm]
[\DesiredFont]
[features={italic}]
\setupbodyfont[mainface]
\setupitaliccorrection[global,always]
\starttext
\startbuffer[chars]
\startTEXpage[offset=1em]
\dorecurse{26}
{\setupbodyfont[mainface]%
[{\em \recurselevel}]
[{\em \characters{\recurselevel}}]
[{\em \Characters{\recurselevel}}]
({\em \characters{\recurselevel}})
({\em \Characters{\recurselevel}})
\hfill
\setupbodyfont[mainface_corrected]
[{\em \recurselevel}]
[{\em \characters{\recurselevel}}]
[{\em \Characters{\recurselevel}}]
({\em \characters{\recurselevel}})
({\em \Characters{\recurselevel}})
\par}
\stopTEXpage
\stopbuffer
\getbuffer[chars]
\def\DesiredFont{TeX Gyre Pagella}
\getbuffer[chars]
\stoptext

This shows that sequences such as ({\em f}) are corrected with the
closing parenthesis, but not with the opening one.

Wouldn’t it be possible that italic correction could be enabled also
before the italic glyph(s)?

BTW, I wonder why the second definition of \DesiredFont doesn’t change
the font for the buffer used after it.

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] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-25 Thread Pablo Rodriguez
On 6/23/19 10:53 PM, Andres Conrado wrote:
> Thanks, Pablo. I am assuming I need to have Utopia installed in my usual
> font folder. I tried with Erewhon (I have otf files for that) and it
> works. Thank you.
>
> In a related note, is there any reasonable way to use the latex math
> font /Math Times Pro 2/ (https://www.pctex.com/mtpro2.html)? I know a
> latex user who bought that font and I wonder if I can convince him to
> get on the ConTeXt boat.

Hi Andrés,

I’m afraid that the consistency of message threads suffers with reply to
digest messages
(https://mailman.ntg.nl/pipermail/ntg-context/2019/thread.html).

At least, consider editing the subject and removing the irrelevant parts
from other messages, as suggested in:

> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."

Don’t get me wrong, a message may get no reply because it goes unnoticed.

Regarding Math Times Pro 2, I wonder whether
"\definefontfamily[mainface][mm][Math Times Pro 2]" would allow partial
usage.

But my background is in humanities and math is all Greek to me .

Just in cas it might 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] [OT] rasperry 4

2019-06-25 Thread Rudolf Bahr
On Tue, Jun 25, 2019 at 03:33:00PM +0200, luigi scarso wrote:
> On Tue, Jun 25, 2019 at 3:31 PM Rudolf Bahr  wrote:
> 
> > On Tue, Jun 25, 2019 at 10:15:29AM +1200, Henri Menke wrote:
> > > On 25/06/19 12:30 AM, luigi scarso wrote:
> > > > just seen
> > > > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/
> > > >
> > > > I would like to know your impressions
> > >
> > > Does it still need proprietary binary blobs in the kernel?  Probably
> > > yes, so it is as useless as all the models before because it can only
> > > run their custom Raspbian distro.
> >
> >
> >
> > To this I asked my linux group in Freiburg and got following answer
> > in German from Tomas (tuxteam.de):
> >
> > --
> > Die Antwort darauf ist komplizierter, als es einem lieb sein kann :-)
> >
> > "Blob" hat da nämlich unterschiedliche Bedeutungen (vermutlich lässt
> > sich die Liste verlängern):
> >
> >  (1) zum einen, nicht-freie Treiber, die direkt im Adressraum des Linux
> >kernels ausgeführt werden (strenggenommen verletzen sie die GPL,
> >aber die Linux-community ist da... "tolerant" [1]
> >
> >  (2) dann ist die eng verwandte "Cousine", die im Kernel zwar einen
> >freien "Treiber" hat, der aber nur eine Hülle ist, die die eigentliche
> >Arbeit an ein Programm in user space delegiert, das proprietär ist
> >
> >  (3) schliesslich ist es so, dass der Broadcom BCM28xx (oder BCM27xx) [2]
> >nicht "nur eine ARM CPU" ist, sondern ganz viele verschiedene
> >Subsysteme umfasst (im Jargon ist das ein SoC, ein "System on a Chip").
> >Jedes dieser Subsysteme hat vielleicht einen, vielleicht mehrere
> >Prozessoren, am prominentesten beim Raspi ist wohl der
> > Grafik-Coprozessor
> >(VideoCore IV), der auch zum Booten des ganzen Systems zuständig ist.
> >Auch die wollen Code, der auch als Blobs in Erscheinung treten kann,
> >die der Linux-Kernel einfach nur durchreicht.
> >
> > Also: ohne (3) gibt es beim Raspi nicht mal Booten ;-)
> >
> > Meines Wissens ist Raspi in (1) und (2) weitgehend "sauber" (Korrekturen
> > erwünscht!), (3) ist allerdings weitaus schwieriger (es gibt m.W. aber
> > auch Leute, die an dessen reverse engineering dran sind).
> >
> > Broadcom selbst scheint, nach anfänglichem Zögern, diesen Anstrengungen
> > freundlich gegenüberzustehen.
> >
> > Dies alles mit etwas Fehlermarge, da ich schon lange nicht mehr
> > reingeschaut habe. Ergänzungen also willkommen (dann lerne ich auch
> > was bei ;-)
> >
> > lg
> >
> > [1] Ein Thema für sich, an dem, wie mensch sich das auch denken
> >kann, so einige Kontroversen entstehen.
> >
> > [2] https://en.wikipedia.org/wiki/Raspberry_Pi
> > -
> >
> > If anybody is interested I would try to translate it.
> >
> >
> 
> 
> sure
> 
> -- 
> luigi


Here, Luigi, my translation:

-
The answer is more complicated as one could want :-)

"Blob" has quite different meanings (the list could be 
prolongated probably):

   (1) first, non-free drivers which are executed in the 
 address-room of linux kernel (strictly spoken they 
 offend against GPL, but the Linux-community with
 respect to this is ... "tolerant") [1]

   (2) then, there is a nearly related "cousin" who admittedly
 has a free "driver" but this one is only a cover which
 delegates the real work to a propriatary program in user 
 space

   (3) eventually it is so that Broadcom BCM28xx (or BCM27xx) [2]
 isn't "only an ARM CPU" but contains a bunch of many
 different subsystems (in jargon a SoC, a "system on a Chip").
 Everyone of these subsystems has possibly one, possibly 
 several processors. Presumably the most prominent with the
 Raspi is the grafic-coprocessor (Videocore IV) which is
 responsible for booting the whole system too. Also these
 have code which might become evident as blobs which the
 linux kernel simply hands through.

Consequently: without (3) Raspi wount boot ;-)

As far as I know (Tomas, tuxteam.de) with concern to (1) and (2)
Raspi to a large extend is "clean" (corrections are welcome!),
though (3) is much more difficult (there are, as I think, people
who are working on reverse engineering of it).
  
Broadcom, after hesitating initially, seems to be friendly against
those efforts.
  
This all is with a bit of error margin, because I didn't look into
it for a rather long time. Completions are welcome (then I would
learn something too ;-)
  
lg (liebe Grüße)
  
[1] A topic for itself with possibilities to controversies as one
can imagine.
  
[2] https://en.wikipedia.org/wiki/Raspberry_Pi
-

Be lenient towards my English!

Rudolf
___
If 

Re: [NTG-context] [OT] rasperry 4

2019-06-25 Thread luigi scarso
On Tue, Jun 25, 2019 at 3:31 PM Rudolf Bahr  wrote:

> On Tue, Jun 25, 2019 at 10:15:29AM +1200, Henri Menke wrote:
> > On 25/06/19 12:30 AM, luigi scarso wrote:
> > > just seen
> > > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/
> > >
> > > I would like to know your impressions
> >
> > Does it still need proprietary binary blobs in the kernel?  Probably
> > yes, so it is as useless as all the models before because it can only
> > run their custom Raspbian distro.
>
>
>
> To this I asked my linux group in Freiburg and got following answer
> in German from Tomas (tuxteam.de):
>
> --
> Die Antwort darauf ist komplizierter, als es einem lieb sein kann :-)
>
> "Blob" hat da nämlich unterschiedliche Bedeutungen (vermutlich lässt
> sich die Liste verlängern):
>
>  (1) zum einen, nicht-freie Treiber, die direkt im Adressraum des Linux
>kernels ausgeführt werden (strenggenommen verletzen sie die GPL,
>aber die Linux-community ist da... "tolerant" [1]
>
>  (2) dann ist die eng verwandte "Cousine", die im Kernel zwar einen
>freien "Treiber" hat, der aber nur eine Hülle ist, die die eigentliche
>Arbeit an ein Programm in user space delegiert, das proprietär ist
>
>  (3) schliesslich ist es so, dass der Broadcom BCM28xx (oder BCM27xx) [2]
>nicht "nur eine ARM CPU" ist, sondern ganz viele verschiedene
>Subsysteme umfasst (im Jargon ist das ein SoC, ein "System on a Chip").
>Jedes dieser Subsysteme hat vielleicht einen, vielleicht mehrere
>Prozessoren, am prominentesten beim Raspi ist wohl der
> Grafik-Coprozessor
>(VideoCore IV), der auch zum Booten des ganzen Systems zuständig ist.
>Auch die wollen Code, der auch als Blobs in Erscheinung treten kann,
>die der Linux-Kernel einfach nur durchreicht.
>
> Also: ohne (3) gibt es beim Raspi nicht mal Booten ;-)
>
> Meines Wissens ist Raspi in (1) und (2) weitgehend "sauber" (Korrekturen
> erwünscht!), (3) ist allerdings weitaus schwieriger (es gibt m.W. aber
> auch Leute, die an dessen reverse engineering dran sind).
>
> Broadcom selbst scheint, nach anfänglichem Zögern, diesen Anstrengungen
> freundlich gegenüberzustehen.
>
> Dies alles mit etwas Fehlermarge, da ich schon lange nicht mehr
> reingeschaut habe. Ergänzungen also willkommen (dann lerne ich auch
> was bei ;-)
>
> lg
>
> [1] Ein Thema für sich, an dem, wie mensch sich das auch denken
>kann, so einige Kontroversen entstehen.
>
> [2] https://en.wikipedia.org/wiki/Raspberry_Pi
> -
>
> If anybody is interested I would try to translate it.
>
>


sure

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


[NTG-context] [OT] rasperry 4

2019-06-25 Thread Rudolf Bahr
On Tue, Jun 25, 2019 at 10:15:29AM +1200, Henri Menke wrote:
> On 25/06/19 12:30 AM, luigi scarso wrote:
> > just seen
> > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/
> > 
> > I would like to know your impressions
> 
> Does it still need proprietary binary blobs in the kernel?  Probably
> yes, so it is as useless as all the models before because it can only
> run their custom Raspbian distro.



To this I asked my linux group in Freiburg and got following answer
in German from Tomas (tuxteam.de):

--
Die Antwort darauf ist komplizierter, als es einem lieb sein kann :-)

"Blob" hat da nämlich unterschiedliche Bedeutungen (vermutlich lässt
sich die Liste verlängern):

 (1) zum einen, nicht-freie Treiber, die direkt im Adressraum des Linux
   kernels ausgeführt werden (strenggenommen verletzen sie die GPL,
   aber die Linux-community ist da... "tolerant" [1]

 (2) dann ist die eng verwandte "Cousine", die im Kernel zwar einen
   freien "Treiber" hat, der aber nur eine Hülle ist, die die eigentliche
   Arbeit an ein Programm in user space delegiert, das proprietär ist

 (3) schliesslich ist es so, dass der Broadcom BCM28xx (oder BCM27xx) [2]
   nicht "nur eine ARM CPU" ist, sondern ganz viele verschiedene
   Subsysteme umfasst (im Jargon ist das ein SoC, ein "System on a Chip").
   Jedes dieser Subsysteme hat vielleicht einen, vielleicht mehrere
   Prozessoren, am prominentesten beim Raspi ist wohl der Grafik-Coprozessor
   (VideoCore IV), der auch zum Booten des ganzen Systems zuständig ist.
   Auch die wollen Code, der auch als Blobs in Erscheinung treten kann,
   die der Linux-Kernel einfach nur durchreicht.

Also: ohne (3) gibt es beim Raspi nicht mal Booten ;-)

Meines Wissens ist Raspi in (1) und (2) weitgehend "sauber" (Korrekturen
erwünscht!), (3) ist allerdings weitaus schwieriger (es gibt m.W. aber
auch Leute, die an dessen reverse engineering dran sind).

Broadcom selbst scheint, nach anfänglichem Zögern, diesen Anstrengungen
freundlich gegenüberzustehen.

Dies alles mit etwas Fehlermarge, da ich schon lange nicht mehr
reingeschaut habe. Ergänzungen also willkommen (dann lerne ich auch
was bei ;-)

lg

[1] Ein Thema für sich, an dem, wie mensch sich das auch denken
   kann, so einige Kontroversen entstehen.

[2] https://en.wikipedia.org/wiki/Raspberry_Pi
-

If anybody is interested I would try to translate it.

Best wishes,

Rudolf
___
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] [OT] rasperry 4

2019-06-25 Thread Henri Menke
On 25/06/2019, 09:15:43, luigi scarso wrote:
> On Tue, Jun 25, 2019 at 12:15 AM Henri Menke  wrote:
> 
> > On 25/06/19 12:30 AM, luigi scarso wrote:
> > > just seen
> > > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/
> > >
> > > I would like to know your impressions
> >
> > Does it still need proprietary binary blobs in the kernel?
> 
> 
> dunno
> 

From the page you linked:

Raspberry Pi packages
[...]
- linux-firmware-raspi2 - GPU firmware bootloader files and pi 3 wifi 
firmware file
- linux-raspi2 (linux-image-raspi2) - Linux kernel with patches from 
https://github.com/raspberrypi/linux
- u-boot-rpi - Provides u-boot.bin
- flash-kernel - Automatically copies the latest kernel, dtb file and 
u-boot script to the pi's fat formatted GPU firmware partition 

So yes, there is a whole bunch of non-free stuff required to even boot
the system.

> 
> >
> > so it is as useless as all the models before because it can only
> > run their custom Raspbian distro.
> >
> 
> 
> https://wiki.ubuntu.com/ARM/RaspberryPi
> 18.04.2 both 32bit and 64bit work
> 
> -- 
> 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
> ___

___
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] [OT] rasperry 4

2019-06-25 Thread luigi scarso
On Tue, Jun 25, 2019 at 9:15 AM luigi scarso  wrote:

>
>
> https://wiki.ubuntu.com/ARM/RaspberryPi
> 18.04.2 both 32bit and 64bit work
>
>
I mean in raspberry 3B & 3B+,
pi4 is slightly different :
https://www.element14.com/community/docs/DOC-92641/l/raspberry-pi-4-model-b-frequently-asked-questions-faq
but I expect that ubuntu will run ok
-- 
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] [OT] rasperry 4

2019-06-25 Thread luigi scarso
On Tue, Jun 25, 2019 at 12:15 AM Henri Menke  wrote:

> On 25/06/19 12:30 AM, luigi scarso wrote:
> > just seen
> > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/
> >
> > I would like to know your impressions
>
> Does it still need proprietary binary blobs in the kernel?


dunno


>
> so it is as useless as all the models before because it can only
> run their custom Raspbian distro.
>


https://wiki.ubuntu.com/ARM/RaspberryPi
18.04.2 both 32bit and 64bit work

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