aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/LaTeX
AgeCommit message (Collapse)AuthorFilesLines
2021-09-19Use babel, not polyglossia, with xelatex.John MacFarlane2-57/+6
Previously polyglossia worked better with xelatex, but that is no longer the case, so we simplify the code so that babel is used with all latex engines. This involves a change to the default LaTeX template.
2021-08-03LaTeX table writer: Increase column width precision (#7466)Peter Fabinski1-1/+1
In some cases, the rounding performed by the LaTeX table writer would introduce visible overrun outside the text area. This adds two more decimal places to the width values.
2021-06-21LaTeX writer: add strut at end of minipage if it contains...John MacFarlane1-2/+5
line breaks. Without them, the last line is shorter than it should be, at least in some cases.
2021-06-21LaTeX writer: always use a minipage for cells with line breaks...John MacFarlane1-2/+7
if width information is available. Otherwise the way we treat them can lead to content that overflows a cell. Closes #7393.
2021-06-05LaTeX writer: Fix regression in table header position.John MacFarlane1-3/+10
In recent versions the table headers were no longer bottom-aligned (if more than one line). This patch fixes that by using minipages for table headers in non-simple tables. Closes #7347.
2021-05-16LaTeX template: define commands for zero width non-joiner characterAlbert Krewinkel2-4/+6
Closes: #6639 The zero-width non-joiner character is used to avoid ligatures (e.g. in German).
2021-05-11LaTeX writer: better handling of line breaks in simple tables.John MacFarlane1-3/+1
Now we also handle the case where they're embedded in other elements, e.g. spans. Closes #7272.
2021-04-17Update to released unicode-collation, latest citeproc dev version.John MacFarlane1-1/+1
Update citeproc test.
2021-04-17Remove Text.Pandoc.BCP47 module.John MacFarlane1-4/+4
[API change] Use Lang from UnicodeCollation.Lang instead. This is a richer implementation of BCP 47.
2021-04-17Move getLang from BCP47 -> T.P.Writers.Shared.John MacFarlane1-58/+59
[API change]
2021-03-16Removed unused LANGUAGE pragmas.John MacFarlane1-1/+0
2021-03-02Split out T.P.Writers.LaTeX.Util.John MacFarlane1-0/+274
2021-03-02Split out T.P.Writers.LaTeX.Citation.John MacFarlane1-0/+181
2021-03-02Split out T.P.Writers.LaTeX.Lang.John MacFarlane1-0/+191
2021-01-08Update copyright notices for 2021 (#7012)Albert Krewinkel3-3/+3
2021-01-02LaTeX writer: revert table line height increase in 2.11.3.John MacFarlane1-1/+1
In 2.11.3 we started adding `\addlinespace`, which produced less dense tables. This wasn't an intentional change; I misunderstood a comment in the discussion leading up to the change. This commit restores the earlier default table appearance. Note that if you want a less dense table, you can use something like `\def\arraystretch{1.5}` in your header. Closes #6996.
2020-12-20LaTeX writer: support colspans and rowspans in tables. (#6950)Albert Krewinkel2-94/+209
Note that the multirow package is needed for rowspans. It is included in the latex template under a variable, so that it won't be used unless needed for a table.
2020-12-12LaTeX writer: extract table handling into separate module.Albert Krewinkel4-0/+343