[Tshwanelex-l] lua script to change the sense and subsense numbering in smart cross-references

Toma Tasovac ttasovac at humanistika.org
Sat Jun 15 12:26:13 EDT 2019


Hi.

I’ve created a lua script to style subsense numbers using Cyrillic letters (а., б., в., г., д. etc.) since the default auto-numbering mechanism in T-Lex does not support Cyrillic strings. 

The problem is that smart cross-references to subsenses are still created using the default autonumbering. So in the senses we have 1a, 1б, 1в, and in cross-references, 1a, 1b, 1c etc.

Can we manipulate the way sense and subsense numbers are styled and displayed in smart cross-references using lua smart styles? If so, does anybody have an example that they could share or some tips to point me in the right direction?

All best,
Toma

--
Belgrade Center for Digital Humanities
http://humanistika.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.yale.edu/pipermail/tshwanelex-l/attachments/20190615/e1baff50/attachment.html>


More information about the Tshwanelex-l mailing list