aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.latex
AgeCommit message (Collapse)AuthorFilesLines
2015-02-04Append newline to the LineBreak of various writersTim Lin1-1/+2
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
2014-12-15Improved texorpdfstring patch #1148.John MacFarlane1-34/+28
* Make LaTeX reader recognize texorpdfstring. * Don't use texorpdfstring unless it's actually needed. * Fix tests.
2014-12-15Merge branch 'use-texorpdfstring' of https://github.com/wilx/pandoc into ↵John MacFarlane1-32/+40
wilx-use-texorpdfstring Conflicts: src/Text/Pandoc/Writers/LaTeX.hs tests/Tests/Writers/LaTeX.hs
2014-10-15Escape spaces. Fixes jgm/pandoc#1694.Bjorn Buckwalter1-1/+1
2014-09-09Updated tests for #1616 change.John MacFarlane1-0/+1
2014-08-28LaTeX writer: Make Horizontal Rules more flexibleJose Luis Duran1-13/+13
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}" ```
2014-08-20Updated tests.John MacFarlane1-1/+4
2014-07-29LaTeX writer: use \(..\) instead of $..$ for inline math.John MacFarlane1-6/+6
Closes #1464.
2014-07-15LaTeX writer: Use \nolinkurl in email autolinks.John MacFarlane1-1/+2
This allows them to be styled using `\urlstyle{tt}`. Thanks to Ulrike Fischer for the solution.
2014-05-06Updated tests for template changes.John MacFarlane1-2/+2
2014-04-30Updated tests for new LaTeX template.John MacFarlane1-16/+6
2014-02-20Revised tests for new latex template.John MacFarlane1-1/+1
2014-02-13Update tests suite to expect \texorpdfstring.Vaclav Zeman1-32/+40
2013-06-25Some test suite fixes for new metadata.John MacFarlane1-0/+1
2013-06-02LaTeX writer: Always create labels for sections.John MacFarlane1-31/+32
Previously the labels were only created when there were links to the section in the document. Closes #871.
2013-05-07Updated tests for template changes.John MacFarlane1-5/+14
2013-04-26Updated tests for changes in LaTeX template.John MacFarlane1-1/+3
2013-02-27Updated tests for latex template change (microtype).John MacFarlane1-2/+2
2013-01-21LaTeX template: Use `\urlstyle{same}` to avoid monospace URLs.John MacFarlane1-0/+1
2013-01-19LaTeX test updates for latest changes to template & h-k.John MacFarlane1-0/+2
2013-01-07Updated tests for tight/loose lists.John MacFarlane1-0/+29
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.)
2013-01-06Don't put the text of an autolink in Code font.John MacFarlane1-2/+1
2012-09-16LaTeX writer: Don't rely on the enumerate package.John MacFarlane1-24/+34
Instead, use standard LaTeX commands to change numbering style.
2012-09-16LaTeX writer: Properly escape strings inside \url{}.John MacFarlane1-1/+1
Closes #576.
2012-09-15LaTeX writer: don't escape _ in url.John MacFarlane1-1/+1
2012-06-08Updated tests for changes in LaTeX template.John MacFarlane1-1/+1
2012-06-05Updated tests for changes in LaTeX changes.John MacFarlane1-8/+7
2012-06-05Updated tests for changes in latex template.John MacFarlane1-15/+15
2012-06-03Updated test suite.John MacFarlane1-16/+12
2012-05-14LaTeX writer: More consistent interblock spacing.John MacFarlane1-5/+15
2012-04-30Improved spacing around LaTeX block environments.John MacFarlane1-3/+42
verbatim, itemize, description, enumerate.
2012-04-30LaTeX writer: Fixed spacing in quote environments.John MacFarlane1-6/+6
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-28Updated latex writer tests for new template.John MacFarlane1-0/+2
2012-04-21LaTeX writer: Use fixltx2e package to provide '\textsubscript'.John MacFarlane1-2/+3
2012-04-03LaTeX writer: don't use eurosym package unless document has a €.John MacFarlane1-1/+0
2012-03-25Added PDF metadata (title,author) in LaTeX standalone + PDF output.John MacFarlane1-0/+6
Closes #459.
2012-03-07Updated tests for euro-related template changes.John MacFarlane1-0/+3
2012-03-03Fixed LaTeX writer tests for last patch.John MacFarlane1-1/+1
2011-12-30Updated latex tests.John MacFarlane1-2/+6
2011-12-29Added 'beamer' as an output format.John MacFarlane1-1/+1
Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
2011-07-30Changes to tests for new latex templates.John MacFarlane1-6/+5
2011-07-23Use different hyperref options for xetex.John MacFarlane1-1/+8
This fixes problems with unicode bookmarks on xetex. Thanks to CircleCode.
2011-07-23LaTeX writer: New template.John MacFarlane1-4/+4
2011-07-22Updated tests for new latex templates.John MacFarlane1-3/+14
2011-07-22LaTeX writer: Use \texttt and escapes instead of \verb!..!.John MacFarlane1-7/+10
\verb is simply too fragile; it doesn't work inside command arguments.
2011-07-21LaTeX reader & writer: Use \and to separate authors.John MacFarlane1-1/+1
Closes #279.
2011-07-19LaTeX writer: make verbatim environments flush to avoid extra space.John MacFarlane1-2/+2
The indented `\end{verbatim}` was causing an extra blank line in the output. Closes #277.
2011-02-11LaTeX writer: Changed figure defaults to htbp.John MacFarlane1-1/+1
This prevents "too many unprocessed floats." Resolves Issue #285.
2011-01-26Distinguish latex & context environments; blank line after in writers.John MacFarlane1-0/+1
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane1-1/+0
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.