Hi Hans, There is a small bug in texexec --mptex: it deletes lines starting with a # character because it believes those are comments. Not true. Example: beginfig(1); numeric #; # = 10; % remove leading space to get error label(btex $x_1$ etex, (#,#)); endfig; end (I found this because it happens in the MP manual macros) Best wishes, Taco
Taco Hoekwater wrote:
Hi Hans,
There is a small bug in texexec --mptex: it deletes lines starting with a # character because it believes those are comments. Not true.
Example:
beginfig(1); numeric #; # = 10; % remove leading space to get error label(btex $x_1$ etex, (#,#)); endfig; end
(I found this because it happens in the MP manual macros)
ah, should be ... in tex.rb if mpdata = File.silentread(mpname) then mpdata.gsub!(/^\%.*\n/o,'') ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Taco Hoekwater