From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58004 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: code Date: Fri, 09 Apr 2010 12:00:05 +0200 Message-ID: <4BBEFAA5.6090007@googlemail.com> References: <20100409112022.5fa86a94@KUBUNTU64> 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: dough.gmane.org 1270807328 26001 80.91.229.12 (9 Apr 2010 10:02:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Apr 2010 10:02:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 09 12:02:07 2010 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 1O0B2K-00005z-MU for gctc-ntg-context-518@m.gmane.org; Fri, 09 Apr 2010 12:02:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75E0CC9D03; Fri, 9 Apr 2010 12:02:04 +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 VzolWBKx+YAj; Fri, 9 Apr 2010 12:02:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 660E8C9D2C; Fri, 9 Apr 2010 12:00:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0FFACC9CA0 for ; Fri, 9 Apr 2010 12:00:57 +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 NoiCXCy00bDS for ; Fri, 9 Apr 2010 12:00:46 +0200 (CEST) Original-Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by balder.ntg.nl (Postfix) with ESMTP id E6E06C9D37 for ; Fri, 9 Apr 2010 12:00:11 +0200 (CEST) Original-Received: by bwz28 with SMTP id 28so2392951bwz.34 for ; Fri, 09 Apr 2010 03:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=gyMxHbISIsYVgoaJ3N1/8xO40FmB2xSoKEwRwAd08oo=; b=kIXthBOcgZzn75jM7/fq7Tt2Qjqogf1IC0l3T8JVweNREnRgCLXd4qz0rS7xveLjdA enEdkbUAxjcan/jNl6ZuLm+WQsGMW+KEQr5+FyujIV8txTKGl4sg1uxAdmKXIaiMsFrw AhesiJPzTewgJnlQHVA1JWwfQQOMC5jjJdxHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=KLEL7FF4egp4llaV77pjmdaala7WBph4Tn90ct+y2kyD/zYEyl4FkxD5abjeRunY00 ZxEewa+L+2l6QfLionewi0mPMU348C39S5LwZdRHKukZkrvLWG7yi3MJ8Gtg22SyhWQW wsnm4xHUCziTPC2255n76CfYP5phgSRQgBl3s= Original-Received: by 10.204.3.137 with SMTP id 9mr1654281bkn.6.1270807211404; Fri, 09 Apr 2010 03:00:11 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B294328.dip.t-dialin.net [91.41.67.40]) by mx.google.com with ESMTPS id 14sm462340bwz.6.2010.04.09.03.00.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Apr 2010 03:00:10 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <20100409112022.5fa86a94@KUBUNTU64> 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:58004 Archived-At: Am 09.04.10 11:20, schrieb R. Bastian: > Hello, > > how to translate in context the following plain tex: > > \font\fgras = cmbtt10 > {\tt > {\obeylines > {\fgras def} ra(): > \ \ \ \ a = 3 > \ \ \ \ b = 4 > } > } > MkII: \setuplines[space=on] \starttext \startlines\tt %\startlines[style=mono] % works only in MkIV {\bf def} ra(): a = 3 b = 4 \stoplines \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________