Am 29.07.23 um 23:16 schrieb Hans Hagen:
On 7/29/2023 10:35 PM, Henning Hraban Ramm wrote:
The setup for MyCode is not applied to \typeMyBuffer, and I don’t know
how it could; something like \typeMyBuffer[MyCode] doesn’t work.
These commands inherit from buffer, so \setupbuffer will work. Bu
etuptyping
[MyCode]
[option=tex,
numbering=file]
\definebuffer
[MyBuffer]
[category=MyCode]
\setuptyping
[MyBuffer]
[option=TEX,
numbering=file]
% \setuptyping
% [buffer]
% [option=TEX,
%numbering=file]
\startMyBuffer
\fakewords{10}{20}
\stopMyBuffer
\starttext
\s
Am 29.07.23 um 22:49 schrieb Max Chernoff:
I'm on mobile now so I can't type out a complete solution, but I think that
what you're looking for is in this file:
https://github.com/gucci-on-fleek/unnamed-emoji/blob/master/documentation/unemoji-manual.mkxl
It doesn't exactly do what you spe
I'm on mobile now so I can't type out a complete solution, but I think that
what you're looking for is in this file:
https://github.com/gucci-on-fleek/unnamed-emoji/blob/master/documentation/unemoji-manual.mkxl
It doesn't exactly do what you specifically asked for, but I think that it's
pr
Am 29.07.23 um 22:06 schrieb Bruce Horrocks:
Your example seems to work: I see the \getbuffer[MyBuffer] command typed (not
executed) with colour coding on the keyword and line numbered; then the block
text fakewords from the visual module; then the \fakewords macro shown (again
not executed) a
Am 29.07.23 um 22:06 schrieb Bruce Horrocks:
Your example seems to work: I see the \getbuffer[MyBuffer] command typed (not
executed) with colour coding on the keyword and line numbered; then the block
text fakewords from the visual module; then the \fakewords macro shown (again
not executed) a
""
> \usemodule[visual]
>
> \definetyping[MyCode]
>
> \setuptyping[MyCode][
> option=tex,
> numbering=file,
> ]
>
> \definebuffer[MyBuffer]
>
> \startMyBuffer
> \fakewords{10}{20}
> \stopMyBuffer
>
> \starttext
>
> \startMyCode
&g
Hi,
I’d like to use a custom buffer ("MyBuffer") to use a custom typing
style ("MyCode"). How does that work?
"""
\usemodule[visual]
\definetyping[MyCode]
\setuptyping[MyCode][
option=tex,
numbering=file,
]
\definebuffer[MyBuffer]
\startMyBuff