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]
\startMyBuffer
\fakewords{10}{20}
\stopMyBuffer
\starttext
\startMyCode
\fakeword
\stopMyCode
\getMyBuffer
\typeMyBuffer
\stoptext
"""
Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________