Closed inponomarev closed 3 years ago
I can set the custom style file for all the syntrax diagrams in the document by setting :syntrax-style:, and it works!
:syntrax-style:
However, if I want to set an individual style file for a single syntrax diagram using
[syntrax,example,svg, style="mystyle.ini"] .... line('a', 'b', 'c') ....
the style is simply ignored, no matter if :syntrax-style: style is set for the document or not (other attributes such as scale and heading are respected), contrary to what is said in documentation.
scale
heading
Turns out 'style' is a reserved attribute and it simply doesn't get passed down to the extension. I'll rename this to style-file.
I can set the custom style file for all the syntrax diagrams in the document by setting
:syntrax-style:
, and it works!However, if I want to set an individual style file for a single syntrax diagram using
the style is simply ignored, no matter if
:syntrax-style:
style is set for the document or not (other attributes such asscale
andheading
are respected), contrary to what is said in documentation.