Skip to content

Commit

Permalink
remove unnecessary spaces and support long: false
Browse files Browse the repository at this point in the history
Co-authored-by: dscso <[email protected]>
  • Loading branch information
slashformotion and verbuggt committed Nov 11, 2023
1 parent a1ee80e commit e4644f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions glossarium.typ
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ SOFTWARE.*/
let is_first = gloss == ();
let entlong = entry.at("long", default: "")
let textLink = if display !=none {
[ #display]
} else if (is_first or long == true) and entlong != [] and entlong != "" {
[ #entry.short#suffix (#emph(entlong))]
[#display]
} else if (is_first or long == true) and entlong != [] and entlong != "" and long != false {
[#entry.short#suffix (#emph(entlong))]
} else {
[#entry.short#suffix]
}
Expand Down

0 comments on commit e4644f4

Please sign in to comment.