summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Org reader: subject full doc tree to headline transformationsAlbert Krewinkel2017-05-27
| | | | | | | | | Emacs parses org documents into a tree structure, which is then post-processed during exporting. The reader is changed to do the same, turning the document into a single tree of headlines starting at levelĀ 0. Fixes: #3695
* HTML writer: Removed unused parameter in dimensionsToAttributeList.John MacFarlane2017-05-26
|
* Allow em for image height/width in HTML, LaTeX.John MacFarlane2017-05-25
| | | | | | | | | | | - Export `inEm` from ImageSize [API change]. - Change `showFl` and `show` instance for `Dimension` so extra decimal places are omitted. - Added `Em` as a constructor of `Dimension` [API change]. - Allow `em`, `cm`, `in` to pass through without conversion in HTML, LaTeX. Closes #3450.
* Added `spaced_reference_links` extension.John MacFarlane2017-05-25
| | | | | | | | | | | | | | This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
* Docx writer: Use Table rather than "Table Normal" for table style.John MacFarlane2017-05-25
| | | | | | "Table Normal" is the default table style and can't be modified. Closes #3275, further testing welcome.
* Update command tests to include stderr output.John MacFarlane2017-05-25
|
* Test.Command: put stderr output at front, so it can be tested.John MacFarlane2017-05-25
|
* Markdown reader: warn for notes defined but not used.John MacFarlane2017-05-25
| | | | | | Closes #1718. Parsing.ParserState: Make stateNotes' a Map, add stateNoteRefs.
* MediaWiki reader: don't do curly quotes inside `<tt>` contexts.John MacFarlane2017-05-25
| | | | | | Even if `+smart`. See #3585.
* MediaWiki reader: Make smart double quotes depend on `smart` extension.John MacFarlane2017-05-25
| | | | Closes #3585.
* Markdown reader: fixed smart quotes after emphasis.John MacFarlane2017-05-24
| | | | | | | | E.g. in *foo*'s 'foo' Closes #2228.
* LaTeX reader: Fixed failures on \ref{}, \label{} with `+raw_tex`.John MacFarlane2017-05-24
| | | | | Now these commands are parsed as raw if `+raw_tex`; otherwise, their argument is parsed as a bracketed string.
* Makefile: fixed filename for windows package download.John MacFarlane2017-05-24
|
* Revert "appveyor.yml: don't use matrix."John MacFarlane2017-05-24
| | | | This reverts commit d4ccd1e001bce84f1bae338cd07d4e8e2e7875cb.
* Parsing: Provide parseFromString'.John MacFarlane2017-05-24
| | | | | | | | | | | | | | This is a verison of parseFromString specialied to ParserState, which resets stateLastStrPos at the end. This is almost always what we want. This fixes a bug where `_hi_` wasn't treated as emphasis in the following, because pandoc got confused about the position of the last word: - [o] _hi_ Closes #3690.
* appveyor.yml: don't use matrix.John MacFarlane2017-05-24
|
* LaTeX reader: parse tikzpicture as raw verbatim environment...John MacFarlane2017-05-24
| | | | | | | | | if `raw_tex` extension is selected. Otherwise skip with a warning. This is better than trying to parse it as text! Closes #3692.
* Logging: Made SkippedContent WARNING not INFO.John MacFarlane2017-05-24
|
* HTML reader: Add `details` tag to list of block tags.John MacFarlane2017-05-24
| | | | Closes #3694.
* appveyor: turn off 64-bit build for now.John MacFarlane2017-05-24
|
* appveyor.yml: added fast_finish, fails if either job fails.John MacFarlane2017-05-24
|
* RST reader: reformatting (code line length).John MacFarlane2017-05-23
|
* RST Reader: parse list table directive (#3688)keiichiro shikano2017-05-23
| | | | Closes #3432.
* Fixed handling of soft hyphen (0173) in docx writer.John MacFarlane2017-05-23
| | | | Closes #3691.
* Shared.isURI: allow uppercase versions of known schemes.John MacFarlane2017-05-23
|
* Shared: Provide custom isURI that rejects unknown schemes [isURI]Albert Krewinkel2017-05-23
| | | | | | | | | | | | | | | | | | | We also export the set of known `schemes`. The new function replaces the function of the same name from `Network.URI`, as the latter did not check whether a scheme is well-known. E.g. MediaWiki wikis frequently feature pages with names like `User:John`. These links were interpreted as URIs, thus turning internal links into global links. This is prevented by also checking whether the scheme of a URI is frequently used (i.e. is IANA registered or an otherwise well-known scheme). Fixes: #2713 Update set of well-known URIs from IANA list All official IANA schemes (as of 2017-05-22) are included in the set of known schemes. The four non-official schemes doi, isbn, javascript, and pmid are kept.
* Let `--eol` take `native` as an argument.John MacFarlane2017-05-22
| | | | | Add `Native` to the `LineEnding` type. Make `optEol` a `Native` rather than `Maybe Native`.
* Move indentWith to Text.Pandoc.Parsing (#3687)Alexander Krotov2017-05-22
|
* Text.Pandoc.App: ToJSON and FromJSON instances for Opts.John MacFarlane2017-05-21
| | | | | This can be used e.g. to pass options via web interface, such as trypandoc.
* Finished implemtation of `--resource-path`.John MacFarlane2017-05-21
| | | | | | * Default is just working directory. * Working directory must be explicitly specifide if `--resource-path` option is used.
* PDF: Got --resource-path working with pdf output.John MacFarlane2017-05-20
| | | | See #852.
* PDF: better error message for non-converted svg images.John MacFarlane2017-05-20
|
* RST reader: make use of anyLineNewline (#3686)Alexander Krotov2017-05-20
|
* Improve SVG image size code.Marc Schreiber2017-05-20
| | | | | | | The old code made some unwise assumptions about how the svg file would look. See #3580.
* PDF: Refactoring, makePDF is now in PandocIO [API change].John MacFarlane2017-05-20
|
* Added `--resource-path=SEARCHPATH` command line option.John MacFarlane2017-05-20
| | | | | | | | | | | | | | | | SEARCHPATH is separated by the usual character, depending on OS (: on unix, ; on windows). Note: This does not yet work for PDF output, because the routine that creates PDFs runs outside PandocMonad. (This has to do with its use of inTemporaryDirectory and its interaction with our exceptions.) The best solution would be to figure out how to move the PDF creation routines into PandocMonad. Second-best, just pass an extra parameter in? See #852.
* SelfContained: handle @import with quoted string.John MacFarlane2017-05-20
|
* SelfContained: fixed problem with embedded fonts.John MacFarlane2017-05-20
| | | | | | | | | | | | Closes #3629. However, there is still room for improvement. `@import` with following media declaration is not handled. Also `@import` with a simple filename (rather than `url(...)` is not handled.
* RST writer: add empty comments when needed...John MacFarlane2017-05-19
| | | | | | | to avoid including a blocquote in the indented content of a preceding block. Closes #3675.
* appveyor.yml - really fixed artifacts.John MacFarlane2017-05-19
|
* appveyor.yml - fix artifacts.John MacFarlane2017-05-19
|
* appveyor.yml: added comment with instructions to reset build cache.John MacFarlane2017-05-19
|
* Revert "appveyor.yml - reset cache when appveyor.yml changes."John MacFarlane2017-05-19
| | | | This reverts commit 8ac2675c2788e4273c46c92e2a224583d51c2ad1.
* appveyor.yml - reset cache when appveyor.yml changes.John MacFarlane2017-05-19
|
* Fixed appveyor.yml.John MacFarlane2017-05-19
|
* appveyor.yml updates.John MacFarlane2017-05-19
| | | | | * Don't try to cache ghc, it's too big. * Build both 32 and 64 bit versions.
* appveyor.yml. Fix WINBIN path.John MacFarlane2017-05-19
|
* appveyor.yml - put stack executable in stack_root.John MacFarlane2017-05-19
|
* appveyor.yml fixes.John MacFarlane2017-05-19
|
* appveyor.yml improvements.John MacFarlane2017-05-19
|