Portability | portable |
---|---|
Stability | alpha |
Maintainer | John MacFarlane <jgm@berkeley@edu> |
Safe Haskell | Safe-Infered |
Main
Description
Parses command-line options and calls the appropriate readers and writers.
- encodePath, decodeArg :: FilePath -> FilePath
- copyrightMessage :: String
- compileInfo :: String
- wrapWords :: Int -> Int -> [String] -> String
- nonTextFormats :: [String]
- data Opt = Opt {
- optTabStop :: Int
- optPreserveTabs :: Bool
- optStandalone :: Bool
- optReader :: String
- optWriter :: String
- optParseRaw :: Bool
- optTableOfContents :: Bool
- optTransforms :: [Pandoc -> Pandoc]
- optTemplate :: Maybe FilePath
- optVariables :: [(String, String)]
- optOutputFile :: String
- optNumberSections :: Bool
- optSectionDivs :: Bool
- optIncremental :: Bool
- optSelfContained :: Bool
- optSmart :: Bool
- optOldDashes :: Bool
- optHtml5 :: Bool
- optHighlight :: Bool
- optHighlightStyle :: Style
- optChapters :: Bool
- optHTMLMathMethod :: HTMLMathMethod
- optReferenceODT :: Maybe FilePath
- optReferenceDocx :: Maybe FilePath
- optEPUBStylesheet :: Maybe String
- optEPUBMetadata :: String
- optEPUBFonts :: [FilePath]
- optDumpArgs :: Bool
- optIgnoreArgs :: Bool
- optStrict :: Bool
- optReferenceLinks :: Bool
- optWrapText :: Bool
- optColumns :: Int
- optPlugins :: [Pandoc -> IO Pandoc]
- optEmailObfuscation :: ObfuscationMethod
- optIdentifierPrefix :: String
- optIndentedCodeClasses :: [String]
- optDataDir :: Maybe FilePath
- optCiteMethod :: CiteMethod
- optBibliography :: [String]
- optCslFile :: FilePath
- optAbbrevsFile :: Maybe FilePath
- optListings :: Bool
- optLaTeXEngine :: String
- optSlideLevel :: Maybe Int
- optSetextHeaders :: Bool
- optAscii :: Bool
- optTeXLigatures :: Bool
- defaultOpts :: Opt
- options :: [OptDescr (Opt -> IO Opt)]
- usageMessage :: String -> [OptDescr (Opt -> IO Opt)] -> String
- defaultReaderName :: String -> [FilePath] -> String
- lhsExtension :: [FilePath] -> Bool
- defaultWriterName :: FilePath -> String
- main :: IO ()
Documentation
encodePath, decodeArg :: FilePath -> FilePath
wrapWords :: Int -> Int -> [String] -> String
Converts a list of strings into a single string with the items printed as comma separated words in lines with a maximum line length.
nonTextFormats :: [String]
data Opt
Data structure for command line options.
Constructors
Opt | |
Fields
|
defaultOpts :: Opt
Defaults for command-line options.
options :: [OptDescr (Opt -> IO Opt)]
A list of functions, each transforming the options data structure in response to a command-line option.
defaultReaderName :: String -> [FilePath] -> String
lhsExtension :: [FilePath] -> Bool
defaultWriterName :: FilePath -> String