* can typesetbuffer use the same engine?
@ 2021-11-05 14:19 Rik Kabel via ntg-context
2021-11-05 15:18 ` Hans Hagen via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel via ntg-context @ 2021-11-05 14:19 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Rik Kabel
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
___________________________________________________________________________________
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] 3+ messages in thread
* Re: can typesetbuffer use the same engine?
2021-11-05 14:19 can typesetbuffer use the same engine? Rik Kabel via ntg-context
@ 2021-11-05 15:18 ` Hans Hagen via ntg-context
2021-11-05 15:57 ` Rik Kabel via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2021-11-05 15:18 UTC (permalink / raw)
To: ntg-context; +Cc: Hans Hagen
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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread
* Re: can typesetbuffer use the same engine?
2021-11-05 15:18 ` Hans Hagen via ntg-context
@ 2021-11-05 15:57 ` Rik Kabel via ntg-context
0 siblings, 0 replies; 3+ messages in thread
From: Rik Kabel via ntg-context @ 2021-11-05 15:57 UTC (permalink / raw)
To: ntg-context; +Cc: Rik Kabel
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
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2021-11-05 15:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 14:19 can typesetbuffer use the same engine? Rik Kabel via ntg-context
2021-11-05 15:18 ` Hans Hagen via ntg-context
2021-11-05 15:57 ` Rik Kabel via ntg-context
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).