[NTG-context] Bug in context

2023-05-13 Thread Lutz Haseloff via ntg-context
Hi Hans, hi all,

I mainly use ConTeXt in a server environment. So I am a friend of the console.
I found a small problem there.
When I invoke context with parameter --ansi,
the logfile remains empty.
I tried Linux aarch64 and Windows64.

Greetings Lutz___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Math Formula Alignment

2023-02-24 Thread Lutz Haseloff via ntg-context

Thank you Hans!

Alignment works again as expected and documented in the Wiki.

Greetings Lutz

Am 23.02.2023 um 14:53 schrieb Hans Hagen via ntg-context:

On 2/18/2023 3:04 PM, Mikael Sundqvist via ntg-context wrote:

Hi,

On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context
 wrote:


Hi Hans, hi all,

the alignment of formulas seems broken:

\setuppapersize[A5]
\starttext
\setuplayout[textwidth=8cm]
\setupformulas[align=left]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=left]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\stoptext

All formulas are centered with ConTeXt ver: 2023.02.14 17:44 LMTX

Greetings Lutz


Indeed, but align=flushleft and align=flushright seems to work.

i'll add the aliases

-
  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 / 
https://www.ntg.nl/mailman/listinfo/ntg-context

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


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Math Formula Alignment

2023-02-18 Thread Lutz Haseloff via ntg-context


 
 
   
   
Hi Hans, hi all,

   
 

   
the alignment of formulas seems broken:

   
 

   
\setuppapersize[A5]
\starttext
\setuplayout[textwidth=8cm]
\setupformulas[align=left]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=left]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\stoptext

   
 

   
All formulas are centered with ConTeXt ver: 2023.02.14 17:44 LMTX

   
 

   
Greetings Lutz

   
 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] What's the current method for using a variable font in Context and Metapost?

2023-01-20 Thread Lutz Haseloff via ntg-context
\starttext
Test Test

\definefont[bahnlight][name:bahnschriftlight*default]

\startMPcode
picture pic;
pic := thelabel(textext("\bahnlight This is Bahnschrift light in Metafont 
0123456789"), (0, 0));
draw pic;
\stopMPcode

\stoptext

Am 20. Januar 2023 18:28:23 MEZ schrieb Guido Bartolucci via ntg-context 
:
>And how do you set the light variation?
>
>On Fri, Jan 20, 2023 at 2:08 AM Lutz Haseloff via ntg-context <
>ntg-context@ntg.nl> wrote:
>
>> Hi Guido,
>>
>>
>> this works here:
>>
>> \starttext
>> Test Test
>>
>> \usemodule[fonts-variable]
>> \definefontfamily [mainface] [ss] [bahnschrift]
>> \setupbodyfont[mainface]
>>
>> \ss 123456789 Wild! \medskip
>>
>> \startMPcode
>> picture pic;
>> pic := thelabel(textext("\ss This is in Metafont 0123456789"), (0, 0));
>> draw pic;
>> \stopMPcode
>>
>>
>> Greetings Lutz
>>
>>
>> Am 20.01.2023 um 00:38 schrieb Guido Bartolucci via ntg-context:
>> > I haven't been able to find working examples. Here is some sample
>> > code. I would really like to be able to use the light variation of
>> > this DIN-like font.
>> >
>> > \usemodule[fonts-variable]
>> > \definefontfamily [mainface] [ss] [bahnschrift]
>> > \setupbodyfont[mainface]
>> >
>> > \starttext
>> > \ss 123456789 Wild! \medskip
>> >
>> > \startMPcode
>> > picture pic;
>> > pic := thelabel("This is in Metafont 0123456789", (0, 0));
>> > draw pic;
>> > \stopMPcode
>> >
>> > \stoptext
>> >
>> >
>> ___
>> > If your question is of interest to others as well, please add an entry
>> to the Wiki!
>> >
>> > maillist : ntg-context@ntg.nl /
>> https://www.ntg.nl/mailman/listinfo/ntg-context
>> > webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
>> > archive  : https://bitbucket.org/phg/context-mirror/commits/
>> > wiki : https://contextgarden.net
>> >
>> ___
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> https://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : https://contextgarden.net
>>
>> ___
>>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] What's the current method for using a variable font in Context and Metapost?

2023-01-19 Thread Lutz Haseloff via ntg-context

Hi Guido,


this works here:

\starttext
Test Test

\usemodule[fonts-variable]
\definefontfamily [mainface] [ss] [bahnschrift]
\setupbodyfont[mainface]

\ss 123456789 Wild! \medskip

\startMPcode
picture pic;
pic := thelabel(textext("\ss This is in Metafont 0123456789"), (0, 0));
draw pic;
\stopMPcode


Greetings Lutz


Am 20.01.2023 um 00:38 schrieb Guido Bartolucci via ntg-context:
I haven't been able to find working examples. Here is some sample 
code. I would really like to be able to use the light variation of 
this DIN-like font.


\usemodule[fonts-variable]
\definefontfamily [mainface] [ss] [bahnschrift]
\setupbodyfont[mainface]

\starttext
\ss 123456789 Wild! \medskip

\startMPcode
picture pic;
pic := thelabel("This is in Metafont 0123456789", (0, 0));
draw pic;
\stopMPcode

\stoptext

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] zint module on LMTX

2022-03-25 Thread Lutz Haseloff via ntg-context
Hi all,

with the new upload, for me on Win64 the zint module does not work yet.

>cmd /c context test.tex && start sumatrapdf test.pdf

test.log:

resolvers   | formats | executing runner 'run luametatex format': 
C:/context/tex/texmf-win64/bin/luametatex --jobname="./test.tex" 
--fmt=C:/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
 
--lua=C:/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
  --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" 
--c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="C:/context/tex/texmf-win64/bin"
system  >
system  > ConTeXt  ver: 2022.03.24 21:18 LMTX  fmt: 2022.3.25  int: 
english/english
system  >
system  > 'cont-new.mkxl' loaded
open source > level 1, order 1, name 
'C:/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 1, order 1, name 
'C:/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system  > files > jobname './test', input './test.tex', result './test'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 1, order 2, name './test.tex'
modules > using user prefixed file 'libs-imp-zint'
modules > 'zint' is loaded
open source > level 2, order 3, name 
'C:/context/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl'
resolvers   > lua > loading file 
'C:/context/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.lmt' succeeded
close source> level 2, order 3, name 
'C:/context/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl'
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
error (lmt library): unable to load 
'C:/context/tex/texmf-win64/bin/lib/luametatex/zint/libzint.dll', quitting

mtx-context | fatal error: return code: 1
>Exit code: 1


Greetings Lutz

Am 17. März 2022 16:26:21 MEZ schrieb Pablo Rodriguez via ntg-context 
:
>On 3/16/22 22:32, Pablo Rodriguez via ntg-context wrote:
>> [...]
>> On Windows, I need to check the issue further.
>
>Using latest binary from SF (which is Win32, btw), I get the following
>error message:
>
>  error (lmt library): unable to load 'D:/utilidades/context/tex/
>texmf-win64/bin/lib/luametatex/zint/libzint.dll', quitting
>
>  mtx-context | fatal error: return code: 1
>
>So, latest version in Windows breaks compilation on my computer.
>
>What am I doing wrong?
>
>Many thanks for your help,
>
>Pablo
>___
>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
___