aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorEmerson Harkin <emerson.f.harkin@gmail.com>2020-08-14 14:30:17 -0400
committerGitHub <noreply@github.com>2020-08-14 11:30:17 -0700
commit6cfb31bbe22a843d7066450f832bbc1b3ae235ab (patch)
treea39ddedd4284cf809ac40a20cc8f7123de44d6ec /src/Text
parente65c6b0b5d9e107386c41fa4ff65064e67d168aa (diff)
downloadpandoc-6cfb31bbe22a843d7066450f832bbc1b3ae235ab.tar.gz
Change SIRange to SIrange (#6617)
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 9ab4b3cb8..936dd6740 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -259,9 +259,9 @@ dosiunitx = do
emptyOr160 unit,
unit]
--- converts e.g. \SIRange{100}{200}{\ms} to "100 ms--200 ms"
-doSIRange :: PandocMonad m => LP m Inlines
-doSIRange = do
+-- converts e.g. \SIrange{100}{200}{\ms} to "100 ms--200 ms"
+doSIrange :: PandocMonad m => LP m Inlines
+doSIrange = do
skipopts
startvalue <- tok
startvalueprefix <- option "" $ bracketed tok
@@ -1098,7 +1098,7 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList
, ("acsp", doAcronymPlural "abbrv")
-- siuntix
, ("SI", dosiunitx)
- , ("SIRange", doSIRange)
+ , ("SIrange", doSIrange)
-- hyphenat
, ("bshyp", lit "\\\173")
, ("fshyp", lit "/\173")