Re: [NTG-context] The same Table, im Math Modus?

2023-03-23 Thread Ursula Hermann via ntg-context
Dear Yanrui,


many thanks, works great.


Uschi


Von: ntg-context  im Auftrag von Li Yanrui (李延瑞) 
via ntg-context 
Gesendet: Donnerstag, 23. März 2023 01:56:07
An: mailing list for ConTeXt users
Cc: Li Yanrui (李延瑞)
Betreff: Re: [NTG-context] The same Table, im Math Modus?



Ursula Hermann via ntg-context mailto:ntg-context@ntg.nl>> 
于2023年3月21日周二 20:45写道:

I’d like to do a Table lik this one
[enter image description here]
I have no example. How can I do that?


You can use xtable, e.g.

\startxtable[frame=off,width=1cm,align=center]
\startxrow[bottomframe=on,frameoffset=1pt]
\startxcell[rightframe=on,frameoffset=1pt] $1$ \stopxcell
\startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $2$ \stopxcell
\startxcell[leftframe=on,frameoffset=1pt] $3$ \stopxcell
\stopxrow
\startxrow[topframe=on,bottomframe=on,frameoffset=1pt]
\startxcell[rightframe=on,frameoffset=1pt] $4$ \stopxcell
\startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $5$ \stopxcell
\startxcell[leftframe=on,frameoffset=1pt] $6$ \stopxcell
\stopxrow
\startxrow[topframe=on,frameoffset=1pt]
\startxcell[rightframe=on,frameoffset=1pt] $7$ \stopxcell
\startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $8$ \stopxcell
\startxcell[leftframe=on,frameoffset=1pt] $9$ \stopxcell
\stopxrow
\stopxtable

--
Best regards,

Li Yanrui
___
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] The same Table, im Math Modus?

2023-03-21 Thread Ursula Hermann via ntg-context
Von: Ursula Hermann
Gesendet: Montag, 13. März 2023 12:51
An: 'mailing list for ConTeXt users' 
Betreff: Table

I'd like to do a Table lik this one, is this possible with Math Modus?
[enter image description here]
I have no example. How can I do that?

Many thanks
Uschi


Von: Ursula Hermann
Gesendet: Montag, 13. März 2023 12:51
An: 'mailing list for ConTeXt users' 
Betreff: Table

I'd like to do a Table lik this one
[enter image description here]
I have no example. How can I do that?

Many thanks
Uschi
___
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] Table

2023-03-13 Thread Ursula Hermann via ntg-context
Dear Mikael!

Many thanks, that works great!

Uschi

Von: ntg-context  Im Auftrag von Mikael Sundqvist 
via ntg-context
Gesendet: Montag, 13. März 2023 14:16
An: mailing list for ConTeXt users 
Cc: Mikael Sundqvist 
Betreff: Re: [NTG-context] Table

Hi Uschi,

On Mon, Mar 13, 2023 at 1:03 PM Ursula Hermann via ntg-context 
mailto:ntg-context@ntg.nl>> wrote:
I’d like to do a Table lik this one
[enter image description here]
I have no example. How can I do that?

Many thanks
Uschi

There are probably better ways, but this seems to give something like what you 
look for:

\starttext

\setupTABLE[c][align=middle]
\setupTABLE[c][odd][width=2em]
\setupTABLE[c][even][width=1mm]
\setupTABLE[r][2][height=1mm]
\setupTABLE[c][1][leftframe=off]
\setupTABLE[c][5][rightframe=off]

\bTABLE
  \bTR
\bTD 1 \eTD \bTD \eTD \bTD 2 \eTD \bTD \eTD \bTD 3 \eTD
  \eTR
  \bTR
\bTD   \eTD \bTD \eTD \bTD   \eTD \bTD \eTD \bTD   \eTD
  \eTR
  \bTR
\bTD 4 \eTD \bTD \eTD \bTD 5 \eTD \bTD \eTD \bTD 6 \eTD
  \eTR
  \bTR
