git.iko.soy/typeable/pandoc
on master help sign in
Spellcheck comments
commit38ad0b32041aed9e5459b79b6e97af5d6ba74985 authorAlexander Krotov <ilabdsf@gmail.com> dateMon 6 Nov 2017, 06:56 (9 years ago) parent5ece5d7
2 files changed+6−6
src/Text/Pandoc/Readers/Odt/ContentReader.hs+2−2 src/Text/Pandoc/Readers/Odt/StyleReader.hs+4−4
src/Text/Pandoc/Readers/Odt/ContentReader.hs+2−2
@@ -247,7 +247,7 @@ getPrettyAnchor = proc (baseIdent, uglyAnchor) -> do
247247 modifyExtraState (putPrettyAnchor uglyAnchor newPretty) -<< newPretty
248248
249249-- | Input: basis for a new header anchor
250−-- Ouput: saved new anchor
250+-- Output: saved new anchor
251251getHeaderAnchor :: OdtReaderSafe Inlines Anchor
252252getHeaderAnchor = proc title -> do
253253 state <- getExtraState -< ()
@@ -566,7 +566,7 @@ read_text_seq = matchingElement NsText "sequence"
566566
567567
568568-- specifically. I honor that, although the current implementation of '(<>)'
569−-- for 'Inlines' in "Text.Pandoc.Builder" will collaps them agein.
569+-- for 'Inlines' in "Text.Pandoc.Builder" will collapse them again.
570570-- The rational is to be prepared for future modifications.
571571read_spaces :: InlineMatcher
572572read_spaces = matchingElement NsText "s" (
src/Text/Pandoc/Readers/Odt/StyleReader.hs+4−4
@@ -104,7 +104,7 @@ instance Lookupable FontPitch where
104104instance Default FontPitch where
105105 def = PitchVariable
106106
107−-- The font pitch can be specifed in a style directly. Normally, however,
107+-- The font pitch can be specified in a style directly. Normally, however,
108108-- it is defined in the font. That is also the specs' recommendation.
109109--
110110-- Thus, we want
@@ -340,8 +340,8 @@ instance Read XslUnit where
340340 readsPrec _ "em" = [(XslUnitEM , "")]
341341 readsPrec _ _ = []
342342
343−-- | Rough conversion of measures into millimeters.
344−-- Pixels and em's are actually implemetation dependant/relative measures,
343+-- | Rough conversion of measures into millimetres.
344+-- Pixels and em's are actually implementation dependant/relative measures,
345345-- so I could not really easily calculate anything exact here even if I wanted.
346346-- But I do not care about exactness right now, as I only use measures
347347-- to determine if a paragraph is "indented" or not.
@@ -425,7 +425,7 @@ instance Read ListItemNumberFormat where
425425--------------------------------------------------------------------------------
426426-- Readers
427427--
428−-- ...it seems like a whole lot of this should be automatically deriveable
428+-- ...it seems like a whole lot of this should be automatically derivable
429429-- or at least moveable into a class. Most of this is data concealed in
430430-- code.
431431--------------------------------------------------------------------------------