public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* [pipe_tables] Omitting column headers not possible?
@ 2015-06-19 16:51 kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
       [not found] ` <9aeb48fa-f29b-421f-9d9c-02f684ca155d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg @ 2015-06-19 16:51 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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



For simple_tables, grid_tables and multiline_tables it is possible to omit 
column headers. 

This is explicitly mentioned in the manpage for pandoc_markdown for the 
cases of simple_tables and and multiline_tables. It is *not* mentioned for 
grid_tables, but it still works when using this syntax:

+---------------+---------------------------+
| ![](rose.gif) | ![](../img_www/right.gif) |
+---------------+---------------------------+

Omitting headers does not work for pipe_tables. *(Or at least I didn’t find 
any way when varying the syntax.)*

It would be very cool, and be a very fast-to-type method to create a 
one-row-table if I could just use s.th. like…

-|-
![](rose.gif) | ![](../img_www/right.gif)

…and this would create a one-row, two column table. (Exact syntax needs to 
be discussed, though.)

Questions:

   1. Could the fact that omitting column headers for for grid_tables be 
   mentioned in the documentation? 
   2. Could it also be mentioned in the documentation that it doesn’t work 
   for pipe_tables? 
   3. What obstacles are there that prevent the support for header-less 
   pipe_tables? 

​

-- 
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/9aeb48fa-f29b-421f-9d9c-02f684ca155d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: [pipe_tables] Omitting column headers not possible?
       [not found] ` <9aeb48fa-f29b-421f-9d9c-02f684ca155d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-06-19 17:01   ` Daniel Staal
  2015-06-19 17:29     ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
  2015-06-19 20:44   ` [pipe_tables] " BP Jonsson
  1 sibling, 1 reply; 11+ messages in thread
From: Daniel Staal @ 2015-06-19 17:01 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

--As of June 19, 2015 9:51:56 AM -0700, kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org is 
alleged to have said:

> It would be very cool, and be a very fast-to-type method to create a
> one-row-table if I could just use s.th. like…
> -|-
> ![](rose.gif) | ![](../img_www/right.gif)
>
> …and this would create a one-row, two column table. (Exact syntax needs
> to be discussed, though.)
>
> Questions:
>   • Could the fact that omitting column headers for for grid_tables be
> mentioned in the documentation?
>   • Could it also be mentioned in the documentation that it doesn’t
> work for pipe_tables?
>   • What obstacles are there that prevent the support for header-less
> pipe_tables?

--As for the rest, it is mine.

I think one of the largest problems with ommiting the headers in pipe 
tables would be that the syntax would then look exactly like the syntax for 
line blocks, and would therefore be ambiguous about what needs to happen.

I'm actually not even sure it'd be clear to a human what you mean.  I know 
I have trouble seeing your example as a table.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

-- 
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/86BF6D13F33C29A8D0A3C0AC%40%5B192.168.1.50%5D.
For more options, visit https://groups.google.com/d/optout.


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

* Re: [pipe_tables] Omitting column headers not possible?
  2015-06-19 17:01   ` Daniel Staal
@ 2015-06-19 17:29     ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
       [not found]       ` <7de0a746-c96d-4c2a-8392-2cf4e8524cac-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg @ 2015-06-19 17:29 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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



Am Freitag, 19. Juni 2015 19:01:56 UTC+2 schrieb Daniel Staal:

--As of June 19, 2015 9:51:56 AM -0700, kurt.p...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org 
> <javascript:> is 
> alleged to have said: 
>
> > It would be very cool, and be a very fast-to-type method to create a 
> > one-row-table if I could just use s.th. like… 
> > -|- 
> > ![](rose.gif) | ![](../img_www/right.gif) 
> > 
> > …and this would create a one-row, two column table. (Exact syntax needs 
> > to be discussed, though.) 
> > 
> > Questions: 
> >   • Could the fact that omitting column headers for for grid_tables be 
> > mentioned in the documentation? 
> >   • Could it also be mentioned in the documentation that it doesn’t 
> > work for pipe_tables? 
> >   • What obstacles are there that prevent the support for header-less 
> > pipe_tables? 
>
> --As for the rest, it is mine. 
>
> I think one of the largest problems with ommiting the headers in pipe 
> tables would be that the syntax would then look exactly like the syntax 
> for 
> line blocks, and would therefore be ambiguous about what needs to happen. 
>
> I'm actually not even sure it'd be clear to a human what you mean.  I know 
> I have trouble seeing your example as a table. 
>
I used the most “lazy” syntax I could come up with.

