1570 Commits
Author SHA1 Message Date
John MacFarlane 6cdfde5807 SelfContained: Fix handling of absolute URLs in css imports.
Also allow single-quoted values.

Closes #535.
2012-06-28 18:35:21 -07:00
John MacFarlane 83238cb686 Added webm to mime types. Closes #543. 2012-06-28 09:48:07 -07:00
John MacFarlane 7da913dbd7 ConTeXt writer: don't escape &,^,<,>.
Simplified escapes for `}` and `{` to `\{` and `\}`.

Thanks to Aditya Mahajan.
2012-06-27 15:05:13 -07:00
John MacFarlane d320c2eac5 MediaWiki writer: Avoid extra blank lines after sublists.
Thanks to Gavin Beatty.
2012-06-27 14:46:46 -07:00
John MacFarlane e9f6366af7 Don't escape _ as \letterunderscore{} in ConTeXt. 2012-06-26 19:50:52 -07:00
John MacFarlane dc158768b9 Docbook reader: Added support for "bold" emphasis.
Thanks to mb21.
2012-06-26 19:41:34 -07:00
John MacFarlane 527be1ddf2 Don't generate empty H1 after hrule slide breaks.
We now use a slide-level header with contents [Str "\0"] to mark
an hrule break.  This avoids creation of an empty H1 in these
contexts.

Closes #484.
2012-06-25 14:52:09 -07:00
John MacFarlane 4cf3aaecde Test for base 4.4.0 instead of 4.5.0 for argument/filename encoding. 2012-06-25 14:27:22 -07:00
John MacFarlane cc39c313c5 Don't encode/decode file paths if base >= 4.5.
Prior to base 4.5 (and perhaps earlier - check), filepaths and command
line arguments were treated as unencoded lists of bytes, not unicode
strings, so we had to work around that by encoding and decoding
them.  This commit adds CPP checks for base 4.5 that disable the
encoding/decoding.

Fixes a bug with multilingual filenames when pandoc was compiled
with ghc 7.4. Closes #540.
2012-06-24 10:58:15 +02:00
John MacFarlane c24b7991aa Fixed shadowing warning. 2012-06-08 11:12:56 -07:00
John MacFarlane db645f7087 Biblio: Workaround broken toCapital in citeproc-0.3.4. 2012-06-08 10:28:51 -07:00
John MacFarlane c06ed6e3b1 Biblio: Add comma to beginning of bare suffix, e.g. @item1 [50].
Motivation: @item1 [50] should be as close as possible to
[@item1, 50].
2012-06-05 11:54:27 -07:00
John MacFarlane 0dab912c22 Markdown reader: Added cf. and cp. to list of likely abbreviations. 2012-06-04 11:13:41 -07:00
John MacFarlane 34fac208d2 Fixed --incremental behavior for Beamer.
When `--incremental` is used, lists inside block quotes should
appear all at once (as in HTML).
2012-06-03 09:14:09 -07:00
John MacFarlane 5669dc2a47 Simplified bullet characters so they work with Word 2007.
Closes #520.
2012-06-01 18:44:00 -07:00
John MacFarlane e14712dabd LaTeX writer: Ensure newline after Verbatim at end of footnote.
This fixes a regression. Also added a test for this.
2012-06-01 10:50:22 -07:00
John MacFarlane 4834865653 Escape % as \letterpercent{} not \letterpercent in ConTeXt. 2012-05-31 19:15:42 -07:00
John MacFarlane 81be8fbf77 Merge pull request #521 from jonassmedegaard/master
Slidy lang support, and new Slideous writer
2012-05-30 18:21:26 -07:00
paul.rivier 75cba828b5 Textile reader: fix for <notextile> and ==.
Closes #517.
2012-05-29 17:40:55 -07:00
John MacFarlane 9a47237412 RST reader: handle figures.
Closes #522.
2012-05-29 16:59:56 -07:00
John MacFarlane 91e9d904b5 Org writer: Add space before language name.
Closes #523.
2012-05-29 16:27:19 -07:00
John MacFarlane 60495e9fb3 Added a couple needed trys to textile reader. 2012-05-29 16:23:40 -07:00
John MacFarlane 3b4e4de52b ConTeXt writer: ensure space after \stopformula. 2012-05-29 12:43:11 -07:00
Jonas Smedegaard 61f8dd4da8 Add support for Slideous output. 2012-05-24 10:31:18 +02:00
John MacFarlane 9552543b96 Massively simplified Text.Pandoc.Biblio.
Fixed a bug with citations in notes and captions.

