ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: No escape to TeX for inline typing?
@ 2015-03-03 10:56 Christoph Reller
  0 siblings, 0 replies; 6+ messages in thread
From: Christoph Reller @ 2015-03-03 10:56 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 479 bytes --]

On Sun, 01 Mar 2015 11:30:46 +0100, Hans Hagen <pragma@wxs.nl> 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

[-- Attachment #1.2: Type: text/html, Size: 951 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: No escape to TeX for inline typing?
  2015-02-28 13:00 Christoph Reller
@ 2015-03-01 10:30 ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2015-03-01 10:30 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* Re: No escape to TeX for inline typing?
@ 2015-02-28 13:00 Christoph Reller
  2015-03-01 10:30 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Christoph Reller @ 2015-02-28 13:00 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1684 bytes --]

On Wed, Wed, 18 Feb 2015 07:03:27 +0100, <christoph.reller@gmail.com> wrote:

>
> On Tue, Feb 17, 2015 at 16:30:13 +0100, Wolfgang Schuster <
> schuster.wolfgang@gmail.com> wrote:
>
> > > Am 17.02.2015 um 16:04 schrieb Christoph Reller <
> > christoph.reller@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

[-- Attachment #1.2: Type: text/html, Size: 2495 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: No escape to TeX for inline typing?
@ 2015-02-18  6:03 Christoph Reller
  0 siblings, 0 replies; 6+ messages in thread
From: Christoph Reller @ 2015-02-18  6:03 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1273 bytes --]

On Tue, Feb 17, 2015 at 16:30:13 +0100, Wolfgang Schuster <
schuster.wolfgang@gmail.com> wrote:

> > Am 17.02.2015 um 16:04 schrieb Christoph Reller <
> christoph.reller@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

[-- Attachment #1.2: Type: text/html, Size: 1864 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: No escape to TeX for inline typing?
  2015-02-17 15:04 Christoph Reller
@ 2015-02-17 15:30 ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2015-02-17 15:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 17.02.2015 um 16:04 schrieb Christoph Reller <christoph.reller@gmail.com>:
> 
> 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
___________________________________________________________________________________

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

* No escape to TeX for inline typing?
@ 2015-02-17 15:04 Christoph Reller
  2015-02-17 15:30 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Christoph Reller @ 2015-02-17 15:04 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 320 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 548 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2015-03-03 10:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 10:56 No escape to TeX for inline typing? Christoph Reller
  -- strict thread matches above, loose matches on Subject: below --
2015-02-28 13:00 Christoph Reller
2015-03-01 10:30 ` Hans Hagen
2015-02-18  6:03 Christoph Reller
2015-02-17 15:04 Christoph Reller
2015-02-17 15:30 ` Wolfgang Schuster

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