aboutsummaryrefslogtreecommitdiff
path: root/src/Text
AgeCommit message (Collapse)AuthorFilesLines
2013-01-11Move getItem from SelfContained to Share; export getItem.John MacFarlane2-30/+31
2013-01-11Options: Added githubMarkdownExtensions.John MacFarlane2-0/+17
Added github_markdown as input/output option.
2013-01-10Added markdown_phpextra as writer option.John MacFarlane1-0/+1
2013-01-10Options: Added phpMarkdownExtraExtensions.John MacFarlane2-9/+25
And added markdown_phpextra input/output format.
2013-01-10Implemented Ext_header_attributes.John MacFarlane2-12/+22
This allows explicit attributes to be put on headers, using a syntax like that for code blocks: {#id .class .class k=v k=v}
2013-01-10Ext_header_identifiers -> Ext_auto_identifiers.John MacFarlane2-3/+3
2013-01-09More improvements in emailAddress parser.John MacFarlane1-23/+17
2013-01-09Made email parser more correct.John MacFarlane1-12/+14
Now it's based on RFC 822, though it still doesn't implement quoted strings in email addresses.
2013-01-09Fixed regression in example lists.John MacFarlane1-6/+7
This was associated with e1be934dc2ff061e5200017d6503280686983e1f.
2013-01-09Added Attr field to Header.John MacFarlane24-86/+108
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.
2013-01-08Biblio: Make sure mvPunc and deNote run on metadata too.John MacFarlane1-4/+3
This fixed a bug with notes on titles using footnote styles.
2013-01-08Added / to the list of letters that can occur in a citation key.John MacFarlane1-1/+1
2013-01-07Implemented tight lists in context, latex writers.John MacFarlane2-13/+27
2013-01-07Shared: export isTightList.John MacFarlane1-0/+7
2013-01-06Don't put the text of an autolink in Code font.John MacFarlane14-22/+32
2013-01-06Mediawiki reader: interpret HTML in verbatim contexts as text.John MacFarlane1-2/+1
Thanks to Jeff Runningen for reporting that mediawiki works this way.
2013-01-06Docx writer: Use rIdNN identifiers for r:embed in images.John MacFarlane1-1/+1
2013-01-06UTF8 module: Remove `\r` when reading.John MacFarlane1-4/+7
This should prevent problems with extra CRs on windows.
2013-01-06Docx writer: Use separate footnotes.xml for notes.John MacFarlane1-21/+32
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.
2013-01-05LaTeX tables: Use minipage rather than parbox for block containers.John MacFarlane1-2/+2
This allows verbatim code to be included in grid tables. Closes #663.
2013-01-05Implemented --toc-depth (and --toc!) for RTF writer.John MacFarlane1-1/+3
2013-01-05Support --toc-depth in context writer.John MacFarlane1-0/+6
2013-01-05For epub3, use epub:type to mark footnotes and footnote refs.John MacFarlane1-6/+14
This yields nice popup footnotes in iBooks. See http://www.pigsgourdsandwikis.com/2012/05/creating-pop-up-footnotes-in-epub-3-and.html
2013-01-05EPUB changes.John MacFarlane3-16/+14
* Epub writer now exports writeEPUB, not writeEPUB2 and writeEPUB3. * Options now exports EPUBVersion * WriterOptions now includes writerEpubVersion.
2013-01-05Implemented --toc-depth for markdown writer.John MacFarlane1-7/+7
2013-01-05Implemented toc-depth for html writer.John MacFarlane1-2/+3
2013-01-05Changed --toc-level to --toc-depth.John MacFarlane4-5/+5
2013-01-05Implemented --toc-level for rst.John MacFarlane1-1/+3
2013-01-05Implemented --toc-level in LaTeX writer.John MacFarlane1-0/+4
2013-01-05Changed `--epub-toc-level` to `--toc-level`.John MacFarlane2-3/+3
Also writerEpubTOCLevel -> writerTOCLevel. So far this is only implemented in the EPUB writer.
2013-01-04MediaWiki writer: use `<code>` not `<tt>` for Code.John MacFarlane1-1/+1
2013-01-04Renamed writerEPUBMetadata -> writerEpubMetadata.John MacFarlane2-3/+3
API change for consistency.
2013-01-04Added `--epub-chapter-level` and `--epub-toc-level` options.John MacFarlane2-11/+17
Also added writerEpubChapterLevel and writerEpubTOCLevel fields to WriterOptions.
2013-01-04EPUB writer: Parameterize header level for splitting chapters.John MacFarlane1-8/+14
2013-01-04Markdown reader: Warn about duplicate note references.John MacFarlane1-1/+6
Closes #375.
2013-01-04Markdown reader: Warn about duplicate link references.John MacFarlane2-1/+13
2013-01-04Use readMarkdownWithWarnings in Text.Pandoc.John MacFarlane1-3/+10
2013-01-04Markdown reader: Export readMarkdownWithWarnings.John MacFarlane1-1/+14
Note: This is not yet used, and the parser does not yet generate any warnings.
2013-01-03Changed type of 'readers' in Text.Pandoc, so all readers are in IO.John MacFarlane1-12/+12
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.
2013-01-03Added stateWarnings.John MacFarlane1-2/+4
It is not connected to anything yet.
2013-01-03Implemented `Ext_header_identifiers`, `Ext_implicit_header_references`.John MacFarlane4-144/+172
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.
2012-12-30Revert "Workaround for problem with file-embed."John MacFarlane1-3/+1
This reverts commit 84ed0f055f71f32fc2db1dbe962e83cd0bb0b5d8.
2012-12-29Workaround for problem with file-embed.John MacFarlane1-1/+3
file-embed uses forward slashes as path separators, even on Windows. So we just convert backslashes to forward before doing a lookup.
2012-12-29Made `embed_data_files` flag work.John MacFarlane1-3/+11
2012-12-29Data files changes.John MacFarlane6-55/+41
* 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.
2012-12-19EPUB3: Don't use the switch statement for mathml.John MacFarlane1-10/+5
It is not widely implemented yet.
2012-12-13Fixed bug in withRaw.John MacFarlane1-1/+1
Didn't correctly handle case where nothing is parsed.
2012-12-12LaTeX reader: Make command macros work everywhere, including non-math.John MacFarlane1-6/+10
Environment macros still not supported.
2012-11-06Textile reader/writer: Fixed autolinks.John MacFarlane2-12/+9
Previously the textile reader and writer incorrectly implented RST-style autolinks for URLs and email addresses. This has been fixed. Now an autolink is done this way: "$":http://myurl.com
2012-11-06Textile parser: Expanded list of stringBreakers.John MacFarlane1-1/+1
This fixes a bug on input like "(_hello_)" which should be a parenthesized emphasized "hello". The new list is taken from the PHP source of textile 2.4.