aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
2011-10-27Don't generate superfluous file `cover-image.jpg`.John MacFarlane1-2/+0
Closes #319.
2011-10-27Added TOC identifier in EPUB page template.John MacFarlane1-0/+2
Closes #329.
2011-10-25HTML reader now recognizes DocBook block and inline tags.John MacFarlane1-1/+2
It was always possible to include raw DocBook tags in a markdown document, but now pandoc will be able to distinguish block from inline tags and behave accordingly. Thus, for example, <sidebar> hello </sidebar> will not be wrapped in `<para>` tags.
2011-10-02HTML slides: only add id to div/section if --section-divs selected.John MacFarlane1-6/+5
2011-10-02Simplified slide creation in HTML writer.John MacFarlane1-26/+18
A horizontal rule now gets transformed into an empty H1 header before 'hierarchicalize' is called. If the document that does not begin with an H1 header, an empty one is provided. This avoids the need for kludgy raw HTML. Also, the 'titleslide' class is added to any section containing just a title: ---- ----
2011-10-01Added dzslides output option.John MacFarlane1-3/+9
* Added DZSlides to HTMLSlideVariant. * Added support for dzslides in HTML writer. * Added dzslides template.
2011-10-01LaTeX writer: don't escape # or ~ inside href{...}.John MacFarlane1-7/+11
Closes #309.
2011-09-23Added escaping of euro character to LaTeX writer.John MacFarlane1-0/+1
Partially resolves #309.
2011-09-05RST writer: Fixed bug involving empty table cells.John MacFarlane1-1/+1
isSimple was being calculated in a way that assumed there were no non-empty cells. Resolves #299. Thanks to rmunoz for reporting the bug.
2011-08-20ConTeXt writer: Changed 'descr' to 'description', fixed alignment.John MacFarlane1-2/+2
2011-08-18ConTeXt: Use buffering for footnotes containing code blocks.John MacFarlane1-2/+8
Closes #291.
2011-08-18ConTeXt: Escape # in link URLs.John MacFarlane1-1/+2
Partially addresses #291.
2011-07-28Added s5-url and slidy-url variables, instead of hard-coding.John MacFarlane1-1/+2
If you want to put your slidy files in the slidy subdirectory, for example, you can do pandoc -t slidy -V slidy-url=slidy -s
2011-07-24Docbook writer: Use programlisting for code blocks.John MacFarlane1-3/+3
Instead of screen, as before.
2011-07-24Docbook writer: Use CALS tables (instead of XHTML tables).John MacFarlane1-21/+15
Reason: Some older docbook software does not work with XHTML tables. Closes #77.
2011-07-24HTML writer: Removed English title on footnote back links.John MacFarlane1-2/+1
This is incongruous in non-English documents.
2011-07-24Insert CDATA around inline js/css in HTML, slidy.John MacFarlane1-1/+2
2011-07-23Use \enquote{..} for latex quotes if template uses csquotes package.John MacFarlane1-16/+31
This provides better support for foreign language quoting. Thanks to Andreas Wagner for the idea.
2011-07-23HTML writer/templates: Made TOC more customizable.John MacFarlane1-9/+4
The container for the TOC is now in the template, so users can insert a header or other styling. Thanks to Bruce D'Arcus for the suggestion.
2011-07-23LaTeX writer: don't set stVerbInNote unnecessarily.John MacFarlane1-3/+4
2011-07-22Deprecated `--xetex` option - it is no longer needed.John MacFarlane1-1/+0
Deprecated `writerXeTeX` and the `--xetex` option. The latex writer now produces a file that can be processed by latex, pdflatex, lualatex, or xelatex, so this option isn't needed. The option is still neded in markdown2pdf, however, which has been modified to take some options that aren't in pandoc.
2011-07-22LaTeX writer: Use \texttt and escapes instead of \verb!..!.John MacFarlane1-23/+14
\verb is simply too fragile; it doesn't work inside command arguments.
2011-07-19ConTeXt writer: Made \start/stoptyping flush with margin.John MacFarlane1-1/+1
This prevents extra blank lines.
2011-07-19LaTeX writer: make verbatim environments flush to avoid extra space.John MacFarlane1-2/+3
The indented `\end{verbatim}` was causing an extra blank line in the output. Closes #277.
2011-07-19Added unexported Text.Pandoc.MIME.John MacFarlane1-1/+2
Moved getMimeType from Text.Pandoc.Shared to Text.Pandoc.MIME, so we won't have an API change.
2011-07-17ODT writer: Construct META-INF/manifest.xml based on archive contents.John MacFarlane1-3/+28
This fixes a bug in ODTs containing images. LibreOffice would signal that these ODTs were corrupt, because the manifest.xml did not contain a reference to the image files.
2011-07-16Un-URI-escape image filenames in LaTeX, ConTeXt, RTF, Texinfo.John MacFarlane7-25/+44
Also do this when copying image files into EPUBs and ODTs. Closes #263.
2011-07-16HTML writer: Use embed tag for images with non-image extensions.John MacFarlane1-1/+20
(e.g. PDFs). Closes #264.
2011-07-10Improved LaTeX tables.John MacFarlane1-33/+56
* Use ctable package, which allows footnotes and provides additional options. * Made cell alignments work in multiline tables. * Closes #272.
2011-07-10LaTeX tables: more space btw lines, top-align cells.John MacFarlane1-3/+4
Closes #271.
2011-07-06Fixed bug in slidy writer: unclosed div tag.John MacFarlane1-1/+1
2011-07-04EPUB writer: Add a meta element specify the cover.Kelsey Hightower1-4/+6
Some EPUB e-readers, such as the Nook, require a meta element inside the OPF metadata block to ensure the cover image is properly displayed. When generating an EPUB using the `--epub-cover-image` option, this patch adds the following meta element to the OPF metadata block in `content.opf`: <meta name="cover" content="cover-image" />
2011-06-06Markdown writer: Insert HTML comment btw list and indented code block.John MacFarlane1-1/+13
This prevents the code block from being interpreted as part of the list.
2011-05-24LaTeX writer: use deVerb on table and picture captions.John MacFarlane1-2/+2
Otherwise LaTeX complains about \verb inside command argument. Thanks to bbanier for reporting the bug.
2011-04-29Allow non-plain math methods in epub.John MacFarlane1-2/+1
2011-04-16Fixed Slidy/S5 output to allow --section-divs.John MacFarlane1-30/+27
This is also a cleaner way of inserting the slide divs. Resolves Issue #296.
2011-04-16Whitespace cleanup.John MacFarlane1-45/+44
2011-04-16Allow --section-divs with slidy output.John MacFarlane1-10/+10
2011-04-16Revert API change in EPUB writer.John MacFarlane1-3/+3
Instead of passing the epub cover image as a parameter, we now pass it in the list of variables. This avoids the API change introduced in f5cbb68534c52b292c57aaf741ab94442ddadd7a without losing the new functionality.
2011-03-28Fixed bug in footnote order in HTML.John MacFarlane1-1/+1
CircleCode pointed out that the following markdown produces out-of-order footnote markers in HTML: -8<------------------------ some text^[with a footnote which will be #1] issue some other text^[with a footnote which will be #2] -8<------------------------ This fixes the problem.
2011-03-16OpenDocument writer: Use "First paragraph" style after most non-para blocks.John MacFarlane1-10/+14
(Not just headers, as in the last patch.) Patch from Andrea Rossato, slightly modified by JM.
2011-03-13Added --epub-cover-image option.John MacFarlane1-9/+44
API change: Added a parameter for the cover image path to writeEPUB. Followed best practices outlined in http://blog.threepress.org/2009/11/20/best-practices-in-epub-cover-images/
2011-03-12OpenDocument: Use special style for 1st para after heading.John MacFarlane1-12/+21
"First paragraph" as opposed to "Text body." This allows users to specify e.g. that only paragraphs after the first paragraph of a section are to be indented. Thanks to Andrea Rossato for the patch. Closes github Issue #20.
2011-02-11LaTeX writer: Changed figure defaults to htbp.John MacFarlane1-1/+1
This prevents "too many unprocessed floats." Resolves Issue #285.
2011-02-06Revert "Use us-ascii charset in HTML template if --ascii option."John MacFarlane1-1/+0
This reverts commit aec54899606bed2580394baa1369e58ede20fde8. No need for this, since a UTF-8 charset will handle ascii just fine.
2011-02-06HTML writer: Fixed footnote backrefs in --ascii mode.John MacFarlane1-1/+2
2011-02-06Use us-ascii charset in HTML template if --ascii option.John MacFarlane1-0/+1
2011-02-06Added --ascii option.John MacFarlane1-17/+20
Currently supported only in HTML writer.
2011-02-06Make --toc work in epub output.John MacFarlane1-0/+3
2011-02-05HTML writer: Put line breaks in section divs.John MacFarlane1-2/+4