aboutsummaryrefslogtreecommitdiff
path: root/test/tables
AgeCommit message (Collapse)Author
2022-01-28HTML writer: avoid duplicate "style" attributes on table cellsAlbert Krewinkel
Fixes: #7871
2021-09-21Use pretty-simple to format native output.John MacFarlane
Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.)
2021-08-03LaTeX table writer: Increase column width precision (#7466)Peter Fabinski
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 MacFarlane
line breaks. Without them, the last line is shorter than it should be, at least in some cases.
2021-06-05LaTeX writer: Fix regression in table header position.John MacFarlane
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-01-02LaTeX writer: revert table line height increase in 2.11.3.John MacFarlane
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 Krewinkel
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-11-24test/tables/*.native: normalized (#6888)Kolen Cheung
The 3 native table test cases are normalized so that it will looks exactly like it is written by some pandoc writers. Note that apart from white space normalization, it includes other normalization such as `[Str "Nordic countries"] to [Str "Nordic",Space,Str "countries"]`.
2020-11-19JATS writer: support advanced table featuresAlbert Krewinkel
2020-10-30Fix duplicate "class" attribute in HTML writerAndy Morris
2020-10-14Fix typos in comments, doc strings, error messages, and testsAlbert Krewinkel
Typos reported by https://fossies.org/linux/test/pandoc-master.tar.gz/codespell.html See: #6738
2020-09-13HTML writer: support intermediate table headersAlbert Krewinkel
Closes: #6314
2020-09-13HTML writer: support attributes on all table elementsAlbert Krewinkel
Add attributes to tbody and tr elements.
2020-09-12HTML writer: render table footers if presentAlbert Krewinkel
Part of: #6314
2020-09-10Support colspans and rowspans in HTML tables (#6644)Albert Krewinkel
* HTML writer: add support for row headers, colspans, rowspans * Add planet table tests See #6312