Why?
There still a lot of places where the user has to 'escape' to the macro language in order to do something. For instance if you want to read out the pagenumber you have to do:
content: "Page: " -xpp-perl(xymacro, 'ri', '%p4');
Now I do not know if in the current implementation the system actually goes out into the perl world to then just send back the macro, but if that is the case there is a lot of potential performance gain when implementing a shortcut that does not go to perl first
Implementation:
I propose the following syntax:
content: "Page: " -xpp-macro(ri, %p4);
Goal
- save a lot of keystrokes and make things more readable
- potential performance gain as the system can immediately execute the xymacro without escaping in the perl world (do not know if the current implementation actually does that or not)