aboutsummaryrefslogtreecommitdiff
path: root/src/Text
AgeCommit message (Collapse)AuthorFilesLines
2011-02-11LaTeX writer: Changed figure defaults to htbp.John MacFarlane1-1/+1
This prevents "too many unprocessed floats." Resolves Issue #285.
2011-02-11UTF8: Encode filenames.John MacFarlane1-2/+3
(This is still needed, even with recent base.) Partially resolves Issue #286 (though now there is a new markdown2pdf problem).
2011-02-06Revert "Use us-ascii charset in HTML template if --ascii option."John MacFarlane1-1/+0
This reverts commit aec54899606bed2580394baa1369e58ede20fde8. No need for this, since a UTF-8 charset will handle ascii just fine.
2011-02-06HTML writer: Fixed footnote backrefs in --ascii mode.John MacFarlane1-1/+2
2011-02-06Use us-ascii charset in HTML template if --ascii option.John MacFarlane1-0/+1
2011-02-06Added --ascii option.John MacFarlane2-17/+22
Currently supported only in HTML writer.
2011-02-06Make --toc work in epub output.John MacFarlane1-0/+3
2011-02-05HTML writer: Put line breaks in section divs.John MacFarlane1-2/+4
2011-02-05Make writerSectionDivs default to False.John MacFarlane1-1/+1
2011-02-05HTML writer: stringify alt text.John MacFarlane1-2/+1
Previously, if you had formatting in the label of an Image element, you'd get escaped HTML in the alt attribute. Now you just get a plain string version, which seems preferable.
2011-02-04Improved HTML table output (line breaks).John MacFarlane1-9/+17
2011-02-04More changes to HTML output.John MacFarlane1-25/+23
Removed blank lines. More consistent format.
2011-02-04HTML writer: Spacing adjustments for Plain and RawHtml blocks.John MacFarlane1-0/+2
2011-02-04Improved new HTML format; restored original --no-wrap behavior.John MacFarlane1-52/+76
2011-02-04HTML writer: More normal line breaks.John MacFarlane1-25/+29
Also removes any distinction between --no-wrap and default HTML output. Resolves Issue #134.
2011-02-04Shared: Minor refactoring.John MacFarlane1-1/+4
2011-02-04normalize: Normalize spaces too.John MacFarlane1-5/+10
In normal form, Space elements only occur to separate two non-Space elements. So, we never have [Space], or [, ..., Space].
2011-02-01Markdown reader: Simplified and corrected footnote block parser.John MacFarlane1-7/+10
2011-01-31Improved fix to markdown noteBlock parser.John MacFarlane1-1/+1
The last patch did not handle cases with > 4 spaces. Also added a more general test case.
2011-01-31Markdown reader: Fixed whitespace footnote bug (Jesse Rosenthal).John MacFarlane1-1/+2
The problem was in input like this: [^1]: note not in note. Also added a test case for this.
2011-01-30UTF8: Use #if instead of #ifdef.John MacFarlane1-1/+1
2011-01-30UTF8 module: Use base 4.2 IO if available.John MacFarlane1-1/+44
This gives us proper line endings on windows, and some speed improvements. We fall back to the old functions if base < 4.2. hGetContents is now exported.
2011-01-30LaTeX reader: Fixed bug with whitespace at beginning of file.John MacFarlane1-2/+2
Previously a file beginning " hi" would cause a parse error. Also cleaned up comment parsing.
2011-01-29Markdown reader tables: Fixed bug in alignments.John MacFarlane1-4/+5
Previously pandoc got confused by blank rows in the header.
2011-01-29Highlighting: Fixed non-highlighting-kate version of highlightHtml.John MacFarlane1-2/+2
2011-01-29HTML writer: avoid doubled <code> tag for highlighted inline code.John MacFarlane1-4/+5
2011-01-29Fixed highlighting for inline code.John MacFarlane2-4/+8
highlightHtml in Highlighting now has a boolean argument that selects between inline and block content. Revised tests for new highlighting-kate.
2011-01-29Shared: Fixed bug in normalize revealed by tests!John MacFarlane1-4/+5
2011-01-28Add possibility to use listings package for code blocks andJosef Svenningsson2-8/+41
inline code in the LaTeX writer.
2011-01-28RST reader: skip blanklines at beginning, not all leading spaces.John MacFarlane1-1/+1
If you skip all spaces, it becomes impossible to start with a blockquote.
2011-01-28Shared: Make 'normalize' more generic.John MacFarlane1-1/+1
Now it can transform an Inline, [Inline], Block, [Block], or Pandoc.
2011-01-28RST reader: Skip blank space at beginning.John MacFarlane1-0/+1
Resolves Debian Bug #611328.
2011-01-28RTF writer: Embed images when possible.John MacFarlane2-2/+25
* Resolves Issue #275. * PNG and JPEG supported. * Export rtfEmbedImage.
2011-01-26Add support for attributes in inline Code.John MacFarlane21-77/+99
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code.
2011-01-26RST reader: Improved field lists.John MacFarlane1-59/+56
Field lists now work properly with block content. (Thanks to Lachlan Musicman for pointing out the bug.) In addition, definition list items are now always Para instead of Plain -- which matches behavior of rst2xml.py. Finally, in image blocks, the alt attribute is parsed properly and used for the alt, not also the title.
2011-01-26LaTeX reader: Fixed an incomplete pattern match.John MacFarlane1-1/+3
2011-01-26RST reader: Include line breaks in raw field list parser output.John MacFarlane1-1/+3
Note: field list items can have lists, etc. as values.
2011-01-26RST reader: Allow spaces in field list names.John MacFarlane1-1/+1
2011-01-26Adjusted writers to use "tex".John MacFarlane5-8/+9
2011-01-26Markdown reader: Don't parse latex/context environments as inline.John MacFarlane1-9/+15
2011-01-26Distinguish latex & context environments; blank line after in writers.John MacFarlane3-7/+6
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane21-91/+118
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements.
2011-01-23Added needed space after .bc and .bq.John MacFarlane1-15/+15
Otherwise these can trap a </dd>, for example. Better solution to try next: rewrite using Pretty.
2011-01-23Textile writer: Don't escape code in bc. block.John MacFarlane1-1/+1
2011-01-23Textile writer: Don't HTML-escape between @'s.John MacFarlane2-2/+2
2011-01-23Textile reader: Fixed bug (swallowed p at beginning of paragraph).John MacFarlane1-3/+3
The problem was a missing 'try' in the maybeExplicitBlock parser. Test case, a paragraph beginning with 'p', has been added.
2011-01-23Textile writer: Use <pre> instead of bc.. for code with blank lines.John MacFarlane1-5/+8
This has fewer interaction effects.
2011-01-23Textile reader: Support <tt> for inline code.John MacFarlane1-3/+11
2011-01-23Textile reader: Added code blocks with bc.John MacFarlane1-2/+11
2011-01-22ConTeXt writer: Ensure cr after \stoptyping.John MacFarlane1-1/+1