-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of boxed-text for piece of texts #542
Comments
Sample: <boxed-text id="bx1">
<sec>
<title>Box 1 Use of antidepressants and suicidality in young individuals</title>
<p>In 2004, the FDA made the decision to include a black box warning about the risk of suicidality associated with antidepressant use among individuals under 25 years of age<xref ref-type="bibr" rid="B26">26</xref>.</p>
<p>Based on the fact that for the treatment of depressive disorders the number needed to treat (NNT) in this age group is at least 10 and the number needed to harm (number needed to harm, NNH) is 112, it was concluded that the benefits associated with the use of antidepressants outweigh the potential risks.</p>
</sec>
<attrib>source: .....</attrib>
</boxed-text> <boxed-text id="bx1">
<fig id="f12">
<label>Figure</label>
<caption>
<title>Diagnostic algorithm for depressive episodes in children and adolescents</title>
</caption>
<graphic xlink:href="figure.jpg"/>
</fig>
</boxed-text> In the same way of |
Would be good to fine out what the semantic uses are here. Like boxed-text is just a visual encoding. We can use the tag but I'd like to internally decide what this type of content means. I'm against wrapping fig elements in boxed text. That's strange semantics to me. Thoughts? |
@michael we at eLife will need the ability for figures to be within boxes. This is different to the use case above, but it's the same basic requirement. |
HI there, here is an elife example: https://elifesciences.org/articles/05519 |
@Melissa37 I'm not sure I understand the requirement for boxed figures. What's the difference of using a figure directly? It seems like a more visual clue. So we could also add some flag to the figure element like boxed="true" or more semantically highlighted="true" to make it appear differently. @fabiobatalha boxed text is like a quote with a different style? Does the box have any semantical meaning or is it just visual? |
@michael the figure in the box is part of/linked to this section of text (which is not directly a part of the main narrative). It's different to a figure within the main text as it's associated with the text in the box. |
Ok, understood. From the JATS specification:
|
@Melissa37 @fabiobatalha would figures inside |
@Melissa37 the example you have provided suggests that boxes have a counter like tables, and can be referenced from the narrative. |
Hi there The XML of that example is old and wrong, but here is what we do:
|
Ok. Thanks. This makes sense. |
Continue at: #1327 |
In some articles the authors highlight a piece of text for different purposes. It seems the boxed-text fits well for this need.
Sample of articles in Érudit:
References:
JATS Reference: https://jats.nlm.nih.gov/publishing/tag-library/1.2d1/element/boxed-text.html
Érudit Article:
The text was updated successfully, but these errors were encountered: