ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \dorecurse{}{} problem
       [not found] <mailman.1115.1600696248.1164.ntg-context@ntg.nl>
@ 2020-09-21 14:07 ` Jeong Dal
  2020-09-21 14:35   ` Aditya Mahajan
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jeong Dal @ 2020-09-21 14:07 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 13590 bytes --]

Hi,

I tried to make a table using \dorecurse or \doloop as in the example.
There is no error but \recurselevel is not increased, all are 0 in the first example and only two rows are created with the \recurselevel 0 and 2 only in the second example.

Does the tabulate cause the error?
What is wrong in this MWE?

Thank you for reading.

Best regards,

Dalyoung

*****
\startbuffer[AdjacencyList1]
\starttabulate[|c|cw(2cm)|]
\HL
\dorecurse{8}
   {\NC \recurselevel \NC \NC\NR \HL}
\stoptabulate
\stopbuffer

\startbuffer[AdjacencyList2]
\starttabulate[|c|cw(2cm)|]
\HL
\doloop{
   \ifnum \recurselevel=7
      \exitloop
   \fi
   \NC \recurselevel \NC \NC\NR \HL
}
\stoptabulate
\stopbuffer

\starttext
\getbuffer[AdjacencyList1]

\getbuffer[AdjacencyList2]
\stoptext

