Hello brain trust, How can \typesetbuffer be instructed to use the same engine as the document which contains it? With the following example: \startbuffer[Buffer] \startTEXpage \contextmark \stopTEXpage \stopbuffer \starttext \contextmark\ \typesetbuffer[Buffer] \stoptext I get "MKIV LMTX" when it is processed with context --luatex. I want the buffer to be processed as MkIV. -- Rik
On 11/5/2021 3:19 PM, Rik Kabel via ntg-context wrote:
Hello brain trust,
How can \typesetbuffer be instructed to use the same engine as the document which contains it?
With the following example:
\startbuffer[Buffer] \startTEXpage \contextmark \stopTEXpage \stopbuffer \starttext \contextmark\ \typesetbuffer[Buffer] \stoptext
I get "MKIV LMTX" when it is processed with context --luatex. I want the buffer to be processed as MkIV. Does patching line 691 in buff-ini.lua
template = (jit and "--jit --engine=luajittex" or "--engine=luatex") .. " --purgeall %?path: --path=%path% ?% %filename%", work okay? Run "context --make" after patching. 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 -----------------------------------------------------------------
On 11/5/2021 11:18, Hans Hagen via ntg-context wrote:
On 11/5/2021 3:19 PM, Rik Kabel via ntg-context wrote:
Hello brain trust,
How can \typesetbuffer be instructed to use the same engine as the document which contains it?
With the following example:
\startbuffer[Buffer] \startTEXpage \contextmark \stopTEXpage \stopbuffer \starttext \contextmark\ \typesetbuffer[Buffer] \stoptext
I get "MKIV LMTX" when it is processed with context --luatex. I want the buffer to be processed as MkIV. Does patching line 691 in buff-ini.lua
template = (jit and "--jit --engine=luajittex" or "--engine=luatex") .. " --purgeall %?path: --path=%path% ?% %filename%",
work okay? Run "context --make" after patching.
Hans
Yes, that seems to do it. context --make and context --make --luatex were needed, I think. -- Rik
participants (2)
-
Hans Hagen
-
Rik Kabel