From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99719 Path: news.gmane.org!.POSTED!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: type and typing comments for TeX and Lua Date: Tue, 19 Dec 2017 18:20:22 -0500 (EST) Message-ID: References: <713fef3c-0bdd-7b85-57cd-eba7770b4dff@gmx.es> <835327cf-c4f3-31c9-f617-7db8e2d27af8@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323328-804897481-1513725404=:29440" X-Trace: blaine.gmane.org 1513725530 3829 195.159.176.226 (19 Dec 2017 23:18:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Dec 2017 23:18:50 +0000 (UTC) User-Agent: Alpine 2.20 (LNX 67 2015-01-07) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 20 00:18:46 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRR9p-0000e2-9c for gctc-ntg-context-518@m.gmane.org; Wed, 20 Dec 2017 00:18:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6FB0F102277E; Wed, 20 Dec 2017 00:20:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q9Sy_um4hJMy; Wed, 20 Dec 2017 00:20:37 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 9A9A51022775; Wed, 20 Dec 2017 00:20:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C92301022775 for ; Wed, 20 Dec 2017 00:20:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EULr6f4GWNnv for ; Wed, 20 Dec 2017 00:20:35 +0100 (CET) Original-Received: from maleficent.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.125.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7FF2E1022769 for ; Wed, 20 Dec 2017 00:20:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2016-05-12; t=1513725624; bh=mOJVYx7Oa3s6cRv7yHXgMPOcHmcjlR2yxqTvtYkdcGg=; h=Date:From:To:Subject:In-Reply-To:References; b=chfpAp52djy2O3EOr13F9reffqVZm3Um853F14RHMIZF7RS93AJRJ986iF7mVIhPP lZ6hhXAd9LKb0FSU6e69O5p7NP0hcxqAZLDffR8h9DSjaKnM3Bhyux7jS4utoQYgkC GDLECf6uKFp7P3Ifh6gNr1aQGxUefJjaL+uKB8cRNWe2K17TMuZHFfD91/w60tiE+G /3URGUlSspe21BauzjqHtts+hvEE4AW3Je0qJi2vOZFfUburaqmMN2qtzy2+cRisBv 1wTHdN0dhgI6Kqr97lPDRmTsjwvtmlNQmOPVan8rLykNCIbIGOwHQ52qRQHGhKwqkG +GDOkn5XC8mFA== Authentication-Results: maleficent.mr.itd.umich.edu; iprev=pass policy.iprev=132.206.69.142 (decentralized.ece.mcgill.ca); auth=pass smtp.auth=adityam Original-Received: FROM decentralized.ece.mcgill.ca (decentralized.ece.mcgill.ca [132.206.69.142]) By maleficent.mr.itd.umich.edu ID 5A399EB7.D7CDA.26611; Authuser adityam; Tue, 19 Dec 2017 18:20:23 -0500 In-Reply-To: <835327cf-c4f3-31c9-f617-7db8e2d27af8@gmx.es> Content-ID: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:99719 Archived-At: --8323328-804897481-1513725404=:29440 Content-Type: text/plain; CHARSET=ISO-8859-7; FORMAT=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: On Tue, 19 Dec 2017, Pablo Rodriguez wrote: > On 12/19/2017 08:26 PM, Aditya Mahajan wrote: >> On Mon, 18 Dec 2017, Pablo Rodriguez wrote: >>> [...] >>> Would it be possible that all comments in type and typing (at least, fo= r >>> Lua, XML and TeX) would have the same formatting for the whole comment >>> contents, including the comment signs? >>> >>> Sorry, but with the current output, it is hard to see (for total >>> newbies) what is part of the comment and what not. And the text editor >>> will display something different. >>> >>> I=A2m afraid that the scite module isn=A2t an option for me. >>=20 >> t-vim parses this correctly, but IIRC, you don't want to use the vim=20 >> module either, right? > > Aditya, > > I checked your t-vim module months ago and I don=A2t remember which were > the problems, but I had to discard it. Just try your document with t-vim. It should be as simple as subsituting \usemodule[vim] \definevimtyping[context][syntax=3Dcontext] \definevimtyping[lua][syntax=3Dlua] instead of the \setuptyping commands. If you have a lot of code snippets,= =20 create an subdirectory called output and also set \setupvimtyping[directory=3Doutput] Let me know if there are any errors and I can look into it (except if the= =20 error is related to a windows configuration issue. I don't have a windows= =20 machine to test the module). Aditya --8323328-804897481-1513725404=:29440 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --8323328-804897481-1513725404=:29440--