\bTD 7 \eTD \bTD \eTD \bTD 8 \eTD \bTD \eTD \bTD 9 \eTD
  \eTR
\eTABLE

\stoptext

/Mikael
___
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] Table

2023-03-13 Thread Ursula Hermann via ntg-context
I'd like to do a Table lik this one
[enter image description here]
I have no example. How can I do that?

Many thanks
Uschi
___
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] Double Lines

2023-01-02 Thread Ursula Hermann via ntg-context
Dear List,
The following example is from the mailing list:

I would like to have double vertical Lines with $\Vert instead of \VL, and also 
\HL.

How can I do this with an Math Modus?
\setupcolors[state=start]
\starttext
\null\vskip15ex
\hskip1em\framed[orientation=90,frame=off]{\bf
Region}\blank\vskip-25.5ex
\starttable[|c|l|r|r|r|r|r|r|r|]
\DC \DC \DL[7] \DR
\NC \NC \VL \use{7}\ReFormat[cB]{Years} \VL \AR
\DC \DC \DL[7] \DR
\NC \NC \VL \ReFormat[cB]{$<1$} \VL \ReFormat[cB]{$1-2$} \VL
\ReFormat[cB]{$3-4$} \VL \ReFormat[cB]{$5-9$} \VL \ReFormat[cB]{$10-14$}
\VL \ReFormat[cB]{$15+$} \VL \ReFormat[cB]{Total} \VL \AR
\HL
%\VL \offset[y=8ex]{\framed[orientation=90,frame=off]{\bf Region}}
\VL East \VL 32 \VL 54 \VL 59 \VL 112 \VL 77 \VL 118 \VL 452 \VL \AR
\VL \null\hskip2em\null \VL {\bf East} \VL 32 \VL 54 \VL 59 \VL 112
\VL 77 \VL 118 \VL 452 \VL \AR
\VL \VL {\bf Midwest} \VL 31 \VL 68 \VL 68 \VL 120 \VL 63 \VL 173
\VL 523 \VL \AR
\VL \VL {\bf South} \VL 53 \VL 92 \VL 93 \VL 158 \VL 106 \VL 158
\VL 660 \VL \AR
\VL \VL {\bf West} \VL 41 \VL 56 \VL 67 \VL 78 \VL 45 \VL 86 \VL
373 \VL \AR
\DC \DL[8] \DR
\VL \VL {\bf Total} \VL 157 \VL 270 \VL 287 \VL 468 \VL 291 \VL 535
\VL 2008 \VL \AR
\HL
\stoptable
\stoptext

Many Thanks
Uschi
___
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] Writing Tabular with \Vert

2022-12-21 Thread Ursula Hermann via ntg-context
Dear List,
In this tabular I wanted to set \Vert. But when I compile it,
\starttable
  \bTD \Vert r1c1\Vert
  \bTD \bf r1c2 \eTD
  \bTD \bf r1c3 \eTD
  \bTD \bf r1c4 \eTD
\eTR
\bTR
  \bTD r2c1 \eTD
  \bTD r2c2 \eTD
  \bTD[nr=2] r2c3 \eTD
  \bTD r2c4 \eTD
\eTR
\bTR
  \bTD r3c1 \eTD
  \bTD r3c2 \eTD
  \bTD r3c4 \eTD
\eTR
\bTR
  \bTD r4c1 \eTD
  \bTD r4c2 \eTD
  \bTD[nr=3] r4c3 \eTD
  \bTD[nr=3] r4c4 \eTD
\eTR
\bTR
  \bTD r5c1 \eTD
  \bTD r5c2 \eTD
\eTR
\bTR
  \bTD r6c1 \eTD
  \bTD r6c2 \eTD
\eTR
\stoptable

I get this :
Command Line:   C:\texlive\2022\bin\win32\context.exe --synctex=1 "Tabular.tex"
Startup Folder: C:\texlive\My Documents\My Documents


resolvers   | formats | executing runner 'run luatex format': 
C:/texlive/2022/bin/win32/luatex --jobname="Tabular" 
--fmt=C:/texlive/2022/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt
 
