Commit Graph
4317 Commits
Author SHA1 Message Date
John MacFarlane 416dad86dc DocBook reader: Handle numerical attributes starting with decimal.
Also use safeRead instead of read.
2013-10-22 12:34:18 -07:00
John MacFarlane e63aafd620 Fix definition lists with internal links in terms (closes #1032).
This fix puts braces around a term that contains an internal
link, to avoid problems with square brackets.
2013-10-21 17:33:42 -07:00
John MacFarlane d84624f775 Updated beamer template.
Now references should work properly (in a slide) when
`--biblatex` or `--natbib` is used.
2013-10-21 14:31:19 -07:00
John MacFarlane 0b16b08543 Templates: Changed how array variables are resolved.
Previously if `foo` is an array (which might be because multiple
values were set on the command line), `$foo$` would resolve to
the concatenation of the elements of foo.  This is rarely useful
behavior.  It has been changed so that the first value is rendered.
Of course, you can still iterate over the values using
`$for(foo)$`.

This has the result that you can override earlier settings using
-V by putting new values later on the command line.  That's useful
for many purposes.
2013-10-21 12:33:20 -07:00
John MacFarlane f2f8ddabc8 Don't look for slidy files in data files w/ --self-contained. 2013-10-21 11:24:25 -07:00
John MacFarlane 7786794809 Fixed make_osx_package.sh so data files embedded in pandoc-citeproc. 2013-10-21 10:39:37 -07:00
John MacFarlane 75ea0c4d0d LaTeX reader: Improved citation parsing.
This fixes a run-time error that occured with `\citet{}` (empty
list of keys).  It also ensures that empty keys don't get produced.
2013-10-21 09:33:10 -07:00
John MacFarlane 71f5af6b3d Updated changelog. 1.12.1 2013-10-20 13:43:15 -07:00
John MacFarlane 1a2832e96a Bump version to 1.12.1. 2013-10-20 13:43:00 -07:00
John MacFarlane e2acc46f50 Removed data files for s5, slideous, slidy.
Users of s5 and slideous will have to download the needed
files, as has been documented for some time in the README.

slidy files will be sought on the web, as before.
2013-10-20 13:35:04 -07:00
John MacFarlane 9d6bca06ee Pass the buildDir as first argument to test suite.
Allows test suite to work with cabal sandboxes.
Previously we hard-coded the build directory.
2013-10-20 12:36:26 -07:00
John MacFarlane 1ce875a010 Fixed '. . .' (pause) on HTML slide formats. Closes #1029.
The old version caused a pause to be inserted before the first
material on a slide. This has been fixed.
2013-10-20 09:56:50 -07:00
John MacFarlane 96ceef6bd7 Updated changelog. 1.12.0.3 2013-10-19 16:40:11 -07:00
John MacFarlane dc853a1cd9 Version bump to 1.12.0.3. 2013-10-19 16:39:57 -07:00
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.
list
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. 1.12.0.2 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. 1.12.0.1 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