summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Added --data-dir to valid options for markdown2pdf.John MacFarlane2010-12-02
|
* Tweaked command-line options allowed by markdown2pdf.John MacFarlane2010-12-02
|
* Merge branch 'master' into citeprocJohn MacFarlane2010-11-28
|\
| * Markdown parser performance improvement.John MacFarlane2010-11-28
| | | | | | | | | | | | | | | | | | Do a quick lookahead to make sure what follows looks like a setext header before parsing any Inlines. This gives a 15% performance boost in one benchmark. Many thanks to knieriem for finding the problem (in peg-markdown): https://github.com/jgm/peg-markdown/issues/issue/3
* | Fixed spacing bug for reference-style citations.John MacFarlane2010-11-28
| |
* | Merge branch 'master' into citeprocJohn MacFarlane2010-11-27
|\|
| * OpenDocument writer: don't print raw TeX.John MacFarlane2010-11-27
| |
* | Merge branch 'master' into citeprocJohn MacFarlane2010-11-27
|\|
| * LaTeX writer: Escape curly quotes.John MacFarlane2010-11-27
| |
* | Biblio: If locator ends with ",", add it to the suffix.John MacFarlane2010-11-27
| |
* | Added procOpts parameter to citeproc call.John MacFarlane2010-11-27
| |
* | Merge branch 'master' into citeprocJohn MacFarlane2010-11-27
|\|
| * Merge branch 'textile'John MacFarlane2010-11-27
| |\ | | | | | | | | | | | | | | | | | | Conflicts: README man/man1/pandoc.1.md pandoc.cabal
| | * Use [] for superscripts and subscripts in textile writer.John MacFarlane2010-11-27
| | |
| | * Fixed spacing problems in textile nested lists.John MacFarlane2010-11-27
| | |
| | * Added Textile writer module.John MacFarlane2010-05-17
| | |
* | | Use parsec parsers to split locator.John MacFarlane2010-11-27
| | | | | | | | | | | | | | | | | | This is easier to read and maintain. Also, formatting is now stripped from the locator prefix, so you can write e.g. '*p.* 33'.
* | | Added 'stringify' to Text.Pandoc.Shared.John MacFarlane2010-11-27
| | |
* | | Markdown suffix parser fix.John MacFarlane2010-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If suffix doesn't begin with punctuation, include opening comma and space in result. Previously, @item [only a suffix] would result in something like Doe (2002only a suffix) because there was no opening delimiter.
* | | Split locator and suffix in Biblio rather than Markdown parser.John MacFarlane2010-11-26
| | | | | | | | | | | | Patch from Nathan Gass.
* | | More flexible handling of --csl.John MacFarlane2010-11-23
| | | | | | | | | | | | | | | Look for csl files in ~/.csl if not found locally. Add .csl extension if it is not provided.
* | | Removed citeproc flag and CPP conditionals.John MacFarlane2010-11-23
| | |
* | | Check biblio for all citations, not just textual.John MacFarlane2010-11-22
| | |
* | | HTML reader: Export htmlTag.John MacFarlane2010-11-20
| | |
* | | Biblio: Check for == rather than /=.John MacFarlane2010-11-20
| | | | | | | | | | | | This is more perspicuous.
* | | Citation related changes.John MacFarlane2010-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't look for bibliography in ~/.pandoc. Reason: doing this requires a read + parse of the bibliography even when the document doesn't use citations. This is a big performance drag on regular pandoc invocations. * Only look for default.csl if the document contains references. Reason: avoids the need to read and parse csl file when the document contains no references anyway. * Removed findFirstFile from Shared.
* | | Use default biblio.{xml,json,bib} in pandoc data dir if none specified.John MacFarlane2010-11-19
| | |
* | | Shared: Added findFirstFile, findDataFile, refactored readDataFile.John MacFarlane2010-11-19
| | |
* | | Markdown citation parser: small refactoring for clarity.John MacFarlane2010-11-18
| | |
* | | If --csl not specified, read from data files or default.John MacFarlane2010-11-18
| | | | | | | | | | | | Thus --csl behaves like --reference-odt, --template, etc.
* | | Markdown citation parser improvements and test updates.John MacFarlane2010-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now we handle a suffix after a bare locator, e.g. @item1 [p. 30, suffix] The suffix now includes any punctuation that introduces it. A few tests fail because of problems with citeproc (extra space before the suffix, missing space after comma separating multiple page ranges in the locator).
* | | Markdown reader: Revised parser for new citation syntax.John MacFarlane2010-11-18
| | | | | | | | | | | | | | | | | | | | | | | | Suffixes and prefixes are now [Inline]. The locator is separated from the citation key by a blank space. The locator consists of one introductory word and any number of words containing at least one digit. The suffix, if any, is separated from the locator by a comma, and continues til the end of the citation.
* | | Biblio: Removed stringify; pass inline list to citeproc.John MacFarlane2010-11-17
| | |
* | | Don't pass a [Str ""] as citationPrefix.John MacFarlane2010-11-17
| | |
* | | Updated for changes in Citaiton type.John MacFarlane2010-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | citationPrefix now [Inline] rather than String; citationSuffix added. This change presupposes no changes in citeproc-hs. It passes a string for these values to citeproc-hs. Eventually, citeproc-hs should use an [Inline] for these as well.
* | | Removed unneeded format argument in call to readBiblioFile.John MacFarlane2010-11-16
| | |
* | | Biblio: don't add footnote if empty.John MacFarlane2010-11-16
| | |
* | | Improve handling of bibliography not found error.John MacFarlane2010-11-13
| | |
* | | Replaced --biblio-file with --bibliography, removed --biblio-format.John MacFarlane2010-11-13
| | | | | | | | | | | | | | | | | | | | | Bibliography format is guessed from the file extension of the bibliography. Also, the bibliography entries are now read during option parsing.
* | | Repairs to citation parser + citation test suite.John MacFarlane2010-11-12
| | |
* | | Merge branch 'master' into citeprocJohn MacFarlane2010-11-12
|\| |
| * | Treat argument as URI only if it has http(s) scheme.John MacFarlane2010-11-12
| | | | | | | | | | | | | | | | | | Previously pandoc would treat the c: in some windowns filespecs as a URI scheme and try to download... Thanks to Peter Wang for pointing this out.
* | | Revised citation parsers for markdown reader.John MacFarlane2010-11-12
| | | | | | | | | | | | | | | | | | Added a form for in-text citations: @doe99 [30; see also @smith99].
* | | Biblio: Use a Map for the lookup table.John MacFarlane2010-11-11
| | |
* | | Merge branch 'master' into citeprocJohn MacFarlane2010-11-11
|\| |
| * | HTML reader: don't parse raw HTML inside <code> tag.John MacFarlane2010-11-11
| | | | | | | | | | | | | | | Previously '<code><a>x</a></code>' would be parsed as Code "<a>x</a>", which is not what you want.
* | | Added support for textual citations (but not yet markdown syntax).John MacFarlane2010-11-11
| | | | | | | | | | | | Patch from Andrea Rossato.
* | | Merge branch 'master' into citeprocJohn MacFarlane2010-11-09
|\| |
| * | Allow HTML comments as inline elements in markdown.John MacFarlane2010-11-09
| | | | | | | | | | | | | | | | | | So, aaa <!-- comment --> bbb can be a single paragraph.
| * | --mathjax: Use mathjax with raw latex rather than mathml.John MacFarlane2010-10-31
| | | | | | | | | | | | It seems to work better, and the default config can be used.