ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* option none for \scitebuffer and \sciteinlinebuffer
@ 2017-08-31 17:13 Pablo Rodriguez
  2017-09-02 13:12 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Rodriguez @ 2017-08-31 17:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans,

I have the following sample:

    \usemodule[scite]
    \starttext
    \startbuffer
    This is text. % and this is a comment
    \stopbuffer

    \scitebuffer
    \sciteinlinebuffer
    \stoptext

Since \scitebuffer and \sciteinlinebuffer default to TEX typing when
none is set, would it be possible to set colors to "none".

I need it to be able to use both buffers with \xmlprettyprinttext and
\xmlinlineprettyprint.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: option none for \scitebuffer and \sciteinlinebuffer
  2017-08-31 17:13 option none for \scitebuffer and \sciteinlinebuffer Pablo Rodriguez
@ 2017-09-02 13:12 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2017-09-02 13:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez

On 8/31/2017 7:13 PM, Pablo Rodriguez wrote:
> Hans,
> 
> I have the following sample:
> 
>      \usemodule[scite]
>      \starttext
>      \startbuffer
>      This is text. % and this is a comment
>      \stopbuffer
> 
>      \scitebuffer
>      \sciteinlinebuffer
>      \stoptext
> 
> Since \scitebuffer and \sciteinlinebuffer default to TEX typing when
> none is set, would it be possible to set colors to "none".
> 
> I need it to be able to use both buffers with \xmlprettyprinttext and
> \xmlinlineprettyprint.
I'll add a none method

\startbuffer[foo]
This is text. % line 1
This is text. % line 2
\stopbuffer

\scitebuffer[none][foo]

\sciteinlinebuffer[none][foo]

up to you to make sure it's used

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2017-09-02 13:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-31 17:13 option none for \scitebuffer and \sciteinlinebuffer Pablo Rodriguez
2017-09-02 13:12 ` Hans Hagen

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