aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-23Properly handle characters in the 128..159 range.John MacFarlane2-9/+48
These aren't valid in HTML, but many HTML files produced by Windows tools contain them. We substitute correct unicode characters.
2011-07-23HTML writer/templates: Made TOC more customizable.John MacFarlane2-14/+13
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-23HTML writer: Display author and date after title.John MacFarlane3-7/+15
2011-07-23Fixed latex template: don't use ucs if using biblatex.John MacFarlane1-6/+6
Thanks to Joseph Reagle.
2011-07-23Use different hyperref options for xetex.John MacFarlane4-13/+30
This fixes problems with unicode bookmarks on xetex. Thanks to CircleCode.
2011-07-23LaTeX writer: New template.John MacFarlane2-9/+15
2011-07-23LaTeX writer: don't set stVerbInNote unnecessarily.John MacFarlane1-3/+4
2011-07-22Added link to zotero styles page.John MacFarlane1-0/+1
2011-07-22Small documentation fix.John MacFarlane1-3/+3
2011-07-22Version bump to 1.8.2.John MacFarlane1-1/+1
Reason: new naming scheme for templates may require users to rename default templates they have put in ~./pandoc/templates. A template named FORMAT.template should be renamed default.FORMAT.
2011-07-22Changed default template naming scheme.John MacFarlane5-21/+32
Instead of latex.template, we now have default.latex. An appropriate extension is added automatically if the value of `--template` has no extension. So, `pandoc --template=special -t latex` looks for `special.latex`, while `pandoc --template=special -t man` looks for `special.man`.
2011-07-22Look for value of --template in datadir if not found.John MacFarlane1-12/+19
This way, you can put your special.template.latex in ~/.pandoc and use it from any directory.
2011-07-22Updated tests for new latex templates.John MacFarlane3-9/+42
2011-07-22Version bump to 1.8.1.3.John MacFarlane1-1/+1
2011-07-22Added `--luatex` option to markdown2pdf.John MacFarlane2-4/+10
This uses lualatex to create the PDF.
2011-07-22Deprecated `--xetex` option - it is no longer needed.John MacFarlane6-14/+16
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-22Updated templates.John MacFarlane1-5/+5
2011-07-22LaTeX writer: Use \texttt and escapes instead of \verb!..!.John MacFarlane4-38/+34
\verb is simply too fragile; it doesn't work inside command arguments.
2011-07-22Modified submodules.John MacFarlane1-5/+5
2011-07-22Updated contributor list.John MacFarlane1-1/+2
2011-07-22markdown2pdf: Better error printing.John MacFarlane1-1/+3
This goes with the earlier change to -halt-on-error.
2011-07-22markdown2pdf: Don't crash if pdflatex's output is not UTF-8.John MacFarlane1-6/+45
This requires using a custom version of readProcessWithExitCode that uses utf8-string's conversions instead of the system ones. utf8-string's utf-8 conversion doesn't crash on invalid encoding.
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