Re: [NTG-context] No escape to TeX for inline typing?
On Sun, 01 Mar 2015 11:30:46 +0100, Hans Hagen wrote: > > On 2/28/2015 2:00 PM, Christoph Reller wrote: > > > Dear Hans, > > > > Can you please add the above patch, or is there a particular reason > > for not > > doing so? > > > > Kind regards, > > > > Christoph > > I'll add it but there will only be a new beta when Alan and I are > satisfied about the publication subsystem we're working on. > > Hans > Thanks a lot, Hans! 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 ___
Re: [NTG-context] No escape to TeX for inline typing?
On 2/28/2015 2:00 PM, Christoph Reller wrote: Dear Hans, Can you please add the above patch, or is there a particular reason for not doing so? Kind regards, Christoph I'll add it but there will only be a new beta when Alan and I are satisfied about the publication subsystem we're working on. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] No escape to TeX for inline typing?
On Wed, Wed, 18 Feb 2015 07:03:27 +0100, 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 ___
Re: [NTG-context] No escape to TeX for inline typing?
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 ___ 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 ___
Re: [NTG-context] No escape to TeX for inline typing?
> Am 17.02.2015 um 16:04 schrieb Christoph Reller : > > Hi, > > How do I escape to TeX from inside an inline typing command? It works fine > from a typing environment. > > MWE: > > \setuptyping[TEX][escape={[[,]]}] > \definetype[typeTEX][option=TEX] > \starttext > \startTEX > \I\can [[\em escape]] > \stopTEX > \typeTEX{\I\cannot [[\em escape]]} > \stoptext > > Thank you for any feedback! 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 ___ 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 ___
[NTG-context] No escape to TeX for inline typing?
Hi, How do I escape to TeX from inside an inline typing command? It works fine from a typing environment. MWE: \setuptyping[TEX][escape={[[,]]}] \definetype[typeTEX][option=TEX] \starttext \startTEX \I\can [[\em escape]] \stopTEX \typeTEX{\I\cannot [[\em escape]]} \stoptext Thank you for any feedback! 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 ___