summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Updated PROFILING instructions.fiddlosopher2007-08-15
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@840 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated debian/changelog.fiddlosopher2007-08-15
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@836 788f1e2b-df1e-0410-8736-df70ead52e1b
* Major code cleanup in all modules. (Removed unneeded imports,fiddlosopher2007-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | reformatted, etc.) More major changes are documented below: + Removed Text.Pandoc.ParserCombinators and moved all its definitions to Text.Pandoc.Shared. + In Text.Pandoc.Shared: - Removed unneeded 'try' in blanklines. - Removed endsWith function and rewrote functions to use isSuffixOf instead. - Added >>~ combinator. - Rewrote stripTrailingNewlines, removeLeadingSpaces. + Moved Text.Pandoc.Entities -> Text.Pandoc.CharacterReferences. - Removed unneeded functions charToEntity, charToNumericalEntity. - Renamed functions using proper terminology (character references, not entities). decodeEntities -> decodeCharacterReferences, characterEntity -> characterReference. - Moved escapeStringToXML to Docbook writer, which is the only thing that uses it. - Removed old entity parser in HTML and Markdown readers; replaced with new charRef parser in Text.Pandoc.Shared. + Fixed accent bug in Text.Pandoc.Readers.LaTeX: \^{} now correctly parses as a '^' character. + Text.Pandoc.ASCIIMathML is no longer an exported module. git-svn-id: https://pandoc.googlecode.com/svn/trunk@835 788f1e2b-df1e-0410-8736-df70ead52e1b
* Major change in the way ordered lists are handled:fiddlosopher2007-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + The changes are documented in README, under Lists. + The OrderedList block element now stores information about list number style, list number delimiter, and starting number. + The readers parse this information, when possible. + The writers use this information to style ordered lists. + Test suites have been changed accordingly. Motivation: It's often useful to start lists with numbers other than 1, and to have control over the style of the list. Added to Text.Pandoc.Shared: + camelCaseToHyphenated + toRomanNumeral + anyOrderedListMarker + orderedListMarker + orderedListMarkers Added to Text.Pandoc.ParserCombinators: + charsInBalanced' + withHorizDisplacement + romanNumeral RST writer: + Force blank line before lists, so that sublists will be handled correctly. LaTeX reader: + Fixed bug in parsing of footnotes containing multiple paragraphs, introduced by use of charsInBalanced. Fix: use charsInBalanced' instead. LaTeX header: + use mathletters option in ucs package, so that basic unicode Greek letters will work properly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@834 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added parsing for \url to LaTeX reader.fiddlosopher2007-08-03
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@833 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use \url{} for autolinks in LaTeX writer.fiddlosopher2007-08-03
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@832 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed test for examplep in markdown2pdf.fiddlosopher2007-07-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@831 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed references to examplep package in documentation, andfiddlosopher2007-07-28
| | | | | | | | removed suggest of latex-texlive-extras in debian/control, since we're not using examplep. git-svn-id: https://pandoc.googlecode.com/svn/trunk@830 788f1e2b-df1e-0410-8736-df70ead52e1b
* For website demo, don't use 2-column latex, as thefiddlosopher2007-07-28
| | | | | | | verbatim environments don't wrap. git-svn-id: https://pandoc.googlecode.com/svn/trunk@829 788f1e2b-df1e-0410-8736-df70ead52e1b
* Brought test suite up to date.fiddlosopher2007-07-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@828 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changes to Markdown reader:fiddlosopher2007-07-28
| | | | | | | | | + added try to def of indentSpaces + in def of 'reference', check to make sure it's not a note reference first. git-svn-id: https://pandoc.googlecode.com/svn/trunk@827 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed examplep specific stuff in LaTeX reader.fiddlosopher2007-07-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@826 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX writer:fiddlosopher2007-07-28
| | | | | | | | | | | + No longer using examplep (too many quirks, too hard to install) + Instead, using deVerb function for environments that don't support \verb + And fancyvrb for footnotes and verbatim environments in footnotes. + Add fancyvrb to header if Code inline occurs in a footnote. git-svn-id: https://pandoc.googlecode.com/svn/trunk@825 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed examplep from LaTeX header.fiddlosopher2007-07-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@824 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use 11pt font by default in ConTeXt header.fiddlosopher2007-07-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@823 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed [URL] to [url] in description of --asciimathml option.fiddlosopher2007-07-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@822 788f1e2b-df1e-0410-8736-df70ead52e1b
* Cleaned up and fixed autolinks in RST. All that's neededfiddlosopher2007-07-28
| | | | | | | | | is a bare email address or URL. This is now handled with a separate matching clause in the definition of inlineToRST, rather than with conditionals. git-svn-id: https://pandoc.googlecode.com/svn/trunk@821 788f1e2b-df1e-0410-8736-df70ead52e1b
* Don't put autolinks in typewriter font in ConTeXt, sincefiddlosopher2007-07-28
| | | | | | | ConTeXt has its own way of printing links. git-svn-id: https://pandoc.googlecode.com/svn/trunk@820 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed problems with obfuscateLink introduced by last roundfiddlosopher2007-07-28
| | | | | | | | of changes. Changed type so that text parameter is String, not HTML, which allows easier testing for autolinks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@819 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changes in LaTeX reader to accommodate Pandoc's own use offiddlosopher2007-07-28
| | | | | | | examplep. git-svn-id: https://pandoc.googlecode.com/svn/trunk@818 788f1e2b-df1e-0410-8736-df70ead52e1b
* Main: Changed putStr to putStrLn -- mainly because MacOS doesn't displayfiddlosopher2007-07-28
| | | | | | | the whole output unless there's a line ending. git-svn-id: https://pandoc.googlecode.com/svn/trunk@817 788f1e2b-df1e-0410-8736-df70ead52e1b
* Man page writer: modified treatment of autolinks,fiddlosopher2007-07-28
| | | | | | | in accord with recent change from Str to Code. git-svn-id: https://pandoc.googlecode.com/svn/trunk@816 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX writer: include fancyvrb and \VerbatimFootnotesfiddlosopher2007-07-28
| | | | | | | | line in header only if absolutely needed -- that is, only if there is actually a code block in a footnote. git-svn-id: https://pandoc.googlecode.com/svn/trunk@815 788f1e2b-df1e-0410-8736-df70ead52e1b
* Makefile: instead of testing for existence of pandocfiddlosopher2007-07-28
| | | | | | | symlink in build-exec, use the -f option in ln. git-svn-id: https://pandoc.googlecode.com/svn/trunk@814 788f1e2b-df1e-0410-8736-df70ead52e1b
* Simplified HTML writer's treatment of autolinks.fiddlosopher2007-07-28
| | | | | | | | There are now a few different cases for Link, and less conditional logic needed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@813 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated testsuite.native - autolinks should have thefiddlosopher2007-07-28
| | | | | | | URL in Code, not Str. git-svn-id: https://pandoc.googlecode.com/svn/trunk@812 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX writer tests updated,fiddlosopher2007-07-28
| | | | | | | | | + for new handling of verbatim environments + for change from textwidth to columnwidth in table output (so that tables look right in columnar output) git-svn-id: https://pandoc.googlecode.com/svn/trunk@811 788f1e2b-df1e-0410-8736-df70ead52e1b
* Make URLs and emails in autolinks appear as Code.fiddlosopher2007-07-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@810 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed a bug in Docbook writer: email links with text were beingfiddlosopher2007-07-28
| | | | | | | incorrectly treated as autolinks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@809 788f1e2b-df1e-0410-8736-df70ead52e1b
* Reinstated dependence on fancyvrb. It is compatible with examplep.fiddlosopher2007-07-28
| | | | | | | fancyvrb is needed for verbatim environments in footnotes. git-svn-id: https://pandoc.googlecode.com/svn/trunk@808 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed LaTeX writer to use the examplep package insteadfiddlosopher2007-07-28
| | | | | | | | | | | | | | | | | | of fancyvrb. examplep allows verbatim text in places where fancyvrb does not, e.g. definition list terms, and provides for line-breaking of verbatim text. + examplep code put in LaTeX header instead of being dynamically included, since it is frequently used, and people may want to customize the options. + documented dependency on examplep + added texlive-latex-extra as a "Suggested" package in debian/control + use examplep's \Q{} is now used instead of \verb: note that \Q requires backslash- escaping symbols in its scope. + modified README so that the verbatim sections will look good at shorter line lengths. git-svn-id: https://pandoc.googlecode.com/svn/trunk@807 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use ` as default character for \verb in LaTeX output.fiddlosopher2007-07-27
| | | | | | | | If ` is in the content to be escaped, another symbol will be used as before. git-svn-id: https://pandoc.googlecode.com/svn/trunk@806 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use HTML version of README in OSX installer, insteadfiddlosopher2007-07-27
| | | | | | | | of plain text or RTF (since RTF tables don't work well in OSX Preview). git-svn-id: https://pandoc.googlecode.com/svn/trunk@805 788f1e2b-df1e-0410-8736-df70ead52e1b
* Brought changelog up to date.fiddlosopher2007-07-26
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@804 788f1e2b-df1e-0410-8736-df70ead52e1b
* Include empty \author{} in LaTeX preamble if nofiddlosopher2007-07-26
| | | | | | | author specified; otherwise LaTeX gives an error. git-svn-id: https://pandoc.googlecode.com/svn/trunk@803 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixes in LaTeX writer:fiddlosopher2007-07-26
| | | | | | | | | | | + put \VerbatimFootnotes right before \title block, to avoid bad interactions. + added deVerb in description list. + removed \texttt{} from deVerb, because it cannot go in description lists. git-svn-id: https://pandoc.googlecode.com/svn/trunk@802 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated copyright date and debian changelog.fiddlosopher2007-07-26
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@801 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated documentation on ASCIIMathML.js.fiddlosopher2007-07-26
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@800 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed how ASCIIMathML is handled:fiddlosopher2007-07-26
| | | | | | | | | | | | | + -m|--asciimathml option now takes an *optional* argument, the URL to an asciiMathML.js script. This is much better in situations where multiple files with math must be served, as the script can be cached. + If the argument is provided, a link is inserted; otherwise, the whole script is inserted as before. + Nothing is inserted unless there is inline LaTeX. git-svn-id: https://pandoc.googlecode.com/svn/trunk@799 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified fancy s5 test in light of asciiMathML changes.fiddlosopher2007-07-26
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@798 788f1e2b-df1e-0410-8736-df70ead52e1b
* Copyright date change - README.fiddlosopher2007-07-24
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@797 788f1e2b-df1e-0410-8736-df70ead52e1b
* README: Use definition list for command-line options.fiddlosopher2007-07-24
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@796 788f1e2b-df1e-0410-8736-df70ead52e1b
* CSS changes in website: better display of definitionfiddlosopher2007-07-24
| | | | | | | lists for command-line options. git-svn-id: https://pandoc.googlecode.com/svn/trunk@795 788f1e2b-df1e-0410-8736-df70ead52e1b
* README: Added missing ~ after '~a\ cat' in subscript example.fiddlosopher2007-07-24
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@794 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed bug in TOC generation in HTML writer (regression,fiddlosopher2007-07-24
| | | | | | | introduced by the revision in the WriterState type). git-svn-id: https://pandoc.googlecode.com/svn/trunk@793 788f1e2b-df1e-0410-8736-df70ead52e1b
* Website: add feature "Markdown inside HTML blocks."fiddlosopher2007-07-24
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@792 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX writer: Make sure \VerbatimFootnotes goes after thefiddlosopher2007-07-23
| | | | | | | | preamble; otherwise it has bad interaction effects with the other stuff in the header. git-svn-id: https://pandoc.googlecode.com/svn/trunk@791 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use README instead of README.rtf in Welcome page offiddlosopher2007-07-23
| | | | | | | | Mac OSX package, because the RTF tables don't render right in Mac's preview app. git-svn-id: https://pandoc.googlecode.com/svn/trunk@790 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified myheader.tex in website in light of changesfiddlosopher2007-07-23
| | | | | | | in default latex header. git-svn-id: https://pandoc.googlecode.com/svn/trunk@789 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added quotes around attribute in ASCIIMathML link examplefiddlosopher2007-07-23
| | | | | | | (in README). git-svn-id: https://pandoc.googlecode.com/svn/trunk@788 788f1e2b-df1e-0410-8736-df70ead52e1b