Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-10 | LaTeX reader: Parse 'dimension' arguments to unknown commands. | John MacFarlane | 1 | -6/+13 | |
e.g. `\parindent0pt` | |||||
2012-04-10 | LaTeX reader: Control sequences can't be followed by a letter. | John MacFarlane | 1 | -1/+1 | |
This fixes a bug where `\begingroup` was parsed as `\begin` followed by `group`. | |||||
2012-04-07 | Docx writer: Fixed multi-paragraph list items. | John MacFarlane | 1 | -1/+4 | |
Previously they each got a list marker. Closes #457. | |||||
2012-04-07 | LaTeX reader: Handle \bgroup, \egroup, \begingroup, \endgroup. | John MacFarlane | 1 | -3/+13 | |
2012-04-05 | Textile reader: Implemented literal escapes with `==` and `<notextile>`. | John MacFarlane | 1 | -1/+19 | |
Closes #473. | |||||
2012-04-03 | LaTeX writer: don't use eurosym package unless document has a €. | John MacFarlane | 1 | -11/+17 | |
2012-04-03 | Markdown writer: don't replace empty alt in image with "image". | John MacFarlane | 1 | -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-29 | Avoid repeated id in section and header in HTML slides. | John MacFarlane | 1 | -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-27 | Properly handle citations nested in other inline elements. | John MacFarlane | 1 | -1/+1 | |
Closes #460. Note: processBiblio is a mess. It should be rewritten for clarity and efficiency. | |||||
2012-03-25 | Added PDF metadata (title,author) in LaTeX standalone + PDF output. | John MacFarlane | 1 | -0/+2 | |
Closes #459. | |||||
2012-03-25 | Oops! Forgot to munch whitespace / ignore body after directive. | Greg Maslov | 1 | -1/+4 | |
2012-03-24 | Add parsing support for the rST default-role directive. | Greg Maslov | 2 | -5/+35 | |
2012-03-24 | RST reader: allow :math:`...` even when not followed by blank or \. | John MacFarlane | 1 | -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-24 | RST reader: '\ ' is null, not escaped space. | John MacFarlane | 1 | -1/+3 | |
2012-03-24 | RST writer: Better handling of inline formatting. | John MacFarlane | 1 | -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-21 | Texinfo writer: retain directories in image paths. | Peter Wang | 1 | -1/+1 | |
2012-03-19 | PDF: Run latex at least two times. | John MacFarlane | 1 | -2/+2 | |
This ensures that the PDFs will have hyperlinked bookmarks (PDF table of contents that can be displayed in the sidebar). | |||||
2012-03-19 | Fixed bug parsing LaTeX tables with one column. | John MacFarlane | 1 | -10/+14 | |
Thanks to Steven Solie for finding the bug. | |||||
2012-03-12 | Use {} around ctable caption. Closes #445. | John MacFarlane | 1 | -1/+1 | |
2012-03-12 | fix doc generation failure against haddock-2.10.0 | Sergei Trofimovich | 1 | -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> | |||||
2012-03-10 | Fixed lstlisting environment in LaTeX reader. | John MacFarlane | 1 | -1/+1 | |
Closes #443. | |||||
2012-03-09 | Made man writer more robust. | John MacFarlane | 1 | -5/+6 | |
Previously it assumed that inlines weren't normalized. | |||||
2012-03-09 | EPUB reader: convert e.g. en_US from locale to en-US in language. | John MacFarlane | 1 | -1/+2 | |
2012-03-07 | Merge pull request #438 from michaelt/patch-2 | John MacFarlane | 1 | -0/+2 | |
Fix initial `Str "."` after `LineBreak` as well? | |||||
2012-03-07 | Merge pull request #437 from michaelt/patch-1 | John MacFarlane | 1 | -1/+5 | |
escape initial dot in code lines | |||||
2012-03-07 | Set mainlang variable in context writer. | John MacFarlane | 1 | -0/+2 | |
This parallels behavior of latex writer. Mainlang is the last of a comma-separated list of languages in lang. | |||||
2012-03-07 | Fix initial `Str "."` after `LineBreak` as well? | Michael Thompson | 1 | -0/+2 | |
2012-03-07 | escape initial dot in code lines | Michael Thompson | 1 | -1/+5 | |
2012-03-05 | Fixed ployglossia support in LaTeX template for multiple langs. | John MacFarlane | 1 | -0/+2 | |
\setmainlanguage will now just use the last of a comma-separated list of languages. | |||||
2012-03-03 | Use <q> tags for Quoted items for HTML5 output. | John MacFarlane | 1 | -4/+11 | |
The quote style can be changed by modifying the template or including a css file. A default quote style is included. | |||||
2012-03-03 | EPUB writer: Use extensible exceptions. | John MacFarlane | 1 | -1/+3 | |
2012-03-03 | Use \textasciitilde for ~ in LaTeX writer. | John MacFarlane | 1 | -1/+1 | |
2012-03-02 | Fixed bug in LaTeX string escaper (with ~). | John MacFarlane | 1 | -1/+1 | |
2012-02-27 | Support "minted" as a LaTeX verbatim block. | John MacFarlane | 1 | -1/+3 | |
Closes #431. | |||||
2012-02-25 | LaTeX reader: correctly handle \^{}. | John MacFarlane | 1 | -8/+8 | |
2012-02-25 | LaTeX reader: Fixed accents. | John MacFarlane | 1 | -28/+67 | |
\~{a}, \c{c}. | |||||
2012-02-21 | HTML writer: Don't escape contents of EQ tags with --gladtex. | John MacFarlane | 1 | -2/+2 | |
This fixes a regression from 1.8.x. Closes #428. | |||||
2012-02-19 | LaTeX math environment fixes. Closes #423. | John MacFarlane | 1 | -8/+8 | |
`aligned` is now used instead of the nonexistent `aligned*`. `multline` instead of the nonexistent `multiline`. | |||||
2012-02-19 | PDF: run latex 3 times if --toc specified. | John MacFarlane | 1 | -1/+1 | |
Closes #424. | |||||
2012-02-17 | Don't escape `<` in `<style>` tags with `--self-contained`. | John MacFarlane | 2 | -4/+22 | |
Closes #422: highlighting lost using `--self-contained`. | |||||
2012-02-14 | Add TableNormal style to tables. | John MacFarlane | 1 | -2/+3 | |
Needs testing with Word. | |||||
2012-02-11 | Fix _rels/.rels if it has been screwed up by Word. | John MacFarlane | 1 | -1/+10 | |
Closes #414. Previously, if you edited the reference.docx with Word, then created a new docx using the edited reference.docx, Word would complain about the file being corrupt. The problem seems to be that Word changes _rels/.rels, changing the Type of the Relationship to docProps/core.xml from "http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core-properties" to "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties". As far as I can see, this is a bug in Word, since the latter is not valid. (See http://idippedut.dk/post/2010/04/22/Correct-according-to-spec-or-implementation.aspx.) This change simply does a global replace on _rels/.rels that reverts the change Word makes. And now producing docx files with Word-modified reference.docx seems to work. | |||||
2012-02-10 | LaTeX reader: Add ", " to suffix... | John MacFarlane | 1 | -9/+13 | |
if it doesn't start w space or punctuation. Otherwise we get no space between the year and the suffix in author-date styles. | |||||
2012-02-09 | Made LaTeX parser more robust. | John MacFarlane | 1 | -22/+26 | |
+ Skip options after block commands. + Correctly handle {\\} in braced. + Added a needed 'try'. | |||||
2012-02-09 | Better handling of raw latex environments in markdown. | John MacFarlane | 1 | -9/+1 | |
Now \begin{equation} a_1 \end{equation} turns into a raw latex block as expected. | |||||
2012-02-08 | Improvements to markdown attributes syntax (on code blocks). | John MacFarlane | 1 | -4/+5 | |
(1) Attributes can contain line breaks. (2) Values in key-value attributes can be surrounded by either double or single quotes, or left unquoted if they contain no spaces. | |||||
2012-02-08 | Put LaTeX verse environments in blockquotes. | John MacFarlane | 1 | -0/+1 | |
2012-02-08 | Don't wrap headers in markdown or rst. | John MacFarlane | 2 | -2/+3 | |
2012-02-08 | More efficient implementation of nowrap in Pretty. | John MacFarlane | 1 | -4/+4 | |
2012-02-07 | Limit nesting of strong/emph. | John MacFarlane | 2 | -2/+16 | |
This avoids exponential lookahead in parasitic cases, like a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**. Added stateMaxNestingLevel to ParserState. We set this to 6, so you can still have Emph inside Emph, just not indefinitely. |