Probably when working with css you don’t take into consideration css priority rules. Modified manuscript theme includes bootstrap and jquery ui that already use own styles. In order to overwrite it there is a need to know some css rules. For example this code:
Thanks for reporting
I had done several fixes and adopted new feature in master branch, including super- ,subscript inside paragraphs, tables and more complex cases like: <p>some text <bold>more important text <italic>most important text <sup>11</sup></italic><sub>22</sub>></bold></p>
This commit: add superscript and subscript · Vitaliy-1/JATSParserPlugin@4b01071 · GitHub
Usage is discouraged. The intent of this Tag Set is not to capture the “look-and-feel” of a document.
Can you tell me in what context this element is used? Inside which elements and for what purpose? Maybe it can be omitted or provided with other option?
I planning to create new release when there will be enough changes. Maybe in next month.
Dear @Vitaliy,
Thanks for the update, especially the sup and sub.
But, I found a problem with sup (I have not checked sub).
There seemed to be a gap before the superscripted item. (see below)
Here is the xml code:
Here is the output:
Would you please look into it?
Regarding return tag:
We are using xml file for display of whole article in article detail page and as such we need to have some customization for visual appeal. (Visual customization is not the goal of xml file in real sense.)
I am in need of return tag to display data in header and cells of tables, for eg, in a header cell if I want to write “Variable, n (%)”, I want n (%) in a next line below Variable but in the same cell. Similarly some other td data need to be arranged that way.
Hi @anupent,
You can handle sup and sub elements like every other html element. Just modify css accordingly (margin-left for these elements). Let me know if you need more guidance in this.
Ok, will add support for break element if php supports elements with no open tag. But we successfuly rely on automatic word transfer in table cells.
Dear @Vitaliy,
Previously we had to use tbody tags else everything looked bold and centered.
With this fix, we dont need to write thead or tbody if we dont need header column, but we need to write thead tags only if we need header in our table.
So, tbody tags can be totally avoided.
Did I understand it properly or is there any more changes?
For changing the look of those tabs you will need to pick needed colors from the jquery-ui site: http://jqueryui.com/themeroller/ download theme with needed colors and overwrite jquery-ui folder with it. These colors are hardcoded inside jquery ui css and javascript and changing the code with standard way will lead to side effects.
Dear @Vitaliy,
Is there a way to write foot-notes under figure in “JatsParser”. I have a figure with some abbreviations and want explanation of them as foot notes.
OJS 3 Theme with built-in JATS Parser Plugin is ready for testing (not ready for production use yet, not all pages are ready). Don’t forget to rename to oldGregg after downloading. If someone is interested in testing don’t hesitate to open an issue on GitHub if something goes wrong.
Later I will make a demonstration instance.