Lazy pipe tables are also not so clear to humans (on first sight) what they 
mean… What about requiring initial and concluding pipes? Like that:

| ![](rose.gif) | ![](../img_www/right.gif) |

​

-- 
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/7de0a746-c96d-4c2a-8392-2cf4e8524cac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: [pipe_tables] Omitting column headers not possible?
       [not found]       ` <7de0a746-c96d-4c2a-8392-2cf4e8524cac-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-06-19 19:35         ` Wagner Macedo
       [not found]           ` <a5241231-b07b-42b1-ac15-21731d15e282-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Wagner Macedo @ 2015-06-19 19:35 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

According to http://pandoc.org/README.html#tables

"The header cannot be omitted. To simulate a headerless table, include a 
> header with blank cells."


So, instead of

|-----+-----|
| 12  | 12  |
| 123 | 123 |

write

|     |     |
|-----+-----|
| 12  | 12  |
| 123 | 123 |

I tested and worked as expected.

Em sexta-feira, 19 de junho de 2015 14:29:35 UTC-3, 
kurt.p...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org escreveu:
>
> Am Freitag, 19. Juni 2015 19:01:56 UTC+2 schrieb Daniel Staal:
>
> --As of June 19, 2015 9:51:56 AM -0700, kurt.p...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org is 
>> alleged to have said: 
>>
>> > It would be very cool, and be a very fast-to-type method to create a 
>> > one-row-table if I could just use s.th. like… 
>> > -|- 
>> > ![](rose.gif) | ![](../img_www/right.gif) 
>> > 
>> > …and this would create a one-row, two column table. (Exact syntax needs 
>> > to be discussed, though.) 
>> > 
>> > Questions: 
>> >   • Could the fact that omitting column headers for for grid_tables be 
>> > mentioned in the documentation? 
>> >   • Could it also be mentioned in the documentation that it doesn’t 
>> > work for pipe_tables? 
>> >   • What obstacles are there that prevent the support for header-less 
>> > pipe_tables? 
>>
>> --As for the rest, it is mine. 
>>
>> I think one of the largest problems with ommiting the headers in pipe 
>> tables would be that the syntax would then look exactly like the syntax 
>> for 
>> line blocks, and would therefore be ambiguous about what needs to happen. 
>>
>> I'm actually not even sure it'd be clear to a human what you mean.  I 
>> know 
>> I have trouble seeing your example as a table. 
>>
> I used the most “lazy” syntax I could come up with.
>
> Lazy pipe tables are also not so clear to humans (on first sight) what 
> they mean… What about requiring initial and concluding pipes? Like that:
>
> | ![](rose.gif) | ![](../img_www/right.gif) |
>
> ​
>

-- 
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/a5241231-b07b-42b1-ac15-21731d15e282%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: [pipe_tables] Omitting column headers not possible?
       [not found] ` <9aeb48fa-f29b-421f-9d9c-02f684ca155d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2015-06-19 17:01   ` Daniel Staal
@ 2015-06-19 20:44   ` BP Jonsson
       [not found]     ` <55847F36.9020905-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  1 sibling, 1 reply; 11+ messages in thread
From: BP Jonsson @ 2015-06-19 20:44 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Den 2015-06-19 18:51, kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org skrev:
> It would be very cool, and be a very fast-to-type method to create a
> one-row-table if I could just use s.th. like…
>
> -|-
> ![](rose.gif) | ![](../img_www/right.gif)
>
> …and this would create a one-row, two column table.

I just tested and adding a single pipe above those two lines does 
the trick!

     |
     -|-
     ![](rose.gif) | ![](../img_www/right.gif)

     <table>
     <tbody>
     <tr class="odd">
     <td align="left"><img src="rose.gif" alt="" /></td>
     <td align="left"><img src="../img_www/right.gif" alt="" /></td>
     </tr>
     </tbody>
     </table>

But personally I think it's both ugly and inscrutable,
I would at least start each of the three lines with a pipe! :-)

P.S:

Somewhat to my surprise even this works:

     |
     |-
     | This is a one-row, one-column table

     <table>
     <tbody>
     <tr class="odd">
     <td align="left">This is a one-row, one-column table</td>
     </tr>
     </tbody>
     </table>

Pandoc golf!  Who would have thought?! :-)

/bpj


-- 
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/55847F36.9020905%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

* Re: [pipe_tables] Omitting column headers not possible?
       [not found]     ` <55847F36.9020905-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-06-19 22:24       ` Wagner Macedo
       [not found]         ` <CAKGY2Pm7tuQs63Ud7Mbk_R5-r6OXem4bLJEuxHztsxU=qFHadQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Wagner Macedo @ 2015-06-19 22:24 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 2547 bytes --]

