Commit graph

2386 commits

Author SHA1 Message Date
John MacFarlane
f2fb733e0d Templates: Return empty string for json template.
Thanks to Dirk Laurie for pointing out the bug.
2011-08-18 10:49:19 -07:00
John MacFarlane
54520c4e6f Workaround for linker errors in macosx + ghc 7.0.3. 2011-08-18 10:48:14 -07:00
John MacFarlane
f25df13b8e Note in README that --chapters is implicit when certain classes used.
report, book, or memoir.
2011-08-03 10:20:27 -07:00
John MacFarlane
f628c3fe9e Fixed bug in html template with html5 and mathml.
Closes #286.
2011-08-01 17:52:19 -07:00
John MacFarlane
6c639d3420 HTML reader: Fixed bug parsing tables w both thead and tbody.
See bug #274, which was not completely fixed by the last patch.
2011-08-01 11:56:15 -07:00
John MacFarlane
bf26ae1dbd Updated changelog. 2011-08-01 10:55:22 -07:00
John MacFarlane
f9f3c195f7 Relax version bounds for pandoc-types to 1.8.*. 2011-08-01 10:53:00 -07:00
John MacFarlane
70b8d2b130 Bump version to 1.8.2.1 2011-08-01 10:52:57 -07:00
John MacFarlane
77cf7f9cac Tweaked Arbitrary instance to help avoid timeouts in tests. 2011-07-31 08:47:11 -07:00
John MacFarlane
fe6ea8eb32 Merge pull request #283 from trofi/master
extended test-framework dep range
2011-07-31 08:36:56 -07:00
Sergei Trofimovich
bbebbe6349 .cabal: extend test-framework dep range up to <0.5
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2011-07-31 10:39:09 +03:00
John MacFarlane
7fc4bd3d6e Added Tests.Writers.Markdown in cabal file. 2011-07-30 20:46:09 -07:00
John MacFarlane
8be6cc210c Added PRAGMA needed for ghc 6.12. 2011-07-30 19:58:46 -07:00
John MacFarlane
b1d2b307be Changed date on README. 2011-07-30 19:51:36 -07:00
John MacFarlane
9071026938 Updated tested-with field. 2011-07-30 19:43:50 -07:00
John MacFarlane
81381a9305 Removed applicative stuff in Markdown reader.
It requires parsec 3, and currently pandoc can build with parsec 2.
2011-07-30 19:43:20 -07:00
John MacFarlane
269417e176 Updated changelog. 2011-07-30 18:12:04 -07:00
John MacFarlane
b66b7a791c Markdown reader: Improved emph/strong parsing.
Ported code from pandoc2.
Now all tests pass.
2011-07-30 18:08:49 -07:00
John MacFarlane
2d14c9b436 Added nonspaceChar to Text.Pandoc.Parsing. 2011-07-30 18:08:02 -07:00
John MacFarlane
264c5a4f6b Updated changelog. 2011-07-30 17:25:16 -07:00
John MacFarlane
da387b7073 LaTeX template: Minor spacing changes. 2011-07-30 17:03:20 -07:00
John MacFarlane
cbd0314b1b Changes to tests for new latex templates. 2011-07-30 17:02:49 -07:00
John MacFarlane
7937236e58 LaTeX template: Don't use deprecated ucs package.
Removed `\usepackage{ucs}` and `utf8x` encoding.
The ucs package is no longer maintained, and it clashes
with biblatex, csquotes, and other packages.  Users who need
good unicode support should use xetex or luatex.
2011-07-30 16:24:12 -07:00
John MacFarlane
8ed75af42c markdown2pdf: Added -interaction nonstopmode.
Otherwise it can hang if the error requests user input!
2011-07-30 00:03:55 -07:00
John MacFarlane
7d1940e037 Updated changelog. 2011-07-29 23:50:46 -07:00
John MacFarlane
2845794c0c Updated LaTeX template to use ifxetex/ifluatex rather than iftex.
These are more likely to be in a basic TeX installation.
2011-07-29 23:49:47 -07:00
John MacFarlane
44e2dc68ac Updated lhs tests with CDATA. 2011-07-29 20:14:11 -07:00
John MacFarlane
8270d2f9b0 Bumped version on windows package. 2011-07-28 23:49:15 -07:00
John MacFarlane
1199ba923d Use git://, not ssh, for submodules. 2011-07-28 23:43:53 -07:00
John MacFarlane
b659a26488 Revert "Use non-ssh-requiring URL for templates submodule."
This reverts commit ba1fd70b47.
2011-07-28 23:36:25 -07:00
John MacFarlane
ba1fd70b47 Use non-ssh-requiring URL for templates submodule. 2011-07-28 23:34:08 -07:00
John MacFarlane
eef9767a8e Updated changelog. 2011-07-28 19:50:30 -07:00
John MacFarlane
603a748eec Updated release checklist to include osx package. 2011-07-28 19:15:58 -07:00
John MacFarlane
45b8520af8 Fix template problem for epub. 2011-07-28 18:53:59 -07:00
John MacFarlane
57821e1cdf Added s5-url and slidy-url variables, instead of hard-coding.
If you want to put your slidy files in the slidy subdirectory,
for example, you can do

    pandoc -t slidy -V slidy-url=slidy -s
