Filter Divs along with its notes. #11153
-
|
Hi, I keep markdown sources with divs with attributes that I want to selectively filter out depending on the target. Example: For some targets I want to filter out all The problem is that citeproc somehow takes the citations inside the removed Instead the second note is styled as a short note, as citeproc seems to think they are not consecutive references to the same work. I tried setting the citeproc filter in the filter list after |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
|
I think your problem is that your filter runs after citeproc instead of before it. The order of the arguments on the command line determines the order of processing, so you need to give the filter filename with |
Beta Was this translation helpful? Give feedback.
Okay, that's true, omitted a Div won't change other aspects of the AST, like citationNoteNum.
You could have your filter adjust these too, I suppose.