public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Question about pipe table column width explanation in manual
@ 2022-07-15 10:16 A A
       [not found] ` <CAMwawgPT52tgVBDhJWyX=ttgSaQYqVS2y4Wc9w3DfX08yqMAPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: A A @ 2022-07-15 10:16 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Regarding pipe tables, the pandoc manual reads as follows:

If any line of the markdown source is longer than the column width (see
–columns), then the table will take up the full text width and the cell
contents will wrap (…)

The wording on this is quite unclear:

   - What is meant by “any line of the markdown source”? Does that include
   lines which are not part of the table itself?
   - What is meant by “the full text width”? Is it the width in the
   markdown source or the rendered version? Why should this have an impact on
   the table width?

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgPT52tgVBDhJWyX%3DttgSaQYqVS2y4Wc9w3DfX08yqMAPw%40mail.gmail.com.

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

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

* Re: Question about pipe table column width explanation in manual
       [not found] ` <CAMwawgPT52tgVBDhJWyX=ttgSaQYqVS2y4Wc9w3DfX08yqMAPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2022-07-16  7:52   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2022-07-16  7:52 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw



> On Jul 15, 2022, at 12:16 PM, A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
> Regarding pipe tables, the pandoc manual reads as follows:
> 
> If any line of the markdown source is longer than the column width (see –columns), then the table will take up the full text width and the cell contents will wrap (…)
> 
> The wording on this is quite unclear:
> 
> 	• What is meant by “any line of the markdown source”? Does that include lines which are not part of the table itself?


The source of the table is meant. If this confused you, feel free to submit a PR inserting "table's" before "markdown source."

> 	• What is meant by “the full text width”? Is it the width in the markdown source or the rendered version? Why should this have an impact on the table width?

The rendered version.  Table cells in the pandoc AST have widths which are represented as a fraction of the (rendered) text width.


-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9AFE0F49-CDAD-41DF-AE28-F22FF9AC70F3%40gmail.com.


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

end of thread, other threads:[~2022-07-16  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-15 10:16 Question about pipe table column width explanation in manual A A
     [not found] ` <CAMwawgPT52tgVBDhJWyX=ttgSaQYqVS2y4Wc9w3DfX08yqMAPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-16  7:52   ` John MacFarlane

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