Skip to content

Commit

Permalink
Replace more non-ASCII chars in toBiblatex.R file
Browse files Browse the repository at this point in the history
Signed-off-by: Mathew W. McLean <[email protected]>
  • Loading branch information
mwmclean committed Oct 7, 2024
1 parent bc96669 commit b3792fd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions R/toBiblatex.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,16 @@ latexify <- function(x,
substitutions <- c(substitutions, list(c("\\u0132", "\\\\IJ{}"),
c("\\u0133", "\\\\ij{}"),
c("\\u01f1", "DZ"), c("\\u01f2", "Dz"),
c("\\u01f3", "dz"), c("\\u01c4", "DŽ"),
c("\\u01c5", "Dž"), c("\\u01c6", "dž"),
c("\\u01f3", "dz"), c("\\u01c4", "DZ\\u033c"),
c("\\u01c5", "Dz\\u030c"),
c("\\u01c6", "dz\\u030c"),
c("\\u01c7", "LJ"), c("\\u01c8", "Lj"),
c("\\u01c9", "lj"), c("\\u01ca", "NJ"),
c("\\u01cb", "Nj"), c("\\u01cc", "nj"),
c("\\ufb00", "ff"), c("\\ufb01", "fi"),
c("\\ufb02", "ſt"), c("\\ufb06", "st")))
c("\\ufb02", "fl"), c("\\ufb03", "ffi"),
c("\\ufb04", "ffl"), c("\\ufb05", "\\u017ft"),
c("\\ufb06", "st")))
above <- list(diaeresis = c("\\u0308", "\""), acute = c("\\u0301", "'"),
dotabove = c("\\u0307", "."), macron = c("\\u0304", "="),
circumflex = c("\\u0302", "^"), grave = c("\\u0300", "`"),
Expand Down

0 comments on commit b3792fd

Please sign in to comment.