Am 01.07.2012 11:13, schrieb Vincent van Ravesteijn:
I believe that your latest patch works for all examples, but that was not the
point I wanted to
made. In theory, one should be able to know what a function does without
looking at the
implementation.
Sure, but sometimes it is not that obvious and therefore a comment has to
explain this.
The problem I have with the code is that it treats a backslash differently
according
to whether the left and right delimiters are the same. This is wrong logic.
It is not obvious at the first look but not illogic. Note that there are two
things:
1. left = right
2. '\' is the only character between the delimiters
With these two things it is logic because there exists only one LaTeX command that allows this -
this is the logic of LaTeX or let's say of its rules/implementation.
regards Uwe