aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-11-18If --csl not specified, read from data files or default.John MacFarlane2-11/+25
Thus --csl behaves like --reference-odt, --template, etc.
2010-11-18Added default.csl to data files.John MacFarlane2-0/+371
2010-11-18Markdown citation parser improvements and test updates.John MacFarlane3-16/+24
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).
2010-11-18Markdown reader: Revised parser for new citation syntax.John MacFarlane2-61/+78
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.
2010-11-17Biblio: Removed stringify; pass inline list to citeproc.John MacFarlane1-12/+2
2010-11-17Don't pass a [Str ""] as citationPrefix.John MacFarlane1-1/+1
2010-11-16Updated for changes in Citaiton type.John MacFarlane2-12/+24
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.
2010-11-16Updated HCAR entry.John MacFarlane1-17/+9
2010-11-16Removed unneeded format argument in call to readBiblioFile.John MacFarlane1-1/+1
2010-11-16Biblio: don't add footnote if empty.John MacFarlane1-3/+3
2010-11-13Improve handling of bibliography not found error.John MacFarlane1-1/+5
2010-11-13Replaced --biblio-file with --bibliography, removed --biblio-format.John MacFarlane2-19/+10
Bibliography format is guessed from the file extension of the bibliography. Also, the bibliography entries are now read during option parsing.
2010-11-12Repairs to citation parser + citation test suite.John MacFarlane2-15/+15
2010-11-12Merge branch 'master' into citeprocJohn MacFarlane1-3/+4
2010-11-12Improvements to test suite for citations.John MacFarlane2-4/+5
2010-11-12Set LANG in test runner.John MacFarlane1-1/+3
2010-11-12Treat argument as URI only if it has http(s) scheme.John MacFarlane1-3/+4
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.
2010-11-12Added material for citation tests.John MacFarlane7-0/+980
Currently they fail with a multibyte error from citeproc-hs when it tries to read locale.
2010-11-12Revised citation parsers for markdown reader.John MacFarlane1-44/+96
Added a form for in-text citations: @doe99 [30; see also @smith99].
2010-11-11Biblio: Use a Map for the lookup table.John MacFarlane1-3/+4
2010-11-11Merge branch 'master' into citeprocJohn MacFarlane2-5/+5
2010-11-11Added support for textual citations (but not yet markdown syntax).John MacFarlane2-19/+28
Patch from Andrea Rossato.
2010-11-11HTML reader: don't parse raw HTML inside <code> tag.John MacFarlane2-5/+5
Previously '<code><a>x</a></code>' would be parsed as Code "<a>x</a>", which is not what you want.
2010-11-09Merge branch 'master' into citeprocJohn MacFarlane4-20/+7
2010-11-09Allow HTML comments as inline elements in markdown.John MacFarlane2-3/+3
So, aaa <!-- comment --> bbb can be a single paragraph.
2010-11-06cabal file: Made library and executable build-depends match.John MacFarlane1-2/+3
2010-11-06Removed CITEPROC CPP conditionals from library code.John MacFarlane2-8/+0
By Cabal policy, the API should not change depending on flags.
2010-11-06Changes to use citeproc-hs 0.3.John MacFarlane3-94/+27
2010-11-05Removed Text.Pandoc.Definition, bump version to 1.7.John MacFarlane2-168/+3
We now get Text.Pandoc.Definition from the new pandoc-types package. This will make it possible for other programs to supply output in Pandoc format, without depending on the whole pandoc package.
2010-11-04Biblio: small fix to detection of punctuation (A. Rossato).John MacFarlane1-4/+4
2010-11-03Biblio: Improve footnote generation.John MacFarlane1-10/+24
Patch from Andrea Rossato.
2010-11-02Improve footnote generation of in-text citations w/ note styles.John MacFarlane1-24/+118
Patch from Andrea Rossato.
2010-10-31--mathjax: Use mathjax with raw latex rather than mathml.John MacFarlane2-17/+4
It seems to work better, and the default config can be used.
2010-10-27Changes to use citeproc 0.3.John MacFarlane4-24/+101
Patch from Andrea Rossato. Note: the markdown syntax is preliminary and will probably change.
2010-10-26Added support for MathJax for displaying math in HTML.John MacFarlane5-15/+40
Added --mathjax option. Added MathJax to HTMLMathMethod. Supported MathJax in HTML writer. Resolves Issue #259.
2010-10-26Added test for macros.John MacFarlane2-1/+9
2010-10-26Documented LaTeX macros.John MacFarlane1-0/+12
2010-10-26Bump version to 1.6.1.John MacFarlane1-1/+1
2010-10-26Parse blanklines after macro definitions.John MacFarlane1-1/+1
2010-10-26Process LaTeX macros in markdown, and apply to TeX math.John MacFarlane4-8/+39
Example: \newcommand{\plus}[2]{#1 + #2} $\plus{3}{4}$ yields: 3+4
2010-10-24Added fontsize variable to default latex template.John MacFarlane1-1/+1
This makes it easy to set the font size using markdown2pdf or pandoc: markdown2pdf -V fontsize=12pt input.txt
2010-10-24LaTeX & ConTeXt writers: escape [ and ] as {[} and {]}.John MacFarlane4-12/+16
This avoids unwanted interpretation as optional arguments in some contexts, which caused the brackets to silently disappear!
2010-10-24Changed --help message for --variable to KEY:VALUE.John MacFarlane1-1/+1
Was previously FILENAME.
2010-10-19TeXMath: handle variables modified with \acute, \bar, etc.John MacFarlane1-0/+15
Complete list: \acute, \grave, \breve, \check, \dot, \mathring, \vec, \overrightarrow, \overleftarrow, \hat, \tilde, \bar.
2010-10-19TeXMath reader: handle \textit, \textbf, etc.John MacFarlane1-1/+5
2010-09-23Clarified that multiline tables don't support colspans or rowspans.John MacFarlane1-1/+2
2010-09-23Slight change in README on table cell spans.John MacFarlane1-2/+2
2010-09-10Encode filenames as UTF8.John MacFarlane2-4/+5
Resolves Issue #252 (pandoc doesn't properly handle unicode filenames).
2010-08-01gladTeX HTML - specify ENV for display or inline.John MacFarlane1-1/+3
Thanks to Jonathan Daugherty for the patch. The gladTeX program gives finer control over the LaTeX environment used to render its input. The latest version (1.1) uses the "displaymath" environment by default, which is nice for large, block-level equations, but it isn't so nice for inline math (where "math" is more appropriate). This patch causes the HTML writer to differentiate between the two by explicitly setting the LaTeX environment on the generated EQ tag.
2010-07-24pandoc.cabal: Remove profiling options from 'else' clause.John MacFarlane1-2/+2