aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-12-06HTML reader: Parse LaTeX math if appropriate options are set.John MacFarlane4-35/+45
* Moved inlineMath, displayMath from Markdown reader to Parsing. * Export them from Parsing. (API change.) * Generalize their types.
2013-12-05Allow https: to work in pandoc command line arguments.John MacFarlane1-5/+8
(Use openURL from Shared instead of simpleHTTP.)
2013-12-04Stop parsing "list lines" when we hit a block tag.John MacFarlane1-1/+3
This fixes exponential slowdown in certain input, e.g. a series of lists followed by `</div>`.
2013-12-03Use latest pandoc-templates.John MacFarlane1-3/+6
2013-12-03Merge pull request #1076 from jlduran/booktabsJohn MacFarlane4-59/+56
Add booktabs package for LaTeX tables
2013-12-04Add booktabs package for LaTeX tablesJose Luis Duran4-59/+56
[ci skip]
2013-12-03EPUB writer: Allow 'stylesheet' in metadata.John MacFarlane2-11/+24
The value is a path to the stylesheet.
2013-12-01Improved release checklist.John MacFarlane1-1/+3
2013-12-01Added github-upload.sh.John MacFarlane1-0/+18
2013-12-01EPUB writer: Allow partial dates: YYYY, YYYY-MM.John MacFarlane1-3/+14
Improves on #1074, since now we don't default to January 1.
2013-12-01Merge pull request #1074 from heurist/normalizeDateYearOnlyJohn MacFarlane1-1/+1
normalizeDate: Allow dates with year only (%Y)
2013-12-01normalizeDate: Allow dates with year only (%Y)Shaun Attfield1-1/+1
2013-11-30Updated changelog.John MacFarlane1-0/+160
2013-11-30EPUB writer: Insert "svg" property as needed in opf (EPUB 3).John MacFarlane1-3/+9
2013-11-30EPUB writer: Simplify imageTypeOf using getMimeType.John MacFarlane1-9/+3
2013-11-30MIME: Add entry for jfif.John MacFarlane1-0/+1
2013-11-30EPUB writer: Add properties attribute to cover-image item for EPUB v3.John MacFarlane1-1/+6
2013-11-30Markdown writer: Fix rendering of tight sublists.John MacFarlane2-1/+12
E.g. - foo - bar - baz Previously a spurious blank line was included before the last item. Closes #1050.
2013-11-30ODT writer: Add `draw:name` attribute to `draw:frame` elements.John MacFarlane2-4/+10
This is reported to be necessary to avoid an error from recent versions of Libre Office when files contain more than one image. Closes #1069. Thanks to wmanley for reporting and diagnosing the problem.
2013-11-30Fixed tests for new ConTeXt writer behavior.John MacFarlane2-9/+10
2013-11-30ConTeXt writer: Don't hardcode figure/table placement.John MacFarlane2-10/+11
Instead, let this be set in the template, using `\setupfloat`. Thanks to Aditya Mahajan for the suggestion.
2013-11-30Allow "epub2" as synonym for "epub", "html4" for "html".John MacFarlane1-1/+4
2013-11-30Fixed `cover-image` in EPUB YAML metadata.John MacFarlane2-3/+4
2013-11-30Allow specification of epub-cover-image in YAML metadata.John MacFarlane2-10/+13
2013-11-30README: minor reformatting.John MacFarlane1-13/+13
2013-11-30Documented use of YAML metadata for EPUB.John MacFarlane1-1/+72
2013-11-30EPUB writer: Improved metadata handling.John MacFarlane1-51/+591
* Metadata may now be included in YAML blocks in a markdown document. For example, --- title: - type: main text: My Book - type: subtitle text: An investigation of metadata creator: - role: author text: John Smith - role: editor text: Sarah Jones identifier: - scheme: DOI text: doi:10.234234.234/33 publisher: My Press rights: (c) 2007 John Smith, CC BY-NC ... * Metadata may still be provided using `--epub-metadata`; it will be merged with the metadata in YAML blocks. * meta tags are used instead of opf attributes for EPUB3.
2013-11-24MediaWiki reader: Accept image links in more languagesJaime Marquínez Ferrándiz3-1/+8
In some of the Wikipedia versions the local version of 'File' is used (for example 'Archivo' in Spanish)
2013-11-23Docx writer: Implemented csl flipflopping spans.John MacFarlane1-1/+6
2013-11-23LaTeX writer: Handle csl flipflopping spans (csl-no-emph, etc.)John MacFarlane1-1/+10
2013-11-23HTML writer: Handle csl flipflopping spans (csl-no-emph, etc.)John MacFarlane1-2/+16
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