aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-11-06Further simplification of Biblio.John MacFarlane1-7/+8
2011-11-06Further cleanup of Biblio.John MacFarlane1-3/+3
2011-11-06Simplified Biblio, removed procInlines, use generics instead.John MacFarlane1-24/+15
2011-11-06Markdown reader: allow punctuation only internally in cite keys.John MacFarlane1-1/+2
The characters '.',':',';','$','<','>','~','#','-','_' can be used only between two letters or digits in a citation key. This means that '@item1.' will be parsed as a citation, 'item1', followed by a period, instead of a citation 'item1.', as was the case previously. Thanks to David Sanson for alerting us to the problem.
2011-11-04Don't add comma+space to prefix if it ends in punctuation.John MacFarlane1-5/+1
Patch from Andrea Rossato.
2011-10-28Text.Pandoc.Biblio: Expand citations recursively inside nested inlines.John MacFarlane1-7/+5
Closes #331.
2011-10-27Biblio: Treat \160 as space when parsing locator and suffix.John MacFarlane1-2/+6
This fixes a bug with "p. 33" when `--smart` is used. Previously the whole "p. 33" would be included in the suffix, with no locator.
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-26Removed redundant import.John MacFarlane1-1/+1
2011-10-25HTML reader now recognizes DocBook block and inline tags.John MacFarlane2-6/+26
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 MacFarlane4-8/+18
* 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-09-02TypeSynonymInstances no longer implies FlexibleInstances in GHC 7.2Antoine Latter1-1/+1
2011-08-23allow footnotes followed by newline without space charstakahashim1-2/+2
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-08-18Templates: Return empty string for json template.John MacFarlane1-0/+1
Thanks to Dirk Laurie for pointing out the bug.
2011-08-01HTML reader: Fixed bug parsing tables w both thead and tbody.John MacFarlane1-0/+1
See bug #274, which was not completely fixed by the last patch.
2011-07-31Tweaked Arbitrary instance to help avoid timeouts in tests.John MacFarlane1-2/+2
2011-07-30Added PRAGMA needed for ghc 6.12.John MacFarlane1-0/+1
2011-07-30Removed applicative stuff in Markdown reader.John MacFarlane1-16/+16
It requires parsec 3, and currently pandoc can build with parsec 2.
2011-07-30Markdown reader: Improved emph/strong parsing.John MacFarlane1-13/+34
Ported code from pandoc2. Now all tests pass.
2011-07-30Added nonspaceChar to Text.Pandoc.Parsing.John MacFarlane1-0/+5
2011-07-30markdown2pdf: Added -interaction nonstopmode.John MacFarlane1-2/+2
Otherwise it can hang if the error requests user input!
2011-07-28Fix template problem for epub.John MacFarlane1-0/+1
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-25Smart quotes: handle '...hi' properly.John MacFarlane2-1/+11
Also added test case.
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-24Use data: protocol to embed s5 css in <link> tags.John MacFarlane1-11/+16
Using inline css didn't work properly with Chrome and Safari.
2011-07-24Reordered offline slidy includes.John MacFarlane1-2/+8
2011-07-24Use yuicompressor-packed js for s5.John MacFarlane1-4/+2
Removed s5/default/slides.js.comment, s5/default/slides.js.packed. Added s5/default/slides.min.js.
2011-07-24Fixed slidy css.John MacFarlane1-1/+1
* Use non-minimized version of `slidy.css` with `--offline` option, so users can more easily edit it. * Fixed bug in slidy css that prevented proper centering of title.
2011-07-24Insert CDATA around inline js/css in HTML, slidy.John MacFarlane1-1/+2
2011-07-24Enclose s5 scripts and css in CDATA tags.John MacFarlane1-3/+6
2011-07-23RST reader: Partial support for labeled footnotes.John MacFarlane1-7/+20
Also made simpleReferenceName parser more accurate, which affects several other parsers.
2011-07-23Changed `--mathjax` to link to mathjax CDN by default.John MacFarlane1-2/+6
`--mathjax` now takes an optional URL argument. If it is not provided, pandoc links directly to the (secure) mathjax CDN. This is what they now recommend. Thanks to dsanson.
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-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 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-22Changed default template naming scheme.John MacFarlane2-3/+10
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.