oxy_ string functions don’t seem to work in CSS header specifications
Posted: Wed Jun 05, 2024 2:41 pm
Folks,
In my document, I would like to have a header reproducing only a part of the ‘sectiontitle’, so instead of writing, say:
I would like something like this:
However, this doesn’t work for any pattern other than those matching a void string, and it seems the string(sectiontitle) expression is actually void when the oxy_replace (or any other oxy_* function for that matter, such as oxy_substring) is called.
Is this intended, and is there a workaround?
In my document, I would like to have a header reproducing only a part of the ‘sectiontitle’, so instead of writing, say:
Code: Select all
@page :left {
...
@top-left {
color: blue;
content: string(sectiontitle);
}
}
Code: Select all
@page :left {
...
@top-left {
color: blue;
content: oxy_replace(string(sectiontitle), *some_pattern*, *replacement_string*, true);
}
}
Is this intended, and is there a workaround?