From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53707 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Printing partly bolded verbatim Date: Sun, 25 Oct 2009 22:22:50 +0100 Message-ID: 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 1256505799 23848 80.91.229.12 (25 Oct 2009 21:23:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Oct 2009 21:23:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 25 22:23:12 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 1N2AYQ-0003pk-T3 for gctc-ntg-context-518@m.gmane.org; Sun, 25 Oct 2009 22:23:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CA56C9AC1; Sun, 25 Oct 2009 22:22:04 +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 2UyVXq54+zmV; Sun, 25 Oct 2009 22:22:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C386CC9A8A; Sun, 25 Oct 2009 22:22:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6EFABC9A8A for ; Sun, 25 Oct 2009 22:21:57 +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 ZC6dn6FJfIx9 for ; Sun, 25 Oct 2009 22:21:54 +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 61FDCC9A70 for ; Sun, 25 Oct 2009 22:21:54 +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 1N2AYC-0004m8-JN for ntg-context@ntg.nl; Sun, 25 Oct 2009 22:22:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by certified.rna.nl (Postfix) with ESMTP id CBA392C9162F for ; Sun, 25 Oct 2009 22:22:51 +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 09cp9jGFoQlJ for ; Sun, 25 Oct 2009 22:22:51 +0100 (CET) Original-Received: from luna.rna.nl (luna.rna.nl [192.168.2.88]) by certified.rna.nl (Postfix) with ESMTP id 315402C91620 for ; Sun, 25 Oct 2009 22:22:51 +0100 (CET) X-Mailer: Apple Mail (2.936) X-Concepts-MailScanner-Information: Please contact abuse@concepts.nl for more information X-Concepts-MailScanner-ID: 1N2AYC-0004m8-JN 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:53707 Archived-At: 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? I use: \definetyping[IfSQ][option=color,numbering=line,bodyfont=9pt] \setuppapersize[A4,landscape][a4,landscape] \setuptyping[IfSQ][palet=colorpretty] \setuplayout [leftmargin=20mm, leftmargindistance=5mm, footer=0mm, header=0mm, rightmargin=0mm] \definelayer[header][width=\paperwidth,height=\paperheight] \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}] \setupbackgrounds[page] [setups={header:margin},background={header,ifsqoverlay}] \def\typeIfSQfile#1{% \pagebreak \startsetups header:margin \setlayerframed [header] [hoffset=\dimexpr\backspace-\leftmarginwidth-\leftmargindistance \relax, voffset=\dimexpr\topspace+\headerheight+\headerdistance\relax] [frame=off, orientation=90, width=\leftmarginwidth, height=\textheight, align={top,middle}] {\detokenize{#1}\hfil\pagenumber\hfil \IfSQprojectname, \date} \stopsetups \expanded{\typefile{\detokenize{#1}}}} \typeIfSQfile{Library-procedures/aanroep_kgcpros20.pls.src} ___________________________________________________________________________________ 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 ___________________________________________________________________________________