summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Removed support for "box-style" block quotes in markdown.fiddlosopher2007-12-08
| | | | | | | | | This adds unneeded complexity and makes pandoc diverge further than necessary from other markdown extensions. Brought documentation, tests, and debian/changelog up to date. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1141 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated debian/changelog.fiddlosopher2007-12-06
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1140 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added new HTML math demos to website. Revamped mkdemos.pl for simplicity.fiddlosopher2007-12-04
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1139 788f1e2b-df1e-0410-8736-df70ead52e1b
* Adjusted test suite for footnote changes in LaTeX and ConTeXt writers.fiddlosopher2007-12-04
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1138 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improvements to LaTeX and ConTeXt footnote handling:fiddlosopher2007-12-04
| | | | | | | | | | + ConTeXt: } at end of footnote now occurs on a new line when the footnote ends with \stoptyping, just as in LaTeX writer. + LaTeX and ConTeXt: \footnote is no longer indented. The indentation causes problems with wrapping, as it makes the line too long. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1137 788f1e2b-df1e-0410-8736-df70ead52e1b
* If gladtex specified, don't prettyprint <EQ> tags, or gladtex gets confused.fiddlosopher2007-12-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1136 788f1e2b-df1e-0410-8736-df70ead52e1b
* Small fix to error handling in TeXMath parser:fiddlosopher2007-12-02
| | | | | | | | | + misc now parses anything but a '}' character + if there's a TeX parsing error, the string is included verbatim and no error is issued. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1135 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed note about public mimetex server from README.fiddlosopher2007-12-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1134 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated test suite -- no italics for digits.fiddlosopher2007-12-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1133 788f1e2b-df1e-0410-8736-df70ead52e1b
* TeXMath parser: use emphasis only for letters, not numbers.fiddlosopher2007-12-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1132 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated HTML and S5 writer tests for new span tags in math.fiddlosopher2007-12-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1131 788f1e2b-df1e-0410-8736-df70ead52e1b
* Put math in HTML inside <span class="math">.fiddlosopher2007-12-02
| | | | | | | | This way it can be distinguished from the surrounding text, e.g. put in a different font. Updated README accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1130 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added Text.Pandoc.Readers.TeXMath and changed default handling of math.fiddlosopher2007-12-02
| | | | | | | | | | | | | | + Text.Pandoc.Readers.TeXMath exports readTeXMath, which reads raw TeX math and outputs a string of pandoc inlines that tries to render it as far as possible, lapsing into literal TeX when needed. + Added Text.Pandoc.Readers.TeXMath to pandoc.cabal + ghc66 version. + Modified writers so that readTeXMath is used for default HTMl output in HTML, S5, RTF, Docbook. + Updated README with information about how math is rendered in all formats. + Updated test suite. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1129 788f1e2b-df1e-0410-8736-df70ead52e1b
* Website: Added note about inclusion in Ubuntu Hardy Heron.fiddlosopher2007-12-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1128 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed TODO.fiddlosopher2007-12-01
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1127 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated tests with new way of displaying math in HTML (with no enclosing $'s).fiddlosopher2007-12-01
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1126 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added --gladtex and --mimetex options.fiddlosopher2007-12-01
| | | | | | | | | | + New HTMLMathMethod structure in WriterOptions keeps track of how to display math in HTML output. + If none of the special options are selected, default to displaying TeX math verbatim, with no enclosing $'s, in HTML. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1125 788f1e2b-df1e-0410-8736-df70ead52e1b
* Documented new --gladtex and --mimetex options, and new treatment of TeX math.fiddlosopher2007-12-01
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1124 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added HTMLMathMethod writer option.fiddlosopher2007-12-01
| | | | | | | This selects between asciimathml, mimetex, gladtex, and plain math. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1123 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified s5 fancy test to include new ASCIIMathML.js.fiddlosopher2007-12-01
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1122 788f1e2b-df1e-0410-8736-df70ead52e1b
* Small change to wording in README.fiddlosopher2007-12-01
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1121 788f1e2b-df1e-0410-8736-df70ead52e1b
* New version of ASCIIMathML.js.fiddlosopher2007-12-01
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1120 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified writer tests for new Math and TeX output.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1119 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed all writers to handle new Math block element.fiddlosopher2007-11-29
| | | | | | | | This allows TeX element to be handled differently (and in many output formats, simply ignored). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1118 788f1e2b-df1e-0410-8736-df70ead52e1b
* Revised s5.native test with Math block.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1117 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed small error in testsuite.native.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1116 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified markdown reader for new Math block.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1115 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified LaTeX reader for new Math blocks.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1114 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified refsMatch for new Math block element.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1113 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added new Math block element.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1112 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed tests to use new Math block element.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1111 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added TODO for math branch notes.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1110 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed src, headers, ui from top-level -- git-svn didn't do this.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1109 788f1e2b-df1e-0410-8736-df70ead52e1b
* Makefile changes: BUILDCONF and CABAL_BKP.fiddlosopher2007-11-29
| | | | | | | | | | + Changed BUILDCONF to point to dist/setup-config, not .setup-config. This is where current versions of Cabal put it. 'make clean' works again! + Do not clean up CABAL_BKP, because it might need to be recovered for a new build with a different GHC version. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1108 788f1e2b-df1e-0410-8736-df70ead52e1b
* Small improvements in Makefile:fiddlosopher2007-11-29
| | | | | | | | + Added $(BUILDCMD) target, so setup doesn't get compiled every time. + Removed (now circular) dependency of templates on ./templates. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1107 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved ASCIIMathML.js, headers, and ui into templates.fiddlosopher2007-11-29
| | | | | | | Adjusted templates/Makefile and fillTemplates.pl as needed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1106 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed references to source directory in Makefile and pandoc.cabal.*.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1105 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved everything from src into the top-level directory.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1104 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed Text directory. This is a remnant of an experimentfiddlosopher2007-11-28
| | | | | | | | moving the contents of src/ to the top level, and should have been deleted long ago. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1097 788f1e2b-df1e-0410-8736-df70ead52e1b
* Makefile: Add .exe extension to BUILDCMD if building on Windows.fiddlosopher2007-11-26
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1096 788f1e2b-df1e-0410-8736-df70ead52e1b
* + Makefile now checks GHC version. If GHC is 6.6, pandoc.cabal.ghc66fiddlosopher2007-11-25
| | | | | | | | | | | | | is copied to pandoc.cabal, and the old pandoc.cabal is copied to pandoc.cabal.orig. Otherwise, pandoc.cabal is copied to pandoc.cabal.orig but otherwise unmodified. This way, the Makefile will work properly with either GHC 6.6 or 6.8. + The changes in debian/rules from r1066 have been reverted, since they are no longer needed. Also, debian/rules has been converted to UTF-8. + INSTALL instructions have been updated accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1095 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated debian/changelog.fiddlosopher2007-11-25
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1094 788f1e2b-df1e-0410-8736-df70ead52e1b
* Reverted changes in r1086 (implicit section header references).fiddlosopher2007-11-23
| | | | | | | This caused too much of a performance hit. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1093 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved and simplified setextHeader parser in markdown reader.fiddlosopher2007-11-22
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1092 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated PROFILING instructions. It is no longer necessaryfiddlosopher2007-11-22
| | | | | | | | to insert -auto-all by hand, since Ghc-Prof-Options takes care of that. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1091 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use Ghc-Prof-Options to ensure that '-auto-all' is usedfiddlosopher2007-11-22
| | | | | | | when '--enable-*-profiling' is specified. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1090 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved efficiency of romanNumeral parser (in Text.Pandoc.Shared)fiddlosopher2007-11-22
| | | | | | | for a big speed boost in (non-strict) markdown parsing. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1089 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changes to testsuite for new \useURL in context writer.fiddlosopher2007-11-22
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1088 788f1e2b-df1e-0410-8736-df70ead52e1b
* + Changed \useurl to \useURL in ConTeXt output.fiddlosopher2007-11-22
| | | | | | | + Changed links from red to blue in ConTeXt output. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1087 788f1e2b-df1e-0410-8736-df70ead52e1b
* Implemented implicit reference-style links to section headers in markdown.fiddlosopher2007-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For example, if you have a header '# Supported architectures', you can link to it with '[Supported architectures]'. If there are multiple headers with this label, the link will point to the first of them. Implicit references are always overridden by explicitly specified references. Addresses Issue #20. + Moved isPunctuation, uniqueIdentifiers, and inlineListToIdentifier from Text.Pandoc.Writers.HTML to Text.Pandoc.Shared. + Added stHeaders to ParserState. This holds a list of header texts used in the document, and is used to construct implicit header references. + In Text.Pandoc.Readers.Markdown, added call to headerReference parser in initial parsing pass, constructing a list of section header labels. This is then passed to uniqueIdentifiers to produce identifiers, and a list of implicit references is constructed. This is added to the end of the explicitly specified references, so it will be overridden by explicitly specified references. All of this processing is skipped if --strict was specified. + Modified documentation in README. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1086 788f1e2b-df1e-0410-8736-df70ead52e1b