wangzhongtian schrieb am 14.10.2024 um 01:51:

sorry,corrected the title .

I am trying to implement bibliography management in GB/T 7714-2015 (Chinese bibliography style standard), of Author-Year format. The bib list should be sorted by language, author, year, and then the title of the book. The sorting algorithm should use PinYin of Chinese characters to compare the order.

I am wondering is this feature already implemented for LuaMetatex?

Or if not, any suggestions on how can I implemented this? Like
1. How to implement the sorting algorithm?
2. Which part of the source code can I rewrite to implement this feature?


Take a look into sort-lan.lua.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to