aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-08-25Merge pull request #961 from nougad/add_latex_listings_labelJohn MacFarlane4-3/+22
Write id for code block to label attr in latex when listing is used
2013-08-25Added `-F` as shortcut for `--filter`.John MacFarlane1-1/+1
2013-08-25Removed tests relating to citation processing.John MacFarlane8-1367/+0
2013-08-24Removed citeproc-hs from osx, windows build process.John MacFarlane2-2/+0
2013-08-24Updated travis build.John MacFarlane1-1/+0
2013-08-24Removed dependency on citeproc-hs.John MacFarlane10-843/+50
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.
2013-08-24Moved most of Text.Pandoc.Readers.TeXMath to texmath 0.6.4.John MacFarlane2-83/+3
2013-08-24Improved error reporting on filters.John MacFarlane1-5/+5
Avoid showing spurious output and avoid double error messages.
2013-08-22Write id for code block to label attr in latex when listing is usedFlorian Eitel4-3/+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.
2013-08-21Merge pull request #960 from semorrison/masterJohn MacFarlane1-0/+6
Processing some additional cedilla accents while reading LaTeX
2013-08-21cedilla-o breaks the compile, removing againScott Morrison1-2/+0
2013-08-21adding some cedilla characters to the LaTeX readerScott Morrison1-0/+8
2013-08-20Merge branch 'altcite'John MacFarlane7-70/+105
2013-08-20Create Cite element even if no matching reference in the biblio.John MacFarlane7-70/+105
* 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.
2013-08-19Scale LaTeX tables so they don't exceed columnwidth.John MacFarlane2-33/+37
2013-08-18Allow multiple YAML metadata blocks in document.John MacFarlane2-61/+73
2013-08-18Parsing: Added stateMeta' to ParserState.John MacFarlane1-0/+2
2013-08-18Improved `--filter` documentation.John MacFarlane1-3/+20
2013-08-18Removed scripts directory.John MacFarlane10-347/+0
This has been put in its own github repo: https://github.com/jgm/pandoc-filters-python
2013-08-18Adjusted writers and tests for change in parsing of div/span.John MacFarlane20-112/+225
Textile, MediaWiki, Markdown, Org, RST will emit raw HTML div tags for divs. Otherwise Div and Span are "transparent" block containers.
2013-08-17Markdown reader: Parse span, div tags as Span, Div elements.John MacFarlane1-0/+22
Assuming markdown_in_html extension is set.
2013-08-17Markdown reader: Don't generate blank title, author, date elements.John MacFarlane1-3/+3
2013-08-16Added scripts/deflists.py to filter examples.John MacFarlane2-0/+21
2013-08-16Shared: Changed stringify so it ignores notes.John MacFarlane2-1/+6
Also documented this in README.
2013-08-16Revert "Shared: stringify now skips over footnotes."John MacFarlane1-1/+0
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.
2013-08-16Shared: stringify now skips over footnotes.John MacFarlane1-0/+1
That is usually the right thing to do for section labels, etc.
2013-08-16LaTeX writer: Avoid problem with footnotes in unnumbered headers.John MacFarlane2-6/+13
Closes #940. Added test case.
2013-08-16LaTeX reader: parse label after section command and set id.John MacFarlane1-2/+4
Closes #951.
2013-08-16Updated tests for latest pandoc-types changes.John MacFarlane11-11/+11
2013-08-16Added *~ and *.pyc to .gitignore.John MacFarlane1-0/+2
2013-08-15Merge pull request #950 from semorrison/masterJohn MacFarlane1-0/+2
LaTeX reader missing \oe and \OE characters
2013-08-16LaTeX reader missing \oe and \OE charactersScott Morrison1-0/+2
2013-08-15Improved INSTALL instructions:John MacFarlane1-1/+4
* Note binary package for OSX. * Added URL of github wiki page on installing the dev version.
2013-08-15Merge branch 'master' of https://github.com/semorrison/pandocJohn MacFarlane1-0/+16
2013-08-15Shared: Better error message when default data file not found.John MacFarlane1-3/+7
Listing the full path can confuse people who are using `--self-contained`: they might have intended the file to be found locally. So now we just list the data file name.
2013-08-16adding support for breve accents via \u{} while reading LaTeXScott Morrison1-0/+16
2013-08-15Makefile: Remove *everything* on 'make veryclean'.John MacFarlane1-1/+1
2013-08-14Updated for removed unMeta, unFormat in pandoc-types.John MacFarlane17-83/+94
2013-08-14pandoc.py: Fixed bug for {}, removed rawInline, rawBlock.John MacFarlane1-19/+12
2013-08-14Small code cleanup.John MacFarlane1-1/+1
2013-08-14Added scripts/tikz.py.John MacFarlane1-0/+67
2013-08-14Minor code reformatting in script examples.John MacFarlane5-5/+10
2013-08-14Added scripts/abc.py.John MacFarlane1-0/+50
2013-08-14Print stderr output of filters to stderr.John MacFarlane1-3/+3
2013-08-14Improved graphviz.py.John MacFarlane1-4/+3
It won't regenerate images that have already been built.
2013-08-14Added graphviz.py example script.John MacFarlane1-0/+47
2013-08-14Commented python modules/sample scripts.John MacFarlane5-7/+59
2013-08-13Added module for writing python scripts, with several examples.John MacFarlane6-6/+110
See scripts subdirectory.
2013-08-13Removed `--print-sample-lua-writer`, added `--print-default-data-file`.John MacFarlane2-13/+13
Closes #943.
2013-08-12Text.Pandoc.Compat.Monoid: Small improvements to the (<>) definition.John MacFarlane1-0/+4