> 2020. 9. 21. 오후 10:50, ntg-context-request@ntg.nl 작성:
> 
> Send ntg-context mailing list submissions to
> 	ntg-context@ntg.nl
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mailman.ntg.nl/mailman/listinfo/ntg-context
> or, via email, send a message with subject or body 'help' to
> 	ntg-context-request@ntg.nl
> 
> You can reach the person managing the list at
> 	ntg-context-owner@ntg.nl
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
> 
> 
> Today's Topics:
> 
>   1. Parallel text support (Denis Maier)
>   2. Re: Parallel text support (Taco Hoekwater)
>   3. Re: ZapfDingbats Unicode differences MKIV vs LMTX
>      (Christoph Reller)
>   4. Re: ZapfDingbats Unicode differences MKIV vs LMTX (Hans Hagen)
>   5. Math fonts for Nimbus fonts (Otared Kavian)
>   6. Re: 2020 Meeting recordings? (Taco Hoekwater)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 21 Sep 2020 12:21:37 +0200
> From: Denis Maier <denis.maier.lists@mailbox.org>
> To: ntg-context@ntg.nl
> Subject: [NTG-context] Parallel text support
> Message-ID: <780fe43c-f2c3-6ea1-04f5-d4d5c22e7d4a@mailbox.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Hi,
> 
> I'm trying to typeset a parallel text that should appear in columns. The 
> sources are XML, and there I have to use tables for this. So, I thought 
> the easiest way is to use extreme tables for this:
> 
> =========================
> \starttext
> 
> \dorecurse{3}{\input knuth}
> 
> \startxtable[split=yes,frame=off]
> \startxrow
> \startxcell Text \stopxcell
> \startxcell Übersetzung \stopxcell
> \stopxrow
> \startxrow
> \startxcell \input ward \stopxcell
> \startxcell \input tufte \stopxcell
> \stopxrow
> \stopxtable
> 
> \stoptext
> =========================
> 
> However, as it turns out, split only seems to mean that the table is 
> split between rows, individual rows stay on the same page.
> 
> Is there a better approach? I've found the page-streams, but that seems 
> to be too much...
> 
> Best,
> Denis
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 21 Sep 2020 13:58:11 +0200
> From: Taco Hoekwater <taco@elvenkind.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Parallel text support
> Message-ID: <A451CEA9-C30B-4980-AAAE-235CA940A56B@elvenkind.com>
> Content-Type: text/plain;	charset=utf-8
> 
> 
> 
>> On 21 Sep 2020, at 12:21, Denis Maier <denis.maier.lists@mailbox.org> wrote:
>> 
>> 
>> However, as it turns out, split only seems to mean that the table is split between rows, individual rows stay on the same page.
>> 
>> Is there a better approach? I've found the page-streams, but that seems to be too much…
> 
> \starttabulate
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 21 Sep 2020 14:55:02 +0200
> From: Christoph Reller <christoph.reller@gmail.com>
> To: Hans Hagen <j.hagen@xs4all.nl>
> Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs
> 	LMTX
> Message-ID:
> 	<CAO8LnPHJ5Ykp5HyFz2MXDM-+04AJ_uADarwunmPseDafmgOOng@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> On Sat, Sep 19, 2020 at 12:04 PM Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
>> On 9/19/2020 6:18 AM, Christoph Reller wrote:
>>> On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen <j.hagen@xs4all.nl
>>> <mailto:j.hagen@xs4all.nl>> wrote:
>>> 
>>>    On 9/18/2020 11:23 AM, Christoph Reller wrote:
>>> 
>> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats]
>>>> \usemodule [fnt-10]
>>>> \starttext
>>>> (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char 
>>>> (U+0F033) in font 'ZapfDingbats-4' with id 8: missing
>>>> (2) \getglyphdirect{ZapfDingbats}{983059}     % LMTX log: char 󰀓
>>>> (U+F0013) in font 'ZapfDingbats-4' with id 8: missing
>>>> \ShowCompleteFont{name:ZapfDingbats}{14pt}{1}
>>>> \stoptext
>>>> 
>>>    Dingbats are old school t1 without proper names so we can't use
>>>    unicodes. However, there is a goodie that should do that so that in
>>>    principle it should work with unicodes but there is some interference
>>>    going on (i'll look at that)
>>> 
>>>    For nwo access by 'name' or 'index' (these are kind of stable for
>> such
>>>    an old font):
>>> 
>>>           n:a34  : \getglyph{ZapfDingbats}{\tochar{n:a34}}  \par
>>>           n:a35  : \getglyph{ZapfDingbats}{\tochar{n:a35}}  \par
>>>           i:48   : \getglyph{ZapfDingbats}{\tochar{i:48}}   \par
>>>           i:49   : \getglyph{ZapfDingbats}{\tochar{i:49}}   \par
>>>           n:a104 : \getglyph{ZapfDingbats}{\tochar{n:a104}} \par
>>>           n:a105 : \getglyph{ZapfDingbats}{\tochar{n:a105}} \par
>>> 
>>> Thank you Hans!
>>> Access by glyph index with \tochar{i:19} works well for both MKIV and
>>> LMTX. Access by name with \tochar{n:a39} does not work in LMTX with log
>>> message: char ✓ (U+02713) in font 'ZapfDingbats-4' with id 8: missing.
>>> Also \ShowCompleteFont does not report any glyph names in LMTX.
>> should be a bit better in yesterdays upload (i also changed the file
>> name alias so that in pinciple unicode should work too)
> 
> 
> Dear Hans,
> 
> Thank you for working on this. I have tried version 2020.09.20: Unicode
> input works for the "Private Use Area" Unicodes reported in
> \ShowCompleteFont. Such Unicodes are, however, not desirable. Moreover, in
> MKIV, a Unicode U+2713 (Check Mark) in the input did produce the
> ZapfDingbats check, e.g. as follows:
> 
> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats]
> \definefont[zapfdingbats][ZapfDingbats]
> \starttext
> {\zapfdingbats ✓}
> \definedfont[name:ZapfDingbats]✓
> \stoptext
> 
> I still get no check mark in the output PDF and a log message "char ✓
> (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the font
> wrongly?
> (This has not a high priority for me, because I have the unified access by
> glyph index.)
> 
> Christoph
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200921/22867c74/attachment-0001.htm>
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 21 Sep 2020 15:27:49 +0200
> From: Hans Hagen <j.hagen@xs4all.nl>
> To: Christoph Reller <christoph.reller@gmail.com>
> Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs
> 	LMTX
> Message-ID: <ff4b944c-e94a-b3c1-a0bc-980f0e7bbd67@xs4all.nl>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> On 9/21/2020 2:55 PM, Christoph Reller wrote:
> 
>> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats]
> 
> I don't know what the previous line does ... but it works ok here when 
> you remove it.
> 
>> \definefont[zapfdingbats][ZapfDingbats]
>> \starttext
>> {\zapfdingbats ✓}
>> \definedfont[name:ZapfDingbats]✓
>> \stoptext
>> 
>> I still get no check mark in the output PDF and a log message "char ✓ 
>> (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the 
>> font wrongly?
>> (This has not a high priority for me, because I have the unified access 
>> by glyph index.)
>> 
>> Christoph
>> 
> 
> 
> -- 
> 
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 21 Sep 2020 15:30:46 +0200
> From: Otared Kavian <otared@gmail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: [NTG-context] Math fonts for Nimbus fonts
> Message-ID: <E9C147F4-8910-46F2-B80E-4874A628FB57@gmail.com>
> Content-Type: text/plain;	charset=us-ascii
> 
> Hi,
> 
> I wish to use the Nimbus fonts, but since I didn't know which Math fonts is best adapted to this family, I tried several fonts such as Stix Math, TeX Gyre Math, and so on, but doing this the math-italic does not appear in these fonts: does this mean that I have to set explicitely math-italic in definefontfamily?
> 
> Also what is the best math font adapted for Nimbus?
> 
> Below is my definition of a fontfamily for Nimbus fonts.
> 
> Thanks in advance for any help: Otared K
> 
> %% begin definefontfamily-nimbus.tex
> \definefontfamily [mainface] [rm] [Nimbus Roman No9 L]
> \definefontfamily [mainface] [ss] [Nimbus Sans L] [rscale=0.85]
> \definefontfamily [mainface] [tt] [Nimbus Mono] [features=none,rscale=0.95]
> \definefontfamily [mainface] [mm] [STIX Math]
> 
> %\definefontfamily [mainface] [mm] [Asana Math]
> %\definefontfamily [mainface] [mm] [Lucida Bright Math OT]
> %\definefontfamily [mainface] [mm] [TeX Gyre Termes Math]
> %\definefontfamily [mainface] [mm] [XITSMath]
> 
> \setupmathematics[integral=nolimits,lcgreek=normal,default=normal]
> 
> 
> \setupbodyfont[mainface]
> 
> \starttext
> 
> {\rm\tf Regular \it Italic \bf Bold \bi BoldItalic}
> 
> {\ss\tf Regular \it Italic \bf Bold \bi BoldItalic}
> 
> {\tt\tf Regular \it Italic \bf Bold \bi BoldItalic}
> 
> And here are a few math formulas $\alpha^2 + \beta^2 + \gamma^2 = x^2 + y^2 + t^2$.
> \startformula
> \int_{0}^{2\pi} \sin(x)dx = 0, 
> \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, 
> \qquad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2 \over 6}.
> \stopformula
> 
> \stoptext
> %% end definefontfamily-nimbus.tex
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 21 Sep 2020 15:50:12 +0200
> From: Taco Hoekwater <taco@elvenkind.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] 2020 Meeting recordings?
> Message-ID: <B77A12A2-53FA-4DAE-BADF-25F88683DFE3@elvenkind.com>
> Content-Type: text/plain;	charset=us-ascii
> 
> Hi,
> 
> Most of the available slides are now integrated with the abstracts page:
> 
> https://meeting.contextgarden.net/2020/abstracts.shtml
> 
> Best wishes,
> Taco
> 
>> On 17 Sep 2020, at 19:03, Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com> wrote:
>> 
>> So do I.
>> 
>> Marcus Vinicius 
>> 
>> On Thu, Sep 17, 2020, 13:07 Denis Maier <denis.maier.lists@mailbox.org> wrote:
>> Hi,
>> 
>> unfortunately, I wasn't able to come to this years meeting. Have the 
>> presentations and demos been recorded? I would very much like to watch 
>> some of those.
>> 
>> Best,
>> Denis
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
> 
> Taco Hoekwater
> Elvenkind BV
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 
> 
> ------------------------------
> 
> End of ntg-context Digest, Vol 195, Issue 56
> ********************************************