2011-07-28 17:35:26 -07:00
John MacFarlane
5c12221948 Simplified osx package script.
Now compatible with OSX 10.3.
Also, license works.
2011-07-28 16:38:56 -07:00
John MacFarlane
4919b49f1c Depend on same version of pandoc-types as citeproc-hs, for now. 2011-07-28 15:42:39 -07:00
John MacFarlane
4d246f9038 Fixed make_osx_package.sh so that data paths work correctly. 2011-07-28 15:42:20 -07:00
John MacFarlane
7b55048dfb Install osx package directly to /usr/local.
(Instead of to /usr/local/pandoc-VERSION, with symlinks.)
2011-07-28 13:24:54 -07:00
John MacFarlane
b6d9c64794 Added osx packaging script. 2011-07-28 12:52:10 -07:00
John MacFarlane
0f0c1579f8 Smart quotes: handle '...hi' properly.
Also added test case.
2011-07-25 23:49:45 -07:00
John MacFarlane
499d1257ca Fixed template name in MakeManPage.hs 2011-07-25 23:49:17 -07:00
John MacFarlane
a3327835be Docbook writer: Use programlisting for code blocks.
Instead of screen, as before.
2011-07-24 23:36:30 -07:00
John MacFarlane
07c7cd1945 Docbook writer: Use CALS tables (instead of XHTML tables).
Reason:  Some older docbook software does not work with XHTML
tables.

Closes #77.
2011-07-24 23:24:03 -07:00
John MacFarlane
3162adbd9b HTML writer: Removed English title on footnote back links.
This is incongruous in non-English documents.
2011-07-24 16:24:27 -07:00
John MacFarlane
7b4c1b171c Use data: protocol to embed s5 css in <link> tags.
Using inline css didn't work properly with Chrome and Safari.
2011-07-24 11:36:54 -07:00
John MacFarlane
d6df566a75 Reordered offline slidy includes. 2011-07-24 10:39:46 -07:00
John MacFarlane
d5e0c449bd Use yuicompressor-packed js for s5.
Removed s5/default/slides.js.comment,
s5/default/slides.js.packed. Added s5/default/slides.min.js.
2011-07-24 09:27:08 -07:00
John MacFarlane
cb6123a2db Updated s5 tests. 2011-07-24 09:17:06 -07:00
John MacFarlane
fa16e31f89 Fixed slidy css.
* Use non-minimized version of `slidy.css` with `--offline` option,
  so users can more easily edit it.
* Fixed bug in slidy css that prevented proper centering of title.
2011-07-24 09:08:11 -07:00