aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-21Merge pull request #278 from tanimoto/masterJohn MacFarlane1-5/+6
markdown2pdf: reading log with non-UTF8 characters
2011-07-21LaTeX reader: Handle \subtitle command.John MacFarlane1-1/+10
If there's a subtitle, it is added to the title, separated by a colon and linebreak. Closes #280.
2011-07-21LaTeX reader & writer: Use \and to separate authors.John MacFarlane3-4/+6
Closes #279.
2011-07-20markdown2pdf: Fix issue reading log with non-UTF8 characters.Paulo Tanimoto1-5/+6
Replaced 'UTF8.readFile logFile' with 'liftM toString $ BS.readFile logFile'
2011-07-20Document pandoc-templates repository in README.John MacFarlane1-0/+7
2011-07-20Changed markdown2pdf to halt-on-error.John MacFarlane1-1/+1
Before, we used -interaction=batchmode, which just ignored errors. This leads to bad results--users should know when something goes wrong.
2011-07-19ConTeXt writer: Made \start/stoptyping flush with margin.John MacFarlane2-5/+5
This prevents extra blank lines.
2011-07-19LaTeX writer: make verbatim environments flush to avoid extra space.John MacFarlane2-4/+5
The indented `\end{verbatim}` was causing an extra blank line in the output. Closes #277.
2011-07-19Added templates as a git submodule.John MacFarlane18-709/+9
This should make it easier for people to track updates to their custom templates.
2011-07-19Added unexported Text.Pandoc.MIME.John MacFarlane4-452/+487
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-17Leaner reference.odt.John MacFarlane1-0/+0
2011-07-17Added getMimeType to Text.Pandoc.Shared.John MacFarlane1-2/+452
2011-07-16Bumped version in windows setup iss.John MacFarlane1-1/+1
2011-07-16Updated changelog.John MacFarlane1-0/+101
2011-07-16Un-URI-escape image filenames in LaTeX, ConTeXt, RTF, Texinfo.John MacFarlane8-27/+46
Also do this when copying image files into EPUBs and ODTs. Closes #263.
2011-07-16Version bump to 1.8.1.2.John MacFarlane1-1/+1
2011-07-16HTML writer: Use embed tag for images with non-image extensions.John MacFarlane1-1/+20
(e.g. PDFs). Closes #264.
2011-07-16HTML reader: treat Plain as Para when needed.John MacFarlane3-78/+14
For example, in Just a few glitches remaining. <ul><li> In this situation, one loses the list. </ul> And in this, the preformatting. <pre>Preformatted text not starting with its own blank line. </pre> Thansk to Dirk Laurie for noticing the issue.
2011-07-15HTML reader: Handle tbody, thead in simple tables.John MacFarlane1-7/+17
Closes #274.
2011-07-11Merge pull request #273 from qerub/masterJohn MacFarlane3-1/+4
Textile reader: Make it possible to have colons after links.
2011-07-10LaTeX reader: Gobble option & space after linebreak \\[10pt].John MacFarlane1-1/+5
2011-07-10Make HTML reader more forgiving of bad HTML.John MacFarlane1-4/+16
* Skip spaces after <b>, <emph>, etc. * Convert Plain elements into Para when they're in a list item with Para, Pre, BlockQuote, CodeBlock. An example of HTML that pandoc handles better now: ~~~~ <h4> Testing html to markdown </h4> <ul> <li> <b> An item in a list </b> <p> An introductory sentence. <pre> Some preformatted text at this stage comes next. But alas! much havoc is wrought by Pandoc. </pre> </ul> ~~~~ Thanks to Dirk Laurie for reporting the issues.
2011-07-10Improved LaTeX tables.John MacFarlane3-137/+213
* 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-10Textile reader: Make it possible to have colons after links.Christoffer Sawicki3-1/+4
2011-07-06Used yuicompressor to minify slidy css and js.John MacFarlane2-580/+2
2011-07-06Slidy: Use 'titlepage' instead of 'cover' for title div.John MacFarlane1-1/+1
2011-07-06Slidy template: Add $duration$ variable.John MacFarlane1-1/+5
Setting this activates the timer.
2011-07-06Minimized slidy files.John MacFarlane2-3276/+575
2011-07-06slidy.js: Avoid string literal "</script>".John MacFarlane1-1/+1
It causes problems when the script is embedded with the --offline option.
2011-07-06Fixed bug in slidy writer: unclosed div tag.John MacFarlane1-1/+1
2011-07-06Updated slidy/ directory with Slidy2 js and css.John MacFarlane2-2/+3281
Note: This still needs to be run through jsmin.
2011-07-06Updated slidy template to use Slidy2.John MacFarlane1-8/+8
2011-07-05Merge pull request #270 from khightower/masterJohn MacFarlane1-4/+6
EPUB writer: Add a meta element specify the cover.
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-22Fixed test, added another markdown emph/strong test.John MacFarlane1-3/+7
2011-06-22Added failing test case due to Perry Wagle.John MacFarlane1-0/+7
2011-06-22Support \dots and well as \ldots in LaTeX reader.John MacFarlane1-2/+6
2011-06-22Added Tests.Writers.Markdown.John MacFarlane1-0/+34
2011-06-09Changed to github issue tracker.John MacFarlane1-1/+1
2011-06-06Markdown writer: Insert HTML comment btw list and indented code block.John MacFarlane2-1/+15
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-05-22Forbid ()s in citation item keys.John MacFarlane1-1/+1
Resolves Issue #304: problems with (@item1; @item2) because the final paren was being parsed as part of the item key.
2011-04-29Revert "Parsing: Use new type aliases, PandocParser, GeneralParser."John MacFarlane1-123/+118
This reverts commit ec5410bc4e9d228b7dc0123061d80f9addf825bf.
2011-04-29Parsing: Use new type aliases, PandocParser, GeneralParser.John MacFarlane1-118/+123
This should make it easier to change the types later.
2011-04-29Allow non-plain math methods in epub.John MacFarlane1-2/+1
2011-04-20Disallow notes within notes in reST and markdown.John MacFarlane3-6/+22
These previously caused infinite looping and stack overflows. For example: [^1] [^1]: See [^1] Note references are allowed in reST notes, so this isn't a full implementation of reST. That can come later. For now we need to prevent the stack overflows. Partially resolves Issue #297.
2011-04-16Added myself as participant in HCAR report.John MacFarlane1-1/+2
2011-04-16Fixed Slidy/S5 output to allow --section-divs.John MacFarlane3-36/+27
This is also a cleaner way of inserting the slide divs. Resolves Issue #296.