--lua=C:/texlive/2022/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui
 cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./Tabular.tex" 
--c:input="./Tabular.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="1" 
--c:texmfbinpath="C:/texlive/2022/bin/win32"
This is LuaTeX, Version 1.15.0 (TeX Live 2022)
 system commands enabled.
open source > level 1, order 1, name 
'C:/texlive/2022/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv'
system  >
system  > ConTeXt  ver: 2021.03.05 19:11 MKIV  fmt: 2022.10.11  int: 
english/english
system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'C:/texlive/2022/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'C:/texlive/2022/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'Tabular', input './Tabular', result 'Tabular'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
system  > synctex functionality is enabled, expect 5-10 pct runtime 
overhead!
open source > level 2, order 3, name 'C:/texlive/My Documents/My 
Documents/Tabular.tex'
fonts   > beware: no fonts are loaded yet, using 'lm mono' in box

tex error   > tex error on line 2 in file C:/texlive/My Documents/My 
Documents/Tabular.tex: ! Use of \csname\endcsname doesn't match its definition


\tabl_table_restart_indeed #1->\gdef \tabl_table_restart 
{#1}\tabl_table_restart \tabl_table_insert_head

 \ifsplittables \ifconditional 
\c_tabl_table_repeat_tail \tablenoalign {\goodbreak }\tabl_table_insert_tail 
\tablenoalign {\goodbreak }\fi \fi

\bTD
l.2   \bTD
 \Vert r1c1\Vert

1 \starttable
 2 >>\bTD \Vert r1c1\Vert
3   \bTD \bf r1c2 \eTD
4   \bTD \bf r1c3 \eTD
5   \bTD \bf r1c4 \eTD
6 \eTR
7 \bTR
8   \bTD r2c1 \eTD
9   \bTD r2c2 \eTD
10   \bTD[nr=2] r2c3 \eTD
11   \bTD r2c4 \eTD
12 \eTR

mtx-context | fatal error: return code: 1
How can I write it in the right way?
Uschi


_

ConTeXt Compilation Report (Pages: 0)

Errors: 1   Warnings: 0   Bad Boxes: 0

___
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] Is this possible to do the same

2022-12-12 Thread Ursula Hermann via ntg-context
Dear Gavin!
Many thanks for your Mail.

Uschi

Von: ntg-context  im Auftrag von Gavin via 
ntg-context 
Gesendet: Montag, 12. Dezember 2022 16:48:52
An: mailing list for ConTeXt users
Cc: Gavin
Betreff: Re: [NTG-context] Is this possible to do the same

Hi Uschi,

I use the MetaFun features of ConTeXt to cross out stuff.

% Cancel command for use in equations.
\startuniqueMPgraphic{cross out}
  picture cross;
  cross := image(draw (0,0)--(1,1); draw (0,1)--(1,0););
  draw cross xscaled \overlaywidth yscaled \overlayheight withpen pencircle 
scaled .8pt ;
\stopuniqueMPgraphic

\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]

\define[1]\cancel{%
  \ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
  \else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
  \fi%
}

\starttext

\dots E.g.~$\cancel{x+ {-x}}$. Works in \cancel{text}, too.

\stoptext

I do not have all of the features of the “cancel” package, but it works for a 
simple cross out. Change the MetaPost code to a single slash, if that is what 
you want, by removing either one of the draw commands.

Hope that helps. If you need more features, I’d might be able to help you 
implement them.

Gavin


> On Dec 12, 2022, at 8:21 AM, Ursula Hermann via ntg-context 
>  wrote:
>
> Dear List!
>  Sorry, but my pdf was too big.
> So I send a little picture. I would like to know, if there is a 
> modus in ConTeXt like the same in LaTeX. I found this on page 108,  Chapter 3 
> Math symbos LaTeX Compherensive list.
> Many thanks
> Uschi  
> ___
> 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
___


[NTG-context] Is this possible to do the same

2022-12-12 Thread Ursula Hermann via ntg-context
Dear List!

