Re: [NTG-context] issue with images in frames

2019-10-17 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 17.10.2019 um 21:51:

Dear list,

I have the following sample:

 \setupexternalfigures[location=default]
 \starttext
 \startxtable[option={stretch, width}]
 \startxrow
 \startxcell
 \dontleavehmode\dorecurse{100}{
 \externalfigure[cow.pdf][scale=50] }
 \stopxcell
 \startxcell
 \input zapf
 \stopxcell
 \stopxrow
 \stopxtable
 \stoptext

Some time ago, there were no difference between images and text
remaining inside the frame.


Not a solution but closer to the problem.

Commenting the \local(left|right)box settings brings the line breaks back.

\everyforgetall\emptytoks

\appendtoks
    \localleftbox {}%
    \localrightbox{}%
\to \everyforgetall

\setupexternalfigures[location=default]

\starttext

\vbox
  {\dontleavehmode
   \dorecurse{100}
 {\externalfigure[cow.pdf][scale=50] }}

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


[NTG-context] issue with images in frames

2019-10-17 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setupexternalfigures[location=default]
\starttext
\startxtable[option={stretch, width}]
\startxrow
\startxcell
\dontleavehmode\dorecurse{100}{
\externalfigure[cow.pdf][scale=50] }
\stopxcell
\startxcell
\input zapf
\stopxcell
\stopxrow
\stopxtable
\stoptext

Some time ago, there were no difference between images and text
remaining inside the frame.

Have I hit a bug or what am I missing there?

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] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Hans Hagen

On 10/17/2019 6:36 PM, Rudolf Bahr wrote:

On Thu, Oct 17, 2019 at 06:23:23PM +0200, Hans Hagen wrote:

On 10/17/2019 5:40 PM, Rudolf Bahr wrote:


On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote:

On 10/17/2019 5:02 PM, Rudolf Bahr wrote:


Hi All,

after a new First-setup from "https://www.contextgarden.net/First-setup;
I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun 
--generate"
and got

i just installed the windows version from scratch and that works ok (done
twice to be sure)

Hans



I'm running linux-64 and lua5.3. Sorry, I forgot to tell you.
WLS works ok here and is also 64 bit linux (the latest luatex is indeed 
lua 5.3 (if your cache is still 5.2 you might want to wipe the cache)


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] lmtx and Asana Math

2019-10-17 Thread Hans Hagen

On 10/17/2019 6:55 PM, Otared Kavian wrote:

Hi Hans,

Today I noticed that the OT font Asana math was absent from my installation of 
lmtx, that is from

/context-osx-64/tex/texmf/fonts/opentype/public

and that was the reason I kept obtaining in my documents different script fonts 
from the ones I have with mkiv.
I copied the font into

/context-osx-64/tex/texmf/fonts/opentype/public/Asana-Math

and after erasing the cache and making the formats, everything works as 
expected now.
So my question is: can this font be included in the distribution of lmtx so 
that one doesn't need to manually add it? Or should one install it somewhere 
else on one's machine?
Is Asana really worth the effort? Aren't the texgyre math fonts a better 
match?


Concerning Lucida (mentioned earlier) ... buying that font from tug is a 
real bargain: very complete (serif, sans, mono, math) and it's also nice 
looking.


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 and Asana Math

2019-10-17 Thread Otared Kavian
Hi Hans,

Today I noticed that the OT font Asana math was absent from my installation of 
lmtx, that is from

/context-osx-64/tex/texmf/fonts/opentype/public

and that was the reason I kept obtaining in my documents different script fonts 
from the ones I have with mkiv.
I copied the font into

/context-osx-64/tex/texmf/fonts/opentype/public/Asana-Math

and after erasing the cache and making the formats, everything works as 
expected now.
So my question is: can this font be included in the distribution of lmtx so 
that one doesn't need to manually add it? Or should one install it somewhere 
else on one's machine?

