spurious spaces in \pgfmathdeclarefunction #508
Comments
|
Migrated from SourceForge
|
|
Migrated from SourceForge Fixed in https://sourceforge.net/p/pgf/git/ci/00f4e8d4154dcb3133ed4a106b6254b8faf874e2/ but it broke As a little gimmick you can get a spaces inside the definition using |
|
I fear the solution breaks legal statements. Take, for example The result is -- one results in a compile error whereas the second works correctly. \catcode hackery is always prone to such issues, and given
That means: users must not write spurious spaces into the definition of math functions. I know that this is hard to understand for all normal users and even non-TeX programmers, but I fear this is how TeX works -- you must care for spurious spaces, sorry. |
|
I've now provided a workaround that can be enabled by the user which will not affect already defined instances. |
|
@u-fischer I had a look at this again and it seems that this is exclusively a |
Migrated from SourceForge
Author: u_fischer
Timestamp: 2019-01-26 21:41:33.503000
I'm not quite sure if this count as a bug. In the following example the definition of testA contains a spurious space. This space deplaces the bounding box of the resulting tikzpicture/plot but curiously only with pdflatex and lualatex. With xelatex both bounding boxes are fine.
The text was updated successfully, but these errors were encountered: