summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
* Fixed some haddock documentation bugs in Shared.hs.fiddlosopher2007-11-18
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1085 788f1e2b-df1e-0410-8736-df70ead52e1b
* More improvements to ConTeXt writer:fiddlosopher2007-11-18
| | | | | | | | | | | | | | | | | + writer options are now in state, so they don't have to be passed as a parameter + state also keeps track of ordered list level, so the right default numbering scheme can be used + extra blank line after \stopitemize + removed definitions of ltxenum and ltxitem from the preamble + both kinds of lists are now generated using \start-stopitemize, with appropriate options + in the case of bulleted lists, no options need be specified, because defaults are given in the preamble + test suite updated accordingly git-svn-id: https://pandoc.googlecode.com/svn/trunk@1084 788f1e2b-df1e-0410-8736-df70ead52e1b
* ConTeXt writer:fiddlosopher2007-11-17
| | | | | | | | + Don't use \(sub)+subject if header level > 5. + Modified tests to conform to new treatment of level 4 and 5 headers. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1083 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified ConTeXt writer to use \subsubsubsubsection etc.,fiddlosopher2007-11-17
| | | | | | | since these are supported (up to at least sub x 5). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1082 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use $(GHC) instead of ghc and make them user configurable through environmentroktas2007-11-17
| | | | | | | | | to support unusual ghc installations, for example: GHC=/opt/ghc/bin/ghc GHC_PKG=/opt/ghc/bin/ghc-pkg make git-svn-id: https://pandoc.googlecode.com/svn/trunk@1081 788f1e2b-df1e-0410-8736-df70ead52e1b
* Adjusted formatting of LaTeX and ConTeXt footnotes:fiddlosopher2007-11-17
| | | | | | | | | | | - in ConTeXt, % is not needed at end of line before note, since space is gobbled. - beginning of footnote indented four spaces. - this required an additional parameter in wrappedTeX and wrapTeXIfNeeded, in Text.Pandoc.Shared. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1080 788f1e2b-df1e-0410-8736-df70ead52e1b
* ConTeXt writer: Use itemize options, not sym{}, to produce orderedfiddlosopher2007-11-16
| | | | | | | lists with custom numbering styles. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1079 788f1e2b-df1e-0410-8736-df70ead52e1b
* New, "official" definition of blockquote environment in ConTeXt header.fiddlosopher2007-11-16
| | | | | | | Also, use blank line after \startblockquote to balance blank line at the end. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1078 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed logic in markdown smart quote parsing:fiddlosopher2007-11-15
| | | | | | | | | + Added some needed 'try' statements. + Unicode right single-quote can double as apostrophe, so treat it as a quote-end only when not followed by an alphanumeric character. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1077 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed smart quote parsing in markdown reader so that unicodefiddlosopher2007-11-15
| | | | | | | | characters 8216 and 8217 are recognized as single quotes, and 8220 and 8221 as double quotes. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1075 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated documentation to reflect the fact that LaTeX and ConTeXt writersfiddlosopher2007-11-15
| | | | | | | now wrap text by default. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1074 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated tests for changes in LaTeX and ConTeXt writers.fiddlosopher2007-11-15
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1073 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changes to ConTeXt writer:fiddlosopher2007-11-15
| | | | | | | | | | | + PrettyPrint module now used for output. + Text wrapping now provided, using wrapTeXIfNeeded. + Better treatment of footnotes: footnotes are always on lines by themselves. + Use \subject, \subsubject, ... or \section, \subsection, ... for headings, depending on whether --number-sections option is selected. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1072 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved footnote handling in LaTeX writer:fiddlosopher2007-11-15
| | | | | | | | | | + use wrapTeXIfNeeded instead of wrapIfNeeded + make sure footnotes occur on lines by themselves, with a % at the end of the preceding line to prevent unwanted spaces + added writer options to state, so it can be accessed by wrapTeXIfNeeded git-svn-id: https://pandoc.googlecode.com/svn/trunk@1071 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added wrappedTeX and wrapTeXIfNeeded functions to Text.Pandoc.Shared.fiddlosopher2007-11-15
| | | | | | | | These ensure that footnotes occur on lines by themselves (to make them easier to move around), and that they don't screw up text wrapping. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1070 788f1e2b-df1e-0410-8736-df70ead52e1b