[oXygen-user] DITA footnotes in Author mode

George Bina george at oxygenxml.com
Thu Feb 9 03:48:53 CST 2023


Hi Frank,

I did something for a variant of TEI vocabulary used for articles, you 
can find the project
https://github.com/georgebina/jteiPlus
The notes are numbered and set on the right side as callouts and 
collapesed by default, with an inline action to be expanded.
The relevant CSS is
https://github.com/georgebina/jteiPlus/blob/master/frameworks/tei-custom/css/sideNotes.css

and you can try it online using the web author at
https://www.oxygenxml.com/oxygen-xml-web-author/app/oxygen.html?url=webdav-https%3A%2F%2Fwww.oxygenxml.com%2Foxygen-xml-web-author%2Fplugins-dispatcher%2Fwebdav-server%2Fjtei%2FDEMOjtei-8-eide-source.xml&stylesheet-titles=Footnotes&author=Anonymous&highlightedActions=%5B%7B%22id%22%3A%22Author%2FShareSession%22%7D%5D

I used z-index to bring the note you have the mouse over to the front :).

Hope this example helps!

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 2/9/23 11:11 AM, Frank Dissinger wrote:
> Hi list,
> 
> 
> oXygen does not seem to have any special styling for DITA footnotes in 
> Author mode. They are just shown as inline elements in italics.
> 
> 
> Has anybody managed to style footnots with CSS in a way similar to how 
> they would like on a page, i.e. on the bottom of the page with ascending 
> numbers and a superscript number at the location where the footnote is 
> referenced?
> 
> 
> I made some attempts with "fn {position: absolute; bottom: -2em}", but 
> was not CSS-skilled enough to prevent the footnotes all being placed on 
> top of each other. And I don't know how to implement a counter for 
> elements that are scattered over the element tree (not children of the 
> same element).
> 
> 
> Any ideas?
> 
> 
> Regards,
> 
> Frank
> 
> -- 
> 
> *Frank Dissinger*
> 
> Documentation Manager
> 
> ....................................................................
> 
> *CGS Publishing Technologies International GmbH*
> 
> *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com 
> <http://www.cgs-oris.com/>
> 
> *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany
> 
> *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99
> 
> *Commercial register* Offenbach, HRB no. 21495
> 
> *Managing directors* Bernd Rückert, Christoph Thommessen
> 
> 
> https://www.cgs-oris.com/Signatur.png <https://www.cgs-oris.com/signatur>
> 
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user


More information about the oXygen-user mailing list