Commit graph

4353 commits

Author SHA1 Message Date
John MacFarlane
e5feed00f7 MediaWiki reader: Trim contents of <math> tags.
Otherwise we get problems when converting to markdown.

Closes #1027.
2013-10-18 17:50:43 -07:00
John MacFarlane
1f29f4678e LaTeX writer: Specially escape non-ascii characters in labels.
Otherwise we can get compile errors and other bugs when
compiled with pdflatex.  Closes #1007.

Thanks to begemotv2718 for the fix.
2013-10-17 22:06:39 -07:00
John MacFarlane
80c1967e75 PDF: Minor code cleanup. 2013-10-17 13:36:43 -07:00
John MacFarlane
6e1c24da8e LaTeX writer: Add link anchors for code blocks with identifiers.
Closes #1025.
2013-10-17 13:23:38 -07:00
John MacFarlane
386e933432 Use isURI instead of isAbsoluteURI.
It allows fragments identifiers.
2013-10-16 09:48:11 -07:00
John MacFarlane
f37fa15518 Require pandoc-types 1.12.3.
This will enforce a certain JSON encoding.
2013-10-15 22:53:03 -07:00
John MacFarlane
0df7cce37d Treat div with class "notes" as speaker notes in slide formats.
Currently beamer goes to `\note{}`, revealjs to `<aside class="notes">`,
and the notes are simply suppressed in other formats.

Closes #925.
2013-10-13 15:37:25 -07:00
John MacFarlane
2ae7f5e2a0 HTML writer: Insert command to typeset mathjax for slideous output.
Closes #966.
2013-10-13 11:31:33 -07:00
John MacFarlane
1a55c8f5de LaTeX reader: Ensure that preamble doesn't contribute to text of doc. 2013-10-11 22:43:47 -07:00
John MacFarlane
de10b1653e RST writer: Skip spaces after display math.
Otherwise we get indentation problems, and part of the next
paragraph may be rendered as part of the math.
2013-10-11 22:01:58 -07:00
John MacFarlane
25e43d1c89 LaTeX reader: Fixed character escaping in \url{}.
Previously `\~` wasn't handled properly, among others.
2013-10-11 10:43:07 -07:00
John MacFarlane
627c54011b Revert "Setup.hs: Better way of handling man page building."
This reverts commit ed061b91c8.
2013-10-08 20:52:56 -07:00
John MacFarlane
ed061b91c8 Setup.hs: Better way of handling man page building.
Previously we tried to remove make-pandoc-man-pages from the list
of packages to be haddocked, installed, copied, etc.

It works better to set 'Buildable: False' on make-pandoc-man-pages,
then have the buildHook temporarily set Buildable to True.  This
allows make-pandoc-man-pages to be built (and used in generating
the man pages), but not installed.
2013-10-06 18:04:18 -07:00
John MacFarlane
dbd4aee730 Removed code that forces MathJax to typeset.
Closes #1012.  Reopens #966.  A better solution for #966 will just
affect slideous, not the other slide writers.
2013-10-06 17:21:33 -07:00
John MacFarlane
d6ccebdb2c Require pandoc-types >= 1.12.2.2. 2013-10-01 22:50:02 -07:00
John MacFarlane
3081fce90e Require pandoc-types >= 1.12.2. 2013-09-29 11:19:04 -07:00
John MacFarlane
9e7072cf1b LaTeX reader: Parse {groups} as Span.
This is needed for accurate conversion of bibtex titles,
since we need to know what was protected from titlecase conversions.
2013-09-28 11:53:34 -07:00
John MacFarlane
b97f1136cd Merge branch 'master' of github.com:jgm/pandoc 2013-09-24 19:56:55 -07:00
John MacFarlane
a117a88137 Updated opendocument tests. 2013-09-24 18:41:46 -07:00
John MacFarlane
d76a6e2372 OpenDocument writer: don't use font-face-decls variable. 2013-09-24 18:41:43 -07:00
John MacFarlane
fba2ef42ad Merge pull request #995 from wilx/master
src/Text/Pandoc/Writers/OpenDocument.hs: Fix formatting of strikeout code.
2013-09-24 18:26:52 -07:00
Václav Zeman
e149d4e138 src/Text/Pandoc/Writers/OpenDocument.hs: Fix formatting of strikeout code. 2013-09-25 01:18:39 +02:00
John MacFarlane
f9430e995e Bump version to 1.12.0.2 and update changelog. 2013-09-20 20:31:43 -07:00
John MacFarlane
1b42093890 Removed stringable as a dependency. IT is not used. 2013-09-20 20:30:36 -07:00
John MacFarlane
6bfe4293fc Updated RELEASE-CHECKLIST with github releases. 2013-09-20 18:47:21 -07:00
John MacFarlane
3334c7be52 Added --force in make-windows-installer.bat. 2013-09-20 17:56:11 -07:00
John MacFarlane
b1509e90df make_osx_package: small code cleanup. 2013-09-20 17:37:19 -07:00
John MacFarlane
10f18ecb9d Updated changelog. 2013-09-20 10:38:21 -07:00
John MacFarlane
6a2ca0b295 Version bump to 1.12.0.1. 2013-09-20 10:30:46 -07:00
John MacFarlane
8708e2bf1b Don't use unicode_collation in building OSX package.
It adds something like 50MB of dependencies to the package.
2013-09-19 21:16:38 -07:00
John MacFarlane
8df53506c7 Added something on unicode_collation to INSTALL. 2013-09-19 21:11:05 -07:00
John MacFarlane
df313b859f Added small explanation of difference btw -M and -V. 2013-09-19 21:04:58 -07:00
John MacFarlane
87def47e87 Documented --metadata change. 2013-09-19 21:01:17 -07:00
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