Well, this could be a bug, a good bug? ;-)

--
Wagner Macedo

On 19 June 2015 at 17:44, BP Jonsson <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org> wrote:

> Den 2015-06-19 18:51, kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org skrev:
>
>> It would be very cool, and be a very fast-to-type method to create a
>> one-row-table if I could just use s.th. like…
>>
>> -|-
>> ![](rose.gif) | ![](../img_www/right.gif)
>>
>> …and this would create a one-row, two column table.
>>
>
> I just tested and adding a single pipe above those two lines does the
> trick!
>
>     |
>     -|-
>     ![](rose.gif) | ![](../img_www/right.gif)
>
>     <table>
>     <tbody>
>     <tr class="odd">
>     <td align="left"><img src="rose.gif" alt="" /></td>
>     <td align="left"><img src="../img_www/right.gif" alt="" /></td>
>     </tr>
>     </tbody>
>     </table>
>
> But personally I think it's both ugly and inscrutable,
> I would at least start each of the three lines with a pipe! :-)
>
> P.S:
>
> Somewhat to my surprise even this works:
>
>     |
>     |-
>     | This is a one-row, one-column table
>
>     <table>
>     <tbody>
>     <tr class="odd">
>     <td align="left">This is a one-row, one-column table</td>
>     </tr>
>     </tbody>
>     </table>
>
> Pandoc golf!  Who would have thought?! :-)
>
> /bpj
>
>
> --
> 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/55847F36.9020905%40gmail.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/CAKGY2Pm7tuQs63Ud7Mbk_R5-r6OXem4bLJEuxHztsxU%3DqFHadQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 4393 bytes --]

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

* Re: [pipe_tables] Omitting column headers not possible?
       [not found]         ` <CAKGY2Pm7tuQs63Ud7Mbk_R5-r6OXem4bLJEuxHztsxU=qFHadQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-06-19 22:31           ` Daniel Staal
  0 siblings, 0 replies; 11+ messages in thread
From: Daniel Staal @ 2015-06-19 22:31 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

--As of June 19, 2015 7:24:48 PM -0300, Wagner Macedo is alleged to have 
said:

> Well, this could be a bug, a good bug? ;-)

--As for the rest, it is mine.

Not really a bug: It's just a pipe table with an empty header line, as far 
as I see.  The only 'bug' would be that there isn't a '<th></th>' in there, 
and even that would be debatable.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------


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

* Re: [pipe_tables] Omitting column headers not possible?
       [not found]           ` <a5241231-b07b-42b1-ac15-21731d15e282-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-06-19 22:56             ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
       [not found]               ` <4938bd61-5131-4fb9-b0b8-7281acce521a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg @ 2015-06-19 22:56 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

Thanks, Wagner -- that's a "good enough" method for me...  I had tried that 
even before, and it didn't work then. Probably I had some slight difference 
in syntax which I cannot remember now. 

I had read the manpage paragraphs about pipe_tables, a few times even, but 
didn't see this. Right now I tried to find the quoted sentence by running 
`man ~/.cabal/share/man5/pandoc_markdown.5` (because I have cabal-installed 
1.14.04), but this gives a manpage dated January 2013. Looks like I have to 
go online in the future in order to get the current documentation...

Thanks again.


