pandoc/data
Jose Luis Duran 9557eb6f8e LaTeX writer: Use a declaration for tight lists
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-09-01 05:08:24 +00:00
..
dzslides Moved all data files and templates to data/. 2012-12-29 18:14:29 -08:00
templates@a691447f08 LaTeX writer: Use a declaration for tight lists 2014-09-01 05:08:24 +00:00
epub.css Simplified margin fields in default epub CSS file. 2013-07-13 14:48:14 -07:00
LaTeXMathML.js Added --mathml option; removed Text.Pandoc.LaTeXMathML. 2010-03-18 06:45:56 +00:00
MathMLinHTML.js MathMLinHTML: Fix deprecation warning 2014-04-20 08:53:59 +02:00
reference.docx Docx writer: Bibliography entries get Bibliography style. 2014-08-23 20:52:09 -07:00
reference.odt reference.odt: Tidied styles.xml. 2014-01-02 12:54:33 -08:00
sample.lua Custom writers now work with --template. 2014-07-16 15:17:08 -07:00