summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* TexMath: Export readTeXMath', which attends to display/inline.John MacFarlane2013-11-01
| | | | | Deprecate readTeXMath, and use readTeXMath' in all the writers. Require texmath >= 0.6.5.
* Markdown reader: Yaml block must start immediately after `---`.John MacFarlane2013-10-29
| | | | | If there's a blank line after `---`, we interpreted it as a horizontal rule.
* Slides: Preserve `<div class="references">` in references slide.John MacFarlane2013-10-29
|
* Text.Pandoc.Writer.Shared: fixed bug in tagWithAttrs.John MacFarlane2013-10-26
| | | | | A space was omitted before key-value attributes, leading to invalid HTML.
* DocBook reader: Handle numerical attributes starting with decimal.John MacFarlane2013-10-22
| | | | Also use safeRead instead of read.
* Fix definition lists with internal links in terms (closes #1032).John MacFarlane2013-10-21
| | | | | This fix puts braces around a term that contains an internal link, to avoid problems with square brackets.
* Templates: Changed how array variables are resolved.John MacFarlane2013-10-21
| | | | | | | | | | | | | Previously if `foo` is an array (which might be because multiple values were set on the command line), `$foo$` would resolve to the concatenation of the elements of foo. This is rarely useful behavior. It has been changed so that the first value is rendered. Of course, you can still iterate over the values using `$for(foo)$`. This has the result that you can override earlier settings using -V by putting new values later on the command line. That's useful for many purposes.
* LaTeX reader: Improved citation parsing.John MacFarlane2013-10-21
| | | | | This fixes a run-time error that occured with `\citet{}` (empty list of keys). It also ensures that empty keys don't get produced.
* Fixed '. . .' (pause) on HTML slide formats. Closes #1029.John MacFarlane2013-10-20
| | | | | The old version caused a pause to be inserted before the first material on a slide. This has been fixed.
* MediaWiki reader: Trim contents of `<math>` tags.John MacFarlane2013-10-18
| | | | | | Otherwise we get problems when converting to markdown. Closes #1027.
* LaTeX writer: Specially escape non-ascii characters in labels.John MacFarlane2013-10-17
| | | | | | | Otherwise we can get compile errors and other bugs when compiled with pdflatex. Closes #1007. Thanks to begemotv2718 for the fix.
* PDF: Minor code cleanup.John MacFarlane2013-10-17
|
* LaTeX writer: Add link anchors for code blocks with identifiers.John MacFarlane2013-10-17
| | | | Closes #1025.
* Use isURI instead of isAbsoluteURI.John MacFarlane2013-10-16
| | | | It allows fragments identifiers.
* Treat div with class "notes" as speaker notes in slide formats.John MacFarlane2013-10-13
| | | | | | | Currently beamer goes to `\note{}`, revealjs to `<aside class="notes">`, and the notes are simply suppressed in other formats. Closes #925.
* HTML writer: Insert command to typeset mathjax for slideous output.John MacFarlane2013-10-13
| | | | Closes #966.
* LaTeX reader: Ensure that preamble doesn't contribute to text of doc.John MacFarlane2013-10-11
|
* RST writer: Skip spaces after display math.John MacFarlane2013-10-11
| | | | | Otherwise we get indentation problems, and part of the next paragraph may be rendered as part of the math.
* LaTeX reader: Fixed character escaping in \url{}.John MacFarlane2013-10-11
| | | | Previously `\~` wasn't handled properly, among others.
* Removed code that forces MathJax to typeset.John MacFarlane2013-10-06
| | | | | Closes #1012. Reopens #966. A better solution for #966 will just affect slideous, not the other slide writers.
* LaTeX reader: Parse {groups} as Span.John MacFarlane2013-09-28
| | | | | This is needed for accurate conversion of bibtex titles, since we need to know what was protected from titlecase conversions.
* OpenDocument writer: don't use font-face-decls variable.John MacFarlane2013-09-24
|
* src/Text/Pandoc/Writers/OpenDocument.hs: Fix formatting of strikeout code.Václav Zeman2013-09-25
|
* Markdown reader: small code improvement.John MacFarlane2013-09-19
|
* LaTeX writer: Don't print biblio if --natbib or --biblatex option used.John MacFarlane2013-09-19
|
* DOCX writer: Add missing settings.xml to the zip container.John MacFarlane2013-09-19
| | | | Closes #990.
* Fixed reference slides.John MacFarlane2013-09-18
| | | | | | The Div container around references messed up the procedure for carving a document into slides. So we now remove the surrounding Div in prepSlides.
* Markdown reader: unresolved citations fall back to original text.John MacFarlane2013-09-14
| | | | | | | Not ???. Reason: Less surprising, especially for people using @ as in twitter.
* Markdown writer: Print references if output is 'plain'.John MacFarlane2013-09-12
|
* HTML writer: Ensure proper escaping in header metadata.John MacFarlane2013-09-12
|
* Mediawiki: Parse an image + caption in a para by itself as a figure.John MacFarlane2013-09-11
|
* Markdown: don't parse citation right after alphanumeric.John MacFarlane2013-09-09
| | | | An `@` after an alphanumeric is probably an email address.
* Made . . . for pause work in all slide show formats except slideous.John MacFarlane2013-09-08
|
* Templates: more consistent behavior of `$for$`.John MacFarlane2013-09-08
| | | | | | | | When `foo` is not a list, `$for(foo)$...$endfor$` should behave like $if(foo)$...$endif$. So if `foo` resolves to "", no output should be produced. See pandoc-templates#39.
* markdown+list_without_preceding_blankline:+Interpret text before list as ↵John MacFarlane2013-09-08
| | | | paragraph.
* Markdown: Allow backtick code blocks not to be preceded by blank line.John MacFarlane2013-09-08
| | | | Closes #975.
* MedaWiki reader: Implement some mathjax extensions.John MacFarlane2013-09-07
| | | | | | | | * `:<math>` for display math * `\(..\)` for inline math * `\[..\]` for display math We omit the `$` forms as the heuristics are harder.
* Added `lists_without_preceding_blankline` extension.John MacFarlane2013-09-07
| | | | | | | | * Added `Ext_lists_without_preceding_blankline` to `Extension` in `Options`. Added this option to `githubMarkdownExtensions`. * Made markdown reader sensitive to this. * Closes #972.
* Markdown writer: Fixed bugs in YAML header output.John MacFarlane2013-09-06
|
* MediaWiki reader: Allow Image: for images.John MacFarlane2013-09-06
| | | | Closes #971.
* Markdown reader: Don't autolink a bare URI that is followed by `</a>`.John MacFarlane2013-09-01
| | | | Closes #937.
* Mathjax in HTML slide shows: include explicit "Typeset" instruction.John MacFarlane2013-09-01
| | | | | | | This seems to be needed for some formats (e.g. slideous) and won't hurt in others. Closes #966.
* Use registerHeader in Textile reader.John MacFarlane2013-09-01
| | | | | | | This produces automatic header identifiers, unless `auto_identifiers` extension is disabled. Closes #967.
* Use registerHeader in RST and LaTeX readers.John MacFarlane2013-09-01
| | | | | This will give automatic unique identifiers, unless `-auto_identifiers` is specified.
* Factored out registerHeader from markdown reader, added to Parsing.John MacFarlane2013-09-01
| | | | | Text.Pandoc.Parsing now exports registerHeader, which can be used in other readers.
* LaTeX reader: allow spaces in alignment spec in tables.John MacFarlane2013-08-28
| | | | E.g. `{ l r c }`.
* Generalized type of stringify.John MacFarlane2013-08-28
|
* LaTeX reader: Allow accents with combining characters.John MacFarlane2013-08-27
| | | | accent now returns [Char], not Char.
* Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane2013-08-27
|\
| * Merge pull request #961 from nougad/add_latex_listings_labelJohn MacFarlane2013-08-25
| |\ | | | | | | Write id for code block to label attr in latex when listing is used