<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Michael,</p>
<p>We (the Oxygen XML developers) are not very familiar with the
JATS format.</p>
<p>Oxygen uses CSS to render the JATS content in the Author visual
editing mode. If for example you open the CSS
"OXYGEN_INSTALL_DIR/frameworks/jats/lib/author-css/authoring-extension.css"
CSS and add this selector to it:</p>
<p>
<blockquote type="cite">*[style]{<br>
-oxy-style:attr(style);<br>
}</blockquote>
then save your CSS and re-open your JATS file, Oxygen's visual
editing should interpret the small CSS snippet value from any
element which has a "style" attribute.</p>
<p>But is this correct according to the standard?</p>
<p><a class="moz-txt-link-freetext" href="https://jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-kkw2.html">https://jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-kkw2.html</a></p>
<p>
<blockquote type="cite">with many of the elements within a NISO
JATS table(<a
href="https://jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-by90.html"
target="main" title="Table (NISO JATS table model)"><span
class="elementtag"><table></span></a>), records the
name of the style to be applied to the element; </blockquote>
The value of the @style attribute seems in the standard to
indicate more a style name which should indicate the styling.<br>
</p>
<p>Regards,</p>
<p>Radu</p>
<pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
<p></p>
<div class="moz-cite-prefix">On 10/16/22 04:45, Michael Boudreau
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CH0PR11MB5508D9127A4ED6D07B37360ECF269@CH0PR11MB5508.namprd11.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}@font-face
{font-family:Courier;
panose-1:0 0 0 0 0 0 0 0 0 0;}@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Times New Roman \(Body CS\)";
panose-1:2 11 6 4 2 2 2 2 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Is
Oxygen supposed to heed the ‘style’ attribute on <th>
and <td> elements in the JATS table model when it’s
rendering tables? It doesn’t appear to be doing so.</span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"> </span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">I’m
using Oxygen 25.0 on macOS X 12.6. I’m creating tables using
the JATS table model in a framework that uses CSS files
copied from the JATSKit framework. When I add a style
attribute like this—</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"> </span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:Courier;color:#000096"><td</span><span
style="font-family:Courier;color:#F5844C"> align</span><span
style="font-family:Courier;color:#FF8040">=</span><span
style="font-family:Courier;color:#993300">"center"</span><span
style="font-family:Courier;color:#F5844C"> valign</span><span
style="font-family:Courier;color:#FF8040">=</span><span
style="font-family:Courier;color:#993300">"bottom"</span><span
style="font-family:Courier;color:black"><br>
</span><span style="font-family:Courier;color:#F5844C">
style</span><span
style="font-family:Courier;color:#FF8040">=</span><span
style="font-family:Courier;color:#993300">"border-bottom:
solid thin black; border-right: solid thin black"</span><span
style="font-family:Courier;color:#000096">></span><span
style="font-family:Courier;color:black">X</span><span
style="font-family:Courier;color:#000096"></td></span><span
style="font-size:9.0pt;font-family:Helvetica;color:#993300"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"> </span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">—the
rules I hope to see on the cell don’t appear.</span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"> </span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">(For
background: I’m creating tables in the JATS model by
converting tables from the OASIS model. In the OASIS model,
the <entry> element has ‘colsep’ and ‘rowsep’
attributes to make a rule appear on the right or bottom edge
of the table cell. Since there are no direct analogues of
those attributes in the JATS model <th> and <td>
elements, I’m using the ‘style’ attribute instead.)</span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">-- <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Michael
R. Boudreau<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Electronic
Publishing Technology Manager<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">The
University of Chicago Press<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">1427 E.
60<sup>th</sup> Street<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Chicago,
IL 60637<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><a
href="http://www.journals.uchicago.edu"
moz-do-not-send="true"><span style="color:#0563C1">www.journals.uchicago.edu</span></a><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>