Sorry, but my pdf was too big.
So I send a little picture.
[cid:image001.jpg@01D90E45.CE727480]

I would like to know, if there is a modus in ConTeXt like the same in LaTeX. I 
found this on page 108,  Chapter 3 Math symbos LaTeX Compherensive list.
Many thanks
Uschi

___
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] Floating Figure in framed-environment

2022-10-19 Thread Ursula Hermann via ntg-context
Dear Oliver, 

maybe something like this? 
This is my example: 
\starttext

\setuppapersize
  [A5]

\setupexternalfigures
  [location=default]

\setupindenting
  [yes, small]

\setupwhitespace
  [small]

\defineframedtext
  [prettyblock]
  [width=10cm,
   indenting={yes, small},
   background=color, backgroundcolor=lightgreen,
   foreground=color, foregroundcolor=black,
   offset=2mm,
   align=flushleft]

\starttext

\startprettyblock
\setupindenting[next]
  The Earth, as a habitat for animal life, is in old age and has a fatal
  illness. Several, in fact.

  It would be happening whether humans had ever evolved or not.

  \placefigure
[][fig:church]
{Stephanus Church.}
{\externalfigure[ma-cb-24][width=.4\textwidth]}

\stopprettyblock
\setupindenting[next]
Below, we have two separate columns; but up here, for the nonce, we have but
the one.

\startcolumns [n=2]
  Text, text, text \dots
  all in the first column
\column
  Words, words, words \dots
  all in the second column.
  And look ye here! Even more words!
\stopcolumns

\stoptext

Many regards
Uschi 

-Ursprüngliche Nachricht-
Von: ntg-context  Im Auftrag von Oliver Sieber via 
ntg-context
Gesendet: Mittwoch, 19. Oktober 2022 11:31
An: ntg-context@ntg.nl
Cc: Oliver Sieber 
Betreff: [NTG-context] Floating Figure in framed-environment

Dear ConTeXt Users

I am relatively new to context and I am suffering with a problem with the 
framed environment.

I want to use a framed textbox for Definitions in my script. I also want to use 
floating figures.  But this does not work and I haven’t found out why. Maybe I 
totally use it the wrong way. I would appreciate if someone could help me or 
has a tipp.

Here is an example code, where the figure does not behave as expected, i.e. the 
figure is behind the text:

\starttext
\framed[corner=round, rulethickness=2pt, width=\textwidth, align=flushleft, 
offset=1em,background=color,framecolor=black]
{{\bf Definition: Hello World} \blank[medium] 

\placefigure[right, none]{This is an example of a logo.}{\externalfigure[dummy]}

Carrot cake tiramisu lollipop dragée lollipop marshmallow carrot cake sweet 
pastry. Tiramisu danish jelly tootsie roll tart gummi bears. Carrot cake chupa 
chups cake wafer lemon drops lemon drops tiramisu. Chocolate lemon drops sugar 
plum cheesecake jelly beans sugar plum. Tootsie roll cupcake jujubes pie 
chocolate bar bear claw chupa chups shortbread. Candy candy canes jelly-o jelly 
beans sugar plum muffin danish donut. Bonbon lemon drops powder jujubes 
marshmallow biscuit halvah. Powder carrot cake caramels chocolate cake carrot 
cake jelly-o. Topping danish tootsie roll gummi bears oat cake jujubes. Sweet 
candy canes cotton candy pie topping. Jelly-o carrot cake ice cream lemon drops 
macaroon gummies lemon drops tiramisu chocolate cake. Cupcake sugar plum 
shortbread gummi bears tootsie roll. Chocolate cake sugar plum macaroon candy 
canes chocolate bar donut cake icing tootsie roll.
}
\stoptext


Best regards
Oli
___
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] My little example

2022-10-19 Thread Ursula Hermann via ntg-context
Dear List,
Maybe someone can need this.

Uschi


file1.tex
Description: file1.tex
___
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] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-09-07 Thread Ursula Hermann via ntg-context
I got the same Mail. 
Uschi Hermann