Am Freitag, 19. Juni 2015 21:35:58 UTC+2 schrieb Wagner Macedo:
>
> According to http://pandoc.org/README.html#tables
>
> "The header cannot be omitted. To simulate a headerless table, include a 
>> header with blank cells."
>
>
> So, instead of
>
> |-----+-----|
> | 12  | 12  |
> | 123 | 123 |
>
> write
>
> |     |     |
> |-----+-----|
> | 12  | 12  |
> | 123 | 123 |
>
> I tested and worked as expected.
>
> Em sexta-feira, 19 de junho de 2015 14:29:35 UTC-3, 
> kurt.p...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org escreveu:
>>
>> Am Freitag, 19. Juni 2015 19:01:56 UTC+2 schrieb Daniel Staal:
>>
>> --As of June 19, 2015 9:51:56 AM -0700, kurt.p...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org is 
>>> alleged to have said: 
>>>
>>> > It would be very cool, and be a very fast-to-type method to create a 
>>> > one-row-table if I could just use s.th. like… 
>>> > -|- 
>>> > ![](rose.gif) | ![](../img_www/right.gif) 
>>> > 
>>> > …and this would create a one-row, two column table. (Exact syntax 
>>> needs 
>>> > to be discussed, though.) 
>>> > 
>>> > Questions: 
>>> >   • Could the fact that omitting column headers for for grid_tables be 
>>> > mentioned in the documentation? 
>>> >   • Could it also be mentioned in the documentation that it doesn’t 
>>> > work for pipe_tables? 
>>> >   • What obstacles are there that prevent the support for header-less 
>>> > pipe_tables? 
>>>
>>> --As for the rest, it is mine. 
>>>
>>> I think one of the largest problems with ommiting the headers in pipe 
>>> tables would be that the syntax would then look exactly like the syntax 
>>> for 
>>> line blocks, and would therefore be ambiguous about what needs to 
>>> happen. 
>>>
>>> I'm actually not even sure it'd be clear to a human what you mean.  I 
>>> know 
>>> I have trouble seeing your example as a table. 
>>>
>> I used the most “lazy” syntax I could come up with.
>>
>> Lazy pipe tables are also not so clear to humans (on first sight) what 
>> they mean… What about requiring initial and concluding pipes? Like that:
>>
>> | ![](rose.gif) | ![](../img_www/right.gif) |
>>
>> ​
>>
>

-- 
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/4938bd61-5131-4fb9-b0b8-7281acce521a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: [pipe_tables] Omitting column headers not possible?
       [not found]               ` <4938bd61-5131-4fb9-b0b8-7281acce521a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-06-19 23:29                 ` Wagner Macedo
       [not found]                   ` <CAKGY2P=2mnNyxogqHQixzpxo0wJWzYdEpqtaW4qJp=3rd2wzaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2015-06-22 21:20                 ` John MacFarlane
  1 sibling, 1 reply; 11+ messages in thread
From: Wagner Macedo @ 2015-06-19 23:29 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 2050 bytes --]

I think worths noting that the pipe table behavior was different in
versions < 1.14.
According to http://pandoc.org/releases.html#behavior-changes, on version
1.14, the pipe tables behavior changed:

Disallow headerless pipe tables (#1996), to conform to GFM and PHP Markdown
> Extra. Note: If you have been using headerless pipe tables, this change may
> cause existing tables to break.
>

--
Wagner Macedo

On 19 June 2015 at 19:56, <kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:

> Thanks, Wagner -- that's a "good enough" method for me...  I had tried
> that even before, and it didn't work then. Probably I had some slight
> difference in syntax which I cannot remember now.
>
> I had read the manpage paragraphs about pipe_tables, a few times even, but
> didn't see this. Right now I tried to find the quoted sentence by running
> `man ~/.cabal/share/man5/pandoc_markdown.5` (because I have cabal-installed
> 1.14.04), but this gives a manpage dated January 2013. Looks like I have to
> go online in the future in order to get the current documentation...
>
> Thanks again.
>
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/4938bd61-5131-4fb9-b0b8-7281acce521a%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/4938bd61-5131-4fb9-b0b8-7281acce521a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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/CAKGY2P%3D2mnNyxogqHQixzpxo0wJWzYdEpqtaW4qJp%3D3rd2wzaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 3497 bytes --]

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

* Re: [pipe_tables] Omitting column headers not possible?
       [not found]                   ` <CAKGY2P=2mnNyxogqHQixzpxo0wJWzYdEpqtaW4qJp=3rd2wzaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-06-20  0:10                     ` BP Jonsson
  0 siblings, 0 replies; 11+ messages in thread
From: BP Jonsson @ 2015-06-20  0:10 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 3409 bytes --]

