aboutsummaryrefslogtreecommitdiff
path: root/src/Text
AgeCommit message (Collapse)AuthorFilesLines
2012-01-27Fixed table parsing with wide or combining characters.John MacFarlane2-5/+5
Closes #348. Closes #108.
2012-01-27Removed some unused code.John MacFarlane1-3/+0
2012-01-27Shared: Added splitStringWithIndices.John MacFarlane1-4/+17
This is like splitWithIndices, but it is sensitive to distinctions between wide, combining, and regular characters.
2012-01-26Added --atx-headers option.John MacFarlane1-0/+2
2012-01-26LaTeX reader: Handle \@.John MacFarlane1-1/+4
2012-01-25Pretty: Export realLength and use it in calculating offsets.John MacFarlane1-10/+16
This should help fix setext headers and tables containing asian wide characters and combining characters.
2012-01-25Pretty: Added charWidth function.John MacFarlane1-0/+37
2012-01-25Added --slide-level option to override default.John MacFarlane3-4/+16
This allows users to select a slide level below the first header level with content. Note that content under sections above the slide level will not appear in slides (either in beamer or in HTML slide shows). This is primarily useful for creating documents that can be made into both slides and handouts (which contain additional content outside the slides).
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-24Doc fixes in Text.Pandoc.John MacFarlane1-10/+9
2012-01-24Text.Pandoc: Added ToFilter instance for a -> [a] types.John MacFarlane1-0/+10
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-24Added ToJsonFilter class, deprecated old jsonFilter function.John MacFarlane1-0/+37
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 MacFarlane2-3/+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 MacFarlane4-5/+637
* 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.