aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/LaTeX.hs
AgeCommit message (Collapse)AuthorFilesLines
2013-01-11Changed hspace in last commit to 0.333em.John MacFarlane1-1/+1
This seems to match the spacing of ~ exactly.
2013-01-11LaTeX writer: Use `\hspace*` for nonbreaking space after line break.John MacFarlane1-1/+13
Since `~` spaces after a line break are just ignored. Closes #687.
2013-01-09Fixed regression in example lists.John MacFarlane1-6/+7
This was associated with e1be934dc2ff061e5200017d6503280686983e1f.
2013-01-09Added Attr field to Header.John MacFarlane1-5/+5
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
2013-01-07Implemented tight lists in context, latex writers.John MacFarlane1-2/+12
2013-01-06Don't put the text of an autolink in Code font.John MacFarlane1-1/+1
2013-01-05LaTeX tables: Use minipage rather than parbox for block containers.John MacFarlane1-2/+2
This allows verbatim code to be included in grid tables. Closes #663.
2013-01-05Changed --toc-level to --toc-depth.John MacFarlane1-1/+1
2013-01-05Implemented --toc-level in LaTeX writer.John MacFarlane1-0/+4
2012-11-04LaTeX writer: Don't use [fragile] unnecessarily.John MacFarlane1-1/+5
We were using [fragile] on slides even if they only contained code that was rendered using `\texttt`. Now `[fragile]` is only used for slides containing inline code if that code is rendered using listings. Closes #649.
2012-09-16LaTeX writer: Don't rely on the enumerate package.John MacFarlane1-17/+27
Instead, use standard LaTeX commands to change numbering style.
2012-09-16LaTeX writer: Properly escape strings inside \url{}.John MacFarlane1-1/+2
Closes #576.
2012-09-15LaTeX writer: Don't escape _ in hyperref identifiers.John MacFarlane1-1/+1
2012-09-15LaTeX writer: don't escape _ in url.John MacFarlane1-1/+1
2012-09-15LaTeX writer: Don't use \endhead with longtable.John MacFarlane1-1/+1
It causes the heading to be a different size form the body, sometimes.
2012-09-15LaTeX writer: Use longtable instead of ctable.John MacFarlane1-19/+17
2012-08-08Changes to literate haskell options.John MacFarlane1-1/+1
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix.
2012-08-04Don't include empty captions in figures.John MacFarlane1-2/+4
Closes #581.
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane1-0/+1
2012-06-25Don't generate empty H1 after hrule slide breaks.John MacFarlane1-2/+5
We now use a slide-level header with contents [Str "\0"] to mark an hrule break. This avoids creation of an empty H1 in these contexts. Closes #484.
2012-06-03Fixed `--incremental` behavior for Beamer.John MacFarlane1-1/+1
When `--incremental` is used, lists inside block quotes should appear all at once (as in HTML).
2012-06-01LaTeX writer: Ensure newline after Verbatim at end of footnote.John MacFarlane1-1/+4
This fixes a regression. Also added a test for this.
2012-05-14LaTeX writer: More consistent interblock spacing.John MacFarlane1-24/+18
2012-05-13LaTeX reader: ensure we don't have extra blank lines at ends of cells.John MacFarlane1-1/+1
This can cause LaTeX errors, as they are interpreted as new paragraphs.
2012-05-11Added writerTeXLigatures to WriterOptions, `--no-tex-ligatures` option.John MacFarlane1-24/+23
This is useful for those who want to use advanced OpenType features with xelatex/lualatex.
2012-04-30Improved spacing around LaTeX block environments.John MacFarlane1-5/+11
verbatim, itemize, description, enumerate.
2012-04-30LaTeX writer: Fixed spacing in quote environments.John MacFarlane1-1/+2
Closes #502. Previously you'd get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~ Now we get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~
2012-04-21LaTeX writer: Use fixltx2e package to provide '\textsubscript'.John MacFarlane1-8/+2
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-03LaTeX writer: don't use eurosym package unless document has a €.John MacFarlane1-11/+17
2012-03-25Added PDF metadata (title,author) in LaTeX standalone + PDF output.John MacFarlane1-0/+2
Closes #459.
2012-03-12Use {} around ctable caption. Closes #445.John MacFarlane1-1/+1
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 \textasciitilde for ~ in LaTeX writer.John MacFarlane1-1/+1
2012-03-02Fixed bug in LaTeX string escaper (with ~).John MacFarlane1-1/+1
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-01-27LaTeX writer: escape # in href URLs. Closes #359.John MacFarlane1-6/+2
2012-01-27Removed some unused code.John MacFarlane1-3/+0
2012-01-25Added --slide-level option to override default.John MacFarlane1-1/+5
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-25LaTeX/beamer: --chapters causes level 1 to be \part{..}.John MacFarlane1-3/+6
2012-01-23Slides: New approach, using hierarchicalize.John MacFarlane1-23/+31
This will work better with the HTML slideshows.
2012-01-23LaTeX beamer: Only add [fragile] to slide if it contains verbatim.John MacFarlane1-1/+8
Closes #385.
2012-01-23Use Slides in LaTeX writer for beamer.John MacFarlane1-29/+17
2011-12-30Fixed layout bug in ConTeXt and LaTeX writers.John MacFarlane1-2/+2
This was a regression introduced by the recent internal links changes.
2011-12-30LaTeX writer: only use hyperdef on section if there's a link to it.John MacFarlane1-27/+34
2011-12-30Add support for internal links to LaTeX writer.John MacFarlane1-27/+50
Based on a patch by B. Scott Michel.
2011-12-30LaTeX writer: Improved detection of book classes.John MacFarlane1-6/+9
We now check the `documentclass` variable, and if that is not set, we look through the template itself. Also, we have added the KOMA classes scrreprt and scrbook. You can now make a book using markdown2pdf -V documentclass:book
2011-12-29Added 'beamer' as an output format.John MacFarlane1-13/+75
Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
2011-12-27Added `--highlight-style` and `--no-highlight` options.John MacFarlane1-2/+3
2011-12-27Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane1-8/+5