aboutsummaryrefslogtreecommitdiff
path: root/src/Text
AgeCommit message (Collapse)AuthorFilesLines
2012-04-21Docx writer: Fixed error message when style file can't be parsed.John MacFarlane1-1/+2
2012-04-21DocBook reader: Handle blockquote with attribution.John MacFarlane1-2/+11
2012-04-20DocBook reader: Refactored with new function attrValue.John MacFarlane1-12/+13
2012-04-20Stylistic changes to DocBook reader.John MacFarlane1-4/+5
2012-04-20Merge pull request #491 from mb21/patch-1John MacFarlane2-0/+616
Added link, code and info elements to DocBook Reader
2012-04-19Added link, code and info elements to DocBook Reader.mb211-5/+12
2012-04-15LaTeX reader: Make \label and \ref sensitive to --parse-raw.John MacFarlane1-10/+13
IF --parse-raw is selected, these will be parsed as raw latex inlines, rather than bracketed text.
2012-04-15Merge branch 'master' into docbookreaderJohn MacFarlane1-1/+1
2012-04-15Mardkown writer: escape < and $.John MacFarlane1-1/+1
2012-04-15DocBook reader: Added comment with list of docbook tags.John MacFarlane1-1/+478
2012-04-14Merge branch 'master' into docbookreaderJohn MacFarlane1-3/+3
2012-04-14Fixed bug in fromEntities.John MacFarlane1-3/+3
The previous version would turn "hi & low you know;" into "hi &".
2012-04-14Implemented abstract, constant, type, etc. in docbook reader.John MacFarlane1-0/+8
2012-04-14Implemented literal tag in docbook reader.John MacFarlane1-0/+1
2012-04-14Implemented quoted in docbook reader.John MacFarlane1-0/+11
2012-04-14Support orderedlist and ulink in docbook reader.John MacFarlane1-1/+6
2012-04-14Removed unneeded clause for "title" in docbook reader.John MacFarlane1-1/+0
2012-04-14Rudimentary support for programlisting in docbook reader.John MacFarlane1-0/+1
2012-04-14Implemented itemizedlist in docbook reader.John MacFarlane1-3/+5
2012-04-14Got metadata working in docbook reader.John MacFarlane1-6/+33
2012-04-14Support superscript, subscript tags in docbook reader.John MacFarlane1-0/+2
2012-04-14Handle blockquote tag in docbook reader.John MacFarlane1-0/+1
2012-04-14Got footnote working in docbook reader.John MacFarlane1-1/+2
2012-04-14Got section and sectN tags working in docbook reader.John MacFarlane1-8/+13
2012-04-14DocBook reader improvements.John MacFarlane2-19/+50
2012-04-14Added skeleton of basic docbook reader.John MacFarlane3-1/+39
2012-04-13Markdown reader: Allow lists as list items.John MacFarlane1-6/+8
So, for example: 1. * x * y 2. * z * w
2012-04-12Markdown: don't recognize references inside delimited code blocks.John MacFarlane1-0/+1
Previously pandoc would produce incorrect results on this: ~~~ [not a link]: /url ~~~ [not a link] because it would recognize "not a link" as a reference link definition on the first pass. This fix causes the first pass to skip delimited code blocks.
2012-04-11Markdown writer: don't force delimited code blocks to be flush left.John MacFarlane1-1/+1
Fixes bug with delimited code blocks inside lists etc.
2012-04-11Small simplification of blank parser in LaTeX reader.John MacFarlane1-1/+1
2012-04-10LaTeX reader: Parse 'dimension' arguments to unknown commands.John MacFarlane1-6/+13
e.g. `\parindent0pt`
2012-04-10LaTeX reader: Control sequences can't be followed by a letter.John MacFarlane1-1/+1
This fixes a bug where `\begingroup` was parsed as `\begin` followed by `group`.
2012-04-07Docx writer: Fixed multi-paragraph list items.John MacFarlane1-1/+4
Previously they each got a list marker. Closes #457.
2012-04-07LaTeX reader: Handle \bgroup, \egroup, \begingroup, \endgroup.John MacFarlane1-3/+13
2012-04-05Textile reader: Implemented literal escapes with `==` and `<notextile>`.John MacFarlane1-1/+19
Closes #473.
2012-04-03LaTeX writer: don't use eurosym package unless document has a €.John MacFarlane1-11/+17
2012-04-03Markdown writer: don't replace empty alt in image with "image".John MacFarlane1-3/+3
Previously `<img src="empty.png" alt=""/>` would be translated as `![image](empty.png)`; now it becomes `![](empty.png)` as one might naturally expect.
2012-03-29Avoid repeated id in section and header in HTML slides.John MacFarlane1-3/+2
Previously pandoc would use the same id attribute for the div or section and the header inside it; now the id is omitted from the header if the div or section has it.
2012-03-27Properly handle citations nested in other inline elements.John MacFarlane1-1/+1
Closes #460. Note: processBiblio is a mess. It should be rewritten for clarity and efficiency.
2012-03-25Added PDF metadata (title,author) in LaTeX standalone + PDF output.John MacFarlane1-0/+2
Closes #459.
2012-03-25Oops! Forgot to munch whitespace / ignore body after directive.Greg Maslov1-1/+4
2012-03-24Add parsing support for the rST default-role directive.Greg Maslov2-5/+35
2012-03-24RST reader: allow :math:`...` even when not followed by blank or \.John MacFarlane1-2/+3
This does not implement the complex rule described at http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules, but it should be good enough for most purposes. Closes #453.
2012-03-24RST reader: '\ ' is null, not escaped space.John MacFarlane1-1/+3
2012-03-24RST writer: Better handling of inline formatting.John MacFarlane1-4/+51
* `hi*there*hi` now gets rendered properly as `hi\ *there*\ hi` * Unnecessary '\ ' are avoided around :math:, :sub:, :sup: * Implemented most of the rules in http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules, though some unnecessary '\ ' may be inserted when unicode quotes are used.
2012-03-21Texinfo writer: retain directories in image paths.Peter Wang1-1/+1
2012-03-19PDF: Run latex at least two times.John MacFarlane1-2/+2
This ensures that the PDFs will have hyperlinked bookmarks (PDF table of contents that can be displayed in the sidebar).
2012-03-19Fixed bug parsing LaTeX tables with one column.John MacFarlane1-10/+14
Thanks to Steven Solie for finding the bug.
2012-03-12Use {} around ctable caption. Closes #445.John MacFarlane1-1/+1
2012-03-12fix doc generation failure against haddock-2.10.0Sergei Trofimovich1-2/+2
$ cabal configure --haddock-option=-v3 $ cabal haddock -v3 Creating interface... 100% ( 2 / 2) in 'Text.Pandoc.Readers.Native' Checking module Text.Pandoc.Readers.HTML... Creating interface... 50% ( 4 / 8) in 'Text.Pandoc.Readers.HTML' Checking module Text.Pandoc.Readers.Textile... Creating interface... haddock: internal error: lexical error /usr/bin/haddock returned ExitFailure 1 Patch changes UTF-8 spaces to ASCII spaces. It's a known haddock issue: http://www.haskell.org/pipermail/haskell-cafe/2012-March/099870.html Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>