summaryrefslogtreecommitdiff
path: root/tests/writer.latex
Commit message (Collapse)AuthorAge
* Updated test suite.John MacFarlane2016-09-28
|
* LaTeX: Do not set [htbp] figure placement options.Vaclav Zeman2016-08-29
| | | | | | Do not set `[htbp]` placement options on each figure to allow overriding them by them using `\fps@figure` redefintion either in header or in template.
* latex template: fix for obscure hyperref/xelatex issue.John MacFarlane2016-06-07
| | | | | | | | | | | | | | | | | | | Here's a minimal case: \documentclass[]{article} \usepackage{hyperref} \begin{document} \section{\%á} \end{document} Without this change, this fails on the second invocation of xelatex. See https://tex.stackexchange.com/questions/313266/and-non-ascii-characters-in-headings This affects inputs this like # %á with pdf output via xelatex.
* LaTeX/Beamer template changes (Thomas Hodgson):John MacFarlane2015-12-19
| | | | | | | | | | | | | | | * Added `thanks` variable * Use `parskip.sty` when `indent` isn't set (fall back to using `setlength` as before if `parskip.sty` isn't available). * Use `biblio-style` with biblatex. * Added `biblatexoptions` variable. * Added `section-titles` variable (defaults to true) to enable/suppress section title pages in beamer slide shows. * Moved beamer themes after fonts, so that themes can change fonts. (Previously the fonts set were being clobbered by lmodern.sty.)
* LaTeX template changes:John MacFarlane2015-12-03
| | | | | | | | - only pass options to color package if colorlinks is set - make definition of `\euro` conditional in xelatex/lualatex, as it is already for pdflatex (Andrew Dunning)
* latex template changes.John MacFarlane2015-11-20
| | | | | | | | | | | | | | | | | | | | | * Removed setting of `subject` in PDF metadata. This used to be set to the subtitle, but really the subtitle need not give the subject. Also, `subtitle` can contain formatting, so we'd need, at least, a plain text version for this. * Moved `header-includes` before setting of `\title`, `\author`, etc. This allows these macros to be redefined. * Use `\subtitle` command for `subtitle`, instead of tacking it on to the title as before. We give a no-op fallback definition if it is not defined. This change should produce much better results in classes that support `\subtitle`. With the default article class, which does not define `\subtitle`, subtitles will no longer be printed unless the user defines `\subtitle` and redefines `\maketitle`. * Moved redefinitions of `\paragraph` and `\subparagraph` to before header-includes.
* Updated tests for template changes.John MacFarlane2015-11-12
|
* Updated tests for latex/context template changes.John MacFarlane2015-10-20
|
* Updated tests for template changes.John MacFarlane2015-10-18
|
* Fixed tests for template changes.John MacFarlane2015-10-13
|
* Removed xltxtra, xunicode from LaTeX template.John MacFarlane2015-10-10
| | | | | | Thanks Andrew Dunning. Updated tests and changelog.
* Updated tests for changes to latex template.John MacFarlane2015-10-04
|
* Updated latex writer tests for last template change.John MacFarlane2015-06-27
|
* LaTeX template: Move hyperref before polyglossia.John MacFarlane2015-05-27
| | | | | | This avoids an error "Please load package hyperref before bidi package, and then try to run xelatex on your document again". See jgm/pandoc-templates #96.
* Test updates for 15d16e84567ca74c18448c60a2499e484581798f.John MacFarlane2015-05-04
|
* Fixed tests for change to latex template.John MacFarlane2015-05-02
|
* Merge branch 'latex-tightlist' of https://github.com/jlduran/pandoc into ↵John MacFarlane2015-04-17
|\ | | | | | | | | | | | | jlduran-latex-tightlist Conflicts: data/templates
| * LaTeX writer: Use a declaration for tight listsJose Luis Duran2014-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, pandoc has hard-coded the following in order to make tight lists in LaTeX: ```hs text "\\itemsep1pt\\parskip0pt\\parsep0pt" ``` Which is fine, but does not allow customizations. For example, the `memoir` class already has a `\tightlist` declaration for this purpose: ```tex \newcommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} ``` I'm proposing to use a similar solution: ```diff @@ In Writers/LaTeX.hs: -then text "\\itemsep1pt\\parskip0pt\\parsep0pt" +then text "\\tightlist" @@ In templates/default.latex: +\newcommand{\tightlist}{% + \setlength{\itemsep}{1pt}\setlength{\parskip}{0pt}\setlength{\parsep}{0pt}} ``` This allows us to customize the tightness to our needs. Backward Compatibility If a person is using a custom LaTeX template (not based upon the `memoir` class), the `\tightlist` declaration must be added.
* | LaTeX template: redefine `\paragraph`, `\subparagraph`...John MacFarlane2015-04-17
| | | | | | | | to behave more like section headers. Closes #1658.
* | LaTeX template: include grffile together with graphicx.John MacFarlane2015-04-13
| | | | | | | | | | This properly handles filenames containing spaces and dots. Closes #2074.
* | Append newline to the LineBreak of various writersTim Lin2015-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change improves output formatting of content with a large amount of force line breaks, such as line-blocks. The following writers are affected: * Dokuwiki * HTML * EPUB (via HTML) * LaTeX * MediaWiki * OpenDocument * Texinfo This commit resolves #1924
* | Improved texorpdfstring patch #1148.John MacFarlane2014-12-15
| | | | | | | | | | | | * Make LaTeX reader recognize texorpdfstring. * Don't use texorpdfstring unless it's actually needed. * Fix tests.
* | Merge branch 'use-texorpdfstring' of https://github.com/wilx/pandoc into ↵John MacFarlane2014-12-15
|\ \ | | | | | | | | | | | | | | | | | | | | | wilx-use-texorpdfstring Conflicts: src/Text/Pandoc/Writers/LaTeX.hs tests/Tests/Writers/LaTeX.hs
| * | Update tests suite to expect \texorpdfstring.Vaclav Zeman2014-02-13
| | |
* | | Escape spaces. Fixes jgm/pandoc#1694.Bjorn Buckwalter2014-10-15
| | |
* | | Updated tests for #1616 change.John MacFarlane2014-09-09
| |/ |/|
* | LaTeX writer: Make Horizontal Rules more flexibleJose Luis Duran2014-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, pandoc has hard-coded the following in order to make horizontal rules in LaTeX: ```hs "\\begin{center}\\rule{3in}{0.4pt}\\end{center}" ``` Which is fine, but does not allow customizations. It also does not take into consideration the current line width. I'm proposing this change: ```diff @@ In Writers/LaTeX.hs: -"\\begin{center}\\rule{3in}{0.4pt}\\end{center}" +"\\begin{center}\\rule{0.5\\linewidth}{\\linethickness}\\end{center}" ```
* | Updated tests.John MacFarlane2014-08-20
| |
* | LaTeX writer: use \(..\) instead of $..$ for inline math.John MacFarlane2014-07-29
| | | | | | | | Closes #1464.
* | LaTeX writer: Use \nolinkurl in email autolinks.John MacFarlane2014-07-15
| | | | | | | | | | | | This allows them to be styled using `\urlstyle{tt}`. Thanks to Ulrike Fischer for the solution.
* | Updated tests for template changes.John MacFarlane2014-05-06
| |
* | Updated tests for new LaTeX template.John MacFarlane2014-04-30
| |
* | Revised tests for new latex template.John MacFarlane2014-02-20
|/
* Some test suite fixes for new metadata.John MacFarlane2013-06-25
|
* LaTeX writer: Always create labels for sections.John MacFarlane2013-06-02
| | | | | | | Previously the labels were only created when there were links to the section in the document. Closes #871.
* Updated tests for template changes.John MacFarlane2013-05-07
|
* Updated tests for changes in LaTeX template.John MacFarlane2013-04-26
|
* Updated tests for latex template change (microtype).John MacFarlane2013-02-27
|
* LaTeX template: Use `\urlstyle{same}` to avoid monospace URLs.John MacFarlane2013-01-21
|
* LaTeX test updates for latest changes to template & h-k.John MacFarlane2013-01-19
|
* Updated tests for tight/loose lists.John MacFarlane2013-01-07
| | | | | | Taking into account new context/latex output, and fixing some bugs in the test suite Tests.Helpers and Tests.Writers.ConTeXt. (We had the wrong order of expected/actual in the diff output.)
* Don't put the text of an autolink in Code font.John MacFarlane2013-01-06
|
* LaTeX writer: Don't rely on the enumerate package.John MacFarlane2012-09-16
| | | | Instead, use standard LaTeX commands to change numbering style.
* LaTeX writer: Properly escape strings inside \url{}.John MacFarlane2012-09-16
| | | | Closes #576.
* LaTeX writer: don't escape _ in url.John MacFarlane2012-09-15
|
* Updated tests for changes in LaTeX template.John MacFarlane2012-06-08
|
* Updated tests for changes in LaTeX changes.John MacFarlane2012-06-05
|
* Updated tests for changes in latex template.John MacFarlane2012-06-05
|
* Updated test suite.John MacFarlane2012-06-03
|
* LaTeX writer: More consistent interblock spacing.John MacFarlane2012-05-14
|