[-- Attachment #1.2: Type: text/html, Size: 23319 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \dorecurse{}{} problem
  2020-09-21 14:07 ` \dorecurse{}{} problem Jeong Dal
@ 2020-09-21 14:35   ` Aditya Mahajan
  2020-09-21 14:40     ` Wolfgang Schuster
  2020-09-21 14:40   ` Jairo A. del Rio
  2020-09-21 14:40   ` Otared Kavian
  2 siblings, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2020-09-21 14:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 21 Sep 2020, Jeong Dal wrote:

> Hi,
> 
> I tried to make a table using \dorecurse or \doloop as in the example.
> There is no error but \recurselevel is not increased, all are 0 in the first example and only two rows are created with the \recurselevel 0 and 2 only in the second example.
> 
> Does the tabulate cause the error?
> What is wrong in this MWE?

\dorecurse does not expand its arguments. See this old blog post for a discussion on this:

https://adityam.github.io/context-blog/post/tex-programming/

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \dorecurse{}{} problem
  2020-09-21 14:07 ` \dorecurse{}{} problem Jeong Dal
  2020-09-21 14:35   ` Aditya Mahajan
@ 2020-09-21 14:40   ` Jairo A. del Rio
  2020-09-21 14:40   ` Otared Kavian
  2 siblings, 0 replies; 9+ messages in thread
From: Jairo A. del Rio @ 2020-09-21 14:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 14395 bytes --]

Hi,
Using ##1 instead of \recurselevel makes it work in this specific case if
you want a quick and dirty solution. It seems to be a thing with nesting,
as using #1 complains. I'd prefer the solutions as shown by Aditya:
constructing tables via Lua, etc.

Regards,
Jairo



El lun., 21 de sep. de 2020 a la(s) 09:16, Jeong Dal (haksan@me.com)
escribió:

> Hi,
>
> I tried to make a table using \dorecurse or \doloop as in the example.
> There is no error but \recurselevel is not increased, all are 0 in the
> first example and only two rows are created with the \recurselevel 0 and 2
> only in the second example.
>
> Does the tabulate cause the error?
> What is wrong in this MWE?
>
> Thank you for reading.
>
> Best regards,
>
> Dalyoung
>
> *****
> \startbuffer[AdjacencyList1]
> \starttabulate[|c|cw(2cm)|]
> \HL
> \dorecurse{8}
> {\NC \recurselevel \NC \NC\NR \HL}
> \stoptabulate
> \stopbuffer
>
> \startbuffer[AdjacencyList2]
> \starttabulate[|c|cw(2cm)|]
> \HL
> \doloop{
> \ifnum \recurselevel=7
> \exitloop
> \fi
> \NC \recurselevel \NC \NC\NR \HL
> }
> \stoptabulate
> \stopbuffer
>
> \starttext
> \getbuffer[AdjacencyList1]
>
> \getbuffer[AdjacencyList2]
> \stoptext
>
> 2020. 9. 21. 오후 10:50, ntg-context-request@ntg.nl 작성:
>
> Send ntg-context mailing list submissions to
> ntg-context@ntg.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mailman.ntg.nl/mailman/listinfo/ntg-context
> or, via email, send a message with subject or body 'help' to
> ntg-context-request@ntg.nl
>
> You can reach the person managing the list at
> ntg-context-owner@ntg.nl
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
>
>
> Today's Topics:
>
>   1. Parallel text support (Denis Maier)
>   2. Re: Parallel text support (Taco Hoekwater)
>   3. Re: ZapfDingbats Unicode differences MKIV vs LMTX
>      (Christoph Reller)
>   4. Re: ZapfDingbats Unicode differences MKIV vs LMTX (Hans Hagen)
>   5. Math fonts for Nimbus fonts (Otared Kavian)
>   6. Re: 2020 Meeting recordings? (Taco Hoekwater)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 21 Sep 2020 12:21:37 +0200
> From: Denis Maier <denis.maier.lists@mailbox.org>
> To: ntg-context@ntg.nl
> Subject: [NTG-context] Parallel text support
> Message-ID: <780fe43c-f2c3-6ea1-04f5-d4d5c22e7d4a@mailbox.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Hi,
>
> I'm trying to typeset a parallel text that should appear in columns. The
> sources are XML, and there I have to use tables for this. So, I thought
> the easiest way is to use extreme tables for this:
>
> =========================
> \starttext
>
> \dorecurse{3}{\input knuth}
>
> \startxtable[split=yes,frame=off]
> \startxrow
> \startxcell Text \stopxcell
> \startxcell Übersetzung \stopxcell
> \stopxrow
> \startxrow
> \startxcell \input ward \stopxcell
> \startxcell \input tufte \stopxcell
> \stopxrow
> \stopxtable
>
> \stoptext
> =========================
>
> However, as it turns out, split only seems to mean that the table is
> split between rows, individual rows stay on the same page.
>
> Is there a better approach? I've found the page-streams, but that seems
> to be too much...
>
> Best,
> Denis
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 21 Sep 2020 13:58:11 +0200
> From: Taco Hoekwater <taco@elvenkind.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Parallel text support
> Message-ID: <A451CEA9-C30B-4980-AAAE-235CA940A56B@elvenkind.com>
> Content-Type: text/plain; charset=utf-8
>
>
>
> On 21 Sep 2020, at 12:21, Denis Maier <denis.maier.lists@mailbox.org>
> wrote:
>
>
> However, as it turns out, split only seems to mean that the table is split
> between rows, individual rows stay on the same page.
>
> Is there a better approach? I've found the page-streams, but that seems to
> be too much…
>
>
> \starttabulate
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 21 Sep 2020 14:55:02 +0200
> From: Christoph Reller <christoph.reller@gmail.com>
> To: Hans Hagen <j.hagen@xs4all.nl>
> Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs
> LMTX
> Message-ID:
> <CAO8LnPHJ5Ykp5HyFz2MXDM-+04AJ_uADarwunmPseDafmgOOng@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On Sat, Sep 19, 2020 at 12:04 PM Hans Hagen <j.hagen@xs4all.nl> wrote:
>
> On 9/19/2020 6:18 AM, Christoph Reller wrote:
>
> On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen <j.hagen@xs4all.nl
> <mailto:j.hagen@xs4all.nl>> wrote:
>
>    On 9/18/2020 11:23 AM, Christoph Reller wrote:
>
> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats]
>
> \usemodule [fnt-10]
> \starttext
> (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char 
> (U+0F033) in font 'ZapfDingbats-4' with id 8: missing
> (2) \getglyphdirect{ZapfDingbats}{983059}     % LMTX log: char 󰀓
> (U+F0013) in font 'ZapfDingbats-4' with id 8: missing
> \ShowCompleteFont{name:ZapfDingbats}{14pt}{1}
> \stoptext
>
>    Dingbats are old school t1 without proper names so we can't use
>    unicodes. However, there is a goodie that should do that so that in
>    principle it should work with unicodes but there is some interference
>    going on (i'll look at that)
>
>    For nwo access by 'name' or 'index' (these are kind of stable for
>
> such
>
>    an old font):
>
>           n:a34  : \getglyph{ZapfDingbats}{\tochar{n:a34}}  \par
>           n:a35  : \getglyph{ZapfDingbats}{\tochar{n:a35}}  \par
>           i:48   : \getglyph{ZapfDingbats}{\tochar{i:48}}   \par
>           i:49   : \getglyph{ZapfDingbats}{\tochar{i:49}}   \par
>           n:a104 : \getglyph{ZapfDingbats}{\tochar{n:a104}} \par
>           n:a105 : \getglyph{ZapfDingbats}{\tochar{n:a105}} \par
>
> Thank you Hans!
> Access by glyph index with \tochar{i:19} works well for both MKIV and
> LMTX. Access by name with \tochar{n:a39} does not work in LMTX with log
> message: char ✓ (U+02713) in font 'ZapfDingbats-4' with id 8: missing.
> Also \ShowCompleteFont does not report any glyph names in LMTX.
>
> should be a bit better in yesterdays upload (i also changed the file
> name alias so that in pinciple unicode should work too)
>
>
>
> Dear Hans,
>
> Thank you for working on this. I have tried version 2020.09.20: Unicode
> input works for the "Private Use Area" Unicodes reported in
> \ShowCompleteFont. Such Unicodes are, however, not desirable. Moreover, in
> MKIV, a Unicode U+2713 (Check Mark) in the input did produce the
> ZapfDingbats check, e.g. as follows:
>
> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats]
> \definefont[zapfdingbats][ZapfDingbats]
> \starttext
> {\zapfdingbats ✓}
> \definedfont[name:ZapfDingbats]✓
> \stoptext
>
> I still get no check mark in the output PDF and a log message "char ✓
> (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the font
> wrongly?
> (This has not a high priority for me, because I have the unified access by
> glyph index.)
>
> Christoph
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200921/22867c74/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 4
> Date: Mon, 21 Sep 2020 15:27:49 +0200
> From: Hans Hagen <j.hagen@xs4all.nl>
> To: Christoph Reller <christoph.reller@gmail.com>
> Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs
> LMTX
> Message-ID: <ff4b944c-e94a-b3c1-a0bc-980f0e7bbd67@xs4all.nl>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 9/21/2020 2:55 PM, Christoph Reller wrote:
>
> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats]
>
>
> I don't know what the previous line does ... but it works ok here when
> you remove it.
>
> \definefont[zapfdingbats][ZapfDingbats]
> \starttext
> {\zapfdingbats ✓}
> \definedfont[name:ZapfDingbats]✓
> \stoptext
>
> I still get no check mark in the output PDF and a log message "char ✓
> (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the
> font wrongly?
> (This has not a high priority for me, because I have the unified access
> by glyph index.)
>
> Christoph
>
>
>
> --
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 21 Sep 2020 15:30:46 +0200
> From: Otared Kavian <otared@gmail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: [NTG-context] Math fonts for Nimbus fonts
> Message-ID: <E9C147F4-8910-46F2-B80E-4874A628FB57@gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I wish to use the Nimbus fonts, but since I didn't know which Math fonts
> is best adapted to this family, I tried several fonts such as Stix Math,
> TeX Gyre Math, and so on, but doing this the math-italic does not appear in
> these fonts: does this mean that I have to set explicitely math-italic in
> definefontfamily?
>
> Also what is the best math font adapted for Nimbus?
>
> Below is my definition of a fontfamily for Nimbus fonts.
>
> Thanks in advance for any help: Otared K
>
> %% begin definefontfamily-nimbus.tex
> \definefontfamily [mainface] [rm] [Nimbus Roman No9 L]
> \definefontfamily [mainface] [ss] [Nimbus Sans L] [rscale=0.85]
> \definefontfamily [mainface] [tt] [Nimbus Mono] [features=none,rscale=0.95]
> \definefontfamily [mainface] [mm] [STIX Math]
>
> %\definefontfamily [mainface] [mm] [Asana Math]
> %\definefontfamily [mainface] [mm] [Lucida Bright Math OT]
> %\definefontfamily [mainface] [mm] [TeX Gyre Termes Math]
> %\definefontfamily [mainface] [mm] [XITSMath]
>
> \setupmathematics[integral=nolimits,lcgreek=normal,default=normal]
>
>
> \setupbodyfont[mainface]
>
> \starttext
>
> {\rm\tf Regular \it Italic \bf Bold \bi BoldItalic}
>
> {\ss\tf Regular \it Italic \bf Bold \bi BoldItalic}
>
> {\tt\tf Regular \it Italic \bf Bold \bi BoldItalic}
>
> And here are a few math formulas $\alpha^2 + \beta^2 + \gamma^2 = x^2 +
> y^2 + t^2$.
> \startformula
> \int_{0}^{2\pi} \sin(x)dx = 0,
> \qquad {\rm e}^{{\rm i}\pi} + 1 = 0,
> \qquad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2 \over 6}.
> \stopformula
>
> \stoptext
> %% end definefontfamily-nimbus.tex
>
> ------------------------------
>
> Message: 6
> Date: Mon, 21 Sep 2020 15:50:12 +0200
> From: Taco Hoekwater <taco@elvenkind.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] 2020 Meeting recordings?
> Message-ID: <B77A12A2-53FA-4DAE-BADF-25F88683DFE3@elvenkind.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> Most of the available slides are now integrated with the abstracts page:
>
> https://meeting.contextgarden.net/2020/abstracts.shtml
>
> Best wishes,
> Taco
>
> On 17 Sep 2020, at 19:03, Marcus Vinicius Mesquita <
> marcusvinicius.mesquita@gmail.com> wrote:
>
> So do I.
>
> Marcus Vinicius
>
> On Thu, Sep 17, 2020, 13:07 Denis Maier <denis.maier.lists@mailbox.org>
> wrote:
> Hi,
>
> unfortunately, I wasn't able to come to this years meeting. Have the
> presentations and demos been recorded? I would very much like to watch
> some of those.
>
> Best,
> Denis
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
>
> Taco Hoekwater
> Elvenkind BV
>
>
>
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
>
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>
>
> ------------------------------
>
> End of ntg-context Digest, Vol 195, Issue 56
> ********************************************
>
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 23313 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \dorecurse{}{} problem
  2020-09-21 14:35   ` Aditya Mahajan
@ 2020-09-21 14:40     ` Wolfgang Schuster
  2020-09-21 14:42       ` Aditya Mahajan
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2020-09-21 14:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan schrieb am 21.09.2020 um 16:35:
> On Mon, 21 Sep 2020, Jeong Dal wrote:
>
>> Hi,
>>
>> I tried to make a table using \dorecurse or \doloop as in the example.
>> There is no error but \recurselevel is not increased, all are 0 in the first example and only two rows are created with the \recurselevel 0 and 2 only in the second example.
>>
>> Does the tabulate cause the error?
>> What is wrong in this MWE?
> \dorecurse does not expand its arguments. See this old blog post for a discussion on this:
>
> https://adityam.github.io/context-blog/post/tex-programming/

\starttext

\starttabulate[|c|]
\dorecurse{8}{\NC ##1 \NC\NR}
\stoptabulate

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \dorecurse{}{} problem
  2020-09-21 14:07 ` \dorecurse{}{} problem Jeong Dal
  2020-09-21 14:35   ` Aditya Mahajan
  2020-09-21 14:40   ` Jairo A. del Rio
@ 2020-09-21 14:40   ` Otared Kavian
  2 siblings, 0 replies; 9+ messages in thread
From: Otared Kavian @ 2020-09-21 14:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Dalyoung,

I don't know why \recurselevel returns 0 inside a tabulate environment, but the following works fine:

\starttext
\startxtable[frame=off,bottomframe=on,width=1cm,align={middle,lohi}]
\startxrow\startxcell \stopxcell\stopxrow % just to have a line on the top of the first row
\dorecurse{8}
   {\startxrow\startxcell \recurselevel \stopxcell\stopxrow}
\stopxtable
\stoptext

Best regards: Otared K.

> On 21 Sep 2020, at 16:07, Jeong Dal <haksan@me.com> wrote:
> 
> Hi,
> 
> I tried to make a table using \dorecurse or \doloop as in the example.
> There is no error but \recurselevel is not increased, all are 0 in the first example and only two rows are created with the \recurselevel 0 and 2 only in the second example.
> 
> Does the tabulate cause the error?
> What is wrong in this MWE?
> 
> Thank you for reading.
> 
> Best regards,
> 
> Dalyoung
> 
> *****
> \startbuffer[AdjacencyList1]
> \starttabulate[|c|cw(2cm)|]
> \HL
> \dorecurse{8}
>    {\NC \recurselevel \NC \NC\NR \HL}
> \stoptabulate
> \stopbuffer
> 
> \startbuffer[AdjacencyList2]
> \starttabulate[|c|cw(2cm)|]
> \HL
> \doloop{
>    \ifnum \recurselevel=7
>       \exitloop
>    \fi
>    \NC \recurselevel \NC \NC\NR \HL
> }
> \stoptabulate
> \stopbuffer
> 
> \starttext
> \getbuffer[AdjacencyList1]
> 
> \getbuffer[AdjacencyList2]
> \stoptext
> 
>> 2020. 9. 21. 오후 10:50, ntg-context-request@ntg.nl 작성:
>> 
>> Send ntg-context mailing list submissions to
>> 	ntg-context@ntg.nl
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	https://mailman.ntg.nl/mailman/listinfo/ntg-context
>> or, via email, send a message with subject or body 'help' to
>> 	ntg-context-request@ntg.nl
>> 
>> You can reach the person managing the list at
>> 	ntg-context-owner@ntg.nl
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ntg-context digest..."
>> 
>> 
>> Today's Topics:
>> 
>>   1. Parallel text support (Denis Maier)
>>   2. Re: Parallel text support (Taco Hoekwater)
>>   3. Re: ZapfDingbats Unicode differences MKIV vs LMTX
>>      (Christoph Reller)
>>   4. Re: ZapfDingbats Unicode differences MKIV vs LMTX (Hans Hagen)
>>   5. Math fonts for Nimbus fonts (Otared Kavian)
>>   6. Re: 2020 Meeting recordings? (Taco Hoekwater)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Mon, 21 Sep 2020 12:21:37 +0200
>> From: Denis Maier <denis.maier.lists@mailbox.org>
>> To: ntg-context@ntg.nl
>> Subject: [NTG-context] Parallel text support
>> Message-ID: <780fe43c-f2c3-6ea1-04f5-d4d5c22e7d4a@mailbox.org>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> 
>> Hi,
>> 
>> I'm trying to typeset a parallel text that should appear in columns. The 
>> sources are XML, and there I have to use tables for this. So, I thought 
>> the easiest way is to use extreme tables for this:
>> 
>> =========================
>> \starttext
>> 
>> \dorecurse{3}{\input knuth}
>> 
>> \startxtable[split=yes,frame=off]
>> \startxrow
>> \startxcell Text \stopxcell
>> \startxcell Übersetzung \stopxcell
>> \stopxrow
>> \startxrow
>> \startxcell \input ward \stopxcell
>> \startxcell \input tufte \stopxcell
>> \stopxrow
>> \stopxtable
>> 
>> \stoptext
>> =========================
>> 
>> However, as it turns out, split only seems to mean that the table is 
>> split between rows, individual rows stay on the same page.
>> 
>> Is there a better approach? I've found the page-streams, but that seems 
>> to be too much...
>> 
>> Best,
>> Denis
>> 
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Mon, 21 Sep 2020 13:58:11 +0200
>> From: Taco Hoekwater <taco@elvenkind.com>
>> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>> Subject: Re: [NTG-context] Parallel text support
>> Message-ID: <A451CEA9-C30B-4980-AAAE-235CA940A56B@elvenkind.com>
>> Content-Type: text/plain;	charset=utf-8
>> 
>> 
>> 
>>> On 21 Sep 2020, at 12:21, Denis Maier <denis.maier.lists@mailbox.org> wrote:
>>> 
>>> 
>>> However, as it turns out, split only seems to mean that the table is split between rows, individual rows stay on the same page.
>>> 
>>> Is there a better approach? I've found the page-streams, but that seems to be too much…
>> 
>> \starttabulate
>> 
>> 
>> 
>> ------------------------------
>> 
>> Message: 3
>> Date: Mon, 21 Sep 2020 14:55:02 +0200
>> From: Christoph Reller <christoph.reller@gmail.com>
>> To: Hans Hagen <j.hagen@xs4all.nl>
>> Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
>> Subject: Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs
>> 	LMTX
>> Message-ID:
>> 	<CAO8LnPHJ5Ykp5HyFz2MXDM-+04AJ_uADarwunmPseDafmgOOng@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> On Sat, Sep 19, 2020 at 12:04 PM Hans Hagen <j.hagen@xs4all.nl> wrote:
>> 
>>> On 9/19/2020 6:18 AM, Christoph Reller wrote:
>>>> On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen <j.hagen@xs4all.nl
>>>> <mailto:j.hagen@xs4all.nl>> wrote:
>>>> 
>>>>    On 9/18/2020 11:23 AM, Christoph Reller wrote:
>>>> 
>>> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats]
>>>>> \usemodule [fnt-10]
>>>>> \starttext
>>>>> (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char 
>>>>> (U+0F033) in font 'ZapfDingbats-4' with id 8: missing
>>>>> (2) \getglyphdirect{ZapfDingbats}{983059}     % LMTX log: char 󰀓
>>>>> (U+F0013) in font 'ZapfDingbats-4' with id 8: missing
>>>>> \ShowCompleteFont{name:ZapfDingbats}{14pt}{1}
>>>>> \stoptext
>>>>> 
>>>>    Dingbats are old school t1 without proper names so we can't use
>>>>    unicodes. However, there is a goodie that should do that so that in
>>>>    principle it should work with unicodes but there is some interference
>>>>    going on (i'll look at that)
>>>> 
>>>>    For nwo access by 'name' or 'index' (these are kind of stable for
>>> such
>>>>    an old font):
>>>> 
>>>>           n:a34  : \getglyph{ZapfDingbats}{\tochar{n:a34}}  \par
>>>>           n:a35  : \getglyph{ZapfDingbats}{\tochar{n:a35}}  \par
>>>>           i:48   : \getglyph{ZapfDingbats}{\tochar{i:48}}   \par
>>>>           i:49   : \getglyph{ZapfDingbats}{\tochar{i:49}}   \par
>>>>           n:a104 : \getglyph{ZapfDingbats}{\tochar{n:a104}} \par
>>>>           n:a105 : \getglyph{ZapfDingbats}{\tochar{n:a105}} \par
>>>> 
>>>> Thank you Hans!
>>>> Access by glyph index with \tochar{i:19} works well for both MKIV and
>>>> LMTX. Access by name with \tochar{n:a39} does not work in LMTX with log
>>>> message: char ✓ (U+02713) in font 'ZapfDingbats-4' with id 8: missing.
>>>> Also \ShowCompleteFont does not report any glyph names in LMTX.
>>> should be a bit better in yesterdays upload (i also changed the file
>>> name alias so that in pinciple unicode should work too)
>> 
>> 
>> Dear Hans,
>> 
>> Thank you for working on this. I have tried version 2020.09.20: Unicode
>> input works for the "Private Use Area" Unicodes reported in
>> \ShowCompleteFont. Such Unicodes are, however, not desirable. Moreover, in
>> MKIV, a Unicode U+2713 (Check Mark) in the input did produce the
>> ZapfDingbats check, e.g. as follows:
>> 
>> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats]
>> \definefont[zapfdingbats][ZapfDingbats]
>> \starttext
>> {\zapfdingbats ✓}
>> \definedfont[name:ZapfDingbats]✓
>> \stoptext
>> 
>> I still get no check mark in the output PDF and a log message "char ✓
>> (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the font
>> wrongly?
>> (This has not a high priority for me, because I have the unified access by
>> glyph index.)
>> 
>> Christoph
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200921/22867c74/attachment-0001.htm>
>> 
>> ------------------------------
>> 
>> Message: 4
>> Date: Mon, 21 Sep 2020 15:27:49 +0200
>> From: Hans Hagen <j.hagen@xs4all.nl>
>> To: Christoph Reller <christoph.reller@gmail.com>
>> Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
>> Subject: Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs
>> 	LMTX
>> Message-ID: <ff4b944c-e94a-b3c1-a0bc-980f0e7bbd67@xs4all.nl>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> 
>> On 9/21/2020 2:55 PM, Christoph Reller wrote:
>> 
>>> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats]
>> 
>> I don't know what the previous line does ... but it works ok here when 
>> you remove it.
>> 
>>> \definefont[zapfdingbats][ZapfDingbats]
>>> \starttext
>>> {\zapfdingbats ✓}
>>> \definedfont[name:ZapfDingbats]✓
>>> \stoptext
>>> 
>>> I still get no check mark in the output PDF and a log message "char ✓ 
>>> (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the 
>>> font wrongly?
>>> (This has not a high priority for me, because I have the unified access 
>>> by glyph index.)
>>> 
>>> Christoph
>>> 
>> 
>> 
>> -- 
>> 
>> -----------------------------------------------------------------
>>                                           Hans Hagen | PRAGMA ADE
>>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>> -----------------------------------------------------------------
>> 
>> 
>> ------------------------------
>> 
>> Message: 5
>> Date: Mon, 21 Sep 2020 15:30:46 +0200
>> From: Otared Kavian <otared@gmail.com>
>> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>> Subject: [NTG-context] Math fonts for Nimbus fonts
>> Message-ID: <E9C147F4-8910-46F2-B80E-4874A628FB57@gmail.com>
>> Content-Type: text/plain;	charset=us-ascii
>> 
>> Hi,
>> 
>> I wish to use the Nimbus fonts, but since I didn't know which Math fonts is best adapted to this family, I tried several fonts such as Stix Math, TeX Gyre Math, and so on, but doing this the math-italic does not appear in these fonts: does this mean that I have to set explicitely math-italic in definefontfamily?
>> 
>> Also what is the best math font adapted for Nimbus?
>> 
>> Below is my definition of a fontfamily for Nimbus fonts.
>> 
>> Thanks in advance for any help: Otared K
>> 
>> %% begin definefontfamily-nimbus.tex
>> \definefontfamily [mainface] [rm] [Nimbus Roman No9 L]
>> \definefontfamily [mainface] [ss] [Nimbus Sans L] [rscale=0.85]
>> \definefontfamily [mainface] [tt] [Nimbus Mono] [features=none,rscale=0.95]
>> \definefontfamily [mainface] [mm] [STIX Math]
>> 
>> %\definefontfamily [mainface] [mm] [Asana Math]
>> %\definefontfamily [mainface] [mm] [Lucida Bright Math OT]
>> %\definefontfamily [mainface] [mm] [TeX Gyre Termes Math]
>> %\definefontfamily [mainface] [mm] [XITSMath]
>> 
>> \setupmathematics[integral=nolimits,lcgreek=normal,default=normal]
>> 
>> 
>> \setupbodyfont[mainface]
>> 
>> \starttext
>> 
>> {\rm\tf Regular \it Italic \bf Bold \bi BoldItalic}
>> 
>> {\ss\tf Regular \it Italic \bf Bold \bi BoldItalic}
>> 
>> {\tt\tf Regular \it Italic \bf Bold \bi BoldItalic}
>> 
>> And here are a few math formulas $\alpha^2 + \beta^2 + \gamma^2 = x^2 + y^2 + t^2$.
>> \startformula
>> \int_{0}^{2\pi} \sin(x)dx = 0, 
>> \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, 
>> \qquad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2 \over 6}.
>> \stopformula
>> 
>> \stoptext
>> %% end definefontfamily-nimbus.tex
>> 
>> ------------------------------
>> 
>> Message: 6
>> Date: Mon, 21 Sep 2020 15:50:12 +0200
>> From: Taco Hoekwater <taco@elvenkind.com>
>> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>> Subject: Re: [NTG-context] 2020 Meeting recordings?
>> Message-ID: <B77A12A2-53FA-4DAE-BADF-25F88683DFE3@elvenkind.com>
>> Content-Type: text/plain;	charset=us-ascii
>> 
>> Hi,
>> 
>> Most of the available slides are now integrated with the abstracts page:
>> 
>> https://meeting.contextgarden.net/2020/abstracts.shtml
>> 
>> Best wishes,
>> Taco
>> 
>>> On 17 Sep 2020, at 19:03, Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com> wrote:
>>> 
>>> So do I.
>>> 
>>> Marcus Vinicius 
>>> 
>>> On Thu, Sep 17, 2020, 13:07 Denis Maier <denis.maier.lists@mailbox.org> wrote:
>>> Hi,
>>> 
>>> unfortunately, I wasn't able to come to this years meeting. Have the 
>>> presentations and demos been recorded? I would very much like to watch 
>>> some of those.
>>> 
>>> Best,
>>> Denis
>>> ___________________________________________________________________________________
>>> 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
>>> ___________________________________________________________________________________
>> 
>> Taco Hoekwater
>> Elvenkind BV
>> 
>> 
>> 
>> 
>> 
>> 
>> ------------------------------
>> 
>> Subject: Digest Footer
>> 
>> ___________________________________________________________________________________
>> 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://tex.aanhet.net
>> archive  : https://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
>> 
>> 
>> ------------------------------
>> 
>> End of ntg-context Digest, Vol 195, Issue 56
>> ********************************************
> 
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \dorecurse{}{} problem
  2020-09-21 14:40     ` Wolfgang Schuster
@ 2020-09-21 14:42       ` Aditya Mahajan
  2020-09-21 17:24         ` Otared Kavian
  0 siblings, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2020-09-21 14:42 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On Mon, 21 Sep 2020, Wolfgang Schuster wrote:

> Aditya Mahajan schrieb am 21.09.2020 um 16:35:
> > On Mon, 21 Sep 2020, Jeong Dal wrote:
> > 
> > > Hi,
> > > 
> > > I tried to make a table using \dorecurse or \doloop as in the example.
> > > There is no error but \recurselevel is not increased, all are 0 in the
> > > first example and only two rows are created with the \recurselevel 0 and 2
> > > only in the second example.
> > > 
> > > Does the tabulate cause the error?
> > > What is wrong in this MWE?
> > \dorecurse does not expand its arguments. See this old blog post for a
> > discussion on this:
> > 
> > https://adityam.github.io/context-blog/post/tex-programming/
> 
> \starttext
> 
> \starttabulate[|c|]
> \dorecurse{8}{\NC ##1 \NC\NR}
> \stoptabulate
> 
> \stoptext

You gave the same reply 11 years ago :-) which is also listed in the blog post.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \dorecurse{}{} problem
  2020-09-21 14:42       ` Aditya Mahajan
@ 2020-09-21 17:24         ` Otared Kavian
  0 siblings, 0 replies; 9+ messages in thread
From: Otared Kavian @ 2020-09-21 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 21 Sep 2020, at 16:42, Aditya Mahajan <adityam@umich.edu> wrote:
> 
> On Mon, 21 Sep 2020, Wolfgang Schuster wrote:
> 
>> Aditya Mahajan schrieb am 21.09.2020 um 16:35:
>>> […]
> 
> You gave the same reply 11 years ago :-) which is also listed in the blog post.

… Which shows that some things don't change in ConTeXt :-)

Kidding aside, why is there a difference between the tabulate mechanism and the xtable mechanism?

Best regards: Otared K.
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \dorecurse{}{} problem
  2020-09-21 18:54 ` Jeong Dal
@ 2020-09-21 19:12   ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2020-09-21 19:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Jeong Dal schrieb am 21.09.2020 um 20:54:
> 
> Dear Aditya, Jairo, Wolfgang, and Otared,
> 
> Thank you for the replies and explanations.
> I also read the blog.
> 
> In this case, using '##1’ is an easy way.
> For more complex table, I may use luacode.


I forgot the obvious \expanded solution:

\starttext

\starttabulate[|c|]
\dorecurse{9}{\expanded{\NC \recurselevel \NC\NR}}
\stoptabulate

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \dorecurse{}{} problem
       [not found] <mailman.1122.1600699352.1164.ntg-context@ntg.nl>
@ 2020-09-21 18:54 ` Jeong Dal
  2020-09-21 19:12   ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Jeong Dal @ 2020-09-21 18:54 UTC (permalink / raw)
  To: ntg-context


Dear Aditya, Jairo, Wolfgang, and Otared,

Thank you for the replies and explanations.
I also read the blog.

In this case, using '##1’ is an easy way.
For more complex table, I may use luacode.

Thanks again.

Best regards,

Dalyoung




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-09-21 19:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1115.1600696248.1164.ntg-context@ntg.nl>
2020-09-21 14:07 ` \dorecurse{}{} problem Jeong Dal
2020-09-21 14:35   ` Aditya Mahajan
2020-09-21 14:40     ` Wolfgang Schuster
2020-09-21 14:42       ` Aditya Mahajan
2020-09-21 17:24         ` Otared Kavian
2020-09-21 14:40   ` Jairo A. del Rio
2020-09-21 14:40   ` Otared Kavian
     [not found] <mailman.1122.1600699352.1164.ntg-context@ntg.nl>
2020-09-21 18:54 ` Jeong Dal
2020-09-21 19:12   ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).