Commit graph

4370 commits

Author SHA1 Message Date
John MacFarlane
652f9a88f4 Handle Boolean values in --metadata.
Note that anything not parseable as a YAML boolean or string
is treated as a literal string.

Note that you can still get a string value with "yes" or any
of the strings interpretable as booleans:

    -M boolvalue=yes -M stringvalue='"yes"'
2013-09-19 20:21:35 -07:00
John MacFarlane
255037a091 Markdown reader: small code improvement. 2013-09-19 10:09:32 -07:00
John MacFarlane
e135955b1e LaTeX writer: Don't print biblio if --natbib or --biblatex option used. 2013-09-19 10:08:49 -07:00
John MacFarlane
d27e5a6ff0 DOCX writer: Add missing settings.xml to the zip container.
Closes #990.
2013-09-19 09:48:02 -07:00
John MacFarlane
464b174d0f Fixed reference slides.
The Div container around references messed up the procedure
for carving a document into slides.  So we now remove the surrounding
Div in prepSlides.
2013-09-18 09:13:37 -07:00
John MacFarlane
3397af30e4 More informative error when a filter is not found in path.
No more "resource vanished (broken pipe)"!
2013-09-17 21:38:34 -07:00
John MacFarlane
32afe85754 Allow --metadata to be repeated for the same key to form a list.
This also has the effect that `--bibliography` can be repeated,
as before.
2013-09-17 21:04:27 -07:00
John MacFarlane
c04d243795 Depend on pandoc-types 1.12.1. 2013-09-17 08:34:43 -07:00
John MacFarlane
771faa8cba make_osx_package.sh: Add dylibs needed for text-icu. 2013-09-17 07:27:33 -07:00
John MacFarlane
b633c6486f Fixed typo in changelog: pandoc-citations -> pandoc-citeproc. 2013-09-16 08:14:02 -07:00
John MacFarlane
2b2d0064be Declare alex and happy as build-tools.
Closes #986.
2013-09-16 08:10:53 -07:00
John MacFarlane
fcd9a0b551 Minor formatting change on changelog. 2013-09-15 09:34:27 -07:00
John MacFarlane
21f1bcb280 Markdown reader: unresolved citations fall back to original text.
Not ???.

