|
From: Mojca M. <moj...@gm...> - 2008-12-10 10:33:01
|
On Wed, Dec 10, 2008 at 9:27 AM, Juergen Wieferink wrote: >> What parser probs did you encounter? I don't see any problems in parsing >> strings or numbers, as it is already done. But maybe we are just talking >> about different things. Anyway, it shouldn't be a problem to extend the >> parser if necessary. > > Well, not exactly problems. AFAIR the lua script has no access to > the higher level parsing functions like try_to_get_string() and > real_expression(). Thus you cannot use string variables or general > expression evaluating to strings or numbers. This could be implemented, but I doubt that it is really worth the effort. You only need it to set monochrome/color, plot size, font size, ... And one doesn't really need complex gnuplot expressions to set the plot size. The defaults should already be OK. > Additionally no spaces > are allowed between the number and the dimension, i.e. "5in" is > allowed, "5 in" is not. That's not the problem. It could be changed, but the idea is that if one provides no number, it is treated as centimeters, and then "in" would be treated as the next option. > As far as I am concerned "fulldoc" should be renamed into > "standalone" to fit the corresponding option of the epslatex > terminal. I agree. The same is true for preamble that is called header in epslatex. > These are of course minor issues. Having an autoconfiscated version > would really help in testing. Right. Once the terminal is integrated, it would be easier for others to test. Mojca |