aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-07-22 14:35:08 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-07-22 16:30:10 -0700
commit9d07d180f0223d1e3515a661c3a9fe131dd224c1 (patch)
treea51faec44e1d89014c419883e64ca1d754be50c5 /src/Text/Pandoc/Readers/LaTeX/Parsing.hs
parent65865b31867efcdf28c51526797fc1b8ec7685a6 (diff)
downloadpandoc-9d07d180f0223d1e3515a661c3a9fe131dd224c1.tar.gz
LaTeX reader: support theorem environments and `\newtheorem`.
Includes numbering and labels and refs. Note that numbering support is not complete; we don't reset numbers with sections for example.
Diffstat (limited to 'src/Text/Pandoc/Readers/LaTeX/Parsing.hs')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX/Parsing.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
index 26a88c13e..4e8414fef 100644
--- a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
+++ b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
@@ -119,6 +119,8 @@ data TheoremSpec =
TheoremSpec
{ theoremName :: Text
, theoremSeries :: Maybe Text
+ , theoremSyncTo :: Maybe Text
+ , theoremNumber :: Bool
, theoremLastNum :: DottedNum }
deriving (Show)