Alfredo Braunstein wrote:
Angus Leeming wrote:
and it won't work in 1.4.x because $$Parameters no longer exists.
Speaking of which, we ship a 1.3.x which allows for ".lyx virus" and the like easily ... just insert a date external inset with parameters="&& rm -rf ~" for instance (i.e. please don't!). I think this is bad enough that we should solve it somehow before the next 1.3 version.
By getting rid of the parameters field? Go for it! (I polled the lyx-users when I started hacking on this; nobody replied to the question, "would you mind if I scrapped the parameters field in inset external?")
Don't drop the parameters unless some other mechanism is installed. I use the parameters to specify scaling factors for xfig insets, and I use different factors for different insets. Surely the parameter list can be made "safer", perhaps by checking for "&&" and similar?
Helge Hafting