Indeed I thought I remembered that headerless pipe tables had worked. This
explains. However it seems that (1) a single pipe is an acceptable header
line, and (2) an empty header line is ignored in output, which makes this
change acceptable to me. I wonder if the old behavior really broke anything
for anyone, other than them having to be mindful which data they fed to
which program -- but you should be mindful of that always anyway.
Den 20 jun 2015 01:29 skrev "Wagner Macedo" <wagnerluis1982-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:

> I think worths noting that the pipe table behavior was different in
> versions < 1.14.
> According to http://pandoc.org/releases.html#behavior-changes, on version
> 1.14, the pipe tables behavior changed:
>
> Disallow headerless pipe tables (#1996), to conform to GFM and PHP
>> Markdown Extra. Note: If you have been using headerless pipe tables, this
>> change may cause existing tables to break.
>>
>
> --
> Wagner Macedo
>
> On 19 June 2015 at 19:56, <kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:
>
>> Thanks, Wagner -- that's a "good enough" method for me...  I had tried
>> that even before, and it didn't work then. Probably I had some slight
>> difference in syntax which I cannot remember now.
>>
>> I had read the manpage paragraphs about pipe_tables, a few times even,
>> but didn't see this. Right now I tried to find the quoted sentence by
>> running `man ~/.cabal/share/man5/pandoc_markdown.5` (because I have
>> cabal-installed 1.14.04), but this gives a manpage dated January 2013.
>> Looks like I have to go online in the future in order to get the current
>> documentation...
>>
>> Thanks again.
>>
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pandoc-discuss/4938bd61-5131-4fb9-b0b8-7281acce521a%40googlegroups.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/4938bd61-5131-4fb9-b0b8-7281acce521a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> 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/CAKGY2P%3D2mnNyxogqHQixzpxo0wJWzYdEpqtaW4qJp%3D3rd2wzaw%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CAKGY2P%3D2mnNyxogqHQixzpxo0wJWzYdEpqtaW4qJp%3D3rd2wzaw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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/CAFC_yuROALh%3DbLHxs2pFU5GSYQJtKSmF6JhCFU7b%2BX60iy3VdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 5338 bytes --]

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

* Re: Omitting column headers not possible?
       [not found]               ` <4938bd61-5131-4fb9-b0b8-7281acce521a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2015-06-19 23:29                 ` Wagner Macedo
@ 2015-06-22 21:20                 ` John MacFarlane
  1 sibling, 0 replies; 11+ messages in thread
From: John MacFarlane @ 2015-06-22 21:20 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

+++ kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org [Jun 19 15 15:56 ]:
>   but didn't see this. Right now I tried to find the quoted sentence by
>   running `man ~/.cabal/share/man5/pandoc_markdown.5` (because I have
>   cabal-installed 1.14.04), but this gives a manpage dated January 2013.
>   Looks like I have to go online in the future in order to get the
>   current documentation...

Cabal doesn't provide a nice automatic way to install man
pages.  In some prior versions of pandoc I hacked something
into Setup.hs to install man pages, but I took it out again,
for reasons I can't really recall.   I should revisit this.


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

end of thread, other threads:[~2015-06-22 21:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-19 16:51 [pipe_tables] Omitting column headers not possible? kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
     [not found] ` <9aeb48fa-f29b-421f-9d9c-02f684ca155d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-06-19 17:01   ` Daniel Staal
2015-06-19 17:29     ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
     [not found]       ` <7de0a746-c96d-4c2a-8392-2cf4e8524cac-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-06-19 19:35         ` Wagner Macedo
     [not found]           ` <a5241231-b07b-42b1-ac15-21731d15e282-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-06-19 22:56             ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
     [not found]               ` <4938bd61-5131-4fb9-b0b8-7281acce521a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-06-19 23:29                 ` Wagner Macedo
     [not found]                   ` <CAKGY2P=2mnNyxogqHQixzpxo0wJWzYdEpqtaW4qJp=3rd2wzaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-20  0:10                     ` BP Jonsson
2015-06-22 21:20                 ` John MacFarlane
2015-06-19 20:44   ` [pipe_tables] " BP Jonsson
     [not found]     ` <55847F36.9020905-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-06-19 22:24       ` Wagner Macedo
     [not found]         ` <CAKGY2Pm7tuQs63Ud7Mbk_R5-r6OXem4bLJEuxHztsxU=qFHadQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-19 22:31           ` Daniel Staal

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