summaryrefslogtreecommitdiff
path: root/src/Text
Commit message (Collapse)AuthorAge
* Require texmath >= 0.3, adjusted for new elements.John MacFarlane2010-07-22
|
* Changed to using strict bytestrings in UTF8 module.John MacFarlane2010-07-21
| | | | | This avoids a problem on Windows reading from stdin. Previously we'd get an error from hGetBufNonBlocking.
* Made spacing at end of output more consistent.John MacFarlane2010-07-20
| | | | | | | | | | | | Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
* Slidy writer: create new slide at every level 1 header.John MacFarlane2010-07-18
|
* Use default highlighting CSS rather than embedding CSS in templates.John MacFarlane2010-07-16
|
* Added --section-divs option.John MacFarlane2010-07-15
| | | | | | | + Header identifiers now get attached to the headers, unless --section-divs is specified, in which case they are added to enclosing divs. By default, the divs are not added. + Resolves Issue #230, #239.
* Added --webtex option for HTML math.John MacFarlane2010-07-15
| | | | | | | | | + Added --webtex command-line option, with optional parameter. (Defaults to using google charts API.) + Added WebTeX HTMLMathMethod. + Removed MimeTeX HTMLMathMethod. (WebTeX is generic and subsumes it.) + Modified --mimetex option to use WebTeX. + Thanks to lpeterse for the idea and some of the code.
* Improved handling of code in man writer.John MacFarlane2010-07-14
| | | | | | + Inline code is now in monoscpace, not bold. + Code blocks now use .nf (no fill) and .IP (indented paragraph). + Resolves Issue #247.
* HTML reader: code cleanup + parse <tt> as Code.John MacFarlane2010-07-14
| | | | Partially resolves Issue #247.
* Code cleanup, S5 writer.John MacFarlane2010-07-14
|
* Improved Slidy writer.John MacFarlane2010-07-13
| | | | | We now carve up slides at HorizontalRules, rather than by level-1 headers. This gives the user lots of flexibility.
* Added a slidy writer.John MacFarlane2010-07-13
| | | | Resolves Issue #122.
* Made latex \section, \chapter parsers more forgiving of whitespace.John MacFarlane2010-07-13
|
* Parse \chapter{} in latex.John MacFarlane2010-07-13
| | | | | | | + Added stateHasChapters to ParserState. + If a \chapter command is encountered, this is set to True and subsequent \section commands (etc.) will be bumped up one level.
* Modified example refs so they can occur before or after target.John MacFarlane2010-07-12
| | | | | The refs are now replaced by numbers at the final stage, using processWith.
* Merge branch 'atlists'. Added auto-numbered example lists.John MacFarlane2010-07-11
|\
| * Implemented @ for sequentially numbered examples.John MacFarlane2010-03-27
| | | | | | | | Also implemented (@label) for example labels and references.
* | Moved headerShift from pandoc.hs to Shared.John MacFarlane2010-07-11
| |
* | Slight code cleanup on substitute function.John MacFarlane2010-07-11
| |
* | Cleaned up EPUB writer.John MacFarlane2010-07-09
| |
* | EPUB writer: don't put multiple copies of same image in epub.John MacFarlane2010-07-08
| |
* | Get default stylesheet in EPUB writer, rather than pandoc.hs.John MacFarlane2010-07-08
| |
* | Added writerUserDataDir to WriterOptions.John MacFarlane2010-07-08
| |
* | Added writerSourceDirectory to WriterOptions.John MacFarlane2010-07-08
| | | | | | | | | | This allows us to remove an argument from the ODT and EPUB writers.
* | Addendum to the fix to issue #242.John MacFarlane2010-07-07
| | | | | | | | | | | | | | | | The previous fix resulted in bird tracks being included in both html and html+lhs renderings of literate haskell sections when pandoc was compiled without highlighting support. This change make pandoc without highlighting behave like pandoc with highlighting: the bird tracks are used only if html+lhs output is specified.
* | Changed order of functions in Shared.John MacFarlane2010-07-06
| |
* | Minor comment change.John MacFarlane2010-07-06
| |
* | Allow language-neutral table captions.John MacFarlane2010-07-06
| | | | | | | | | | | | + Captions may now begin simply with ':', instead of 'Table:' + Captions may now appear either above or below the table. + Resolves Issue #227.
* | More refactoring of grid table code.John MacFarlane2010-07-05
| |
* | Minor reformatting.John MacFarlane2010-07-05
| |
* | Moved generic grid table functions from RST reader -> Parsing.John MacFarlane2010-07-05
| | | | | | | | Here they can be used by the Markdown reader as well.
* | Comment change in Templates (thanks to Alexander Hirzel).John MacFarlane2010-07-05
| | | | | | | | Resolves Issue #245.
* | Don't allow colon in autogenerated HTML identifiers.John MacFarlane2010-07-05
| | | | | | | | They have a special meaning in XML (e.g. in EPUB).
* | Made -Wall clean.John MacFarlane2010-07-05
| |
* | Removed links (internal and external).John MacFarlane2010-07-05
| |
* | Process user-supplied EPUB metadata.John MacFarlane2010-07-05
| | | | | | | | | | | | Read a sequence of elements from the file. Ignore anything that's not valid Dublin Core. If title, language, uuid not supplied, supply them.
* | Added writerEPUBMetadata field and --epub-metadata option.John MacFarlane2010-07-05
| |
* | Removed writerInclude{Before,After} from WriterOptions.John MacFarlane2010-07-05
| | | | | | | | This is no longer used with the new templating system.
* | Moved Pandoc prettyprinting code from Shared to new Native writer.John MacFarlane2010-07-05
| | | | | | | | | | + Text.Pandoc.Writers.Native + The function prettyPandoc is now gone. Use writeNative instead.
* | Moved parsing functions from Text.Pandoc.Shared to new module.John MacFarlane2010-07-05
| | | | | | | | + Text.Pandoc.Parsing
* | Added an EPUB writer.John MacFarlane2010-07-05
| | | | | | | | | | | | | | | | + New writer module Text.Pandoc.Writers.EPUB + Stylesheet in epub.css + --epub-stylesheet command-line option. + New utility module Text.Pandoc.UUID to generate random UUIDs for EPUBs.
* | Made a proper ODT writer.John MacFarlane2010-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | + Transformed the old Text.Pandoc.ODT module into a proper writer module, Text.Pandoc.Writers.ODT. + Instead of saveOpenDocumentAsODT, we now have writeODT, which takes a Pandoc document and produces a bytestring. saveOpenDocumentAsODT has been removed. + To extract the images and insert them into the ODT, we now use processPandocM on the Pandoc document rather than a custom XML parser. + Handle the case where the image is remote (or not found) by converting the Image element into an Emph with the label. + Plumbing in pandoc.hs changed slightly to accomodate this, and to allow other writers that live in the IO monad.
* | Use unicode for smart punctuation in plain, markdown, rst formats.John MacFarlane2010-06-30
| |
* | Add birdtracks to lhs in HTML when compiled wo -fhighlighting.John MacFarlane2010-06-28
| | | | | | | | | | | | | | | | Resolves Issue #242. Previously the bird tracks would be stripped off when pandoc was not compiled with highlighting support, even if -t html+lhs was specified. Thanks to Nicholas Wu for pointing out the problem.
* | Made KeyTable a map instead of an association list.John MacFarlane2010-05-08
| | | | | | | | | | | | | | | | * This affects the RST and Markdown readers. * The type for stateKeys in ParserState has also changed. * Pandoc, Meta, Inline, and Block have been given Ord instances. * Reference keys now have a type of their own (Key), with its own Ord instance for case-insensitive comparison.
* | Use explicit imports from Data.Generics.John MacFarlane2010-05-07
| | | | | | | | | | | | Otherwise we have a conflict with the 'empty' symbol, introduced in syb >= 0.2. Thanks to ddssff for pointing out the problem. Resolves Issue #237.
* | UTF8: Modified readFile and getContents to strip BOM if present.John MacFarlane2010-05-06
| |
* | Use new UTF8 module in Shared, ODT, and the executables.John MacFarlane2010-05-06
| |
* | Added Text.Pandoc.UTF8 for portable UTF8 string IO.John MacFarlane2010-05-06
| |
* | Changed rawLaTeXInline to accept '\section', '\begin', etc.John MacFarlane2010-04-26
| | | | | | | | | | | | | | | | Use new rawLaTeXInline' in LaTeX reader, and export rawLaTeXInline for use in markdown reader. Fixes bug wherein '\section{foo}' was not recognized as raw TeX in markdown document.