ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* typbuffer with commands
@ 2006-03-04 15:18 Patrick Gundlach
  2006-03-06 10:04 ` Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Gundlach @ 2006-03-04 15:18 UTC (permalink / raw)


Hello again,

I know I can use \starttyping with commands by saying
\setuptyping[option=commands] and then /BTEX \red{a red text}}/ETEX.
Can I do the same for \typebuffer[mybuf]? So for example:

\startbuffer[a]
verbatim text
/BTEX \red{a red text}}/ETEX
verbatim text
\stopbuffer

\typebuffer[a][please_use_my_commands]

??

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: typbuffer with commands
  2006-03-04 15:18 typbuffer with commands Patrick Gundlach
@ 2006-03-06 10:04 ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2006-03-06 10:04 UTC (permalink / raw)




Patrick Gundlach wrote:
> Hello again,
> 
> I know I can use \starttyping with commands by saying
> \setuptyping[option=commands] and then /BTEX \red{a red text}}/ETEX.
> Can I do the same for \typebuffer[mybuf]? So for example:

No, you can't because buffers are files, and \typefile explicitly
disables option=commands, option=slanted and option=normal.
That bit of code looks quite on purpose, but if you don't mind
hacking, look at lines 10 and 11 of \dodotypefile in core-ver.tex

Cheers, Taco

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-06 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-04 15:18 typbuffer with commands Patrick Gundlach
2006-03-06 10:04 ` Taco Hoekwater

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).