aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.latex
AgeCommit message (Collapse)AuthorFilesLines
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.
2011-01-21latex template: move special treatment of \sout.John MacFarlane1-2/+2
It needs to be inside the if(strikeout) condition, after the ulem package is imported; otherwise we try to renewcommand{\sout} when \sout isn't yet defined.
2011-01-19Fixed problem with strikout in LaTeX headers with hyperref.John MacFarlane1-0/+2
Added a command to the latex template to disable \sout inside pdf strings. Thanks to Joost Kremers for the fix.
2011-01-14LaTeX writer: Escape strings in \href{..}.John MacFarlane1-5/+5
Previously strings weren't escaped, so %5D would be interpreted as a LaTeX comment!
2010-12-19LaTeX writer: Modified to use Pretty.John MacFarlane1-72/+35
Improved footnote formatting, removed spurious blank lines.
2010-12-18LaTeX writer: Use \paragraph, \subparagraph for level 4,5 headers.John MacFarlane1-2/+2
2010-12-13Disabled colored boxes around cites in latex template.Nathan Gass1-1/+1
2010-10-24LaTeX & ConTeXt writers: escape [ and ] as {[} and {]}.John MacFarlane1-6/+6
This avoids unwanted interpretation as optional arguments in some contexts, which caused the brackets to silently disappear!
2010-07-20Added amssymb to default latex template.John MacFarlane1-1/+1
Resolves github Issue 1.
2010-07-20Made spacing at end of output more consistent.John MacFarlane1-1/+0
Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
2010-04-10Give LaTeX images a maximum width using the prelude onlyMax Bolingbroke1-0/+9
2010-03-17Revert "LaTeX writer: Add unique labels to figures."fiddlosopher1-1/+1
This reverts commit be344321227a33c9a3f3e2031b88045f5159d1ff. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1896 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-16LaTeX writer: Add unique labels to figures.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1895 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-16LaTeX writer: support figures with captions.fiddlosopher1-0/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1892 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-01LaTeX template: redefine labelwidth when using enumerate package.fiddlosopher1-0/+6
Otherwise the list labels (numbers) often extend past the left margin, which looks bad. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1858 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-05LaTeX template: always include hyperref package.fiddlosopher1-3/+3
It is used not just for links but for toc, section heading bookmarks, footnotes, etc. Also added unicode=true on hyperref options. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1795 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31LaTeX writer: Only require listings package if needed.fiddlosopher1-2/+0
That is, if literate Haskell code is used. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1759 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Updated latex writer tests to conform to recent changes.fiddlosopher1-12/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1740 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Fixed spacing in latex, context templates.fiddlosopher1-1/+0
Minor fixes in latex, context tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1707 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Add legacy-header to LaTeX template.fiddlosopher1-4/+9
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1680 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Revised LaTeX writer to use templates.fiddlosopher1-8/+14
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1675 788f1e2b-df1e-0410-8736-df70ead52e1b