John MacFarlane
1038606036
LaTeX reader: Added a 'try' in rawLaTeXBlock.
...
This allows the markdown reader to treat '\begin' (not followed
by an argument) as a raw string rather than erroring out when
it doesn't find a '{'.
Closes #622 .
2012-09-22 13:00:59 -07:00
John MacFarlane
93c35cbf14
Tests.Old: Set TMP to ".".
...
Otherwise TMP is unset and, on Windows, C:\Windows is used by default,
leading to permission violations.
2012-09-21 20:34:27 -07:00
John MacFarlane
bec25775ba
Merge pull request #619 from bgamari/master
...
Various version bumps
2012-09-21 17:36:12 -07:00
Ben Gamari
a96982e701
Setup: getModificationTime returns UTCTime as of GHC 7.6
2012-09-21 15:43:26 -04:00
Ben Gamari
bb4ea9d422
Bump network upper bound to <2.5
...
network 2.4 is now on hackage
2012-09-21 09:31:52 -04:00
Ben Gamari
77ccdf59f5
Bump directory upper bound to <1.3
...
directory-1.2 is in ghc 7.6
2012-09-21 09:30:42 -04:00
Ben Gamari
92c7029492
Bump containers upper bound to <0.6
...
Since containers 0.5 is in the wild as of ghc 7.6
2012-09-21 09:29:23 -04:00
John MacFarlane
1e7599cf6a
README: Removed claim that 'enumerate' library is needed in LaTeX.
...
It isn't any longer.
2012-09-16 22:34:06 -07:00
John MacFarlane
dc28a653ae
LaTeX/Beamer templates: Don't require 'float' package for tables.
...
We don't actually seem to use the '[H]' option.
2012-09-16 22:26:56 -07:00
John MacFarlane
e1be934dc2
LaTeX writer: Don't rely on the enumerate package.
...
Instead, use standard LaTeX commands to change numbering style.
2012-09-16 22:24:55 -07:00
John MacFarlane
1e2b20f8bc
LaTeX writer: Properly escape strings inside \url{}.
...
Closes #576 .
2012-09-16 11:20:53 -07:00
John MacFarlane
23e1a25014
RST writer: Fixed hyperlinked images.
...
* Use :target: field when you have a simple linked image.
* Don't wrap the reference.
* Cleaned up code.
* Closes #611 .
2012-09-16 11:09:36 -07:00
John MacFarlane
ecc206f7c3
RST reader: Small tweaks to raw field lists.
...
* Don't allow line breaks in field names.
* Strip off initial newline from 'raw' when field body
begins on next line.
2012-09-16 10:29:35 -07:00
John MacFarlane
9f89269941
Merge pull request #596 from dlax/rst-fieldlists
...
improvements to rst reader for field lists
2012-09-16 10:19:42 -07:00
John MacFarlane
fc31bf27f5
MediaWiki reader: Allow table in table cell.
2012-09-15 21:06:55 -07:00
John MacFarlane
1461693159
LaTeX writer: Don't escape _ in hyperref identifiers.
2012-09-15 20:50:43 -07:00
John MacFarlane
d9e34ce34d
LaTeX writer: don't escape _ in url.
2012-09-15 20:43:36 -07:00
John MacFarlane
fc4ae15337
LaTeX writer: Don't use \endhead with longtable.
...
It causes the heading to be a different size form the body,
sometimes.
2012-09-15 20:40:48 -07:00
John MacFarlane
0851f8d592
Markdown writer: Made sensitive to Ext_hard_line_breaks.
2012-09-15 19:19:47 -04:00
John MacFarlane
62225599c9
Updated README to mention longtable package
2012-09-15 18:02:39 -04:00
John MacFarlane
0311ca8145
Updated README to include mediawiki reader
2012-09-15 18:02:08 -04:00
John MacFarlane
a71ac7cde7
Revised latex writer tests to use longtable.
2012-09-15 17:57:22 -04:00
John MacFarlane
502242b9a0
LaTeX writer: Use longtable instead of ctable.
2012-09-15 17:55:01 -04:00
John MacFarlane
323bf3f7e6
LaTeX, beamer templates: Use longtable instead of ctable.
2012-09-15 17:41:06 -04:00
John MacFarlane
3e8630c88e
MediaWiki reader: Added smart doublequotes with -S option.
...
Also disallow ' in the "trail" of an internal link; allowing
it causes bugs with `'''[[Link]]'''`.
2012-09-15 16:56:01 -04:00
John MacFarlane
0cd2289eea
MediaWiki parser: Improved endline to stop bad breaks.
2012-09-15 16:40:35 -04:00
John MacFarlane
64b0378f5d
MediaWiki reader: Added test case for templates in list item.
2012-09-15 16:29:52 -04:00
John MacFarlane
2bc32bcb04
MediaWiki reader: Added test for ref.
2012-09-15 16:28:25 -04:00
John MacFarlane
bc29f44d59
MediaWiki reader: Allow def list item with just a term.
2012-09-15 16:25:51 -04:00
John MacFarlane
c9faa2740b
MediaWiki reader: Properly handle templates in list items.
2012-09-15 16:17:52 -04:00
John MacFarlane
887fc14f3d
HTML reader: Modified htmlTag for fewer false positives.
...
A tag must start with `<` followed by `!`,`?`, `/`, or a letter.
This makes it more useful in the wikimedia and markdown parsers.
2012-09-15 15:46:16 -04:00
John MacFarlane
c5de3c411f
MediaWiki reader: Handle ref tags as footnotes.
2012-09-15 15:33:48 -04:00
John MacFarlane
293452f970
MediaWiki reader: Better parsing of templates.
2012-09-15 15:22:18 -04:00
John MacFarlane
387308dc47
MediaWiki reader: Treat "references" tag as block.
2012-09-15 15:05:50 -04:00
John MacFarlane
0a2fb202fb
MediaWiki reader: Interpret width attribute on table columns.
2012-09-15 15:04:11 -04:00
John MacFarlane
26fb63e294
MediaWiki reader: Got alignments working.
...
They only work on headers, because pandoc forces same
alignment for all cells in a column.
2012-09-15 14:20:50 -04:00
John MacFarlane
eca9eeab6b
MediaWiki reader: Misc fixes, put category links at end.
2012-09-15 13:50:02 -04:00
John MacFarlane
bc5fe70d15
MediaWiki reader: Skip inline templates, handle <source>.
2012-09-15 01:47:57 -04:00
John MacFarlane
a2391b0395
MediaWiki reader: Parse styles on table cells.
2012-09-15 01:13:26 -04:00
John MacFarlane
9a54a949c7
MediaWiki reader: Parse styles after '{|' table start.
2012-09-15 00:23:24 -04:00
John MacFarlane
aa476b42cb
MediaWiki reader: || between table cells.
2012-09-14 23:51:43 -04:00
John MacFarlane
152ddfb232
MediaWiki reader: Added test for multi-paragraph cells.
2012-09-14 23:31:55 -04:00
John MacFarlane
28d2cf9500
MediaWiki reader: Improved table parsing.
2012-09-14 23:29:06 -04:00
John MacFarlane
ce509be57a
MediaWiki reader: Table improvements, added simple table tests.
2012-09-14 10:55:16 -04:00
John MacFarlane
6e9351bac4
MediaWiki reader: Support for basic mediawiki tables.
2012-09-14 10:19:35 -04:00
John MacFarlane
46be934994
MediaWiki reader: Images.
2012-09-13 18:16:25 -07:00
John MacFarlane
a0d7b3f37b
MediaWiki reader: internal links.
2012-09-13 17:06:09 -07:00
John MacFarlane
fc2f7a4942
MediaWiki reader: Implemented basic internal links.
...
Including word-ending links and the "pipe trick."
2012-09-13 16:55:08 -07:00
John MacFarlane
5620848ef9
MediaWiki reader: Added tests for external mailto link.
2012-09-13 15:28:11 -07:00
John MacFarlane
017095f690
MediaWiki reader: Implemented numbered external links.
2012-09-13 15:24:05 -07:00