aboutsummaryrefslogtreecommitdiff
path: root/tests/lhs-test.latex+lhs
AgeCommit message (Collapse)AuthorFilesLines
2015-04-17Merge branch 'latex-tightlist' of https://github.com/jlduran/pandoc into ↵John MacFarlane1-0/+2
jlduran-latex-tightlist Conflicts: data/templates
2015-04-17LaTeX template: redefine `\paragraph`, `\subparagraph`...John MacFarlane1-0/+6
to behave more like section headers. Closes #1658.
2014-12-15Improved texorpdfstring patch #1148.John MacFarlane1-1/+1
* 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-1/+1
wilx-use-texorpdfstring Conflicts: src/Text/Pandoc/Writers/LaTeX.hs tests/Tests/Writers/LaTeX.hs
2014-09-01LaTeX writer: Use a declaration for tight listsJose Luis Duran1-0/+2
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.
2014-08-20More test updates.John MacFarlane1-1/+4
2014-06-01Updated tests for c8bc70a6bb12e0fbfadadb9480efafb3be4f11a5.John MacFarlane1-0/+1
2014-05-06Updated tests for template changes.John MacFarlane1-4/+2
2014-02-20Revised tests for new latex template.John MacFarlane1-1/+1
2014-02-13Update tests suite to expect \texorpdfstring.Vaclav Zeman1-1/+1
2013-09-01Use registerHeader in RST and LaTeX readers.John MacFarlane1-1/+1
This will give automatic unique identifiers, unless `-auto_identifiers` is specified.
2013-06-25Some test suite fixes for new metadata.John MacFarlane1-0/+1
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-26RST writer: Use `.. code:: language` for code blocks with language.John MacFarlane1-2/+2
Closes #721. Also fixed whitespace in lhs tests.
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
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/+17
2012-06-03Updated test suite.John MacFarlane1-15/+12
2012-05-14LaTeX writer: More consistent interblock spacing.John MacFarlane1-0/+1
2012-04-30Improved spacing around LaTeX block environments.John MacFarlane1-0/+1
verbatim, itemize, description, enumerate.
2012-04-30LaTeX writer: Fixed spacing in quote environments.John MacFarlane1-1/+0
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-0/+1
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
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-22Updated tests for new latex templates.John MacFarlane1-3/+14
2011-07-22LaTeX writer: Use \texttt and escapes instead of \verb!..!.John MacFarlane1-4/+5
\verb is simply too fragile; it doesn't work inside command arguments.
2011-01-21latex template: move special treatment of \sout.John MacFarlane1-2/+0
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-06LHS test changes for new wrapping & highlighting-kate version.John MacFarlane1-5/+5
2010-12-13Disabled colored boxes around cites in latex template.Nathan Gass1-1/+1
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-01-05LaTeX template: always include hyperref package.fiddlosopher1-0/+1
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
2010-01-02Latex template: only show \author if there are some...fiddlosopher1-1/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1789 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Updated lhs tests.fiddlosopher1-2/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1741 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Updated test suites: regular paragraph before block quote.fiddlosopher1-1/+3
Note: rst writer doesn't handle block quote after code block properly. Ideally it would insert an empty comment to reset indentation. But this is not desirable in general before code blocks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1540 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-07Added tests for lhs writers.fiddlosopher1-0/+36
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1537 788f1e2b-df1e-0410-8736-df70ead52e1b