aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-08-23Bumped version numbers to 0.42 in anticipation of nextfiddlosopher3-3/+3
bugfix release. git-svn-id: https://pandoc.googlecode.com/svn/trunk@881 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-23Added new rule for enhanced markdown ordered lists: if the list markerfiddlosopher13-30/+56
is a capital letter followed by a period (including a single-letter capital roman numeral), then it must be followed by at least two spaces. The point of this is to avoid accidentally treating people's initials as list markers: a paragraph may begin: B. Russell was an English philosopher. and this shouldn't be treated as a list. Modified Markdown reader and README documentation. Added a test case. git-svn-id: https://pandoc.googlecode.com/svn/trunk@880 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-23Use UTF8 conversion on the extra files loaded in Main.hsfiddlosopher1-4/+4
(header, before, after). This fixes problems with unicode characters in these files. git-svn-id: https://pandoc.googlecode.com/svn/trunk@879 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-22Added a needed 'try' to listItem in Markdown reader.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@878 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-20Code cleanup in Markdown reader.fiddlosopher1-27/+18
git-svn-id: https://pandoc.googlecode.com/svn/trunk@877 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-20Changes to Markdown reader for better conformity to thefiddlosopher1-6/+12
Markdown test suite under --strict: + Removed check for a following setext header in endline. A full test is too inefficient (doubles benchmark time), and the substitute we had before is not 100% accurate. + Don't use Code elements for autolinks if --strict specified. git-svn-id: https://pandoc.googlecode.com/svn/trunk@876 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-20If --strict and not --toc, don't include identifiers in headers.fiddlosopher1-1/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@875 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-20Formatting changes to freebsd Makefile.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@874 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19+ debian/control: add XS-Vcs-{Svn,Browser} fieldsroktas2-1/+3
+ debian/changelog: adjust the author line for the package upload git-svn-id: https://pandoc.googlecode.com/svn/trunk@871 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19Changes to freebsd port for 0.41.fiddlosopher2-5/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@870 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19Revised website for 0.41.fiddlosopher1-5/+10
git-svn-id: https://pandoc.googlecode.com/svn/trunk@869 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19Bump version to 0.41.fiddlosopher2-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@867 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19Added signature on changelog.fiddlosopher1-1/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@866 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19Modified debian/changelog.fiddlosopher1-0/+33
git-svn-id: https://pandoc.googlecode.com/svn/trunk@865 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19Refactor RST and Markdown readers using parseFromString.fiddlosopher2-28/+7
git-svn-id: https://pandoc.googlecode.com/svn/trunk@864 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19Added a necessary "try" in definition of "para"fiddlosopher1-1/+2
(HTML reader). git-svn-id: https://pandoc.googlecode.com/svn/trunk@863 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-18Bug fixes in readers:fiddlosopher2-7/+20
+ LaTeX reader: skip anything after \end{document} + HTML reader: fixed bug skipping material after </html> -- previously, stuff at the end was skipped even if no </html> was present, which meant only part of the file would be parsed and no error issued + HTML reader: added new constant eitherBlockOrInline with elements that may count either as block-level or inline + Modified isInline and isBlock to take this into account + modified rawHtmlBlock to accept any tag (even an inline tag); this is innocuous, because rawHtmlBlock is tried only if a regular inline element can't be parsed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@862 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-18+ Fixed bug in markdown ordered list parsing. The problem wasfiddlosopher13-4/+46
that anyOrderedListStart did not check for a space following the ordered list marker. So, 'A.B. 2007' would be parsed as a list item, then fail because of the lack of space after 'A.' (required by orderedListStart). Resolves Issue #22. + Fixed a similar problem in RST reader. + Added regression test. git-svn-id: https://pandoc.googlecode.com/svn/trunk@861 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-18Added highlight.css to website.fiddlosopher1-0/+20
git-svn-id: https://pandoc.googlecode.com/svn/trunk@860 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-17Fixed block quote output in markdown writer: previously,fiddlosopher1-4/+4
block quotes in notes would be indented only in the first line. git-svn-id: https://pandoc.googlecode.com/svn/trunk@859 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-16Put note in INSTALL about the extra xmlns attribute inserted byfiddlosopher1-0/+9
later versions of the xhtml library (which causes some tests to fail). Thanks to Leif LeBaron for pointing this out. git-svn-id: https://pandoc.googlecode.com/svn/trunk@858 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Changed date on README.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@856 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Small website tweak: README.txt, not README-WINDOWS.txt.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@855 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Small changes to website.fiddlosopher1-4/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@854 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Simplified Makefile install-all and uninstall-all targets.fiddlosopher1-4/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@853 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Minor tweaks on website (deb description).fiddlosopher1-2/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@852 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Cosmetic changes.fiddlosopher1-4/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@851 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Fixed bug in tarball target in Makefile (should be RELNAME insteadfiddlosopher1-1/+1
of fullname). git-svn-id: https://pandoc.googlecode.com/svn/trunk@850 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Added note that deb will work on Ubuntu to website.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@849 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Documented fix for paragraphs starting with (C)fiddlosopher1-1/+6
in README. git-svn-id: https://pandoc.googlecode.com/svn/trunk@848 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Brought debian/changelog up to date.fiddlosopher1-0/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@847 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15LaTeX reader: parse \texttt{} as code, as long as there'sfiddlosopher1-2/+9
nothing fancy inside. git-svn-id: https://pandoc.googlecode.com/svn/trunk@846 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Fixed bug in normalizeSpaces: Space:Str "":Spacefiddlosopher1-0/+1
should compress to Space. git-svn-id: https://pandoc.googlecode.com/svn/trunk@845 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Allow htmlComments as rawHtmlInline in HTML reader.fiddlosopher1-2/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@844 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Changed (C) to a unicode copyright symbol.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@843 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Website improvements.fiddlosopher1-4/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@842 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Updated PROFILING instructions.fiddlosopher1-0/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@840 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Updated debian/changelog.fiddlosopher1-29/+76
git-svn-id: https://pandoc.googlecode.com/svn/trunk@836 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15Major code cleanup in all modules. (Removed unneeded imports,fiddlosopher21-2263/+1994
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
2007-08-08Major change in the way ordered lists are handled:fiddlosopher36-385/+1359
+ 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
2007-08-03Added parsing for \url to LaTeX reader.fiddlosopher1-1/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@833 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-03Use \url{} for autolinks in LaTeX writer.fiddlosopher2-5/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@832 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28Removed test for examplep in markdown2pdf.fiddlosopher1-4/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@831 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28Removed references to examplep package in documentation, andfiddlosopher3-37/+33
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
2007-07-28For website demo, don't use 2-column latex, as thefiddlosopher1-3/+3
verbatim environments don't wrap. git-svn-id: https://pandoc.googlecode.com/svn/trunk@829 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28Brought test suite up to date.fiddlosopher25-41/+64
git-svn-id: https://pandoc.googlecode.com/svn/trunk@828 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28Changes to Markdown reader:fiddlosopher1-6/+7
+ 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
2007-07-28Removed examplep specific stuff in LaTeX reader.fiddlosopher1-13/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@826 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28LaTeX writer:fiddlosopher1-12/+14
+ 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
2007-07-28Removed examplep from LaTeX header.fiddlosopher1-1/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@824 788f1e2b-df1e-0410-8736-df70ead52e1b