Commit graph

3114 commits

Author SHA1 Message Date
John MacFarlane
6442e185b3 HTML writer: Put mathjax in span with class "math".
Closes #562.
2012-07-11 16:54:13 -07:00
John MacFarlane
9c4bb2fc12 Merge pull request #561 from ArloL/patch-1
Added documentation about including multiple CSS files
2012-07-11 15:01:58 -07:00
Arlo O'Keeffe
3c75a4c930 Added information about including multiple CSS files. 2012-07-11 14:39:13 -06:00
John MacFarlane
5c56165555 -V option: Add variables to beginning of list, not end.
This means that duplicate variables specified later on the command
line take precedence.

It also allows the default `-slidy-url` to be overridden even when
`--self-contained` is used (provided the `-V` comes after
`--self-contained`.  Previously this could not be done.  Note
that when `--self-contained` is used, the `slidy-url` variable is
set to `slidy` so that local copies are used.
2012-07-03 21:59:46 -07:00
John MacFarlane
a5db424665 Removed -threaded from cabal ghc-options.
Use of the threaded runtime imposes a slight performance penalty,
and there is really no need for it, since pandoc doesn't run faster
on multiple cores.
2012-07-02 16:29:11 -07:00
John MacFarlane
9e458d7974 Pretty: Added wide punctuation range to charWidth.
Fixes bug with Chinese commas in tables.
2012-06-30 11:51:52 -07:00
John MacFarlane
9d5230c0f6 Changed macro parser so it returns raw macro if stateApplyMacros false.
Closes #554.
2012-06-29 18:30:53 -07:00
John MacFarlane
11aea4bd3f Remove -threaded in library stanza. 2012-06-28 19:36:35 -07:00
John MacFarlane
491393db57 Updated changelog. 2012-06-28 19:27:37 -07:00
John MacFarlane
8a7895d3de Bump version on windows installer. 2012-06-28 19:26:35 -07:00
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
d812036182 Updated changelog. 2012-06-28 09:48:31 -07:00
John MacFarlane
83238cb686 Added webm to mime types. Closes #543. 2012-06-28 09:48:07 -07:00
John MacFarlane
5fe6e45d14 Updated changelog. 2012-06-27 15:59:24 -07:00
John MacFarlane
f75f3392ef Bump version to 1.9.4.2. 2012-06-27 15:54:02 -07:00
John MacFarlane
38f933356f Use -rtsopts and -threaded. 2012-06-27 15:25:35 -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
064af070da Acknowledge Gavin Beatty in AUTHORS. 2012-06-27 14:47:33 -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
e03b940baa In make_osx_package.sh, rebuild citeproc-hs with embed_data_files. 2012-06-26 19:41:54 -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
Alexander V Vershilov
cf4db74400 fixing exported test modules and files 2012-06-25 03:00:16 +04: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
9fc72d1ff2 Updated changelog. 2012-06-08 11:01:10 -07:00
John MacFarlane
a08650a603 Updated tests for changes in LaTeX template. 2012-06-08 11:00:27 -07:00
John MacFarlane
fdbfdf2f60 LaTeX template: Separate urlcolor and linkcolor variables. 2012-06-08 10:57:44 -07:00
John MacFarlane
e085949ff6 README: Documented new variables in LaTeX template. 2012-06-08 10:56:24 -07:00
John MacFarlane
28427f522d Updated changelog. 2012-06-08 10:48:29 -07:00
John MacFarlane
b606e93050 Bumped version to 1.9.4.1. 2012-06-08 10:48:13 -07:00
John MacFarlane
db645f7087 Biblio: Workaround broken toCapital in citeproc-0.3.4. 2012-06-08 10:28:51 -07:00
John MacFarlane
5fe9542ca8 Fixed documentation on mixed lists. Closes #533. 2012-06-08 10:06:07 -07:00
John MacFarlane
3982aaaed6 Updated tests for changes in LaTeX changes. 2012-06-05 22:25:54 -07:00
John MacFarlane
ba4cab2b35 LaTeX template: use ifxetex, ifluatex instead of iftex. 2012-06-05 22:22:08 -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
337735ae32 Updated tests for changes in latex template. 2012-06-05 11:52:57 -07:00
John MacFarlane
29d4b167b4 LaTeX template: Removed extra blank line. 2012-06-05 11:49:51 -07:00
John MacFarlane
1eaac7bbfb LaTeX template improvements.
* Don't print date unless one is given explicitly in the document.
* Use iftex instead of ifxetex, ifluatex.
* Simplified templates.
* Use fontenc [T1] by default, and lmodern.
* Use microtype if available (with pdflatex only).
2012-06-05 11:42:39 -07:00
John MacFarlane
ca7efdec3c LaTeX template: Added linkcolor and links-as-notes variables.
Make TOC links black.
2012-06-05 10:05:36 -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
927b5997d8 Added failing tests for note beginning with a citation.
See issue #531.
2012-06-03 19:26:36 -07:00
John MacFarlane
80f9619948 Have windows installer make man page first.
In cabal-dev, makemanpage fails.
2012-06-03 13:06:43 -07:00
John MacFarlane
1d2041283b Updated LaTeX template.
Internal links black; removed unneeded url package.
2012-06-03 11:13:42 -07:00
John MacFarlane
cc1f0aca7c Revert "Updated LaTeX template (use black for internal links and TOC)."
This reverts commit 4c5616fe2d.
2012-06-03 11:13:33 -07:00
John MacFarlane
9ab5b00221 Updated test suite. 2012-06-03 11:08:57 -07:00
John MacFarlane
c8c09cc403 Updated changelog. 2012-06-03 11:01:36 -07:00
John MacFarlane
4c5616fe2d Updated LaTeX template (use black for internal links and TOC). 2012-06-03 11:00:40 -07:00