Main: Relabeled asciiMathMLLink -> asciiMathML, asciiMathML -> math.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@767 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2007-07-22 19:20:21 +00:00
parent c9e89e1793
commit f7d0da28e9

View file

@ -177,7 +177,7 @@ options =
, Option "" ["strict"]
(NoArg
(\opt -> return opt { optStrict = True } ))
"" -- "Use strict markdown syntax with no extensions"
"" -- "Disable markdown syntax extensions"
, Option "" ["reference-links"]
(NoArg
@ -399,7 +399,7 @@ main = do
, optNumberSections = numberSections
, optIncremental = incremental
, optSmart = smart
, optASCIIMathML = asciiMathML
, optASCIIMathML = math
, optDumpArgs = dumpArgs
, optIgnoreArgs = ignoreArgs
, optStrict = strict
@ -455,11 +455,11 @@ main = do
then ""
else "<link rel=\"stylesheet\" href=\"" ++ css ++
"\" type=\"text/css\" media=\"all\" />\n"
let asciiMathMLLink = if asciiMathML then asciiMathMLScript else ""
let asciiMathML = if math then asciiMathMLScript else ""
let header = (if (customHeader == "DEFAULT")
then defaultHeader
else customHeader) ++
csslink ++ asciiMathMLLink ++ includeHeader
csslink ++ asciiMathML ++ includeHeader
let writerOptions = WriterOptions { writerStandalone = standalone &&
(not strict),
writerHeader = header,