Re: [NTG-context] CSS selector for elements strictly preceded by other elements

2018-08-04 Thread Hans Hagen
On 8/3/2018 4:31 PM, MF wrote: make a (real) minimal example and we'll see what can be done Here it is: \startbuffer[test] In this paragraphfirst footnoteendnote strictly following a footnote (no other XML nodes between them) a footnote marker and an endnote marker are at the

Re: [NTG-context] CSS selector for elements strictly preceded by other elements

2018-08-03 Thread MF
> make a (real) minimal example and we'll see what can be done > Here it is: \startbuffer[test] In this paragraphfirst footnoteendnote strictly following a footnote (no other XML nodes between them) a footnote marker and an endnote marker are at the same point in the text; in the XML

Re: [NTG-context] CSS selector for elements strictly preceded by other elements

2018-08-02 Thread Hans Hagen
On 8/2/2018 10:20 AM, MF wrote: Hello list, please consider these XML snippets: some text some textblah blahsome other text now apply these CSS selectors to them: e ~ f matches all e + f matches the first and the third There's no CSS selector to match ONLY the third. But i have a use

[NTG-context] CSS selector for elements strictly preceded by other elements

2018-08-02 Thread MF
Hello list, please consider these XML snippets: some text some textblah blahsome other text now apply these CSS selectors to them: e ~ f matches all e + f matches the first and the third There's no CSS selector to match ONLY the third. But i have a use case for that: sometimes i have