pyx-project / pyx

Repository of PyX, a Python package for the creation of PostScript, PDF, and SVG files.
https://pyx-project.org/
GNU General Public License v2.0
109 stars 18 forks source link

reconsider the space handling in the pyxrc #9

Open wobsta opened 5 years ago

wobsta commented 5 years ago

We should abandon the space parameter in favor of a split parameter. By default it is unset, which means, PyX splits at spaces. You may set it to ";" (probably well known for Windows) or ":" (probably the "right" things for unix systems) and use that for splitting. However, the issue remains, that you need to choose yourself, as it automatically results in the character being not available as part of the content values in the lists.

This should make the whole thing way more intuitive.

wobsta commented 5 years ago

Alternatively, lists/multiple-values are often handled by line breaks within options. But I really dislike this solution ... would maybe accept to be outvoted, though.