ONLYOFFICE / onlyoffice.github.io

ONLYOFFICE plugins. Code, resources, and styling for the Plugin Marketplace and Plugins Manager.
Apache License 2.0
125 stars 370 forks source link

Zotero: support for superscript/subscript in references #308

Open parrenin opened 8 months ago

parrenin commented 8 months ago

Zotero supports the insertion of sub/superscripts in references using \...\ and \...\" markups. Unfortunately, OnlyOffice does not support this feature. The markups are skipped, but the text format is not sub/superscript.

VladimirProkofiev52 commented 8 months ago

Hello @parrenin Unfortunately, I didn't quite understand what you meant. Could you please provide more details about what you're asking for, or share an excerpt describing the requested feature from the Zotero website?

parrenin commented 8 months ago

Sorry Vladimir, my message was unclear since the markups were actually used by github to make my text subscript/superscript... I did correct the original message, so please have a look. Zotero supports superscripts/subscript, in particular for title of articles. I use it quite often because we often mention isotopes in our titles in my scientific field (e.g., 10Be). The problem is that this superscript/subscript formatting is "lost" by OnlyOffice when one inserts a bibliography.

parrenin commented 8 months ago

An example with OnlyOffice :

image

The same example with Word :

image

Note the superscript formatting in Word which does not exist in OnlyOffice.

VladimirProkofiev52 commented 8 months ago

@parrenin, I can confirm - this is bug, issue #66380. Thanks for the report!

VladimirProkofiev52 commented 7 months ago

Hello! @parrenin I've found a previously registered issue that is similar to yours. We are closing your problem as it is a duplicate of this issue.
All further communication will take place here: https://github.com/ONLYOFFICE/onlyoffice.github.io/issues/197

parrenin commented 7 months ago

Hi Vladimir and Rita, I think there is a problem here. This issue is NOT a duplicate of #197. Prefix/suffix in citation and superscripts/subscripts in references are two different problems. Please re-open this issue.

VladimirProkofiev52 commented 7 months ago

Perhaps we didn't fully understand your question. Could you please provide a more detailed explanation of the distinctions between prefix/suffix and superscript/subscript when using Zotero?

parrenin commented 7 months ago

Yes, of course I can provide an explanation.

Prefix/suffix for a citation is as the following example: "as demonstrated (e.g., Prokoviev et al., 2024 and references therein)". Here, "e.g., " is a prefix and " and references therein" is a suffix.

Superscript/subscript in a reference is as in the following example: "Raisbeck, G. M., Cauquoin, A., Jouzel, J., Landais, A., Petit, J.-R., Lipenkov, V. Y., Beer, J., Synal, H.-A., Oerter, H., Johnsen, S. J., Steffensen, J. P., Svensson, A., and Yiou, F.: An improved north–south synchronization of ice core records around the 41 kyr 10Be peak, Climate of the Past, 13, 217–229, https://doi.org/10.5194/cp-13-217-2017, 2017." Here, we use the superscripted "10" to mean one of the Beryllium isotope.

VladimirProkofiev52 commented 7 months ago

We apologize and appreciate your explanation. We have found the features you requested in the Zotero application. We will reopen this issue. Thank you very much for your report!

parrenin commented 7 months ago

You are welcome @VladimirProkofiev52, and thanks for your work on this!