is there a chance that the Author mode will support one or more of the following CSS features in one of the next releases?
- property/value "font-variant: small-caps"
- property "text-decoration-color"
- selector "::first-letter"
Post by friedemann_bach » Thu Oct 15, 2015 4:01 pm
Post by Radu » Fri Oct 16, 2015 9:31 am
We do not yet have support for this, we tried to do this once but we do not seem to have much support in the Java VM for it.property/value "font-variant: small-caps"
Oxygen should support this already. Could you give me a small example of what your CSS selector looks like?property "text-decoration-color"
I will add an improvement request for this. Could you tell me about your use-case?selector "::first-letter"
Post by friedemann_bach » Fri Oct 16, 2015 5:08 pm
Good workaround, this works fine in our case. Thanks!property/value "font-variant: small-caps"
We do not yet have support for this, we tried to do this once but we do not seem to have much support in the Java VM for it.
But there are free TTF fonts which render with small-caps by default (you can google for "TTF small caps font").
Sure:property "text-decoration-color"
Oxygen should support this already. Could you give me a small example of what your CSS selector looks like?
Of course. We are working with historical texts and use Oxygen Author for transcriptions. It would be nice to configure the transcription Author mode in a way that looks similar to the original design. In many of our historical texts, sometimes the first letter of a paragraph is enlarged. This is documented in an attribute on the paragraph (@rendition in TEI). Of course, we could also enclose the initial letter in another element, but it would be more convenient for the editors if it was possible to deduce the design by the rendition attribute of the whole paragraph.selector "::first-letter"
I will add an improvement request for this. Could you tell me about your use-case?
Post by Radu » Mon Oct 19, 2015 9:47 am
Sorry about that, I managed to reproduce the problem on my side and we'll probably fix it in Oxygen 18.0 (next year in Spring).in XML(TEI): <hi rend="underline">Beobachter</hi>
in CSS: text body hi[rend~='underline'] { text-decoration:underline; text-decoration-color:red; text-decoration-style:double; }
It is rendered double underlined, but not red. I am still using Oxygen 16, so maybe I just have to update?
Code: Select all
hi[rend ~= 'underline']{
border-bottom:double red;
text-decoration:none;
}
Post by friedemann_bach » Mon Oct 19, 2015 12:26 pm
Post by Radu » Wed May 04, 2016 3:27 pm
Post by joerg.hambuch » Tue May 08, 2018 4:45 pm
Code: Select all
:first-letter
Code: Select all
font-variant: small-caps;
Code: Select all
[rend="kapitaelchen"] {
text-transform: uppercase;
font-variant: small-caps; /* non-functional in oXygen? */
font-size: 80%;
}
[rend="kapitaelchen"]:first-letter { /* ::first-letter seems to be non-functional, too. */
font-size: 100%;
}
Code: Select all
<katalognachweis>
<hi rend="kapitaelchen">fehlt</hi>
</katalognachweis>
Post by Radu » Wed May 09, 2018 7:35 am
Post by bwalters » Wed Feb 12, 2020 8:52 pm
Post by mihaela » Thu Feb 13, 2020 1:04 pm
This website was created & generated with <oXygen/>®XML Editor