public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Converting docx tables to markdown piped tables
@ 2017-08-24 20:04 tolot27
       [not found] ` <f2cbf749-c0df-4a5c-8ea2-1f47866256df-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: tolot27 @ 2017-08-24 20:04 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1075 bytes --]

Hi!

I just wonder why I cannot convert a docx table to a markdown piped table 
if I use the following command: pandoc -t markdown+pipe_tables

It only works if I convert it to markdown_mmd or markdown_phpextra but has 
the drawback that I get much more diffs compared with my original markdown 
document (which I have converted to docx for review purposes). Also the 
syntax of docx documents changes to the form using spans.

Did I understand the extension mechanism incorrectly?

--
Regards,
Mathias

-- 
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/f2cbf749-c0df-4a5c-8ea2-1f47866256df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1599 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Converting docx tables to markdown piped tables
       [not found] ` <f2cbf749-c0df-4a5c-8ea2-1f47866256df-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-08-25  1:09   ` John MACFARLANE
       [not found]     ` <20170825010922.GD77000-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MACFARLANE @ 2017-08-25  1:09 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Is it that you're getting a different kind of table?
Pandoc's Markdown supports several kinds of tables,
and the markdown writer tends to prefer the other
styles to pipe tables. So, if you want pipe tables,
you may have to disable the others: try

-t markdown-simple_tables-multiline_tables-grid_tables

+++ tolot27 [Aug 24 17 13:04 ]:
>   Hi!
>   I just wonder why I cannot convert a docx table to a markdown piped
>   table if I use the following command: pandoc -t markdown+pipe_tables
>   It only works if I convert it to markdown_mmd or markdown_phpextra but
>   has the drawback that I get much more diffs compared with my original
>   markdown document (which I have converted to docx for review purposes).
>   Also the syntax of docx documents changes to the form using spans.
>   Did I understand the extension mechanism incorrectly?
>   --
>   Regards,
>   Mathias
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/f2cbf749-c0df-4a5c-
>   8ea2-1f47866256df%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/f2cbf749-c0df-4a5c-8ea2-1f47866256df-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Converting docx tables to markdown piped tables
       [not found]     ` <20170825010922.GD77000-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
@ 2017-08-26 19:35       ` tolot27
  0 siblings, 0 replies; 3+ messages in thread
From: tolot27 @ 2017-08-26 19:35 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1596 bytes --]

Disabling the other table extensions works well, thanks!

On Friday, August 25, 2017 at 3:09:31 AM UTC+2, John MacFarlane wrote:
>
> Is it that you're getting a different kind of table? 
> Pandoc's Markdown supports several kinds of tables, 
> and the markdown writer tends to prefer the other 
> styles to pipe tables. So, if you want pipe tables, 
> you may have to disable the others: try 
>
> -t markdown-simple_tables-multiline_tables-grid_tables 
>
> +++ tolot27 [Aug 24 17 13:04 ]: 
> >   Hi! 
> >   I just wonder why I cannot convert a docx table to a markdown piped 
> >   table if I use the following command: pandoc -t markdown+pipe_tables 
> >   It only works if I convert it to markdown_mmd or markdown_phpextra but 
> >   has the drawback that I get much more diffs compared with my original 
> >   markdown document (which I have converted to docx for review 
> purposes). 
> >   Also the syntax of docx documents changes to the form using spans. 
> >   Did I understand the extension mechanism incorrectly? 

-- 
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/f173e540-94b7-4bb3-baec-9b4a9468ab6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2217 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-26 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-24 20:04 Converting docx tables to markdown piped tables tolot27
     [not found] ` <f2cbf749-c0df-4a5c-8ea2-1f47866256df-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-25  1:09   ` John MACFARLANE
     [not found]     ` <20170825010922.GD77000-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2017-08-26 19:35       ` tolot27

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).