-Ursprüngliche Nachricht-
Von: ntg-context  Im Auftrag von Jeong Dal via 
ntg-context
Gesendet: Mittwoch, 07. September 2022 16:27
An: mailing list for ConTeXt users 
Cc: Jeong Dal 
Betreff: Re: [NTG-context] Cron  
/var/www/aanhet.net/context/bin/cron/context-mirror

Dear Taco,

The following mail came every hour since a few days ago.
But I don’t get any other mail from the list.
I think that there is something wrong between my mail system and the server.
However, I don’t know how to solve it.

Would you please tell me what to do?

Thank you.

Best regards,

Dalyoung


> On Sep 7, 2022, at 9:03 PM, Cron Daemon via ntg-context  
> wrote:
> 
> rsync: failed to connect to rsync.pragma-ade.nl (213.125.29.165): 
> Connection timed out (110) rsync error: error in socket IO (code 10) 
> at clientserver.c(125) [Receiver=3.1.2] 
> __
> _ 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] After Compiling the Test, which usualy works perfect

2022-03-08 Thread Ursula Hermann via ntg-context
Dear Hans,
Thank you for your answer. So what should I do? 
Uschi

-Ursprüngliche Nachricht-
Von: ntg-context  Im Auftrag von Hans Hagen via 
ntg-context
Gesendet: Dienstag, 08. März 2022 15:50
An: Ursula Hermann via ntg-context 
Cc: Hans Hagen 
Betreff: Re: [NTG-context] After Compiling the Test, which usualy works perfect

On 3/8/2022 3:35 PM, Ursula Hermann via ntg-context wrote:
> Dear List,
> 
> I have Windows 10, and WinEdt 10.3., actual verison.
> 
> I wanted to do the test, but only I got this, after compiling:
> 
> Command Line:   C:\texlive\2021\bin\win32\context.exe --synctex=-1 
> "context-test.tex"
> 
> Startup Folder: 
> C:\Users\Hermann\Downloads\cont-tmf\tex\context\test\mkiv
> 
> mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'
did you mix texlive with the lmtx install?


-
   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
___
___
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] After Compiling the Test, which usualy works perfect

2022-03-08 Thread Ursula Hermann via ntg-context
Dear List,

I have Windows 10, and WinEdt 10.3., actual verison.

I wanted to do the test, but only I got this, after compiling:

Command Line:   C:\texlive\2021\bin\win32\context.exe --synctex=-1 
"context-test.tex"
Startup Folder: C:\Users\Hermann\Downloads\cont-tmf\tex\context\test\mkiv

mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'


_

ConTeXt Compilation Report (Pages: 0)

Errors: 0   Warnings: 0   Bad Boxes: 0

What is wrong here?
Uschi Hermann
___
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] What’s wrong with installation?

2022-03-08 Thread Ursula Hermann via ntg-context
Dear List, 
I can't make the installation context-mswin.zip, too. 
Uschi Hermann 

-Ursprüngliche Nachricht-
Von: ntg-context  Im Auftrag von Henning Hraban 
Ramm via ntg-context
Gesendet: Montag, 07. März 2022 12:48
An: mailing list for ConTeXt users 
Cc: Henning Hraban Ramm 
Betreff: [NTG-context] What’s wrong with installation?

Hi, I just tried to install a new instance of LMTX without success.

"""
$ unzip -l *.zip
Archive:  context-osx-64.zip
   Length  DateTimeName
-  -- -   
 0  03-05-2019 22:50   bin/
 19082  01-21-2022 20:13   bin/mtx-install.lua
693184  01-21-2022 20:13   bin/mtxrun.lua
  3910  01-21-2022 20:13   install.sh
   2725900  01-21-2022 20:13   bin/mtxrun
 24047  01-21-2022 20:13   installation.pdf
- ---
   3466123 6 files


$ sh install.sh
mtx-install | provide valid server and instance

cp: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun: No such file or 
directory
cp: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-context/scripts/context/lua/mtxrun.lua: 
No such file or directory
cp: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-context/scripts/context/lua/mtx-install.lua:
 
No such file or directory

If you want to run ConTeXt everywhere, you need to adapt the path, like:

   export PATH=/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin:$PATH

If you run from an editor you can specify the full path to mtxrun:

   /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun
--autogenerate --script context --autopdf ...

The following settings were used:

   server   : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
   instance : install-lmtx
   extras   :
   ownpath  : /Users/hraban/lmtx_2022-03-07
   platform : osx-64


$ ./bin/mtxrun --script ./bin/mtx-install.lua --update 
--server=lmtx.contextgarden.net --instance=install-lmtx
--platform=osx-64 --extras=all
mtx-install | provide valid server and instance
"""

