From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49326 Path: news.gmane.org!not-for-mail From: Andy Wong Newsgroups: gmane.comp.tex.context Subject: Re: mtxrun --noquotes on windows Date: Fri, 10 Apr 2009 14:19:16 -0500 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1984834055==" X-Trace: ger.gmane.org 1239391212 29743 80.91.229.12 (10 Apr 2009 19:20:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Apr 2009 19:20:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 10 21:21:31 2009 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 1LsMI6-0001hT-Mm for gctc-ntg-context-518@m.gmane.org; Fri, 10 Apr 2009 21:21:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C39D1FB5A; Fri, 10 Apr 2009 21:20:01 +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 02351-05; Fri, 10 Apr 2009 21:19:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A34D01FADC; Fri, 10 Apr 2009 21:19:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 315931FADC for ; Fri, 10 Apr 2009 21:19:26 +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 04596-06 for ; Fri, 10 Apr 2009 21:19:18 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id A48B41FADB for ; Fri, 10 Apr 2009 21:19:18 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3AHn8Jj031960 for ; Fri, 10 Apr 2009 19:49:08 +0200 Original-Received: by wf-out-1314.google.com with SMTP id 25so1128778wfc.5 for ; Fri, 10 Apr 2009 12:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=8wU+sDU3MVsAqJVLtdG1TsGw8B10feo+CDYG9n4WBNU=; b=kaNUG4e1PLEc5ldBVMAjFXnX8ktd4PQ07pi5OQUpXzkpEC+A62PG276E1fU5QGnC7h pODzqlTkJ8tQl1CGmArYTCgfKZ95AZ5xMIEJFs9SXtTVolclMSGPguvv5lBm4GwGCvqu zEtiEL6qat5UBVBSFuQO0zW3juOUPalanI3m8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZgHuUw2+H+1XzkdgIpUKQ4Oyt+S4cQmRhMcV+vM6ALUzuGtFTRgsoLpc7Mq7MLkAtg IEr+izfo64efM0h0s1zjpxpKVcZACuspwlzEkq1CPOgecfBfN1lbiwirleTX6qRvCCXw tuUUESOjyr+U3yniU6JIQA00JVm7QpzvO470E= Original-Received: by 10.143.3.16 with SMTP id f16mr1396633wfi.344.1239391156261; Fri, 10 Apr 2009 12:19:16 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.200.171; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 207135647 - c62a9da7037f - 20090410 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49326 Archived-At: --===============1984834055== Content-Type: multipart/alternative; boundary=001636e910659b52f50467383d10 --001636e910659b52f50467383d10 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I think I may not write it clear in my previous email. I run the command as mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\"" which got the mtxrun output has spurious " before test.tex. if omit the \" around the test.tex, like this, mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex" there are no spurious " in mtxrun output. However, both will make vim open a new file named "tabset=8" and the test.tex to be edited. That is the problem. I guess under linux this command should open vim to edit the test.tex only instead. Andy On Fri, Apr 10, 2009 at 1:40 PM, Aditya Mahajan wrote: > Hi, > > It seems that mtxrun --noquotes behaves differently on windows and linux. > Can someone on windows (who has vim) check the following. Run > > mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex" > > You will enter in vim. Press :qa! to exit vim. What does the output on the > terminal say? On my linux machine, I get > > MTXrun | executing: vim -u NONE -c "set tabstop=8" test.tex > > Andy Wong tested it on windows and he gets > > MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex > > Notice the spurious " before test.tex. This causes t-vim to fail on > windows. Do others on windows get the same behavour? I do not see a reason > why mtxrun should behave differently on linux and windows. > > Thanks, > Aditya > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --001636e910659b52f50467383d10 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I think I may not write it clear in my previous email. I run the comma= nd as
=A0
mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=3D8\&quo= t; \"test.tex\""
=A0
which got the mtxrun output has=A0spurious=A0" before test.tex. i= f omit the \" around the test.tex, like this,
=A0
mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=3D8\&quo= t; test.tex"
=A0
there are no spurious " in mtxrun output. However, both will=A0ma= ke vim open a new file named "tabset=3D8" and the test.tex to be = edited. That is the problem. I guess under linux this command should open v= im to edit the test.tex only instead.
=A0
=A0
Andy
=A0
=A0
On Fri, Apr 10, 2009 at 1:40 PM, Aditya Mahajan <= adityam@umich.edu> wrote= :
Hi,

It seems that mtxrun = --noquotes behaves differently on windows and linux. Can someone on windows= (who has vim) check the following. Run

mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=3D8\"= ; test.tex"

You will enter in vim. Press :qa! to exit vim. What= does the output on the terminal say? On my linux machine, I get

MTX= run | executing: vim -u NONE -c "set tabstop=3D8" test.tex

Andy Wong tested it on windows and he gets

MTXrun | executing: v= im -u NONE -c "set tabstop=3D8" "test.tex

Notice the = spurious " before test.tex. This causes t-vim to fail on windows. Do o= thers on windows get the same behavour? I do not see a reason why mtxrun sh= ould behave differently on linux and windows.

Thanks,
Aditya

______________________________________________= _____________________________________
If your question is of interest to= others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http:/= /www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: https://foundry.supelec.fr/= projects/contextrev/
wiki =A0 =A0 : http= ://contextgarden.net
_______________________________________________= ____________________________________

--001636e910659b52f50467383d10-- --===============1984834055== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1984834055==--