We now handle note citations by inserting notes at the
beginning, and removing notes within notes later.
2012-05-23 16:11:05 -07:00
John MacFarlane 2e4860bc6d LaTeX reader: Support \centerline. 2012-05-22 15:38:11 -07:00
John MacFarlane 79a17ef9b9 Markdown Use a nonzero space to prevent false recognition of list marker.
This addresses #516, but in a rather hackish way.  There ought to
be a better solution.
2012-05-19 17:44:15 -07:00
John MacFarlane b2340cd874 Added 'zenburn' highlight style from highlighting-kate.
Depend on h-k 0.5.0.6.
2012-05-17 18:54:41 -07:00
John MacFarlane 4991852edb Markdown writer: Improved definition lists.
* Use `:` form instead of `~`, for better compatibility with other
  markdown implementations.

* Don't wrap the term, because it breaks definition lists.
2012-05-16 13:07:58 -07:00
John MacFarlane 4e35c67c23 LaTeX writer: More consistent interblock spacing. 2012-05-14 07:04:47 -07:00
John MacFarlane 428595469e LaTeX reader: ensure we don't have extra blank lines at ends of cells.
This can cause LaTeX errors, as they are interpreted as new paragraphs.
2012-05-13 14:59:02 -07:00
John MacFarlane d0d101d840 Export readDocBook in Text.Pandoc. 2012-05-12 19:29:39 -07:00
John MacFarlane a5f71e5fad DocBook: support segmentedlist. 2012-05-12 18:34:15 -07:00
John MacFarlane 6dfaf43f3e DocBook reader: Support simplelist, member. 2012-05-12 13:21:13 -07:00
John MacFarlane 0d3c7b5204 Don't include non-language classes for code blocks. 2012-05-12 12:33:51 -07:00
John MacFarlane 2c04d0b2bf DocBook reader: Recognize example as block element. 2012-05-12 12:33:49 -07:00
John MacFarlane 1c26f2c516 DocBook reader: Promote level 0 headers to 1 even if dbBook not set. 2012-05-12 12:24:26 -07:00
John MacFarlane 9d44dc3887 DocBook reader: Support bridgehead. 2012-05-12 12:17:36 -07:00
John MacFarlane 3d15d4c668 DocBook reader: only use language classes for inline code. 2012-05-12 11:35:20 -07:00
John MacFarlane 199c9de654 DocBook reader: Better handling tags that can have inline or block content. 2012-05-12 11:31:17 -07:00
John MacFarlane 89fa0e4a08 DocBook reader: computeroutput is an inline tag, not block. 2012-05-12 11:21:23 -07:00
John MacFarlane 5f889b9396 Added writerTeXLigatures to WriterOptions, --no-tex-ligatures option.
This is useful for those who want to use advanced OpenType features
with xelatex/lualatex.
2012-05-11 23:00:46 -07:00
John MacFarlane 206f261194 LaTeX reader: Allow skipping of unknown block commands in \author section.
Closes #505, which was a problem with `\vspace{10pt}` inside `\author`.
2012-05-11 20:50:00 -07:00
John MacFarlane c844634757 DocBook reader: Support bibliomixed tag. 2012-05-11 20:35:19 -07:00
John MacFarlane 02fa1050b0 DocBook reader: Support link tag with no content. 2012-05-11 20:27:28 -07:00
John MacFarlane e1e6505abe DocBook reader: print ? for xref tag. 2012-05-11 20:20:53 -07:00
John MacFarlane d46d2000f4 DocBook reader: Support uri tag. 2012-05-11 20:16:39 -07:00
John MacFarlane 5dfcf004b4 DocBook reader: Use ALLCAPS for unknown entities. 2012-05-11 20:14:11 -07:00
John MacFarlane de27dbc0f8 DocBook reader. Handle block elements inside paragraphs. 2012-05-11 20:08:26 -07:00
John MacFarlane b4b5642ac7 DocBook reader: support more elements. 2012-05-10 23:58:13 -07:00