Thank you for everything,
Best regards: Otared
___
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] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Rudolf Bahr
On Thu, Oct 17, 2019 at 06:23:23PM +0200, Hans Hagen wrote:
> On 10/17/2019 5:40 PM, Rudolf Bahr wrote:
> > 
> > On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote:
> > > On 10/17/2019 5:02 PM, Rudolf Bahr wrote:
> > > > 
> > > > Hi All,
> > > > 
> > > > after a new First-setup from "https://www.contextgarden.net/First-setup;
> > > > I added new fonts to "~/context/tex/texmf-local/fonts", then run: 
> > > > "mtxrun --generate"
> > > > and got
> i just installed the windows version from scratch and that works ok (done
> twice to be sure)
> 
> Hans


I'm running linux-64 and lua5.3. Sorry, I forgot to tell you.

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] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Hans Hagen

On 10/17/2019 6:23 PM, Hans Hagen wrote:

On 10/17/2019 5:40 PM, Rudolf Bahr wrote:


On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote:

On 10/17/2019 5:02 PM, Rudolf Bahr wrote:


Hi All,

after a new First-setup from 
"https://www.contextgarden.net/First-setup;
I added new fonts to "~/context/tex/texmf-local/fonts", then run: 
"mtxrun --generate"

and got
i just installed the windows version from scratch and that works ok 
(done twice to be sure)

installation (of mkiv) on wls (windows linux subsystem) also works ok

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] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Hans Hagen

On 10/17/2019 5:40 PM, Rudolf Bahr wrote:


On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote:

On 10/17/2019 5:02 PM, Rudolf Bahr wrote:


Hi All,

after a new First-setup from "https://www.contextgarden.net/First-setup;
I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun 
--generate"
and got
i just installed the windows version from scratch and that works ok 
(done twice to be sure)


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] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Rudolf Bahr

On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote:
> On 10/17/2019 5:02 PM, Rudolf Bahr wrote:
> > 
> > Hi All,
> > 
> > after a new First-setup from "https://www.contextgarden.net/First-setup;
> > I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun 
> > --generate"
> > and got
> > 
> > "resolvers   | resolving | warning: no lua configuration files found"
> > 
> > 
> > Please, what is to be done in this case?
> > 
> > status_of_update.lua: ["date"]="2019-10-17 13:16:50",
> does
> 
>   mtxrun --generate
> 
> something useful?
> 
> Hans


I append the output of mtxrun --generate here.
I hope it's doing something useful.

The next step: mtxrun --script fonts --reload
writes one line:

"mtxrun  | unknown script 'fonts.lua' or 'mtx-fonts.lua'"

Rudolf
sam@nanu:~/context$ mtxrun --generate
resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/home/sam/context/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to '/home/sam/context'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to '/home/sam'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to 
'/home/sam/context/tex/texmf'
resolvers   | resolving | variable 'TEXOS' set to 'context'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf-dist/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf-dist/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf-dist/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf-dist/web2c,selfautodir:/texmf/web2c,$SELFAUTOGRANDPARENT/texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf-dist/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf-dist/web2c,selfautoparent:/texmf/web2c}'
resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on weird path 
'/home/sam/context/bin' from specification 'selfautoloc:'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/bin/share/texmf-local/web2c' from specification 
'selfautoloc:/share/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/bin/share/texmf-dist/web2c' from specification 
'selfautoloc:/share/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/bin/share/texmf/web2c' from specification 
'selfautoloc:/share/texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/bin/texmf-local/web2c' from specification 
'selfautoloc:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/bin/texmf-dist/web2c' from specification 
'selfautoloc:/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/bin/texmf/web2c' from specification 
'selfautoloc:/texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on weird path 
'/home/sam/context' from specification 'selfautodir:'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/share/texmf-local/web2c' from specification 
'selfautodir:/share/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/share/texmf-dist/web2c' from specification 
'selfautodir:/share/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/share/texmf/web2c' from specification 
'selfautodir:/share/texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/texmf-local/web2c' from specification 
'selfautodir:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/texmf-dist/web2c' from specification 
'selfautodir:/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context/texmf/web2c' from specification 'selfautodir:/texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'$SELFAUTOGRANDPARENT/texmf-local/web2c' from specification 
'$SELFAUTOGRANDPARENT/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on weird path 
'/home/sam' from specification 'selfautoparent:'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 

