John MacFarlane
d34f85613a
Changes to fit new charsInBalanced.
2011-12-05 20:55:23 -08:00
John MacFarlane
fa255f68ba
Parsing: Removed charsInBalanced', added param to charsInBalanced.
...
The extra parameter is a character parser. This is needed for
proper handling of escapes, etc.
2011-12-05 20:54:46 -08:00
John MacFarlane
c39cdc15ba
Markdown reader: internal changes.
...
Refactored escapedChar into escapedChar', escapedChar.
2011-12-05 20:27:10 -08:00
John MacFarlane
7b971517b0
Parsing: Changed type of escaped to return Char
2011-12-05 20:22:27 -08:00
John MacFarlane
b2c58c11b2
Added more failing tests relating to issue #312 .
2011-12-05 19:07:17 -08:00
John MacFarlane
8306f6e9c6
Added blank comment after directives in rst template.
...
Closes #321 .
2011-12-04 22:54:47 -08:00
John MacFarlane
a4364b3784
Added failing test for escape in markdown link title.
2011-12-04 22:37:28 -08:00
John MacFarlane
e53e538524
WebTeX math - use 'vertical-align:middle' for better results.
2011-12-04 16:07:04 -08:00
John MacFarlane
42eb96a8b3
SelfContained: Get mime type from HTTP request if possible.
...
--webtex --self-contained now works.
2011-12-04 15:58:31 -08:00
John MacFarlane
fc4d46517c
Depend on tagsoup >= 12.5.
...
This has a fix needed for the --self-contained option to work properly.
2011-12-04 15:58:05 -08:00
John MacFarlane
0126843751
SelfContained: Convert all url()s in css to data: uris.
2011-12-04 12:19:35 -08:00
John MacFarlane
fb5f9a90f1
New slidy directory for "self-contained."
2011-12-03 22:10:18 -08:00
John MacFarlane
38fbfed35e
Bump version constraint on HTTP.
2011-12-03 21:35:39 -08:00
John MacFarlane
bdec07bac9
Shared: Removed unescapeURI, modified escapeURI.
...
escapeURI now only escapes space characters, leaving unicode characters
as they are, instead of converting them to octets and URL-encoding them,
as before. This gives more readable URIs. User agents now do the
percent-encoding themselves.
URIs are no longer unescaped at all on conversion to markdown, asciidoc,
rst, org.
Closes #349 .
2011-12-02 19:39:30 -08:00
John MacFarlane
c6456ef8a4
Fixed test for style type meta in highlighted html+lhs.
2011-12-02 19:10:31 -08:00
John MacFarlane
dfdecdc926
Added h3.date to epub.css.
2011-12-01 21:13:47 -08:00
John MacFarlane
6da5ff17ba
Added highlighting to default epub css.
2011-12-01 20:33:54 -08:00
John MacFarlane
eb0424a892
Allow to build against highlighting-kate 0.3.
2011-12-01 20:00:57 -08:00
John MacFarlane
7a09873a0b
Added failing test case for issue #312 .
2011-12-01 19:47:25 -08:00
John MacFarlane
8137f07cea
Updated templates.
2011-12-01 19:05:02 -08:00
John MacFarlane
c8333b5d1b
Made author/date more consistent in HTML templates.
...
Authors are now h2, date h3. (Instead of h3/h4, as in the past.)
2011-12-01 18:57:41 -08:00
John MacFarlane
3270c838b5
S5/slidy writer: Make footnotes appear on separate slide at end.
2011-11-29 13:36:50 -08:00
John MacFarlane
6eb6a99013
Use separate variables for meta-date, meta-author.
...
This makes footnotes work in author and date fields.
Closes #301 .
2011-11-29 13:31:39 -08:00
John MacFarlane
05a26aef3a
HTML writer: Put citations in span with class="citation".
...
See #313 .
2011-11-29 12:49:39 -08:00
John MacFarlane
479a0a56d7
Update version bound for highlighting-kate.
2011-11-28 10:27:39 -08:00
John MacFarlane
318d136881
Added 'lang' variable to LaTeX template.
...
Thanks to Magnus Therning for the suggestion.
2011-11-27 20:38:05 -08:00
John MacFarlane
4d5ddbce8b
Mardkown writer tests: Use setext headers for levels 1-2.
2011-11-24 11:14:45 -08:00
John MacFarlane
ce40d0d0c2
Markdown writer: Use setext headers for levels 1-2.
2011-11-24 11:14:32 -08:00
John MacFarlane
1b6d0f2e1d
Changed paths in s5 tests.
2011-11-24 11:13:14 -08:00
John MacFarlane
f027fd0eff
--self-contained now works with <video>
as well as <img>
.
2011-11-24 10:04:25 -08:00
John MacFarlane
41eded5dd2
pandoc.hs : changed a couple writerName
to writerName'
.
...
This fixes a bug in which `pandoc --self-contained` would only
work properly if `-t html` were specified explicitly.
2011-11-23 20:15:24 -08:00
John MacFarlane
db1c16e856
Set --standalone
implicitly when non-text output format.
...
(ODT, EPUB). This restores pandoc's previous behavior.
You can again do `pandoc test.txt -o test.odt` and get a standalone
ODT file.
Resolves #351 .
2011-11-22 14:22:22 -08:00
John MacFarlane
2f3d76844a
Slight modification of --self-contained documentation.
2011-11-21 15:55:05 -08:00
John MacFarlane
00d811d986
Documented --self-contained
and modified documentation for --offline
.
2011-11-21 15:36:36 -08:00
John MacFarlane
fa3fe2d93d
Version bump to 1.9.
...
We need to increment the second digit, since we removed an entire
module (S5) from the API.
2011-11-21 15:26:50 -08:00
John MacFarlane
21d74289ce
Removed Text.Pandoc.S5 -- no longer needed.
2011-11-21 15:26:11 -08:00
John MacFarlane
af085e0c60
Added --self-contained, integrated into src/pandoc.hs.
...
--offline is now a deprecated synonym for --self-contained.
TODO: Documentation, remove old S5 module.
2011-11-21 15:24:28 -08:00
John MacFarlane
10b23e85b7
Changed Offline module to SelfContained, offline to makeSelfContained.
2011-11-21 15:09:42 -08:00
John MacFarlane
1cd928b591
Added userdata directory parameter to fns in Offline.
2011-11-21 00:41:08 -08:00
John MacFarlane
99f2ae2805
Added missing s5 files to data-files in pandoc.cabal.
2011-11-20 12:47:05 -08:00
John MacFarlane
9383260e20
Offline: Look for relative URLs in data directory if not found.
2011-11-20 12:32:54 -08:00
John MacFarlane
ef9395ced7
HTML writer: change s5-url to s5/default.
2011-11-20 12:11:38 -08:00
John MacFarlane
6aa9f521ea
Depend on zlib (for Offline).
2011-11-20 12:05:01 -08:00
John MacFarlane
12a1ecc8b4
Offline: Recursively resolve @imports in css files.
2011-11-20 12:04:47 -08:00
John MacFarlane
3370fbe7c6
Converted Offline to use Tag String.
2011-11-19 19:30:27 -08:00
John MacFarlane
24d8961d05
Added Text.Pandoc.Offline module.
2011-11-19 00:20:00 -08:00
John MacFarlane
bea0fdf6e6
AsciiDoc: Don't use Roman numerals in ordered lists.
...
AsiiDoc doesn't support them.
2011-11-18 21:26:25 -08:00
John MacFarlane
1561d51cc5
Renamed to AsciiDoc. Fixed display math and escapes.
...
AsciiDoc does not seem to have consistent escaping rules.
2011-11-18 21:09:49 -08:00
John MacFarlane
1a3b7abd18
Spelling correction.
2011-11-18 19:57:29 -08:00
John MacFarlane
d01c632055
Added asciidoc output to README.
2011-11-18 19:56:58 -08:00