Hi again,
it was indeed the Underscore.

This works (therion 5.4.1):
--------
       if ( known ATTR__text ):
          % set labeling color to red
          push_label_fill_color(1.0, 0.0, 0.0);

          % draw filled label with text below station
          p_label.bot(ATTR__text, pos shifted (0,-0.5u), 0.0, 8);

          % restore original labeling color
          pop_label_fill_color;
        fi;
-------

Thank you everybody!



Am 2018-12-26 23:20, schrieb Benedikt Hallinger via Therion:
Forwarding an off list mail to me that explains

Am 2018-12-24 11:27, schrieb Marco Corvi:
benedikt,

from my tests,
options, eg "-text", are referred as ATTR__text (double underscore),
custom attributes, eg "-attr code", as
ATTR_code (single underscore)

feel free to forward to the list.

thx for pointing out the error in my page,

marco
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion

Reply via email to