Re: [NTG-context] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Hans Hagen

On 10/17/2019 5:02 PM, Rudolf Bahr wrote:


Hi All,

after a new First-setup from "https://www.contextgarden.net/First-setup;
I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun 
--generate"
and got

"resolvers   | resolving | warning: no lua configuration files found"


Please, what is to be done in this case?

status_of_update.lua: ["date"]="2019-10-17 13:16:50",

does

  mtxrun --generate

something useful?

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] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Rudolf Bahr

Hi All,

after a new First-setup from "https://www.contextgarden.net/First-setup;
I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun 
--generate"
and got

"resolvers   | resolving | warning: no lua configuration files found"


Please, what is to be done in this case?

status_of_update.lua: ["date"]="2019-10-17 13:16:50",

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] Unexpected symbol with Enumeration

2019-10-17 Thread Otared Kavian
Hi Aditya,Thanks for your hint: I didn't know that subtelty about Lucida OT (and I don't know how to set it up when using Lucida OT).That being said, actually what I would like to use is the kind of script font which is the attached document (those script fonts were widely used in higher mathematics textbooks in France). So when I use mkiv the result is the one I like and is attached to this message (test-scriptfonts-mkiv.pdf). However, thanks to your message I went to check, and noticed that lmtx does not give the same math script fonts, and I don't know what has changed between mkiv and lmtx regarding Asana Math, or the way in which fallback fonts are managed (please see the attached file test-scriptfonts-lmtx.pdf).Thanks for your help: OtaredPS: this the the file test-scriptfonts.tex: Some Font Definitions\definefallbackfamily[myfont][math][Asana Math]	[range={uppercasescript,lowercasescript}]% lucida font\definefontfamily[myfont][serif][Lucida Bright OT]\definefontfamily[myfont][math][LucidaBrightMathOT]\definefontfamily[myfont][sans][LucidaSansOT]\definefontfamily[myfont][mono][LucidaSansTypewriterOT]%\setupbodyfont[myfont,10pt]%% End of Font Definitions%%\starttext\startbuffer[test]Testing script fonts in maths\startformulax^2 + y^2 = z^2, \quad \sin(a)^2 + \cos(b)^2 = 1.\stopformula\startformula\cal{A}, \quad \cal{B}, \quad \cal{C}, \quad \cal{D},\quad \cal{E},\quad \cal{F},\quad \cal{G},\quad \cal{H},\quad \cal{K},\quad \cal{L},\quad \cal{M},\quad \cal{P},\quad \cal{S},\quad \cal{T}\stopformula\hairline\stopbuffer\switchtobodyfont[lucidaot]{\bf Lucida OT: }\getbuffer[test]\switchtobodyfont[myfont]{\bf Lucida OT with Asana Math: }\getbuffer[test]\stoptext

test-scriptfonts-mkiv.pdf
Description: Adobe PDF document


test-scriptfonts-lmtx.pdf
Description: Adobe PDF document
On 17 Oct 2019, at 08:00, Aditya Mahajan  wrote:On Wed, 16 Oct 2019, Otared Kavian wrote:I use Lucida OT fonts for all my documents, but since I prefer the script fonts from another font I have the following setups for my font:OT: Do you use this to get a less cursive script font?Lucida (like many opentype math fonts) comes with two stylistic variants for script letters. The default is the cursive variant, but you can get the less cursive variant using ss04 stylistic set. See page 8 ofhttps://tug.org/store/lucida/lucidaot.pdfAditya___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-contextwebpage  : http://www.pragma-ade.nl / http://context.aanhet.netarchive  : 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] Unexpected symbol with Enumeration

2019-10-17 Thread Aditya Mahajan

On Wed, 16 Oct 2019, Otared Kavian wrote:

I use Lucida OT fonts for all my documents, but since I prefer the 
script fonts from another font I have the following setups for my font:


OT: Do you use this to get a less cursive script font?

Lucida (like many opentype math fonts) comes with two stylistic 
variants for script letters. The default is the cursive variant, but you 
can get the less cursive variant using ss04 stylistic set. See page 8 of

https://tug.org/store/lucida/lucidaot.pdf

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
___