publ-imp-replacements.lua /size: 1040 b    last modification: 2020-07-01 14:35
 1-- Many bibtex databases are poluted. This is a side effect of 7 bit encoding on the 2-- one hand and tweaking the outcome at the other. The worst examples are the use 3-- of \rlap on whole names. We found that trying to cope with all can one drive insane 4-- so we stopped at some point. Clean up your mess or pay the price. But, you can load 5-- this file (and similar ones) to help you out. There is simply no reward in trying 6-- to deal with it ourselves. 7 8return { 9 name = "replacements", 10 version = "1.00", 11 comment = "Good riddance", 12 author = "Alan Braslau and Hans Hagen", 13 copyright = "ConTeXt development team", 14 replacements = { 15 [ [[\emdash]] ] = "—", 16 [ [[\endash]] ] = "–", 17 [ [[{\emdash}]] ] = "—", 18 [ [[{\endash}]] ] = "–", 19 [ [[Th\^e\llap{\raise 0.5ex\hbox{\'{\relax}}}]] ] = "Thánh", 20 [ [[Th{\^e}\llap{\raise0.5ex\hbox{\'{\relax}}}]] ] = "Thánh", 21 [ [[Th{\^e}\llap{\raise 0.5ex\hbox{\'{\relax}}}]] ] = "Thánh", 22 }, 23} 24