The pandoc document model does support alignments in tables, and from a quick look at the source code, the docx writer seems to support alignment. Therefore I'd guess it's an issue with the html reader. Note that in pandoc the alignments are set by column, so I'm not sure if it could ever properly interpret html input in which every cell has an arbitrary alignment. I think your options are to switch to markdown for your input, whose tables pandoc understands properly, or write a filter that changes alignment settings of tables that have been read in from html. On Thu, Jan 8, 2015 at 12:01 PM, Matt Dawson wrote: > I am currently using pandoc to convert *html* to *docx* and unfortunately > the alignment of the html tables is not preserved in the docx output. I > have tried setting the alignment on the td and on the paragraph inside the > td but this alignment does not come through to the output docx file. > > I have tried using: > > > > and > > > > and > >

text here

> > is there anything i am missing or is this just not supported? Any > solutions or help would be very much appreciated. > > Thanks. > > Matt > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/8ce26c52-2502-4c4a-bcc5-9de9d0f62928%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAE4-1rXcYCSmPAjr8Nt60B-zOb4zQWFK8jZm9FBVHWRo54bZrA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.