summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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.
* Cabal file changes.John MacFarlane2012-12-29
| | | | | | | | * Remove executable and library flags. * Expose `Text.Pandoc.XML` and `Text.Pandoc.Biblio`. * Depend on pandoc library in executable, so we don't recompile everything. * Move pandoc.hs from src/ to .
* EPUB3: Don't use the switch statement for mathml.John MacFarlane2012-12-19
| | | | It is not widely implemented yet.
* Fixed bug in withRaw.John MacFarlane2012-12-13
| | | | Didn't correctly handle case where nothing is parsed.
* LaTeX reader: Make command macros work everywhere, including non-math.John MacFarlane2012-12-12
| | | | Environment macros still not supported.
* Textile reader/writer: Fixed autolinks.John MacFarlane2012-11-06
| | | | | | | | | 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
* Textile parser: Expanded list of stringBreakers.John MacFarlane2012-11-06
| | | | | | | 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.
* HTML writer: Include highlighting-css for code spans, too.John MacFarlane2012-11-05
| | | | | Previously it was only included if used in a code block. Closes #653.
* LaTeX reader: skip comments in handleIncludes.John MacFarlane2012-11-05
|
* Textile reader: Allow newlines before pipes in table.John MacFarlane2012-11-05
| | | | Closes #654.
* EPUB writer: Rationalized templates.John MacFarlane2012-11-04
| | | | | | | | * Previously there were three different templates involved in epub production. There is now just one template, default.epub or default.epub3. * It can now be overridden using `--template`, just like other templates.
* EPUB: removed need for separate epub-titlepage template.John MacFarlane2012-11-04
| | | | | The titlepage stuff is now folded into the epub-page template. A titlepage variable selects it.
* EPUB writer: Removed need for separate epub-coverpage template.John MacFarlane2012-11-04
| | | | The standard epub-page template is now used.
* EPUB writer: Improved handling of CSS.John MacFarlane2012-11-04
| | | | | * Code highlighting now works by default. * Quote styles work as in pandoc's HTML writer.
* RST writer: Don't add ":align: center" to figures.John MacFarlane2012-11-04
|