summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
| | * Write id for code block to label attr in latex when listing is usedFlorian Eitel2013-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code: ~~~{#test} asdf ~~~ gets compiled to html: <pre id="test"> asdf </pre> So it is possible to link to the identifier `test` But this doesn't happen on latex When using the listings package (`--listings`) it is possible to set the identifier using the `label=test` property: \begin{lstlisting}[label=id] hi \end{lstlisting} And this is exactly what this patch is doing. Modified LaTeX Reader/Writer and added tests for this.
| * | Removed dependency on citeproc-hs.John MacFarlane2013-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Going forward we'll use pandoc-citeproc, as an external filter. The `--bibliography`, `--csl`, and `--citation-abbreviation` fields have been removed. Instead one must include `bibliography`, `csl`, or `csl-abbrevs` fields in the document's YAML metadata. The filter can then be used as follows: pandoc --filter pandoc-citeproc The `Text.Pandoc.Biblio` module has been removed. Henceforth, `Text.CSL.Pandoc` from pandoc-citations can be used by library users. The Markdown and LaTeX readers now longer format bibliographies and citations. That must be done using `processCites` or `processCites'` from Text.CSL.Pandoc. All bibliography-related fields have been removed from `ReaderOptions` and `WriterOptions`: `writerBiblioFiles`, `readerReferences`, `readerCitationStyle`. API change.
| * | Moved most of Text.Pandoc.Readers.TeXMath to texmath 0.6.4.John MacFarlane2013-08-24
| |/
* / LaTeX reader: Added o-cedilla.John MacFarlane2013-08-21
|/
* Merge pull request #960 from semorrison/masterJohn MacFarlane2013-08-21
|\ | | | | Processing some additional cedilla accents while reading LaTeX
| * cedilla-o breaks the compile, removing againScott Morrison2013-08-21
| |
| * adding some cedilla characters to the LaTeX readerScott Morrison2013-08-21
| |
* | Merge branch 'altcite'John MacFarlane2013-08-20
|\ \
| * | Create Cite element even if no matching reference in the biblio.John MacFarlane2013-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ??? as fallback text for non-resolved citations. * Biblio: Put references (including a header at the end of the document, if one exists) inside a Div with class "references". This gives some control over styling of references, and allows scripts to manipulate them. * Markdown writer: Print markdown citation codes, and disable printing of references, if `citations` extension is enabled. NOTE: It would be good to improve what citeproc-hs does for a nonexistent key.
* | | Scale LaTeX tables so they don't exceed columnwidth.John MacFarlane2013-08-19
|/ /
* | Allow multiple YAML metadata blocks in document.John MacFarlane2013-08-18
| |
* | Parsing: Added stateMeta' to ParserState.John MacFarlane2013-08-18
| |
* | Adjusted writers and tests for change in parsing of div/span.John MacFarlane2013-08-18
| | | | | | | | | | Textile, MediaWiki, Markdown, Org, RST will emit raw HTML div tags for divs. Otherwise Div and Span are "transparent" block containers.
* | Markdown reader: Parse span, div tags as Span, Div elements.John MacFarlane2013-08-17
| | | | | | | | Assuming markdown_in_html extension is set.
* | Markdown reader: Don't generate blank title, author, date elements.John MacFarlane2013-08-17
| |
* | Shared: Changed stringify so it ignores notes.John MacFarlane2013-08-16
| | | | | | | | Also documented this in README.
* | Revert "Shared: stringify now skips over footnotes."John MacFarlane2013-08-16
| | | | | | | | | | | | | | This reverts commit 19591df739a6c50a3d0a9af55ba90b883264b21d. This change didn't work; query has already written the contents of the note by the time it gets to Note.
* | Shared: stringify now skips over footnotes.John MacFarlane2013-08-16
| | | | | | | | That is usually the right thing to do for section labels, etc.
* | LaTeX writer: Avoid problem with footnotes in unnumbered headers.John MacFarlane2013-08-16
| | | | | | | | | | Closes #940. Added test case.