Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-06 Thread Leah Neukirchen via ntg-context
ext primitives to use low chars. This renders fine on all PDF viewers I found (text is garbled, of course), but it still doesn't print. So now I'm fairly sure now the bug is in the font stream. foo.doctored.pdf Description: Adobe PDF document I finally found a tool to analyze CID fonts at https:

Re: [NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-22 Thread Hans Hagen via ntg-context
gering a bug but still a difference to LuaTeX: \eTeXrevision should expand to .2, but it expands to 2 in MkIX. There is some code out there which uses constructions like \number\eTeXversion\eTeXrevision or even \ifdim 0\XeTeXrevision pt > 0.9996pt As LMTX doesn't care about this macro, this should be easy to

[NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-22 Thread Leah Neukirchen via ntg-context
ings for the 7-bit ASCII subset at least. I found another minor nit that's not really triggering a bug but still a difference to LuaTeX: \eTeXrevision should expand to .2, but it expands to 2 in MkIX. There is some code out there which uses constructions like \number\eTeXversion\eTeXrevision or even

Re: [NTG-context] Typing within doifmode leads to error

2021-03-21 Thread Christoph Reller
> ... which means that you can use that at the context end as well > > (old feature). > > > Save the following as test.mkix (or add "% macros=mkix" as the > > first line): > > > > > > ``` &g

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Aditya Mahajan
luatemplate > > > >\starttyping > >A and not B > >\stoptyping > > > >\starttyping > >not (A and not B) > >\stoptyping > > > > \stopluatemplate > > \stoptext > > > > What I am

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Hans Hagen
) and then processes it using the mkix conversion mechanism. Thus, in terms of output, it should be equivalent to: \enablemode[A] \starttext \startbuffer[luatemplate] \starttyping A and not B \stoptyping \starttyping not (A and not B) \stoptyping \stopbuffer \savebuffer[file

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Aditya Mahajan
ollowing example: \enablemode[A] \starttext \startluatemplate \starttyping A and not B \stoptyping \starttyping not (A and not B) \stoptyping \stopluatemplate \stoptext What I am thinking is that \startluatemplate ... \stopluatemplate grabs the content (like a buffer) and then processe

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Hans Hagen
(old feature). > Save the following as test.mkix (or add "% macros=mkix" as the first line): > > ``` > \starttext > > \starttyping > A and not B > \stoptyping > > \starttyping

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Aditya Mahajan
; ... which means that you can use that at the context end as well > > (old feature). > > > Save the following as test.mkix (or add "% macros=mkix" as the > > first line): > > > > > > ``` > > > \starttext >

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Hans Hagen
gt; >> if tex.modes["A"] and not tex.modes{"B"] then >> ... >> end > > ... which means that you can use that at the context end as well (old feature). > Save the following as test.mkix (or add &quo

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Christoph Reller
n > >> ... > >> end > > > > ... which means that you can use that at the context end as well (old > feature). > > Save the following as test.mkix (or add "% macros=mkix" as the first > line): > > > > ``` > > \starttext > &

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Hans Hagen
llowing as test.mkix (or add "% macros=mkix" as the first line): ``` \starttext \starttyping A and not B \stoptyping \starttyping not (A and not B) \stoptyping \stoptext a neat application! Hans -

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Aditya Mahajan
On Sat, 20 Mar 2021, Christoph Reller wrote: > Of course we can do this in lua: > > if tex.modes["A"] and not tex.modes{"B"] then > ... > end ... which means that you can use that at the context end as well (old feature). Save the following as test.mkix (or ad

Re: [NTG-context] upload

2013-03-05 Thread Thomas A. Schmitz
-ade.com/general/manuals/cld-mkiv.pdf Unfortunately I haven't finished the new detailed font manual yet. Hans Had already seen templates-mkiv.pdf on the website: so we're talking mkix and mkxi now, eh? One day you will regret having used roman numerals, when we reach mkcccil or something like

Re: [NTG-context] Using forms and saving values

2011-04-05 Thread Aditya Mahajan
. Hello, Why mkvi and not mkv ? I guess because mkvi has four letters like mkii and mkiv but mkv ha only three. So the next versions will be mkix, mkxi, mkxv, mkxx, mkxl, mkli, mklv, and mkxc. It is gonig to get confusing real soon :) BTW, does anyone has a minimal example on how to use mkvi