aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-11-22EPUB writer: Don't include node for cover.xhtml if no cover!John MacFarlane1-2/+3
2013-11-22EPUB writer: Ensure that same identifier is used throughout.John MacFarlane1-9/+13
If dc:identifier is given in metadata, we use that; otherwise we use a random uuid. Closes #1044.
2013-11-22ConTeXt writer: Use setupcaption to separate style from content.John MacFarlane3-7/+11
Instead of adding 'nunumber' every time we place a figure... Closes #1067.
2013-11-22Fixed bug with intraword emphasis.John MacFarlane2-1/+7
Closes #1066.
2013-11-19Docx writer: Use mime type info returned by fetchItem.John MacFarlane1-11/+13
2013-11-19Shared: Fixed bug in openURL with data: URIs.John MacFarlane1-1/+2
Previously the base-64 encoded bytestring was returned. We now decode it so it's a proper image! This should fix parsing of data: URLs.
2013-11-19MIME: In looking up extensions, drop the encoding info.John MacFarlane1-1/+2
E.g. for 'image/jpg;base64' we should lookup 'image/jpg'.
2013-11-19Docbook writer: Hierarchicalize block content in metadata.John MacFarlane1-2/+3
Previously headers just disappeared from block-level metadata when it was used in templates. Now we apply the 'hierarchicalize' transformation. Note that a block headed by a level-2 header will turn into a `<sect1>` element.
2013-11-19Merge pull request #1061 from heurist/epub_coverLinearJohn MacFarlane1-2/+5
Epub Writer: Refactor unnecessary list ++
2013-11-19Epub Writer: Add cover reference to guide element (v2)Shaun Attfield (shaun@victor)1-4/+5
Avoiding an unnecessary list concatenation. Fixes an issue with calibre http://calibre-ebook.com/ putting the cover at the end of the book if the spine has linear="no". Apparently this is best practice for other converters as well. http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6
2013-11-18LaTeX reader: Parse contents of curly quotes or matched `"` as quotes.John MacFarlane2-8/+18
2013-11-18Epub Writer: Add cover reference to guide elementShaun Attfield (shaun@victor)1-2/+4
Fixes an issue with calibre http://calibre-ebook.com/ putting the cover at the end of the book if the spine has linear="no". Apparently this is best practice for other converters as well. http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6
2013-11-17LaTeX reader: Support `\textnormal` as span with class "nodecor".John MacFarlane1-0/+1
This is needed for pandoc-citeproc.
2013-11-17MediaWiki reader: Add automatic header identifiers.John MacFarlane2-31/+49
2013-11-17Parsing: Generalized type of registerHeader, using new typeclasses.John MacFarlane1-12/+42
New type classes HasReadeOptions, HasIdentifierList, HasHeaderMap. These allow certain common functions to be reused even in parsers that use custom state (instead of ParserState), such as the MediaWiki reader. Minor API bump.
2013-11-16OpenDocument: Skip raw HTML.John MacFarlane1-2/+2
Previously it was erroneously included as verbatim text. Closes #1035.
2013-11-16LaTeX writer: Properly escape pdftitle, pdfauthor.John MacFarlane1-2/+4
Closes #1059.
2013-11-12HTML/EPUB footnotes: Put `<sup>` tag inside `<a>` tags.John MacFarlane2-7/+7
This allows better control of formatting, since the `<a>` tags have a distinguishing class. Closes #1049.
2013-11-08Merge pull request #1048 from minrk/svgJohn MacFarlane1-1/+1
recognize svg tag in HTML Reader
2013-11-07recognize svg tag in HTML ReaderMinRK1-1/+1
avoids adding lots of `<p>` tags in embedded SVG content, for instance in markdown to HTML.
2013-11-07Docx writer: fixed core metadata.John MacFarlane1-4/+5
- Don't create empty date nodes if no date given. - Don't create multiple dc:creator nodes; instead separate by semicolons. Closes #1046.
2013-11-06Docx writer: Fix URL for core-properties in `_rels/.rels`.John MacFarlane1-1/+1
Partially addresses #1046.
2013-11-06Require texmath >= 0.6.5.2.John MacFarlane1-1/+1
2013-11-06Don't print `<span>` tags in 'plain' output.John MacFarlane1-1/+4
2013-11-03Version bump to 1.12.2.John MacFarlane1-1/+1
2013-11-03Markdown reader: Correctly handle empty bullet list items.John MacFarlane1-4/+5
For example: - one - - two This should NOT be parsed as a setext header followed by a list.
2013-11-03HTML reader: Use pandoc Div and Span for raw "<div>", "<span>".John MacFarlane1-10/+25
Only if --parse-raw.
2013-11-01TexMath: Export readTeXMath', which attends to display/inline.John MacFarlane14-23/+38
Deprecate readTeXMath, and use readTeXMath' in all the writers. Require texmath >= 0.6.5.
2013-10-29Markdown reader: Yaml block must start immediately after `---`.John MacFarlane1-0/+1
If there's a blank line after `---`, we interpreted it as a horizontal rule.
2013-10-29Slides: Preserve `<div class="references">` in references slide.John MacFarlane1-2/+2
2013-10-26Text.Pandoc.Writer.Shared: fixed bug in tagWithAttrs.John MacFarlane1-3/+2
A space was omitted before key-value attributes, leading to invalid HTML.
2013-10-22DocBook reader: Handle numerical attributes starting with decimal.John MacFarlane1-6/+7
Also use safeRead instead of read.
2013-10-21Fix definition lists with internal links in terms (closes #1032).John MacFarlane2-1/+13
This fix puts braces around a term that contains an internal link, to avoid problems with square brackets.
2013-10-21Updated beamer template.John MacFarlane1-5/+5
Now references should work properly (in a slide) when `--biblatex` or `--natbib` is used.
2013-10-21Templates: Changed how array variables are resolved.John MacFarlane1-1/+2
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-21Don't look for slidy files in data files w/ --self-contained.John MacFarlane1-2/+0
2013-10-21Fixed make_osx_package.sh so data files embedded in pandoc-citeproc.John MacFarlane1-1/+2
2013-10-21LaTeX reader: Improved citation parsing.John MacFarlane1-6/+13
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-20Updated changelog.John MacFarlane1-7/+18
2013-10-20Bump version to 1.12.1.John MacFarlane1-1/+1
2013-10-20Removed data files for s5, slideous, slidy.John MacFarlane21-4622/+0
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-20Pass the buildDir as first argument to test suite.John MacFarlane3-7/+18
Allows test suite to work with cabal sandboxes. Previously we hard-coded the build directory.
2013-10-20Fixed '. . .' (pause) on HTML slide formats. Closes #1029.John MacFarlane1-3/+2
The old version caused a pause to be inserted before the first material on a slide. This has been fixed.
2013-10-19Updated changelog.John MacFarlane1-0/+45
2013-10-19Version bump to 1.12.0.3.John MacFarlane1-1/+1
2013-10-18MediaWiki reader: Trim contents of `<math>` tags.John MacFarlane3-5/+8
Otherwise we get problems when converting to markdown. Closes #1027.
2013-10-17LaTeX writer: Specially escape non-ascii characters in labels.John MacFarlane1-6/+14
Otherwise we can get compile errors and other bugs when compiled with pdflatex. Closes #1007. Thanks to begemotv2718 for the fix.
2013-10-17PDF: Minor code cleanup.John MacFarlane1-2/+2
2013-10-17LaTeX writer: Add link anchors for code blocks with identifiers.John MacFarlane1-5/+11
Closes #1025.
2013-10-16Use isURI instead of isAbsoluteURI.John MacFarlane7-15/+15
It allows fragments identifiers.