From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70967 Path: news.gmane.org!not-for-mail From: pmlists@free.fr (Peter =?utf-8?Q?M=C3=BCnster?=) Newsgroups: gmane.comp.tex.context Subject: \type{} in bold mode Date: Tue, 30 Aug 2011 16:29:42 +0200 Message-ID: <87y5ybm0q1.fsf@micropit.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1314714601 5297 80.91.229.12 (30 Aug 2011 14:30:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2011 14:30:01 +0000 (UTC) To: ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 30 16:29:55 2011 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.69) (envelope-from ) id 1QyPK6-0000R0-GC for gctc-ntg-context-518@m.gmane.org; Tue, 30 Aug 2011 16:29:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 030E7CAF2D; Tue, 30 Aug 2011 16:29:54 +0200 (CEST) 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 LR0WlnYPrqE6; Tue, 30 Aug 2011 16:29:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CEFE0CAF2E; Tue, 30 Aug 2011 16:29:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 016C0CAF2E for ; Tue, 30 Aug 2011 16:29:49 +0200 (CEST) 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 daAIkjKGtLpo for ; Tue, 30 Aug 2011 16:29:47 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 363A4CAF2D for ; Tue, 30 Aug 2011 16:29:47 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7UEThZK000592 for ; Tue, 30 Aug 2011 16:29:43 +0200 Original-Received: from micropit.couberia.bzh ([90.32.10.22]) by mwinf5d01 with ME id SeVi1h00D0UXrma03eVj5o; Tue, 30 Aug 2011 16:29:43 +0200 X-ME-engine: default Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id 97BDB5005D4; Tue, 30 Aug 2011 16:29:42 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.123; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07FqCtHN3 - 3f9070abdd3a - 20110830 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:70967 Archived-At: Hello, When the current font-switch is bold, I would like the verbatim text inside \type{} to respect the bold mode. What is the right way to teach \type{} to automatically use bold or not? Example: \starttext \section{Problem:} {not bold, \type{not bold, ok} // \bf bold, \type{should be bold too}} \section{Workaround:} {not bold, \type{not bold, ok} // \bf bold, {\tt is bold too}} \stoptext TIA for any help! -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________