John MacFarlane
5085962c28
Text.Pandoc.Parsing: Export all Parsec functions used in pandoc code.
...
No other module directly imports Parsec. This will make it easier
to change the parsing backend in the future, if we want to.
2012-07-20 14:41:44 -07:00
John MacFarlane
a4c28ead79
Use Text.Parsec instead of Text.ParserCombinators.Parsec.
2012-07-20 14:19:06 -07:00
John MacFarlane
5be6bf07d2
Make --ascii
work properly with --self-contained
.
...
Closes #568 .
2012-07-19 12:45:26 -07:00
John MacFarlane
2351f7a112
Provide Data.Default instances for ParserState and WriterOptions.
...
Now you can use def (which is re-exported by Text.Pandoc) instead of
defaultParserState or defaultWriterOptions. For now, these
are still defined too, so existing code need not change.
Closes #546 .
2012-07-19 12:38:54 -07:00
John MacFarlane
26748da6d4
Don't recognize inline-markup starts inside words.
...
For example, "2*2 = 4*1" should not contain an emphasized
section. Added test case for "Literal symbols". Closes #569 .
2012-07-16 10:58:44 -07:00
Arlo O'Keeffe
d25656571a
Set ODT title property
2012-07-13 15:19:39 -06:00
John MacFarlane
f68b05e74b
Textile reader: properly handle links with surrounding brackets.
...
Square brackets need to be used when the link isn't surrounded by
spaces or punctuation, or when the URL ending may be ambiguous.
Closes #564 .
2012-07-13 14:01:56 -07:00
John MacFarlane
2192f02e19
Merge pull request #563 from ArloL/patch-2
...
Update Bug tracker URL
2012-07-12 15:11:20 -07:00
Arlo O'Keeffe
fd95bfb81b
Update Bug tracker URL
2012-07-12 15:20:19 -06:00
John MacFarlane
70a2301876
Updated link to gladTeX. Closes #559 .
2012-07-12 10:40:29 -07:00
John MacFarlane
81eb460dea
Added note on MathJax. Closes #558 .
2012-07-12 10:39:44 -07:00
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