aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-05-23Reorder block arguments parsing codeAlbert Krewinkel1-13/+18
Group code used to parse block arguments together in one place. This seems better than having part of the code mixed between unrelated parsing state changing functions.
2015-05-21EPUB writer: Split references into separate chapter.John MacFarlane1-0/+4
Previously the div-enclosed reference section produced by pandoc-citeproc would not be split into its own chapter, which caused various problems. See #2162, #2163. I'm not sure this is a complete fix. I note that the bibliography doesn't appear in nav or toc, which seems bad.
2015-05-20PDF writer: Print temp dir on `--verbose`.John MacFarlane1-0/+2
This might help diagnose #777.
2015-05-20Updated changelog.John MacFarlane1-0/+6
2015-05-20DocBook writer: add id to para if in Div with id element.John MacFarlane1-0/+8
This makes the writer work properly with linked bibliographic items with pandoc-citeproc. Closes jgm/pandoc-citeproc#132.
2015-05-14Updated contributors and copyright dates in README.John MacFarlane1-10/+122
Closes #2153.
2015-05-13Small edits to changelog.John MacFarlane1-56/+73
2015-05-13README: document which formats have `shortcut_reference_links`.John MacFarlane1-3/+5
2015-05-13Markdown reader: Made implicit header references case-insensitive.John MacFarlane6-16/+45
Added `stateHeaderKeys` to `ParserState`; this is a `KeyTable` like `stateKeys`, but it only gets consulted if we don't find a match in `stateKeys`, and if `Ext_implicit_header_references` is enabled. Closes #1606.
2015-05-13Updated changelog.John MacFarlane1-0/+2
2015-05-13HTML reader: Support base tag.John MacFarlane4-7/+58
We only support the href attribute, as there's no place for "target" in the Pandoc document model for links. Added HTML reader test module, with tests for this feature. Closes #1751.
2015-05-13Beamer: mark slide as `[fragile]` if header has `fragile` class.John MacFarlane3-2/+15
Closes #2119.
2015-05-13Updated changelog.John MacFarlane1-0/+1
2015-05-13EPUB writer: Properly handle image URLs without an extension.John MacFarlane1-36/+42
We now look at the mime type from the server and attach an appropriate extension. Closes #1855.
2015-05-13Updated changelog.John MacFarlane1-0/+484
2015-05-13Fixed regression in charsInBalancedBrackets.John MacFarlane3-1/+8
Introduced by e9d7504. This regression caused link and image references containing raw tex not to parse correctly. Added test. Closes #2150.
2015-05-11Merge pull request #2149 from lierdakil/bibliography-docsJohn MacFarlane1-1/+16
README: bibliography updates
2015-05-12README: bibliography updatesNikolay Yakimov1-1/+16
2015-05-11Don't use sup element for epub footnotes.John MacFarlane2-2/+5
Instead, just use an a element with class `footnoteRef`. This allows more styling options, and provides better results in some readers (e.g. iBooks, where anything inside the a tag breaks popup footnotes). Closes #1995.
2015-05-11Only make implicit `-F pandoc-citeproc` when `--bibliography` option used.John MacFarlane1-2/+2
Not when `bibliography` field in metadata is specified. Closes #1849.
2015-05-11Removed references to `biblio-files` in pandoc.hs and README.John MacFarlane2-6/+3
2015-05-11LaTeX, Beamer templates: use `bibliography` instead of `biblio-files`.John MacFarlane1-7/+8
Also use `\addbibresource` instead of `\bibliography` for biblatex. See #1661.
2015-05-11Fixed misleading example in README.John MacFarlane1-8/+8
2015-05-11HTML reader: Fixed detection of self-closing tags.John MacFarlane2-3/+3
Earlier versions had a bug and would wrongly think opening tags containing attributes with slashes in them were self-closing. Closes #2146.
2015-05-11Fix image URIs in ICML output (v2)gohai2-3/+5
InDesign expects LinkResourceURI to start with "file:" for local filenames, and won't render/link the image without.
2015-05-10ImageSize: fixed some exif parsing bugs.John MacFarlane1-22/+26
Closes #1834. The image originally supplied works fine now with pandoc.
2015-05-10Fixed accidental reversion to earlier templates version.John MacFarlane1-7/+7
From last commit.
2015-05-09Improved warnings when image size can't be determined.John MacFarlane4-12/+20
Closes #1834.
2015-05-09ImageSize: Use runGetOrFail with binary 0.7+.John MacFarlane1-2/+13
2015-05-09ImageSize: make jpeg header parsing routines return Either.John MacFarlane1-29/+34
See #1834.
2015-05-09ImageSize: make imageSize return an Either, not a Maybe.John MacFarlane4-16/+22
This will give us better error reporting options. This is part of a fix for #1834.
2015-05-09Revert "EPUB writer: stylesheet changes. Closes #2040."John MacFarlane3-32/+20
This reverts commit 1c2951dfd9ee72e5270cb974a06098adb9178f89. See #2040. The semantics was too squishy. `--css` takes a URL, but for EPUB we need files that we can read. I prefer keeping the old system for now, with `--epub-stylesheet`.
2015-05-08EPUB writer: stylesheet changes. Closes #2040.John MacFarlane3-20/+32
* Allow `--css` to be used to specify stylesheets. * Deprecated `--epub-stylesheet` and made it a synoynym of `--css`. * If a code block with class "css" is given as contents of the `stylesheet` metadata field, use its literal code as contents of the epub stylesheet. Otherwise, treat it as a filename and read the file. * Note: `--css` and `stylesheet` in metadata are not compatible. `stylesheet` takes precedence.
2015-05-07Merge pull request #2138 from lierdakil/backtick-code-blocksJohn MacFarlane1-6/+11
README: Add documentation on backtick_code_blocks
2015-05-07README: Add documentation on backtick_code_blocksNikolay Yakimov1-6/+11
Closes #2135
2015-05-05Deal with deprecation warning in Custom.John MacFarlane1-2/+10
2015-05-05UTF8: Better handling of bare CRs in input files.John MacFarlane1-2/+8
Previously we just stripped them out; now we convert other line ending styles to LF line endings. Closes #2132.
2015-05-05Merge pull request #2131 from nickbart1980/patch-2John MacFarlane1-0/+6
Update README on in-field markup in biblio databases
2015-05-05Merge pull request #2134 from jlmuir/fix-user-guide-typosJohn MacFarlane1-3/+3
Fix typos in User's Guide
2015-05-05Fix typos in User's GuideJ. Lewis Muir1-3/+3
2015-05-05Update README on in-field markup in biblio databasesnickbart19801-0/+6
Motivated by https://github.com/jgm/pandoc-citeproc/issues/124.
2015-05-04SelfContained: properly handle data URIs in css urls.John MacFarlane2-32/+49
Also use a proper css parser (adds dependency on text-css). Closes #2129.
2015-05-04Test updates for 15d16e84567ca74c18448c60a2499e484581798f.John MacFarlane3-0/+12
2015-05-03LaTeX template: degrade gracefully if `\paragraph` not defined.John MacFarlane1-7/+7
2015-05-03Make sure a closing `</div>` doesn't get included in a defn list item.John MacFarlane2-0/+5
Closes #2127.
2015-05-02LaTeX writer: Add a `\label` in `\hyperdef` for Div, Span.John MacFarlane1-2/+4
Otherwise links don't work.
2015-05-02Fixed tests for change to latex template.John MacFarlane3-3/+3
2015-05-02latex template: use providecommand for tightlist.John MacFarlane1-6/+7
This avoids a conflict when memoir class is used. Thanks to Joseph Harriott.
2015-05-01EPUB writer: Use plain writer for metadata dc: fields.John MacFarlane1-2/+5
This gives better results when we have, e.g. multiple paragraphs. Note that tags aren't allowed in these fields. Closes #2121.
2015-05-01SelfContained: cssURLs no longer tries to fetch fragment URLs.John MacFarlane1-7/+11
The current test is: does the URL start with a `#`? Closes #2121.