From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: Re: update
Date: Fri, 5 Aug 2022 17:23:32 +0200 [thread overview]
Message-ID: <d991026e-c1be-529a-b7bd-c094368c331f@freedom.nl> (raw)
In-Reply-To: <nycvar.YAK.7.78.908.2208051036060.280663@nqv-guvaxcnq>
[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]
On 8/5/2022 4:37 PM, Aditya Mahajan via ntg-context wrote:
> Hi,
>
> I cannot view the onandon.pdf manual. pdfinfo says that it a malformed PDF.
bah, probably i ran some test .. some code there only works in older
luametatex .. (keep in mind that i seldom run these manuals as a whole
so sometimes the tex file are newer than the pdf document) .. esp the
history documnents are sensitive for experimental features that evolve
(i had to comment the fences chapter because we now have neater mechanism)
i pushed an update (hopefully better; you shoulkd be able to process the
files but math exmaples might not what is discussed due to the updates
we did)
as you're in update mode, here is something to play with .. i bet you
can figure it out without documentation (and if you have input on this
for us ... you're welcome)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
[-- Attachment #2: dictionaries-001.tex --]
[-- Type: text/plain, Size: 3380 bytes --]
\pushoverloadmode
\immutable\Umathdictdef\vdash 1 \mathbinarylogicaldictionary "22A2 \mathrelationcode 0 "22A2
\immutable\Umathdictdef\leq 1 \mathbinaryrelationdictionary "2264 \mathrelationcode 0 "2264
\immutable\Umathdictdef\geq 1 \mathbinaryrelationdictionary "2265 \mathrelationcode 0 "2265
\startluacode
mathematics.dictionaries.registercharacter("binary logical", 0x22A2,"implies")
mathematics.dictionaries.registercharacter("binary relation",0x2264,"less or equal")
mathematics.dictionaries.registercharacter("binary relation",0x2265,"greater or equal")
\stopluacode
\immutable\Umathdictdef\ndivides 1 \mathbinaryarithmicdictionary "2224 \mathbinarycode 0 "2224
\immutable\Umathdictdef\nmid 1 \mathbinaryrelationdictionary "2224 \mathrelationcode 0 "2224
\startluacode
mathematics.dictionaries.registercharacter("binary arithmic",0x2224,"don't divide")
mathematics.dictionaries.registercharacter("binary relation",0x2224,"undivided")
\stopluacode
\popoverloadmode
%definecolor[dictionary:default]
\definecolor[dictionary:binary arithmic] [r=.5]
%definecolor[dictionary:binary linear algebra]
\definecolor[dictionary:binary logical] [r=.5,b=.5]
\definecolor[dictionary:binary relation] [g=.5]
%\definecolor[dictionary:binary set]
%definecolor[dictionary:constant arithmic]
\definecolor[dictionary:constant set] [s=.5]
%definecolor[dictionary:differential]
%definecolor[dictionary:integral]
%definecolor[dictionary:interval]
%definecolor[dictionary:lambda]
%definecolor[dictionary:limit]
\definecolor[dictionary:nary arithmic] [r=.5,g=.5]
%definecolor[dictionary:nary constructor]
%definecolor[dictionary:nary functional]
%definecolor[dictionary:nary linear algebra]
%definecolor[dictionary:nary logical]
%definecolor[dictionary:nary minmax]
\definecolor[dictionary:nary relation] [b=.5]
%definecolor[dictionary:nary set list]
%definecolor[dictionary:nary set relation]
%definecolor[dictionary:nary set]
%definecolor[dictionary:nary statistics]
%definecolor[dictionary:partial]
%definecolor[dictionary:product]
%definecolor[dictionary:quantifier]
%definecolor[dictionary:unary arithmic]
%definecolor[dictionary:unary elementary]
%definecolor[dictionary:unary functional]
%definecolor[dictionary:unary linear algebra]
%definecolor[dictionary:unary logical]
%definecolor[dictionary:unary set]
%definecolor[dictionary:unary vector]
%mathdictproperties \plusone
\mathdictgroup \mathdefaultdictionary
\enabletrackers[math.dictionaries]
\starttext
\definemathgroupset[demoa][binary arithmic,nary relation]
\definemathgroupset[demob][binary relation,nary relation]
% \tracingmath2 \tracingonline2 \showmakeup[mathglue]
\startbuffer[a]
$ a \leq b \geq c < d > e = \naturalnumbers = ℕ$
\stopbuffer
\getbuffer[a] \blank
\startbuffer[b]
$ a \ndivides b \nmid c ^ {a \ndivides b \nmid c} + d ∤ e \times f > g × h - i $
\stopbuffer
{\setmathgroupset[binary arithmic]\getbuffer[b]} \blank
{\setmathgroupset[binary relation]\getbuffer[b]} \blank
{\setmathgroupset[demoa]\getbuffer[b]} \blank
{\setmathgroupset[demob]\getbuffer[b]} \blank
{\setmathgroupset[demoa]\getbuffer[a]} \blank
{\setmathgroupset[demob]\getbuffer[a]} \blank
\stoptext
[-- Attachment #3: dictionaries-001.pdf --]
[-- Type: application/pdf, Size: 9452 bytes --]
[-- Attachment #4: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2022-08-05 15:23 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-05 9:52 update Hans Hagen via ntg-context
2022-08-05 14:37 ` update Aditya Mahajan via ntg-context
2022-08-05 15:23 ` Hans Hagen via ntg-context [this message]
2022-08-05 14:48 ` update Henning Hraban Ramm via ntg-context
2022-08-05 22:26 ` update Jeong Dal via ntg-context
-- strict thread matches above, loose matches on Subject: below --
2023-03-20 16:28 update Hans Hagen via ntg-context
2023-02-23 21:07 update Hans Hagen via ntg-context
2023-02-24 9:30 ` update Otared Kavian via ntg-context
2021-09-13 8:07 update Hans Hagen via ntg-context
2021-09-13 8:37 ` update Henning Hraban Ramm via ntg-context
2021-09-13 9:12 ` update Hans Hagen via ntg-context
2021-09-13 20:14 ` update Henning Hraban Ramm via ntg-context
2021-09-14 5:50 ` update Hans Hagen via ntg-context
2021-09-13 19:51 ` update Garulfo via ntg-context
2020-06-25 9:34 update Hans Hagen
2020-06-19 9:42 update Hans Hagen
2008-01-28 20:36 update Hans Hagen
2008-01-29 8:04 ` update Johannes Graumann
2008-01-29 8:22 ` update Hans Hagen
2008-01-29 17:01 ` update Johannes Graumann
2008-01-29 17:04 ` update Hans Hagen
2006-04-23 22:07 update Hans Hagen
2006-04-25 4:30 ` update Aditya Mahajan
2006-04-25 6:52 ` update Hans Hagen
2005-11-30 16:56 update Hans Hagen
2005-06-02 20:49 update Hans Hagen
2005-06-02 21:24 ` update Thomas A. Schmitz
2005-06-03 6:20 ` update Taco Hoekwater
2005-06-03 7:14 ` update Thomas A. Schmitz
2004-06-18 16:33 update Hans Hagen
2004-06-18 20:00 ` update Willi Egger
2004-06-18 20:15 ` update Henning Hraban Ramm
2004-06-19 11:54 ` update Willi Egger
2004-06-19 22:05 ` update Hans Hagen Outside
2004-06-19 14:41 ` update Gary Pajer
2004-06-19 14:47 ` update Gary Pajer
2004-06-19 22:10 ` update Hans Hagen Outside
2004-06-19 21:56 ` update Hans Hagen Outside
2004-06-20 20:49 ` update Willi Egger
2004-06-21 19:31 ` update Willi Egger
2004-06-20 15:07 ` update Patrick Gundlach
2004-06-17 0:09 update Hans Hagen
2001-07-11 15:05 update Hans Hagen
2001-07-13 8:00 ` update Giuseppe Bilotta
2001-07-13 12:53 ` update Hans Hagen
2000-05-11 10:49 update Hans Hagen
[not found] ` <000901bfbb8c$bc388720$9b4461c3@chris>
2000-05-12 12:20 ` update Hans Hagen
1999-07-20 16:34 update Hans Hagen
1999-06-20 16:26 update Hans Hagen
1999-03-25 16:43 update Hans Hagen
1999-03-26 13:15 ` update Taco Hoekwater
1999-01-29 12:40 update Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d991026e-c1be-529a-b7bd-c094368c331f@freedom.nl \
--to=ntg-context@ntg.nl \
--cc=j.hagen@freedom.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).