From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44463 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Listings (was: Experience on writing a thesis with MKIV) Date: Tue, 30 Sep 2008 19:15:45 +0200 Message-ID: References: <55EB992D-5348-422A-8105-11A2B2726AF7@gmail.com> <48af9a710809300937g728b8a7aib8b88f0c1e144750@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222795071 25004 80.91.229.12 (30 Sep 2008 17:17:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2008 17:17:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 30 19:18:49 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Kkirt-0008S7-0O for gctc-ntg-context-518@m.gmane.org; Tue, 30 Sep 2008 19:18:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 23F661FE45; Tue, 30 Sep 2008 19:17:29 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05306-03; Tue, 30 Sep 2008 19:16:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9A301FE27; Tue, 30 Sep 2008 19:16:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CFE81FE27 for ; Tue, 30 Sep 2008 19:16:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04454-05-2 for ; Tue, 30 Sep 2008 19:15:47 +0200 (CEST) Original-Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by ronja.ntg.nl (Postfix) with ESMTP id A71C31FCC7 for ; Tue, 30 Sep 2008 19:15:47 +0200 (CEST) Original-Received: by ik-out-1112.google.com with SMTP id c21so102512ika.2 for ; Tue, 30 Sep 2008 10:15:47 -0700 (PDT) Original-Received: by 10.86.59.2 with SMTP id h2mr5969547fga.40.1222794947399; Tue, 30 Sep 2008 10:15:47 -0700 (PDT) Original-Received: from ?192.168.2.23? (p5B29621D.dip.t-dialin.net [91.41.98.29]) by mx.google.com with ESMTPS id d6sm836024fga.2.2008.09.30.10.15.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Sep 2008 10:15:46 -0700 (PDT) In-Reply-To: <48af9a710809300937g728b8a7aib8b88f0c1e144750@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44463 Archived-At: Am 30.09.2008 um 18:37 schrieb Chen Shen: > Hi Wolfgang, > > I guess you are referring to mkii features. It seems that formatting > in verbatim doesn't work in mkiv yet, or did I miss out something? > None of the wiki verbatim examples worked for me. Syntax hyghlighting is implemented in different ways for MkII and MkIV, MkII use TeX code while MkIV use Lua code to show the keywords etc. Hans added only files for TeX, MetaPost and Lua in MkIV but you could write files for more languages, you find the rules in the verb-*.lua files. Regards, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________