Same result if I omit --server and --instance, since they default to the same.

In mtx-install.lua, line 489 "local server = false" overwrites the previously 
set server variable.

If I comment this line, I get:

"""
$ ./bin/mtxrun --script ./bin/mtx-install.lua --update --platform=osx-64 
--extras=all
mtx-install | server   : 
lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl
mtx-install | instance : install-lmtx
mtx-install | platform : osx-64
mtx-install | system   : unix
mtx-install | invalid database 
'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf-context.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf-osx-64.tma'
mtx-install | current  : %S
mtx-install | target   : %S
mtx-install | removing : mtxrun
mtx-install | removing : context
mtx-install | copied   : mtxrun
mtx-install | copied   : context
mtx-install | running: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun --generate
sh: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun: No such file or 
directory
mtx-install | running: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/context --make en
sh: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/context: No such file or 
directory
mtx-install |
mtx-install |
mtx-install | ConTeXt LMTX with LuaMetaTeX is still experimental and 
when you get a crash this
mtx-install | can be due to a mismatch between Lua bytecode and the 
engine. In that case you can
mtx-install | try the following:
mtx-install |
mtx-install |   - wipe the texmf-cache directory
mtx-install |   - run: mtxrun --generate
mtx-install |   - run: context --make
mtx-install |
mtx-install | When that doesn't solve the problem, ask on the 
mailing list (ntg-context@ntg.nl).
mtx-install |
mtx-install | update, done
"""

The "invalid database" lines don’t look good. If I give an explicit 
--server=lmtx.contextgarden.net, I still get the same error:

"""
mtx-install | invalid database 
'http://lmtx.contextgarden.net/install-lmtx//tex/texmf.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net/install-lmtx//tex/texmf-context.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net/install-lmtx//tex/texmf-osx-64.tma'
"""

What’s wrong?

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

Re: [NTG-context] No formula in the pdf (Ursula Hermann)

2021-09-01 Thread Ursula Hermann via ntg-context
Dear Thierry!

The reason was, that i forgot \stoptext at the end

Uschi


Von: ntg-context  im Auftrag von Thierry Horsin via 
ntg-context 
Gesendet: Mittwoch, 1. September 2021 14:01
An: ntg-context@ntg.nl
Cc: Thierry Horsin
Betreff: Re: [NTG-context] No formula in the pdf (Ursula Hermann)

Hi Ursula,
I tried your formula.
The reason might be because you have two \starttext...
Thierry
___
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] No formula in the pdf

2021-09-01 Thread Ursula Hermann via ntg-context
Dear Hans,

thank you.


Uschi



Von: ntg-context  im Auftrag von Hans Hagen via 
ntg-context 
Gesendet: Mittwoch, 1. September 2021 13:07
An: Ursula Hermann via ntg-context
Cc: Hans Hagen
Betreff: Re: [NTG-context] No formula in the pdf

On 9/1/2021 12:30 PM, Ursula Hermann via ntg-context wrote:
> Dear List
>
>
> I have the following example.
>
> \setuppapersize[A4]
> \mainlanguage[de]
> \starttext
> Wir können sogar die gesamte Matrix A über ihre Einträge mit Hilfe der
> Indizes definieren, indem wir schreiben
> \startformula
>A_{ij}=5i
> \stopformula
> \starttext
^^ \stoptext


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl<http://www.pragma-ade.nl> | 
www.pragma-pod.nl<http://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
___
___
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] No formula in the pdf

