aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
2012-04-25Texinfo writer: Escape special characters in node titles.John MacFarlane1-1/+2
This fixes a problem pointed out by Joost Kremers. Pandoc used to escape an '@' in a chapter title, but not in the corresponding node title, leading to invalid texinfo.
2012-04-24Removed blaze_html_05 flag -- require blaze >= 0.5 by default.John MacFarlane1-5/+1
2012-04-23changes for blaze-html 0.5Mark Wright1-1/+6
2012-04-21LaTeX writer: Use fixltx2e package to provide '\textsubscript'.John MacFarlane1-8/+2
2012-04-21RST writer: Don't wrap link references.John MacFarlane1-1/+1
Closes #487.
2012-04-21LaTeX writer: Use `\hyperref[ident]{text}` for internal links.John MacFarlane1-0/+4
Previously we used `\href{\#ident}{text}`, which didn't work on all systems. Thanks to Dirk Laurie.
2012-04-21Docx writer: Fixed error message when style file can't be parsed.John MacFarlane1-1/+2
2012-04-15Mardkown writer: escape < and $.John MacFarlane1-1/+1
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-07Docx writer: Fixed multi-paragraph list items.John MacFarlane1-1/+4
Previously they each got a list marker. Closes #457.
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-25Added PDF metadata (title,author) in LaTeX standalone + PDF output.John MacFarlane1-0/+2
Closes #459.
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-12Use {} around ctable caption. Closes #445.John MacFarlane1-1/+1
2012-03-09Made man writer more robust.John MacFarlane1-5/+6
Previously it assumed that inlines weren't normalized.
2012-03-09EPUB reader: convert e.g. en_US from locale to en-US in language.John MacFarlane1-1/+2
2012-03-07Merge pull request #438 from michaelt/patch-2John MacFarlane1-0/+2
Fix initial `Str "."` after `LineBreak` as well?
2012-03-07Merge pull request #437 from michaelt/patch-1John MacFarlane1-1/+5
escape initial dot in code lines
2012-03-07Set mainlang variable in context writer.John MacFarlane1-0/+2
This parallels behavior of latex writer. Mainlang is the last of a comma-separated list of languages in lang.
2012-03-07Fix initial `Str "."` after `LineBreak` as well? Michael Thompson1-0/+2
2012-03-07escape initial dot in code linesMichael Thompson1-1/+5
2012-03-05Fixed ployglossia support in LaTeX template for multiple langs.John MacFarlane1-0/+2
\setmainlanguage will now just use the last of a comma-separated list of languages.
2012-03-03Use <q> tags for Quoted items for HTML5 output.John MacFarlane1-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-03EPUB writer: Use extensible exceptions.John MacFarlane1-1/+3
2012-03-03Use \textasciitilde for ~ in LaTeX writer.John MacFarlane1-1/+1
2012-03-02Fixed bug in LaTeX string escaper (with ~).John MacFarlane1-1/+1
2012-02-21HTML writer: Don't escape contents of EQ tags with --gladtex.John MacFarlane1-2/+2
This fixes a regression from 1.8.x. Closes #428.
2012-02-14Add TableNormal style to tables.John MacFarlane1-2/+3
Needs testing with Word.
2012-02-11Fix _rels/.rels if it has been screwed up by Word.John MacFarlane1-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-08Don't wrap headers in markdown or rst.John MacFarlane2-2/+3
2012-02-06LaTeX writer: prevent adjacent hyphens from forming ligatures.John MacFarlane1-20/+32
This is important primarily for things like `--option`. Em and En dashes will produce '---' and '--' in LaTeX, but hyphens should not otherwise combine into dashes.
2012-02-05Removed module Text.Pandoc.CharacterReferences.John MacFarlane1-3/+2
Moved characterReference parser to Text.Pandoc.Parsing. decodeCharacterReferences is now replaced by fromEntities in Text.Pandoc.XML.
2012-02-05Normalize date in EPUB metadata.John MacFarlane1-1/+1
2012-01-31Don't let autolinks create reference links.John MacFarlane1-1/+1
Previously we got bad results with -t markdown --reference-links if the input contained autolinks like <http://yahoo.com>.
2012-01-31Don't include mathml javascript for html5 output.John MacFarlane1-1/+2
mathml is supposed to be supported in HTML5.
2012-01-31Support `--mathml` flag in docbook.John MacFarlane1-2/+28
2012-01-30Added `--epub-embed-font` option.John MacFarlane1-5/+23
* This can be repeated for multiple fonts. * Added parameter for fonts to embed to writeEPUB. * Added ttf, otf to Mime types in Text.Pandoc.MIME.
2012-01-28Remove dependency on old-time.John MacFarlane3-6/+6
2012-01-28Put date in YYYY-MM-DD format if possible for HTML, docx metadata.John MacFarlane2-5/+6
Added normalizeDate to Text.Pandoc.Shared.
2012-01-27LaTeX writer: escape # in href URLs. Closes #359.John MacFarlane1-6/+2
2012-01-27Docbook writer: Use sect1, sect2, etc. instead of section.John MacFarlane1-9/+11
2012-01-27Finished implementing --atx-headers in markdown writer.John MacFarlane1-2/+5
2012-01-27Removed some unused code.John MacFarlane1-3/+0
2012-01-25Added --slide-level option to override default.John MacFarlane2-4/+14
This allows users to select a slide level below the first header level with content. Note that content under sections above the slide level will not appear in slides (either in beamer or in HTML slide shows). This is primarily useful for creating documents that can be made into both slides and handouts (which contain additional content outside the slides).
2012-01-25Fixed regression in HTML writer: all headers level 1!John MacFarlane1-1/+3
2012-01-25Depend on highlighting-kate 0.5.John MacFarlane1-3/+3
This uses styleToCss instead of styleToHtml.
2012-01-25LaTeX/beamer: --chapters causes level 1 to be \part{..}.John MacFarlane1-3/+6