From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53711 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Printing partly bolded verbatim Date: Mon, 26 Oct 2009 07:29:53 +0100 Message-ID: <4AE541E1.9050605@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256538616 24221 80.91.229.12 (26 Oct 2009 06:30:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Oct 2009 06:30:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 26 07:30:09 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1N2J5k-0006pn-Kz for gctc-ntg-context-518@m.gmane.org; Mon, 26 Oct 2009 07:30:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6B51C9ABB; Mon, 26 Oct 2009 07:29:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id brEDxkGOPJPH; Mon, 26 Oct 2009 07:28:57 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08E6DC9A8A; Mon, 26 Oct 2009 07:28:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA3F1C9A8A for ; Mon, 26 Oct 2009 07:28:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IIKrPLJ61Ci1 for ; Mon, 26 Oct 2009 07:28:52 +0100 (CET) Original-Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by balder.ntg.nl (Postfix) with ESMTP id 800E0C9A41 for ; Mon, 26 Oct 2009 07:28:52 +0100 (CET) Original-Received: from [192.168.178.26] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id n9Q6Trfa073168 for ; Mon, 26 Oct 2009 07:29:59 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.21 (X11/20090330) In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:53711 Archived-At: Gerben Wierda wrote: > I tried putting > > /BTEX{\bf IfSQ Fragment selection (minimum length = 60)}/ETEX > > in a source that is prettyprinted with mkii (took that idea form the wiki) > > but this does not work (no bold in the pretty printed result). Can this > be done? First, if you want to run the options of IfSQ, you need to pass that as an option to \typefile: \expanded{\typefile[IfSQ][]{\detokenize{#1}}}} (I fear this is only document in texshow-web at the moment) Second, for commands, you need: \definetyping[IfSQ][option=commands,numbering=line,bodyfont=9pt] and this conflicts with option=color: it is one or the other. Third, option=commands does not work for \typefile, you need to have an explicit \startIfSQ ... \stopIfSQ Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________