Replies: 1 comment 2 replies
-
Further investigation (1) I noticed when both KaTeX and Refnotes plugins are installed, reordering the stylesheets works and solves the issue. e.g. putting the Refnotes styles
after KaTeX style
So, is there anything wrong in (2)
renders as (a1 this is a line b2 c3), which works correctly, but
does not work and renders as a1 b1 c2 Number is reset when a new line is started. Disabling the KaTeX makes Refnotes works fine. |
Beta Was this translation helpful? Give feedback.
-
I have encountered an issue in using automatic numbering using CSS counter when I use the KaTex official plugin.
KaTeX plugin in
$:/plugins/tiddlywiki/katex/styles
uses.tc-tiddler-frame { counter-reset: katexEqnNo; }
to allow correct numbering of equations.If you have another plugin like Refnote which it also uses CSS numbering with
.tc-tiddler-frame { counter-reset: fnote-count;}
then as two or more counter reset under.tc-tiddler-frame
does not work then one of plugin shows wrong numbering for example see kookma/TW-Refnotes#23 (comment)My investigation shows we need to have all counter reset in one declaration statement see https://stackoverflow.com/questions/29126881/more-counters-in-css
So, adding a new stylesheet with
Solve the issue.
Question: What solution do you propose for Tiddlywiki? One solution is given above, but it is not intuitive.
Beta Was this translation helpful? Give feedback.
All reactions