From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Pablo Rodriguez <oinos@gmx.es>
Subject: Re: option none for \scitebuffer and \sciteinlinebuffer
Date: Sat, 2 Sep 2017 15:12:20 +0200 [thread overview]
Message-ID: <d6d9b436-821e-3dc7-87e9-dc74119fbd94@wxs.nl> (raw)
In-Reply-To: <f5390983-63e5-23c7-dad1-b0a01843f35f@gmx.es>
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
___________________________________________________________________________________
prev parent reply other threads:[~2017-09-02 13:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-31 17:13 Pablo Rodriguez
2017-09-02 13:12 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d6d9b436-821e-3dc7-87e9-dc74119fbd94@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
--cc=oinos@gmx.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).