2021-09-01 Thread Ursula Hermann via ntg-context
Dear List


I have the following example.

\setuppapersize[A4]
\mainlanguage[de]
\starttext
Wir können sogar die gesamte Matrix A über ihre Einträge mit Hilfe der Indizes 
definieren, indem wir schreiben
\startformula
  A_{ij}=5i
\stopformula
\starttext


Why is there no formula in the pdf?

And is that right with A{ij}


After compiling i get the following

Command Line:   context.exe --synctex=-1 "Example1.tex"
Startup Folder: C:\Users\Administrator\Documents\My Documents
resolvers   | formats | executing runner 'run luatex format': 
C:/texlive/2020/bin/win32/luatex --jobname="Example1" 
--fmt=C:/texlive/2020/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt
 
--lua=C:/texlive/2020/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui
 cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./Example1.tex" 
--c:input="./Example1.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" 
--c:texmfbinpath="C:/texlive/2020/bin/win32"
This is LuaTeX, Version 1.12.0 (TeX Live 2020/W32TeX)
 system commands enabled.
open source > level 1, order 1, name 
'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv'
system  >
system  > ConTeXt  ver: 2020.03.10 14:44 MKIV beta  fmt: 2021.1.18  
int: english/english
system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'Example1', input './Example1', result 
'Example1'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
system  > synctex functionality is enabled, expect 5-10 pct runtime 
overhead!
open source > level 2, order 3, name 'C:/Users/Administrator/Documents/My 
Documents/Example1.tex'
modules > 'amsl' is not found
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
backend > xmp > using file 
'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml'
pages   > flushing realpage 1, userpage 1, subpage 1
close source> level 2, order 3, name 'C:/Users/Administrator/Documents/My 
Documents/Example1.tex'
close source> level 1, order 3, name 
'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv'

mkiv lua stats  > used config file: 
selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: 
C:/texlive/2020/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9
mkiv lua stats  > resource resolver: loadtime 0.165 seconds, 1 scans with 
scantime 0.003 seconds, 0 shared scans, 12 found files, scanned paths: 
C:/Users/Administrator/.texlive2020/texmf-config
mkiv lua stats  > stored bytecode data: 450 modules (0.395 sec), 93 tables 
(0.013 sec), 543 chunks (0.408 sec)
mkiv lua stats  > traced context: maxstack: 1398, freed: 0, unreachable: 1398
mkiv lua stats  > cleaned up reserved nodes: 56 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 11 attribute, 4 attribute_list, 1 glue, 51 
glue_spec, 3 kern, 2 penalty, 2 temp, 2 user_defined
mkiv lua stats  > node list callback tasks: 8 unique task lists, 7 instances 
(re)created, 39 calls
mkiv lua stats  > synctex tracing: 2 referenced files, 4 files ignored, 5 
objects flushed, logfile: Example1.synctex
mkiv lua stats  > driver time: 0.134 seconds
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: internal: 136, file: 144, direct: 2, late: 6, 
function 507, total: 795
mkiv lua stats  > randomizer: resumed with value 0.087860107421875
mkiv lua stats  > positions: 2 collected, 2 regular, 0 special
mkiv lua stats  > loaded tex modules: 1 requested, all missing (*-amsl)
mkiv lua stats  > result saved in file: Example1.pdf, compresslevel 3, 
objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, 
lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 7 instances, 3 
shared in backend, 3 common vectors, 0 common hashes, load time 0.208 seconds
mkiv lua stats  > used platform: mswin, type: windows, binary subtree: bin
mkiv lua stats  > used engine: luatex version: 1.12, functionality level: 7306, 
banner: this is luatex, version 1.12.0 (tex live 2020/w32tex)
mkiv lua stats  > control sequences: 45874 of 65536 + 10
mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 125 MB, ctx: 
124 MB, max: unknown MB, hash chars: min(32,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.813 seconds, 1 processed pages, 1