From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53733 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: Printing partly bolded verbatim Date: Mon, 26 Oct 2009 12:38:43 +0100 Message-ID: <8227B179-221F-4950-AB2C-E1AA5E1A527A@rna.nl> References: <4AE541E1.9050605@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256575853 13852 80.91.229.12 (26 Oct 2009 16:50:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Oct 2009 16:50:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 26 17:50:46 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 1N2SmL-0000uc-SQ for gctc-ntg-context-518@m.gmane.org; Mon, 26 Oct 2009 17:50:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6AB7DC9AC1; Mon, 26 Oct 2009 17:49:36 +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 J75SVGKxGJfX; Mon, 26 Oct 2009 17:49:34 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD2E6C9ADD; Mon, 26 Oct 2009 17:49:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3E9DC9AC7 for ; Mon, 26 Oct 2009 17:49:31 +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 X9Abvk0-G1Pc for ; Mon, 26 Oct 2009 17:49:29 +0100 (CET) Original-Received: from smtp-1.concepts.nl (smtp-1.concepts.nl [213.197.30.124]) by balder.ntg.nl (Postfix) with ESMTP id D29ECC9AC1 for ; Mon, 26 Oct 2009 17:49:28 +0100 (CET) Original-Received: from d594e7d0.dsl.concepts.nl ([213.148.231.208] helo=certified.rna.nl) by smtp-1.concepts.nl with esmtp (Exim 4.69) (envelope-from ) id 1N2SmB-0005Ir-0j for ntg-context@ntg.nl; Mon, 26 Oct 2009 17:50:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by certified.rna.nl (Postfix) with ESMTP id E86892C92FE7 for ; Mon, 26 Oct 2009 17:50:29 +0100 (CET) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from certified.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44Qoa-HCq38H for ; Mon, 26 Oct 2009 17:50:29 +0100 (CET) Original-Received: from luna.rna.nl (luna.rna.nl [192.168.2.88]) by certified.rna.nl (Postfix) with ESMTP id 44F642C92FD1 for ; Mon, 26 Oct 2009 17:50:29 +0100 (CET) In-Reply-To: <4AE541E1.9050605@elvenkind.com> X-Mailer: Apple Mail (2.936) X-Concepts-MailScanner-Information: Please contact abuse@concepts.nl for more information X-Concepts-MailScanner-ID: 1N2SmB-0005Ir-0j X-Concepts-MailScanner: Found to be clean X-Concepts-MailScanner-SpamCheck: X-Concepts-MailScanner-From: gerben.wierda@rna.nl 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:53733 Archived-At: On 26 Oct 2009, at 07:29, Taco Hoekwater wrote: > 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 Thanks Taco, I do not completely understand this, though. You tell me to change \typefile as well as not to use \typefile. That confuses me. G > > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 ___________________________________________________________________________________