summaryrefslogtreecommitdiff
path: root/src/Text
Commit message (Collapse)AuthorAge
...
* ODT, Docx writers: Properly handle URL refs for images.John MacFarlane2013-01-11
| | | | | | These images are now downloaded instead of being ignored (as used to happen in the docx reader) or causing an error (as used to happen in the odt reader).
* ImageSize: Remove no longer exported readImageSize.John MacFarlane2013-01-11
|
* Improvements to docx writer.John MacFarlane2013-01-11
| | | | Avoid reading image files again when we've already processed them.
* Docx writer: Preliminary improvements.John MacFarlane2013-01-11
| | | | | | * Use getItem to fetch images, so we can get them over the net if they have absolute URLs. * Added TODO notes for cleaning up the logic.
* ImageSize: Use strict, not lazy bytestrings.John MacFarlane2013-01-11
|
* Move getItem from SelfContained to Share; export getItem.John MacFarlane2013-01-11
|
* Options: Added githubMarkdownExtensions.John MacFarlane2013-01-11
| | | | Added github_markdown as input/output option.
* Added markdown_phpextra as writer option.John MacFarlane2013-01-10
|
* Options: Added phpMarkdownExtraExtensions.John MacFarlane2013-01-10
| | | | And added markdown_phpextra input/output format.
* Implemented Ext_header_attributes.John MacFarlane2013-01-10
| | | | | | | This allows explicit attributes to be put on headers, using a syntax like that for code blocks: {#id .class .class k=v k=v}
* Ext_header_identifiers -> Ext_auto_identifiers.John MacFarlane2013-01-10
|
* More improvements in emailAddress parser.John MacFarlane2013-01-09
|
* Made email parser more correct.John MacFarlane2013-01-09
| | | | | Now it's based on RFC 822, though it still doesn't implement quoted strings in email addresses.
* Fixed regression in example lists.John MacFarlane2013-01-09
| | | | This was associated with e1be934dc2ff061e5200017d6503280686983e1f.
* Added Attr field to Header.John MacFarlane2013-01-09
| | | | | | | | | | Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
* Biblio: Make sure mvPunc and deNote run on metadata too.John MacFarlane2013-01-08
| | | | This fixed a bug with notes on titles using footnote styles.
* Added / to the list of letters that can occur in a citation key.John MacFarlane2013-01-08
|
* Implemented tight lists in context, latex writers.John MacFarlane2013-01-07
|
* Shared: export isTightList.John MacFarlane2013-01-07
|
* Don't put the text of an autolink in Code font.John MacFarlane2013-01-06
|
* Mediawiki reader: interpret HTML in verbatim contexts as text.John MacFarlane2013-01-06
| | | | | Thanks to Jeff Runningen for reporting that mediawiki works this way.
* Docx writer: Use rIdNN identifiers for r:embed in images.John MacFarlane2013-01-06
|
* UTF8 module: Remove `\r` when reading.John MacFarlane2013-01-06
| | | | This should prevent problems with extra CRs on windows.
* Docx writer: Use separate footnotes.xml for notes.John MacFarlane2013-01-06
| | | | | | | | | | | | | This seems to help LibreOffice convert the file, even though it was valid docx before. Note that the references in notes must be in word/_rels/footnotes.xml.rel. We handle this now by simply making that file contain all the references in word/_rels/document.xml.rel. Something better could be done eventually, but this works. Closes #637.
* LaTeX tables: Use minipage rather than parbox for block containers.John MacFarlane2013-01-05
| | | | | This allows verbatim code to be included in grid tables. Closes #663.
* Implemented --toc-depth (and --toc!) for RTF writer.John MacFarlane2013-01-05
|
* Support --toc-depth in context writer.John MacFarlane2013-01-05
|
* For epub3, use epub:type to mark footnotes and footnote refs.John MacFarlane2013-01-05
| | | | | This yields nice popup footnotes in iBooks. See http://www.pigsgourdsandwikis.com/2012/05/creating-pop-up-footnotes-in-epub-3-and.html
* EPUB changes.John MacFarlane2013-01-05
| | | | | | * Epub writer now exports writeEPUB, not writeEPUB2 and writeEPUB3. * Options now exports EPUBVersion * WriterOptions now includes writerEpubVersion.
* Implemented --toc-depth for markdown writer.John MacFarlane2013-01-05
|
* Implemented toc-depth for html writer.John MacFarlane2013-01-05
|
* Changed --toc-level to --toc-depth.John MacFarlane2013-01-05
|
* Implemented --toc-level for rst.John MacFarlane2013-01-05
|
* Implemented --toc-level in LaTeX writer.John MacFarlane2013-01-05
|
* Changed `--epub-toc-level` to `--toc-level`.John MacFarlane2013-01-05
| | | | | Also writerEpubTOCLevel -> writerTOCLevel. So far this is only implemented in the EPUB writer.
* MediaWiki writer: use `<code>` not `<tt>` for Code.John MacFarlane2013-01-04
|
* Renamed writerEPUBMetadata -> writerEpubMetadata.John MacFarlane2013-01-04
| | | | API change for consistency.
* Added `--epub-chapter-level` and `--epub-toc-level` options.John MacFarlane2013-01-04
| | | | | Also added writerEpubChapterLevel and writerEpubTOCLevel fields to WriterOptions.
* EPUB writer: Parameterize header level for splitting chapters.John MacFarlane2013-01-04
|
* Markdown reader: Warn about duplicate note references.John MacFarlane2013-01-04
| | | | Closes #375.
* Markdown reader: Warn about duplicate link references.John MacFarlane2013-01-04
|
* Use readMarkdownWithWarnings in Text.Pandoc.John MacFarlane2013-01-04
|
* Markdown reader: Export readMarkdownWithWarnings.John MacFarlane2013-01-04
| | | | | Note: This is not yet used, and the parser does not yet generate any warnings.
* Changed type of 'readers' in Text.Pandoc, so all readers are in IO.John MacFarlane2013-01-03
| | | | | | | | | Users who want pure readers can still get them; this just affects the function getReader that looks up a reader based on the format name. The point of this change is to make it possible to print warnings from the parser.
* Added stateWarnings.John MacFarlane2013-01-03
| | | | It is not connected to anything yet.
* Implemented `Ext_header_identifiers`, `Ext_implicit_header_references`.John MacFarlane2013-01-03
| | | | | | | | | | | | Now by default pandoc will act as if link references have been defined for all headers. So, you can do this: # My header Link to [My header]. Another link to [it][My header]. Closes #691.
* Revert "Workaround for problem with file-embed."John MacFarlane2012-12-30
| | | | This reverts commit 84ed0f055f71f32fc2db1dbe962e83cd0bb0b5d8.
* Workaround for problem with file-embed.John MacFarlane2012-12-29
| | | | | | file-embed uses forward slashes as path separators, even on Windows. So we just convert backslashes to forward before doing a lookup.
* Made `embed_data_files` flag work.John MacFarlane2012-12-29
|
* Data files changes.John MacFarlane2012-12-29
| | | | | | | | | | * Added `embed_data_files` flag. (not yet used) * Shared no longer exports `findDataFile`. * `readDataFile` now returns a strict bytestring. * Shared now exports `readDataFileUTF8` which returns a string like the old `readDataFile`. * Rewrote modules to use new data file functions and to avoid using functions from Paths_pandoc directly.