[NTG-context] \dorecurse{}{} problem
Jeong Dal
haksan at me.com
Mon Sep 21 16:07:34 CEST 2020
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 at ntg.nl 작성:
>
> Send ntg-context mailing list submissions to
> ntg-context at 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 at ntg.nl
>
> You can reach the person managing the list at
> ntg-context-owner at 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 at mailbox.org>
> To: ntg-context at ntg.nl
> Subject: [NTG-context] Parallel text support
> Message-ID: <780fe43c-f2c3-6ea1-04f5-d4d5c22e7d4a at 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 at elvenkind.com>
> To: mailing list for ConTeXt users <ntg-context at ntg.nl>
> Subject: Re: [NTG-context] Parallel text support
> Message-ID: <A451CEA9-C30B-4980-AAAE-235CA940A56B at elvenkind.com>
> Content-Type: text/plain; charset=utf-8
>
>
>
>> On 21 Sep 2020, at 12:21, Denis Maier <denis.maier.lists at 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 at gmail.com>
> To: Hans Hagen <j.hagen at xs4all.nl>
> Cc: mailing list for ConTeXt users <ntg-context at ntg.nl>
> Subject: Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs
> LMTX
> Message-ID:
> <CAO8LnPHJ5Ykp5HyFz2MXDM-+04AJ_uADarwunmPseDafmgOOng at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On Sat, Sep 19, 2020 at 12:04 PM Hans Hagen <j.hagen at 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 at xs4all.nl
>>> <mailto:j.hagen at 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 at xs4all.nl>
> To: Christoph Reller <christoph.reller at gmail.com>
> Cc: mailing list for ConTeXt users <ntg-context at ntg.nl>
> Subject: Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs
> LMTX
> Message-ID: <ff4b944c-e94a-b3c1-a0bc-980f0e7bbd67 at 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 at gmail.com>
> To: mailing list for ConTeXt users <ntg-context at ntg.nl>
> Subject: [NTG-context] Math fonts for Nimbus fonts
> Message-ID: <E9C147F4-8910-46F2-B80E-4874A628FB57 at 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 at elvenkind.com>
> To: mailing list for ConTeXt users <ntg-context at ntg.nl>
> Subject: Re: [NTG-context] 2020 Meeting recordings?
> Message-ID: <B77A12A2-53FA-4DAE-BADF-25F88683DFE3 at 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 at gmail.com> wrote:
>>
>> So do I.
>>
>> Marcus Vinicius
>>
>> On Thu, Sep 17, 2020, 13:07 Denis Maier <denis.maier.lists at 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 at 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 at 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 at 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
> ********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200921/887a23e7/attachment-0001.htm>
More information about the ntg-context
mailing list