jgm / pandoc

Universal markup converter
https://pandoc.org
Other
34.49k stars 3.37k forks source link

ICML Writer - Support new table features #6615

Open lrosenthol opened 4 years ago

lrosenthol commented 4 years ago

Add support for new table features introduced in

jgm/pandoc-types#66

including table attributes (including identifier), rowspan, colspan, table head and foot, multiple header lines, row headers, captions that allow block-level content and include an optional short caption.

danlobo02 commented 4 years ago

Is this the right thread relating to implementing support for colspan and rowspan in both a read and write capacity.

More expressive types for tables (#1024, Christian Despres). Tables can now take attributes; and rowspans and colspans, column headers, multiple row headers, table head and foot can all be represented. (Note, however, that reader and writer support for these features is still lacking, so most users won’t see any differences in table conversion yet. These changes just lay the foundation for further improvements.)

We are currently using pandoc on a production site but we are having an issue where we cannot convert html tables that implement either rowspan and colspan to either open office, word or pdf documents

lrosenthol commented 4 years ago

@danlobo02 this is the issue only for the ICML writer.

There are other issues for supporting the features in OpenOffice, Word and LaTex (which is how you are getting to PDF, I assume).

danlobo02 commented 4 years ago

ok.

Thanks for the quick response!

Do you know where these issues exist or is it worth creating a new one? I did have a quick look but could only find this one. I would be certainly interesting to know what sort of timescale we are looking at?

Yes we are currently using wkhtmltopdf and setting with --pdf-engine=wkhtmltopdf

I guess it may be possible to remove pandoc as a pdf dependency here.

lrosenthol commented 4 years ago

For Word, the issue to track is https://github.com/jgm/pandoc/issues/6315

For HTML, the issue to track is https://github.com/jgm/pandoc/issues/6314