From 42aca57dee8d88afa5fac512aeb1198102908865 Mon Sep 17 00:00:00 2001 From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> Date: Sat, 24 Jan 2009 20:00:26 +0000 Subject: [PATCH] Moved all haskell source to src subdirectory. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1528 788f1e2b-df1e-0410-8736-df70ead52e1b --- pandoc.cabal | 4 ++-- Main.hs => src/Main.hs | 0 {Text => src/Text}/Pandoc.hs | 0 {Text => src/Text}/Pandoc/Biblio.hs | 0 {Text => src/Text}/Pandoc/Blocks.hs | 0 {Text => src/Text}/Pandoc/CharacterReferences.hs | 0 {Text => src/Text}/Pandoc/DefaultHeaders.hs | 0 {Text => src/Text}/Pandoc/Definition.hs | 0 {Text => src/Text}/Pandoc/Highlighting.hs | 0 {Text => src/Text}/Pandoc/LaTeXMathML.hs | 0 {Text => src/Text}/Pandoc/ODT.hs | 0 {Text => src/Text}/Pandoc/Plugins.hs | 0 {Text => src/Text}/Pandoc/Readers/HTML.hs | 0 {Text => src/Text}/Pandoc/Readers/LaTeX.hs | 2 +- {Text => src/Text}/Pandoc/Readers/Markdown.hs | 0 {Text => src/Text}/Pandoc/Readers/RST.hs | 0 {Text => src/Text}/Pandoc/Readers/TeXMath.hs | 0 {Text => src/Text}/Pandoc/Shared.hs | 0 {Text => src/Text}/Pandoc/TH.hs | 0 {Text => src/Text}/Pandoc/Writers/ConTeXt.hs | 0 {Text => src/Text}/Pandoc/Writers/Docbook.hs | 0 {Text => src/Text}/Pandoc/Writers/HTML.hs | 0 {Text => src/Text}/Pandoc/Writers/LaTeX.hs | 0 {Text => src/Text}/Pandoc/Writers/Man.hs | 0 {Text => src/Text}/Pandoc/Writers/Markdown.hs | 0 {Text => src/Text}/Pandoc/Writers/MediaWiki.hs | 0 {Text => src/Text}/Pandoc/Writers/OpenDocument.hs | 0 {Text => src/Text}/Pandoc/Writers/RST.hs | 0 {Text => src/Text}/Pandoc/Writers/RTF.hs | 0 {Text => src/Text}/Pandoc/Writers/S5.hs | 0 {Text => src/Text}/Pandoc/Writers/Texinfo.hs | 0 {Text => src/Text}/Pandoc/XML.hs | 0 32 files changed, 3 insertions(+), 3 deletions(-) rename Main.hs => src/Main.hs (100%) rename {Text => src/Text}/Pandoc.hs (100%) rename {Text => src/Text}/Pandoc/Biblio.hs (100%) rename {Text => src/Text}/Pandoc/Blocks.hs (100%) rename {Text => src/Text}/Pandoc/CharacterReferences.hs (100%) rename {Text => src/Text}/Pandoc/DefaultHeaders.hs (100%) rename {Text => src/Text}/Pandoc/Definition.hs (100%) rename {Text => src/Text}/Pandoc/Highlighting.hs (100%) rename {Text => src/Text}/Pandoc/LaTeXMathML.hs (100%) rename {Text => src/Text}/Pandoc/ODT.hs (100%) rename {Text => src/Text}/Pandoc/Plugins.hs (100%) rename {Text => src/Text}/Pandoc/Readers/HTML.hs (100%) rename {Text => src/Text}/Pandoc/Readers/LaTeX.hs (99%) rename {Text => src/Text}/Pandoc/Readers/Markdown.hs (100%) rename {Text => src/Text}/Pandoc/Readers/RST.hs (100%) rename {Text => src/Text}/Pandoc/Readers/TeXMath.hs (100%) rename {Text => src/Text}/Pandoc/Shared.hs (100%) rename {Text => src/Text}/Pandoc/TH.hs (100%) rename {Text => src/Text}/Pandoc/Writers/ConTeXt.hs (100%) rename {Text => src/Text}/Pandoc/Writers/Docbook.hs (100%) rename {Text => src/Text}/Pandoc/Writers/HTML.hs (100%) rename {Text => src/Text}/Pandoc/Writers/LaTeX.hs (100%) rename {Text => src/Text}/Pandoc/Writers/Man.hs (100%) rename {Text => src/Text}/Pandoc/Writers/Markdown.hs (100%) rename {Text => src/Text}/Pandoc/Writers/MediaWiki.hs (100%) rename {Text => src/Text}/Pandoc/Writers/OpenDocument.hs (100%) rename {Text => src/Text}/Pandoc/Writers/RST.hs (100%) rename {Text => src/Text}/Pandoc/Writers/RTF.hs (100%) rename {Text => src/Text}/Pandoc/Writers/S5.hs (100%) rename {Text => src/Text}/Pandoc/Writers/Texinfo.hs (100%) rename {Text => src/Text}/Pandoc/XML.hs (100%) diff --git a/pandoc.cabal b/pandoc.cabal index 011d6814f..13cdb4b3c 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -158,7 +158,7 @@ Library Build-depends: citeproc-hs Exposed-Modules: Text.Pandoc.Biblio cpp-options: -D_CITEPROC - Hs-Source-Dirs: . + Hs-Source-Dirs: src Exposed-Modules: Text.Pandoc, Text.Pandoc.Blocks, Text.Pandoc.Definition, @@ -198,7 +198,7 @@ Library Buildable: False Executable pandoc - Hs-Source-Dirs: . + Hs-Source-Dirs: src Main-Is: Main.hs Ghc-Options: -O2 -Wall -threaded Ghc-Prof-Options: -auto-all diff --git a/Main.hs b/src/Main.hs similarity index 100% rename from Main.hs rename to src/Main.hs diff --git a/Text/Pandoc.hs b/src/Text/Pandoc.hs similarity index 100% rename from Text/Pandoc.hs rename to src/Text/Pandoc.hs diff --git a/Text/Pandoc/Biblio.hs b/src/Text/Pandoc/Biblio.hs similarity index 100% rename from Text/Pandoc/Biblio.hs rename to src/Text/Pandoc/Biblio.hs diff --git a/Text/Pandoc/Blocks.hs b/src/Text/Pandoc/Blocks.hs similarity index 100% rename from Text/Pandoc/Blocks.hs rename to src/Text/Pandoc/Blocks.hs diff --git a/Text/Pandoc/CharacterReferences.hs b/src/Text/Pandoc/CharacterReferences.hs similarity index 100% rename from Text/Pandoc/CharacterReferences.hs rename to src/Text/Pandoc/CharacterReferences.hs diff --git a/Text/Pandoc/DefaultHeaders.hs b/src/Text/Pandoc/DefaultHeaders.hs similarity index 100% rename from Text/Pandoc/DefaultHeaders.hs rename to src/Text/Pandoc/DefaultHeaders.hs diff --git a/Text/Pandoc/Definition.hs b/src/Text/Pandoc/Definition.hs similarity index 100% rename from Text/Pandoc/Definition.hs rename to src/Text/Pandoc/Definition.hs diff --git a/Text/Pandoc/Highlighting.hs b/src/Text/Pandoc/Highlighting.hs similarity index 100% rename from Text/Pandoc/Highlighting.hs rename to src/Text/Pandoc/Highlighting.hs diff --git a/Text/Pandoc/LaTeXMathML.hs b/src/Text/Pandoc/LaTeXMathML.hs similarity index 100% rename from Text/Pandoc/LaTeXMathML.hs rename to src/Text/Pandoc/LaTeXMathML.hs diff --git a/Text/Pandoc/ODT.hs b/src/Text/Pandoc/ODT.hs similarity index 100% rename from Text/Pandoc/ODT.hs rename to src/Text/Pandoc/ODT.hs diff --git a/Text/Pandoc/Plugins.hs b/src/Text/Pandoc/Plugins.hs similarity index 100% rename from Text/Pandoc/Plugins.hs rename to src/Text/Pandoc/Plugins.hs diff --git a/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs similarity index 100% rename from Text/Pandoc/Readers/HTML.hs rename to src/Text/Pandoc/Readers/HTML.hs diff --git a/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs similarity index 99% rename from Text/Pandoc/Readers/LaTeX.hs rename to src/Text/Pandoc/Readers/LaTeX.hs index 9ba5bf372..f35ab4f29 100644 --- a/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -635,7 +635,7 @@ doubleQuoteStart :: CharParser st String doubleQuoteStart = string "``" doubleQuoteEnd :: CharParser st String -doubleQuoteEnd = string "\"" <|> try (string "''") +doubleQuoteEnd = try $ string "''" ellipses :: GenParser Char st Inline ellipses = try $ string "\\ldots" >> optional (try $ string "{}") >> diff --git a/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs similarity index 100% rename from Text/Pandoc/Readers/Markdown.hs rename to src/Text/Pandoc/Readers/Markdown.hs diff --git a/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs similarity index 100% rename from Text/Pandoc/Readers/RST.hs rename to src/Text/Pandoc/Readers/RST.hs diff --git a/Text/Pandoc/Readers/TeXMath.hs b/src/Text/Pandoc/Readers/TeXMath.hs similarity index 100% rename from Text/Pandoc/Readers/TeXMath.hs rename to src/Text/Pandoc/Readers/TeXMath.hs diff --git a/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs similarity index 100% rename from Text/Pandoc/Shared.hs rename to src/Text/Pandoc/Shared.hs diff --git a/Text/Pandoc/TH.hs b/src/Text/Pandoc/TH.hs similarity index 100% rename from Text/Pandoc/TH.hs rename to src/Text/Pandoc/TH.hs diff --git a/Text/Pandoc/Writers/ConTeXt.hs b/src/Text/Pandoc/Writers/ConTeXt.hs similarity index 100% rename from Text/Pandoc/Writers/ConTeXt.hs rename to src/Text/Pandoc/Writers/ConTeXt.hs diff --git a/Text/Pandoc/Writers/Docbook.hs b/src/Text/Pandoc/Writers/Docbook.hs similarity index 100% rename from Text/Pandoc/Writers/Docbook.hs rename to src/Text/Pandoc/Writers/Docbook.hs diff --git a/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs similarity index 100% rename from Text/Pandoc/Writers/HTML.hs rename to src/Text/Pandoc/Writers/HTML.hs diff --git a/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs similarity index 100% rename from Text/Pandoc/Writers/LaTeX.hs rename to src/Text/Pandoc/Writers/LaTeX.hs diff --git a/Text/Pandoc/Writers/Man.hs b/src/Text/Pandoc/Writers/Man.hs similarity index 100% rename from Text/Pandoc/Writers/Man.hs rename to src/Text/Pandoc/Writers/Man.hs diff --git a/Text/Pandoc/Writers/Markdown.hs b/src/Text/Pandoc/Writers/Markdown.hs similarity index 100% rename from Text/Pandoc/Writers/Markdown.hs rename to src/Text/Pandoc/Writers/Markdown.hs diff --git a/Text/Pandoc/Writers/MediaWiki.hs b/src/Text/Pandoc/Writers/MediaWiki.hs similarity index 100% rename from Text/Pandoc/Writers/MediaWiki.hs rename to src/Text/Pandoc/Writers/MediaWiki.hs diff --git a/Text/Pandoc/Writers/OpenDocument.hs b/src/Text/Pandoc/Writers/OpenDocument.hs similarity index 100% rename from Text/Pandoc/Writers/OpenDocument.hs rename to src/Text/Pandoc/Writers/OpenDocument.hs diff --git a/Text/Pandoc/Writers/RST.hs b/src/Text/Pandoc/Writers/RST.hs similarity index 100% rename from Text/Pandoc/Writers/RST.hs rename to src/Text/Pandoc/Writers/RST.hs diff --git a/Text/Pandoc/Writers/RTF.hs b/src/Text/Pandoc/Writers/RTF.hs similarity index 100% rename from Text/Pandoc/Writers/RTF.hs rename to src/Text/Pandoc/Writers/RTF.hs diff --git a/Text/Pandoc/Writers/S5.hs b/src/Text/Pandoc/Writers/S5.hs similarity index 100% rename from Text/Pandoc/Writers/S5.hs rename to src/Text/Pandoc/Writers/S5.hs diff --git a/Text/Pandoc/Writers/Texinfo.hs b/src/Text/Pandoc/Writers/Texinfo.hs similarity index 100% rename from Text/Pandoc/Writers/Texinfo.hs rename to src/Text/Pandoc/Writers/Texinfo.hs diff --git a/Text/Pandoc/XML.hs b/src/Text/Pandoc/XML.hs similarity index 100% rename from Text/Pandoc/XML.hs rename to src/Text/Pandoc/XML.hs