From: Matthew Pickering <matthewtpickering-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Table cell horizontal alignment (docx)
Date: Thu, 15 Jan 2015 12:45:57 +0000 [thread overview]
Message-ID: <CALuQ0m--3-RS9M9bc-9fkv64_ZvVWzvTpqhtDTwqrq6VL5cvHw@mail.gmail.com> (raw)
In-Reply-To: <d35eb586-e8ab-4a33-94d5-d9f68c1da8bc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
I opened an issue here. https://github.com/jgm/pandoc/issues/1881
On Thu, Jan 15, 2015 at 10:47 AM, Matt Dawson <matt.dawson84-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I have just ran a test using markdown as the input that includes a table
> with alignment:
>
> # Tables
> ## multi-line table example
>
> -------------------------------------------------------------
> Centered Default Right Left
> Header Aligned Aligned Aligned
> ----------- ------- --------------- -------------------------
> First row 12.0 Example of a row that
> spans multiple lines.
>
> Second row 5.0 Here's another one. Note
> the blank line between
> rows.
> -------------------------------------------------------------
>
>
> Pandoc successfully writes a docx output file that contains the table
> alignment. So this confirms your suspicions Mark that the issue lies with
> the html reader.
>
> Can i report this as a bug? How am i best to do about that?
>
> Matt
>
>
>
> On Wednesday, January 14, 2015 at 2:29:04 PM UTC, Matt Dawson wrote:
>>
>> Thanks for your input Mark.
>>
>> I have read up on the table alignment for markdown. This reminded me that
>> i wasn't including a <thead> in my html table in the input file. I have
>> added that and set the alignment for each column on the <th> but the
>> alignment still isn't brought through to the output docx :-(. The full
>> extent of my workflow involves:
>>
>> an editing team writing articles in Wordpress which i then export to a
>> single xml.
>> Run a python script on the xml to convert to multiple html files
>> Run pandoc on the html files to convert to docx and multiple other
>> formats.
>>
>> I can't ask the writing team to write in markdown and many of the articles
>> include tables. I need to be able to allow the writers to set the table
>> alignment themselves using tools they are familiar with.
>>
>> The only thing i can think of at the moment is look for a script to
>> convert my wordpress xml to markdown, however the first one i tried didn't
>> support markdown tables.
>>
>> 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/d35eb586-e8ab-4a33-94d5-d9f68c1da8bc%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2015-01-15 12:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-08 11:01 Matt Dawson
[not found] ` <8ce26c52-2502-4c4a-bcc5-9de9d0f62928-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-01-08 14:31 ` Mark Szepieniec
[not found] ` <CAE4-1rXcYCSmPAjr8Nt60B-zOb4zQWFK8jZm9FBVHWRo54bZrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-14 14:29 ` Matt Dawson
[not found] ` <d450007a-aec5-4793-a691-ee334eb19c60-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-01-15 10:47 ` Matt Dawson
[not found] ` <d35eb586-e8ab-4a33-94d5-d9f68c1da8bc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-01-15 12:45 ` Matthew Pickering [this message]
[not found] ` <CALuQ0m--3-RS9M9bc-9fkv64_ZvVWzvTpqhtDTwqrq6VL5cvHw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-15 15:17 ` Matt Dawson
[not found] ` <9e32a3c7-826d-4a55-9f57-962ffad1823e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-01-15 18:20 ` Mark Szepieniec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALuQ0m--3-RS9M9bc-9fkv64_ZvVWzvTpqhtDTwqrq6VL5cvHw@mail.gmail.com \
--to=matthewtpickering-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).