Merge pull request #10 from arne314/index-confilicts-readable-typst

resolve index conflict with cal letters
This commit is contained in:
Linus
2025-01-25 18:47:28 +01:00
committed by GitHub

View File

@@ -39,7 +39,8 @@ local greek_letters_map = {
local greek_keys = {} local greek_keys = {}
local greek_letters_set = {} local greek_letters_set = {}
local common_indices = { '\\d+', '[i-n]' } local common_indices = { '\\d+', '[i-n]' }
local index_conflicts = { 'in', 'ln', 'pi', 'xi', 'el' } -- buitins and caligraphic letters from github.com/lentilus/readable-typst
local index_conflicts = { 'in', 'ln', 'pi', 'xi', 'Ii', 'Jj', 'Kk', 'Ll', 'Mm', 'Nn' }
local index_conflicts_set = {} local index_conflicts_set = {}
local punctuation_prepend_space = { ',', ';' } local punctuation_prepend_space = { ',', ';' }
local punctuation_prepend_space_set = {} local punctuation_prepend_space_set = {}