aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
AgeCommit message (Collapse)AuthorFilesLines
2012-01-25Fixed regression in HTML writer: all headers level 1!John MacFarlane1-1/+3
2012-01-25Depend on highlighting-kate 0.5.John MacFarlane2-4/+4
This uses styleToCss instead of styleToHtml.
2012-01-25LaTeX/beamer: --chapters causes level 1 to be \part{..}.John MacFarlane1-3/+6
2012-01-24HTML writer: Use h1 for all slide titles.John MacFarlane1-2/+2
2012-01-24Slides: Fixed bug in prepSlides.John MacFarlane1-1/+1
2012-01-24HTML writer: Use new common system for slides.John MacFarlane1-20/+16
2012-01-23Slides: New approach, using hierarchicalize.John MacFarlane2-67/+44
This will work better with the HTML slideshows.
2012-01-23Slides: Better error message.John MacFarlane1-1/+1
2012-01-23LaTeX beamer: Only add [fragile] to slide if it contains verbatim.John MacFarlane1-1/+8
Closes #385.
2012-01-23Use Slides in LaTeX writer for beamer.John MacFarlane2-39/+23
2012-01-22Got slide creation working.John MacFarlane1-9/+24
2012-01-22Added to Slides.John MacFarlane1-0/+43
2012-01-22Added Text.Pandoc.Slides.John MacFarlane1-0/+34
2012-01-21Removed `beamer` output format; added `--beamer` option.John MacFarlane1-1/+0
2012-01-21pandoc: Better error checking.John MacFarlane1-5/+5
2012-01-20PDF: Use string instead of special TeXProgram type.John MacFarlane1-16/+6
2012-01-20PDF: Better error message.John MacFarlane1-3/+7
2012-01-20pandoc: Output to pdf now works.John MacFarlane1-0/+1
2012-01-20PDF: Export TeXProgram type.John MacFarlane1-1/+1
2012-01-20PDF: Removed TeXError type, just return a bytestring.John MacFarlane1-18/+7
2012-01-20Fixed -Wall errors in PDF module.John MacFarlane1-20/+13
2012-01-20Added Text.Pandoc.PDF - converts latex to PDF.John MacFarlane1-0/+167
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-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 MacFarlane3-4/+634
* 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 MacFarlane1-0/+110
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-12Added "title" to list of docbook block-level tags.John MacFarlane1-1/+1
2012-01-11Split html template into html, html5 templates.John MacFarlane1-1/+0
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-02Markdown reader: Fix parsing of consecutive lists.John MacFarlane1-10/+12
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-01EPUB writer: Allow `lang` variable to set language in metadata.John MacFarlane1-2/+5
Defaults to locale language if `lang` is not set.