summaryrefslogtreecommitdiff log msg author committer range
Commit message (Collapse)AuthorAge
* Removed unneeded function from Setup.hs.John MacFarlane2012-10-15
|
* WhitespaceJohn MacFarlane2012-10-15
|
| | | | Requires dev version of citeproc-hs.
* Makefile: Back to using citeproc-hs repository.John MacFarlane2012-10-14
| | | | The released version lacks some features we need.
* LaTeX reader: Use normal citations, not author-in-text, for fn cites.John MacFarlane2012-10-14
| | | | | Eventually it would be nice to use a "suppress outer parens" variant, if citeproc-hs provides one.
* Don't expose Text.Pandoc.Biblio.John MacFarlane2012-10-13
| | | | | It's no longer necessary for library users, as bibliography processing occurs in readMarkdown and readLaTeX.
* Moved bibliography processing into readers.John MacFarlane2012-10-13
| | | | | | | | | | Previously this was done in src/pandoc.hs, which made it difficult for library users. * Removed readerCitations in ReaderOptions. * Added readerReferences and readerCitationStyle to ReaderOptions. * Moved use of processBiblio from main program to the markdown and LaTeX readers.
* Biblio: Make processBiblio take a Maybe Style parameter.John MacFarlane2012-10-13
| | | | If Nothing, then nothing is done.
* Textile reader: Fixed bug with list items containing line breaks.John MacFarlane2012-10-13
| | | | | | Now pandoc correctly handles hard line breaks inside list items. Previously they broke list parsing. Thanks to Pablo Rodríguez for pointing out the problem.
| | | | | | | | Now it will also try to parse block commands. This is usually what we want, given how rawLaTeXInline is used in the markdown and textile readers. If a block-level LaTeX command is used in the middle of a paragraph (e.g. \subtitle inside a title), we can treat it as raw inline LaTeX.
* LaTeX reader: Make \noindent inline rather than block.John MacFarlane2012-10-11
|
* Added MIME types for .wof and .eot.John MacFarlane2012-10-11
| | | | | Closes #640. i#
* EPUB writer improvements.John MacFarlane2012-10-11
| | | | | | | | | | | | * We now convert to XHTML before cutting into chapter-sized chunks. This fixes a number of problems. * --number-sections now works properly. * A proper three-level table of contents is now used in toc.ncx. There is no longer a subsidiary table of contents at the beginning of each chapter. * New epub-page template without the $title$ variable. Titles are left in the chapter bodies as an initial h1. * Closes #539.
* LaTeX reader: Better support for citation commands.John MacFarlane2012-10-10
| | | | | * Make \cite etc. an AuthorInText. * Make \footcite etc. into citations in notes.
* RST reader: Don't create empty definition list for metadata field lists.John MacFarlane2012-10-06
| | | | | | | | Previously a field list consisting only of metadata fields (author, title, date) would be parsed as an empty DefinitionList, which is not legal in LaTeX and not needed in any format. This patch fixes the problem, which I learned of from http://stackoverflow.com/questions/12762767/modify-variable-in-rst-with-pandoc.
* Biblio: Changed type of processBiblio.John MacFarlane2012-10-06
| | | | | | | | | * It is no longer in the IO monad. * setHash uses state rather than Data.Unique. * It takes a Style argument rather than parameters for CSL and abbrev filenames. * pandoc.hs now calls the functions to parse the style file and add abbrevs.
| | | | This reverts commit 5419b504cef0cc6e1a0f3e321b2fc0a66e12db3c.
| | | | | This will be used to provide warnings for things like duplicate footnote refs and link refs.
* Textile reader: Implemented comment blocks.John MacFarlane2012-10-05
|
* Fixed typo.John MacFarlane2012-10-04
|
* Updated mediawiki writer test for <br /> change.John MacFarlane2012-10-04
|
* Merge pull request #636 from byorgey/masterJohn MacFarlane2012-10-04
|\ | | | | Remove newline character from LineBreak output
| * Remove newline after <br/> in translation of LineBreakBrent Yorgey2012-10-04
|/ | | | | | | There's no particular need for a newline (other than making the generated MediaWiki source look nice to a human), and in fact sometimes it is incorrect: in particular, inside an enumeration, list items cannot have embedded newline characters.
* Docx writer: Added nsid to abstractNum elements.John MacFarlane2012-10-02
| | | | | This helps when merging word documents with numbered or bulleted lists. Closes #627.
* Use integer ids for bookmarks.John MacFarlane2012-10-02
| | | | Closes #626.
* Makefile: cabal-dev/cabal update.John MacFarlane2012-10-02
|
* RST reader: Removed 'plain' in blocks, since 'para' includes it.John MacFarlane2012-09-30
|
* RST reader: Consolidate super/subscript, math into interpretedRole.John MacFarlane2012-09-30
|
* RST reader: Renamed 'image' to 'subst', since it now handles more.John MacFarlane2012-09-30
|
* Ignore unknown interpreted roles.John MacFarlane2012-09-30
| | | | | The contents are treated as rst, not literal, which will sometimes be wrong.
* RST reader: Removed requirement that directives begin at left margin.John MacFarlane2012-09-30
| | | | | This was (correctly) not in earlier releases; docutils doesn't make the requirement.
* RST reader: Require whitespace after field list field names.John MacFarlane2012-09-30
|
* Bumped versions of json and base64-bytestring dependencies.John MacFarlane2012-09-30
| | | | Thanks to Dirk Ullirch.
* Make blaze_html_0_5 default to True.John MacFarlane2012-09-30
|
* RST reader: Consolidated rawBlock into directive.John MacFarlane2012-09-30
|
* RST reader: Handle replace:: and unicode:: substitutions.John MacFarlane2012-09-30
|
* RST reader: Make directive labels case-insensitive.John MacFarlane2012-09-29
|
* RST reader: Folded figureBlock into directive.John MacFarlane2012-09-29
|
|
* RST reader: Folded image block handling into directive.John MacFarlane2012-09-29
|
* RST reader: Folded code block parsers into directive.John MacFarlane2012-09-29
|
* RST reader: Folded default-role parser into directive.John MacFarlane2012-09-29
|
* Renamed removedLeadingTrailingSpace to trim.John MacFarlane2012-09-29
| | | | | Also removeLeadingSpace to triml, removeTrailingSpace to trimr.
* RST reader: Consolidated math block parsers into directive.John MacFarlane2012-09-29
|
* RST reader: Refactored directive parser.John MacFarlane2012-09-29
| | | | | We now also hander container, compound, epigraph, rubric, highligts, pull-quote.
* Adjusted pandoc.hs for changes in Biblio module.John MacFarlane2012-09-29
|
* Biblio: csl parameter now a string rather than a filepath.John MacFarlane2012-09-29
| | | | API change.
* Markdown reader: Worked around some sepBy's.John MacFarlane2012-09-29
|
* UTF8: Removed unneeded imports.John MacFarlane2012-09-29
|
* Textile reader: Avoid parsing dashes as strikeout.John MacFarlane2012-09-28
| | | | | | | | | | | | | | | Previously the input text-- text-- text-- text-- would be parsed with strikeouts rather than dashes. This fixes the problem by requiring that a strikeout delimiting - not be followed by a -. Closes #631.