summaryrefslogtreecommitdiff
path: root/tests/writer.latex
Commit message (Collapse)AuthorAge
* 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
|
* Improved spacing around LaTeX block environments.John MacFarlane2012-04-30
| | | | verbatim, itemize, description, enumerate.
* LaTeX writer: Fixed spacing in quote environments.John MacFarlane2012-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | Closes #502. Previously you'd get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~ Now we get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~
* Updated latex writer tests for new template.John MacFarlane2012-04-28
|
* LaTeX writer: Use fixltx2e package to provide '\textsubscript'.John MacFarlane2012-04-21
|
* LaTeX writer: don't use eurosym package unless document has a €.John MacFarlane2012-04-03
|
* Added PDF metadata (title,author) in LaTeX standalone + PDF output.John MacFarlane2012-03-25
| | | | Closes #459.
* Updated tests for euro-related template changes.John MacFarlane2012-03-07
|
* Fixed LaTeX writer tests for last patch.John MacFarlane2012-03-03
|
* Updated latex tests.John MacFarlane2011-12-30
|
* Added 'beamer' as an output format.John MacFarlane2011-12-29
| | | | | | | | | Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
* Changes to tests for new latex templates.John MacFarlane2011-07-30
|
* Use different hyperref options for xetex.John MacFarlane2011-07-23
| | | | | This fixes problems with unicode bookmarks on xetex. Thanks to CircleCode.