aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-08-18Man writer: Escape - as \-.John MacFarlane2-11/+11
Unescaped -'s become hyphens, while \-'s are left as ascii minus signs. That is preferable for use with command-line options. See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html. Thanks to Andrea Bolognani for bringing the issue to our attention.
2012-08-17Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane1-5/+6
2012-08-17Docx line breaks: Use w:cr in w:r instead of w:br.John MacFarlane1-5/+6
This seems to fix a problem viewing pandoc-generated docx files in LibreOffice.
2012-08-16Removed stats.sh.John MacFarlane1-33/+0
2012-08-16Added comments in Options.John MacFarlane1-38/+40
2012-08-15Moved renderTags' from HTML reader & SelfContained to Shared.John MacFarlane4-28/+33
Improved removal of markdown="1" attribute in Markdow reader.
2012-08-15Tweaks on markdown="1" handling.John MacFarlane1-14/+22
2012-08-14Added install target to Makefile.John MacFarlane1-1/+4
2012-08-13Markdown: Prevent parse failure on HTML blocks with -raw_html.John MacFarlane1-1/+2
2012-08-13Pretty: Fixed bug that caused combining characters to be dropped.John MacFarlane1-6/+5
2012-08-12Added Ext_raw_html extension.John MacFarlane3-5/+15
Closes #556 -- you can now specify markdown-raw_html as your input format. (Read: markdown minus raw_html.)
2012-08-12Added note to README on positioning of reference link defs.John MacFarlane1-1/+10
2012-08-12Fixed titleblock in markdown, plain templates.John MacFarlane1-5/+9
Now it is just a single string. Previously separate title, author, and date variables were used, but this didn't allow different kinds of title blocks.
2012-08-12Implemented Ext_mmd_title_block in markdown reader & writer.John MacFarlane4-13/+75
2012-08-11Implemented tex_math extensions in markdown writer.John MacFarlane1-4/+18
2012-08-11Implemented Ext_markdown_attribute in markdown writer.John MacFarlane1-2/+19
2012-08-11Documented markdown_attribute extension in README.John MacFarlane1-0/+7
2012-08-11Mardkown reader: Implemented Ext_markdown_attribute.John MacFarlane2-14/+24
2012-08-11Revert "Implemented Ext_markdown_attribute."John MacFarlane3-17/+1
This reverts commit 78d3a0fb9d3f862d5e2b61bd45434f7af9cd9f18.
2012-08-11Implemented Ext_markdown_attribute.John MacFarlane3-1/+17
This adds markdown=1 to block tags.
2012-08-10Implemented Ext_tex_math_single_backslash, Ext_tex_math_double_backslash.John MacFarlane1-20/+28
2012-08-10Options and documentation for backslash tex math options.John MacFarlane2-0/+12
Ext_tex_math_single_backslash and Ext_tex_math_double_backslash. Still need to code in reader.
2012-08-10Changed Ext_tex_math to Ext_tex_math_dollars.John MacFarlane3-5/+5
2012-08-10Removed refs to Ext_header_identifiers in comments.John MacFarlane1-2/+0
2012-08-10MakeManPage: Remove modification time checking, done in Setup.hs.John MacFarlane1-22/+3
2012-08-10Documented org-like pipe tables.John MacFarlane1-0/+12
2012-08-10Markdown: Allow pipe tables created by emacs orgtbl-mode to work.John MacFarlane1-4/+8
The difference is the + separators. Note: only simple org-tables work, with no bottom line. This just allows you to use org-mode's nice table editor to create regular pipe tables. In particular, org-mode's method for determining column alignments implicitly is not enabled. You must put in :s to specify alignments, as stated in the documentation.
2012-08-10Documented new system for enabling/disabling extensions.John MacFarlane1-26/+46
2012-08-09Changed strict to markdown_strict.John MacFarlane4-15/+18
2012-08-09Fixed handling of default extensions, so they don't override +options.John MacFarlane1-8/+10
2012-08-09Removed `--strict`, added extensions to writer/reader names.John MacFarlane5-78/+73
* The `--strict` option has been removed. * Instead of using `--strict`, one can now use `strict` instead of `markdown` as an input or output format name. * The `--enable` and `--disable` optinos have been removed. * It is now possible to enable or disable specific extensions by appending them (with '+' or '-') to the writer or reader name. For example `pandoc -f markdown-footnotes+hard_line_breaks`. * The lhs extensions are now implemented this way, too; you can use either `+lhs` or `+literate_haskell`.
2012-08-09Added getReader, getWriter to Text.Pandoc.John MacFarlane1-0/+31
2012-08-09Removed --enable, --disable options.John MacFarlane2-40/+4
2012-08-09Use safeRead instead of using reads directly (various modules).John MacFarlane5-41/+43
2012-08-09Added safeRead to Text.Pandoc.Shared.John MacFarlane1-1/+12
2012-08-09Added parseFormatSpec to Text.Pandoc.John MacFarlane1-0/+22
2012-08-08Changes to literate haskell options.John MacFarlane14-56/+22
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix.
2012-08-08Makefile: Require pandoc-types before citeproc-hs.John MacFarlane1-2/+2
2012-08-08Temporarily removed travis build instructions.John MacFarlane1-0/+0
2012-08-08Changed heading in README so we don't have two "Citations" sections.John MacFarlane1-2/+2
2012-08-07Added Makefile for development.John MacFarlane1-0/+27
2012-08-07Markdown reader: Modified to use Builder from pandoc-types 1.10.*.John MacFarlane1-5/+3
2012-08-07Require pandoc-types 1.10.*.John MacFarlane1-3/+3
2012-08-07Made pandocExtensions default for reader/writer options.John MacFarlane1-2/+2
2012-08-06Support hard_line_breaks markdown extension.John MacFarlane4-3/+55
* Added Ext_hard_line_breaks. * Added section in README on non-pandoc extensions. * Exported pandocExtensions and strictExtensions in Text.Pandoc.Options. Closes #514.
2012-08-05Markdown writer: Tables now sensitive to table extension options.John MacFarlane1-21/+42
Ext_simple_table, Ext_multiline_tables, Ext_pipe_tables. Simple tables are preferred over pipe tables when both are enabled. If no appropriate table style is available, a raw HTML table is used. So far there is no option for output of grid tables.
2012-08-05Documented styles used in reference docxJohn MacFarlane1-1/+6
2012-08-05Started making markdown table writer sensitive to options.John MacFarlane2-33/+50
So far incomplete.
2012-08-04Don't include empty captions in figures.John MacFarlane6-17/+32
Closes #581.
2012-08-04Markdown reader: look for raw html/latex blocks before tables.John MacFarlane1-2/+2
Otherwise the following gets parsed as a table: \begin{code} -------------- -- My comment. \end{code} Closes #578.