aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/LaTeX.hs
AgeCommit message (Collapse)AuthorFilesLines
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
2011-12-26Updated highlighting for highlighting-kate 0.4.John MacFarlane1-5/+7
Text.Pandoc.Highlighting now exports just one new function, 'highlight', and reexports all the other functions from highlighting-kate that are used in the writers. This should make it easy to switch highlighting engines if that is ever desired.
2011-12-23LaTeX writer: Support highlighting for inline code.John MacFarlane1-8/+18
2011-12-23LaTeX writer: Have LHS files set the "listings" variable.John MacFarlane1-1/+1
2011-12-23LaTeX writer: Implemented syntax highlighting for CodeBlocks.John MacFarlane1-69/+82
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-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-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-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-16Un-URI-escape image filenames in LaTeX, ConTeXt, RTF, Texinfo.John MacFarlane1-1/+5
Also do this when copying image files into EPUBs and ODTs. Closes #263.
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-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-02-11LaTeX writer: Changed figure defaults to htbp.John MacFarlane1-1/+1
This prevents "too many unprocessed floats." Resolves Issue #285.
2011-01-28Add possibility to use listings package for code blocks andJosef Svenningsson1-8/+39
inline code in the LaTeX writer.
2011-01-26Add support for attributes in inline Code.John MacFarlane1-3/+3
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code.
2011-01-26Adjusted writers to use "tex".John MacFarlane1-0/+1
2011-01-26Distinguish latex & context environments; blank line after in writers.John MacFarlane1-1/+1
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane1-4/+5
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements.
2011-01-16Added --chapters option affecting docbook and latex.John MacFarlane1-1/+1
* Added writerChapters to WriterOptions. * Added --chapters command-line option. * --chapters causes top-level headers to be "chapter" instead of "section" in LaTeX and DocBook. * Resolves Issue #225.
2011-01-14LaTeX writer: Escape strings in \href{..}.John MacFarlane1-2/+2
Previously strings weren't escaped, so %5D would be interpreted as a LaTeX comment!
2011-01-14LateX writer: In nonsimple tables, put cells in \parbox.John MacFarlane1-9/+12
Otherwise we can get problems with linebreaks, and cell spacing isn't right. Thanks to Jef Allbright for pointing out the problem.
2010-12-24Use functions from Text.Pandoc.Generic instead of processWith(M).John MacFarlane1-1/+2
2010-12-19LaTeX writer: A bit of code polish.John MacFarlane1-29/+28
2010-12-19LaTeX writer: Modified to use Pretty.John MacFarlane1-34/+30
Improved footnote formatting, removed spurious blank lines.
2010-12-18LaTeX writer: Use \paragraph, \subparagraph for level 4,5 headers.John MacFarlane1-9/+10
2010-12-15Use top-level header at end as bibliography title for natbib and biblatex ↵Nathan Gass1-4/+13
output.