Ensure ordering of used abbrevs is correct
This commit is contained in:
parent
26e0bbdab6
commit
fe6de041a5
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
== The meat of the paper
|
== The meat of the paper
|
||||||
|
|
||||||
The #p1 pronoun in English is "I".
|
The #p1#sg pronoun in English is "I".
|
||||||
|
|
||||||
The #p1 pronoun in Spanish is "yo"
|
The #p1 pronoun in Spanish is "yo"
|
||||||
|
|
||||||
|
@ -92,16 +92,18 @@
|
|||||||
#let print_usage_chart = {
|
#let print_usage_chart = {
|
||||||
locate(loc => {
|
locate(loc => {
|
||||||
let final_used_abbreviations = used_abbreviations.final(loc)
|
let final_used_abbreviations = used_abbreviations.final(loc)
|
||||||
|
|
||||||
|
//TODO this is debugging get rid of soon
|
||||||
for (key, value) in final_used_abbreviations {
|
for (key, value) in final_used_abbreviations {
|
||||||
[#key was used: #value]
|
[#key was used: #value]
|
||||||
linebreak()
|
linebreak()
|
||||||
}
|
}
|
||||||
|
|
||||||
linebreak()
|
linebreak()
|
||||||
for (key, value) in final_used_abbreviations {
|
//TODO requires standard_abbreviations to be sorted alphabetically, can this be enforced?
|
||||||
if value {
|
for (abbrv, explanation) in standard_abbreviations {
|
||||||
let desc = standard_abbreviations.at(key)
|
if abbrv in final_used_abbreviations {
|
||||||
[#smallcaps(lower(key)) #h(2em) #desc]
|
[#smallcaps(lower(abbrv)) #h(2em) #explanation]
|
||||||
linebreak()
|
linebreak()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user