On Wed, Wed, 18 Feb 2015 07:03:27 +0100, <christoph.rel...@gmail.com> wrote:
> > On Tue, Feb 17, 2015 at 16:30:13 +0100, Wolfgang Schuster < > schuster.wolfg...@gmail.com> wrote: > > > > Am 17.02.2015 um 16:04 schrieb Christoph Reller < > > christoph.rel...@gmail.com>: > > > How do I escape to TeX from inside an inline typing command? It works > > fine from a typing environment. > > > > The \type command doesn’t support a escape function but it can be added > an > > additional line in the code (buff-ver.miv): > > > > \def\buff_verbatim_type_normal#1% > > {\buff_verbatim_initialize_type_two > > \dostarttaggedchained\t!verbatim\currenttype\??type > > \ctxcommand{typestring{ > > data = \!!bs\detokenize{#1}\!!es, > > tab = "\typeparameter\c!tab", > > method = "\typeparameter\c!option", > > + escape = \!!bs\typeparameter\c!escape\!!es, > > nature = "inline", > > compact = "\typeparameter\c!compact", % none | all | last (all > needed > > in tabulate etc for manuals) > > }}% > > \dostoptagged > > \buff_verbatim_right_of_type > > \egroup} > > > > To enable the function add „escape=yes” (or your own delimiters) to > > \definetype. > > > > Wolfgang > > > > Thanks a lot, Wolfgang! > > Dear Hans, > > Can you please add the above patch, or is there a particular reason for not > doing so? > > Kind regards, > > Christoph > Dear Hans, Please say at least "yes" or "no". I am not very keen on maintaining my own version of ConTeXt so I would like to know if I can count on this feature being added. Thanks for your effort and kind regards, Christoph
___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________