aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-01-21pandoc: Better error checking.John MacFarlane2-5/+15
2012-01-21Improved deprecation warnings for --html5, --offline.John MacFarlane1-3/+4
2012-01-21pandoc: Removed deprecated --xetex option.John MacFarlane1-10/+0
2012-01-21pandoc: Check for latex program earlier.John MacFarlane1-10/+13
2012-01-21pandoc: Added optLaTeXProgram.John MacFarlane1-3/+4
2012-01-20Removed obsolete flag info in INSTALL.John MacFarlane1-4/+1
2012-01-20Refactored error reporting in pandoc.hs.John MacFarlane1-40/+49
2012-01-20PDF: Use string instead of special TeXProgram type.John MacFarlane2-18/+8
2012-01-20Removed markdown2pdf and documentation.John MacFarlane7-487/+27
2012-01-20PDF: Better error message.John MacFarlane2-5/+8
2012-01-20pandoc: Output to pdf now works.John MacFarlane2-15/+21
2012-01-20PDF: Export TeXProgram type.John MacFarlane1-1/+1
2012-01-20PDF: Removed TeXError type, just return a bytestring.John MacFarlane2-18/+8
2012-01-20Fixed -Wall errors in PDF module.John MacFarlane1-20/+13
2012-01-20Added Text.Pandoc.PDF - converts latex to PDF.John MacFarlane2-2/+172
2012-01-20Docx: Put display math on separate line.John MacFarlane1-5/+9
2012-01-20Docx writer: Fixed styles in footnotes.John MacFarlane1-0/+6
Previously a footnote in a list item would be a list item, etc.!
2012-01-20Docx: Adjusted list spacing for less cramped number markers.John MacFarlane1-1/+1
2012-01-20Docx writer: Start bullet lists with solid bullet.John MacFarlane1-6/+7
2012-01-20Docx writer: Don't indent first level of lists.John MacFarlane1-2/+2
2012-01-20Docx writer: Fixed bug with numbered lists.John MacFarlane1-24/+37
Numbered lists were being numbered continuously, instead of having new lists start again with 1.
2012-01-19Templates: Removed vestigial remnant of openxml template.John MacFarlane1-1/+1
Closes #381 (I think).
2012-01-19Documented docx reader in README.John MacFarlane1-15/+29
2012-01-19Minor comment fixes.John MacFarlane1-2/+0
2012-01-19Check for existence before opening image file.John MacFarlane1-49/+57
Print warning if file doesn't exist.
2012-01-19Added Docx writer.John MacFarlane8-21/+669
* New module `Text.Pandoc.Docx`. * New output format `docx`. * Added reference.docx. * New option `--reference-docx`. The writer includes support for highlighted code blocks and math (which is converted from TeX to OMML using texmath's new OMML module).
2012-01-15ImageSize: Fixed implementation of sizeInPoints.John MacFarlane1-1/+1
2012-01-15Fixed whitespace bug in comments.John MacFarlane1-19/+16
2012-01-15ImageSize: extract dpi information from PNG and JPEG.John MacFarlane2-50/+93
* ImageSize record now includes dpiX, dpiY, pxX, pxY. * New functions sizeInPixels and sizeInPoints.
2012-01-14ODT writer now sizes images appropriately.John MacFarlane2-3/+10
OpenDocument writer: a title like "123x467" is interpreted as size in *points*. ODT writer: while adding images to the archive, computes their sizes and inserts a title attribute with the size before calling opendocument writer. Size is computed as follows: size in points = size in pixels * 96 / 72
2012-01-14Export ImageType(..) from ImageSize.John MacFarlane1-1/+1
2012-01-14Added Text.Pandoc.ImageSize.John MacFarlane2-0/+111
This is intened for use in docx and odt writers, so the size of image boxes can be calculated.
2012-01-14OpenDocument writer: treat image title of form "dddxddd" as size in px.John MacFarlane1-3/+14
Later we'll modify the ODT writer to insert such titles, so image sizes will be correct in the ODT.
2012-01-14SelfContained: Use getMimeType from Text.Pandoc.MIME.John MacFarlane1-135/+6
2012-01-14Added 'layout-cache' to getMimeType.John MacFarlane1-0/+1
This ensures that the META-INF/manifest.xml for ODT files will have everything it needs. Fixes a bug using modified ODT files as `--reference-odt`.
2012-01-13EPUB writer: Allow raw HTML.John MacFarlane1-6/+1
2012-01-13Improved citation tests.John MacFarlane4-27/+27
2012-01-12Added "title" to list of docbook block-level tags.John MacFarlane1-1/+1
2012-01-11Split html template into html, html5 templates.John MacFarlane3-7/+7
2012-01-11HTML writer: Don't use self-closing img, br, hr tags.John MacFarlane1-7/+12
2012-01-10Markdown reader: fixed bug in table/hrule parsing.John MacFarlane1-1/+1
Top line of table must not be followed by a blank line. This bug caused slowdown on some files with hrules and tables, and pandoc tried to interpret the hrules as the tops of multiline tables.
2012-01-08Markdown reader: Allow links in image captions.John MacFarlane1-13/+10
This change also means that [link with [link](/url)](/url) will turn into <p><a href="/url">link with link</a></p> instead of <p><a href="/url">link with [link](/url)</a></p>
2012-01-08Templates: Tell pandoc where to find default "html5" template.John MacFarlane1-0/+1
2012-01-04Allow markdown2pdf to use `--old-dashes` and `--citatation-abbreviations`.John MacFarlane1-0/+1
2012-01-02Markdown reader: Fix parsing of consecutive lists.John MacFarlane3-11/+33
Pandoc previously behaved like Markdown.pl for consecutive lists of different styles. Thus, the following would be parsed as a single ordered list, rather than an ordered list followed by an unordered list: 1. one 2. two - one - two This patch makes pandoc behave more sensibly, parsing this as two lists. Any change in list type (ordered/unordered) or in list number style will trigger a new list. Thus, the following will also be parsed as two lists: 1. one 2. two a. one b. two Since we regard this as a bug in Markdown.pl, and not something anyone would ever rely on, we do not preserve the old behavior even when `--strict` is selected.
2012-01-01README: Added note on proper date format.John MacFarlane1-5/+6
2012-01-01EPUB writer: Allow `lang` variable to set language in metadata.John MacFarlane2-5/+9
Defaults to locale language if `lang` is not set.
2012-01-01New treatment of dashes in --smart mode.John MacFarlane6-15/+56
* `---` is always em-dash, `--` is always en-dash. * pandoc no longer tries to guess when `-` should be en-dash. * A new option, `--old-dashes`, is provided for legacy documents. Rationale: The rules for en-dash are too complex and language-dependent for a guesser to work reliably. This change gives users greater control. The alternative of using unicode isn't very good, since unicode em- and en- dashes are barely distinguishable in a monospace font.
2011-12-31Support for math in RST reader and writer.John MacFarlane5-16/+56
Inline math uses the :math:`...` construct. Display math uses .. math:: ... or if multilin .. math:: ... These seem to be supported now by rst2latex.py.
2011-12-31Pretty: Added beforeNonBreak combinator.John MacFarlane1-0/+21
This allows you to include something conditionally on it being before a nonblank. Used for RST inline math.