Reason:  Less surprising, especially for people using @ as
in twitter.
2013-09-14 22:28:37 -07:00
John MacFarlane
5529d9d9f5 Typo in changelog. 2013-09-14 19:03:07 -07:00
John MacFarlane
eea28a484f changelog: Added some citation-related entries.
These properly relate to pandoc-citeproc, but will be of
interest to pandoc users.
2013-09-14 17:49:24 -07:00
John MacFarlane
8a917cd9e4 Further fixes to make_osx_package.sh. 2013-09-14 17:32:54 -07:00
John MacFarlane
b0a26d7193 Windows: make citation support a separable component. 2013-09-14 16:52:16 -07:00
John MacFarlane
e3775528dd Updated windows installer batch file. 2013-09-14 16:06:54 -07:00
John MacFarlane
08b67f7730 Updated make_osx_package.sh. 2013-09-14 16:02:02 -07:00
John MacFarlane
479cefa4c2 More robust check for '-F pandoc-filters', allowing pathnames. 2013-09-14 16:01:41 -07:00
John MacFarlane
c92d9db7f0 README: Added link to lua. 2013-09-13 22:40:00 -07:00
John MacFarlane
3747104178 Markdown writer: Print references if output is 'plain'. 2013-09-12 11:23:57 -07:00
John MacFarlane
ca6842349e HTML writer: Ensure proper escaping in header metadata. 2013-09-12 09:25:15 -07:00
John MacFarlane
873a21170e Updated README on pandocfilters python module. 2013-09-11 22:17:00 -07:00
John MacFarlane
6a5d7cfcbe Changed pandocfilters repository URL. 2013-09-11 19:43:13 -07:00
John MacFarlane
01f5ffb018 Updated changelog. 2013-09-11 09:33:12 -07:00
John MacFarlane
71841de0f3 Mediawiki: Parse an image + caption in a para by itself as a figure. 2013-09-11 09:31:41 -07:00
John MacFarlane
d47eadaf56 --bibliography again implies -F pandoc-citeproc.
But only if pandoc-citeproc isn't already specified as a filter.
2013-09-10 20:23:03 -07:00
John MacFarlane
96f64c7c49 benchmark: Remove haddock (no writer to create reader input). 2013-09-10 09:56:56 -07:00
John MacFarlane
c2960d9ded Fixed a couple test files in cabal file. 2013-09-09 22:15:19 -07:00
John MacFarlane
046d817485 Further changelog formatting cleanup. 2013-09-09 20:28:57 -07:00
John MacFarlane
6185ee8685 Updated changelog. 2013-09-09 20:23:16 -07:00
John MacFarlane
a9f3abc653 Markdown: don't parse citation right after alphanumeric.
An `@` after an alphanumeric is probably an email address.
2013-09-09 11:19:37 -07:00
John MacFarlane
4381c37b10 --bibliography no longer implies -F pandoc-citeproc.
This could lead to double filtering if the user specifies `-F`
too.
2013-09-08 22:46:30 -07:00
John MacFarlane
0702d8d521 More work on changelog. 2013-09-08 22:45:03 -07:00
John MacFarlane
5b3df017c0 More work on changelog. 2013-09-08 20:36:35 -07:00
John MacFarlane
508694c83a More work on changelog. 2013-09-08 16:17:16 -07:00
John MacFarlane
81e2df32c9 Made . . . for pause work in all slide show formats except slideous. 2013-09-08 15:47:50 -07:00
John MacFarlane
1911b619ee Added more raw material to changelog. 2013-09-08 12:07:18 -07:00
John MacFarlane
c78557f3ca Templates: more consistent behavior of $for$.
When `foo` is not a list, `$for(foo)$...$endfor$` should behave like
$if(foo)$...$endif$.  So if `foo` resolves to "", no output should
be produced.

See pandoc-templates#39.
2013-09-08 12:04:47 -07:00
John MacFarlane
f8ecda0152 More work on changelog. 2013-09-08 11:50:34 -07:00
John MacFarlane
777226296b markdown+list_without_preceding_blankline:+Interpret text before list as paragraph. 2013-09-08 11:49:44 -07:00
John MacFarlane
cf2506acdc Markdown: Allow backtick code blocks not to be preceded by blank line.
Closes #975.
2013-09-08 11:43:46 -07:00
John MacFarlane
4bc9e695b8 Partial reorganization of changelog. 2013-09-08 11:04:47 -07:00
John MacFarlane
f5726924c5 HTML5 template: Add meta tag to allow user scaling.
(Erik Evenson)
2013-09-07 22:58:04 -07:00
John MacFarlane
2c13b6f6dc MedaWiki reader: Implement some mathjax extensions.
* `:<math>` for display math
* `\(..\)` for inline math
* `\[..\]` for display math

We omit the `$` forms as the heuristics are harder.
2013-09-07 22:43:56 -07:00
John MacFarlane
5afd373ae4 Added lists_without_preceding_blankline extension.
* Added `Ext_lists_without_preceding_blankline` to
  `Extension` in `Options`.  Added this option to
  `githubMarkdownExtensions`.
* Made markdown reader sensitive to this.
* Closes #972.
2013-09-07 09:36:37 -07:00
John MacFarlane
91550dd6db make_osx_package.sh: Assume pandoc-types, pandoc-citeproc are in Hackage. 2013-09-06 22:31:01 -07:00
John MacFarlane
43a077e302 Tweaked windows install script.
Assumes that pandoc-types and pandoc-citeproc are in Hackage.
2013-09-06 22:29:47 -07:00
John MacFarlane
8d43e08ce7 Markdown writer: Fixed bugs in YAML header output. 2013-09-06 22:26:38 -07:00