Aditya Mahajan wrote: > I get. > > F:\tmp\cont-test\test>ruby --version > ruby 1.8.4 (2005-12-24) [i386-mswin32] > > F:\tmp\cont-test\test>ruby test.rb > mpto mp-test-01.mp > \gdef\mpxshipout{\shipout\hbox\bgroup > \setbox0=\hbox\bgroup} > \gdef\stopmpxshipout{\egroup \dimen0=\ht0 \advance\dimen0\dp0 > \dimen1=\ht0 \dimen2=\dp0 > \setbox0=\hbox\bgroup > \box0 > \ifnum\dimen0>0 \vrule width1sp height\dimen1 depth\dimen2 > \else \vrule width1sp height1sp depth0sp\relax > \fi\egroup > \ht0=0pt \dp0=0pt \box0 \egroup} > \mpxshipout% line 2 mp-test-01.mp > This is a test\stopmpxshipout > \end{document} > true > 0 > --------------------------- > mpto mp-test-01.mp > mp-test-01-test.tex > false > 0 > --------------------------- > > > Notice that the second test is failing. So, in tex.rb, the system > command fails and I do not get mp-test-01-test.tex file! Can anyone > else using one-click installer for ruby on windows confirm this? > i get (standard ruby install):
>ruby --version ruby 1.8.4 (2005-12-24) [i386-mswin32] >ruby test.rb mpto mp-test-01.mp \gdef\mpxshipout{\shipout\hbox\bgroup \setbox0=\hbox\bgroup} \gdef\stopmpxshipout{\egroup \dimen0=\ht0 \advance\dime \dimen1=\ht0 \dimen2=\dp0 \setbox0=\hbox\bgroup \box0 \ifnum\dimen0>0 \vrule width1sp height\dimen1 depth\ \else \vrule width1sp height1sp depth0sp\relax \fi\egroup \ht0=0pt \dp0=0pt \box0 \egroup} \mpxshipout% line 2 mp-test-01.mp This is a test\stopmpxshipout \end{document} true 0 --------------------------- mpto mp-test-01.mp > mp-test-01-test.tex true 0 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context