public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Pipe table content does not wrap in PDF
@ 2023-10-23 13:17 'Martin Ehlers' via pandoc-discuss
       [not found] ` <6d691fee-0237-4680-bfa1-ac220f46e116n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: 'Martin Ehlers' via pandoc-discuss @ 2023-10-23 13:17 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi All,

According to the Pandoc User's Guide, for pipe tables, "if any line of the 
markdown source is longer than the column width, then the table will take 
up the full text width and the cell contents will wrap, with the relative 
cell widths determined by the number of dashes in the line separating the 
table header from the table body."

However when I am converting markdown to PDF using LaTeX, content is not 
wrapped, and content exceeding the PDF page width is truncated instead. I 
have tried with different column and cell widths. Is this is a known issue, 
or do I miss something?

Kind Regards
Martin

-- 
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/6d691fee-0237-4680-bfa1-ac220f46e116n%40googlegroups.com.

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

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

* Re: Pipe table content does not wrap in PDF
       [not found] ` <6d691fee-0237-4680-bfa1-ac220f46e116n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-10-23 16:14   ` John MacFarlane
       [not found]     ` <1C6CF7A8-5918-4E83-9D09-14C6B40F38D3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: John MacFarlane @ 2023-10-23 16:14 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Are any of the lines of your markdown pipe table longer than column width (e.g. 78 columns)?  IF not, this feature doesn't kick in.

> On Oct 23, 2023, at 6:17 AM, 'Martin Ehlers' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
> 
> Hi All,
> 
> According to the Pandoc User's Guide, for pipe tables, "if any line of the markdown source is longer than the column width, then the table will take up the full text width and the cell contents will wrap, with the relative cell widths determined by the number of dashes in the line separating the table header from the table body."
> 
> However when I am converting markdown to PDF using LaTeX, content is not wrapped, and content exceeding the PDF page width is truncated instead. I have tried with different column and cell widths. Is this is a known issue, or do I miss something?
> 
> Kind Regards
> Martin
> 
> -- 
> 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/6d691fee-0237-4680-bfa1-ac220f46e116n%40googlegroups.com.

-- 
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/1C6CF7A8-5918-4E83-9D09-14C6B40F38D3%40gmail.com.


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

* Re: Pipe table content does not wrap in PDF
       [not found]     ` <1C6CF7A8-5918-4E83-9D09-14C6B40F38D3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2023-10-24  8:07       ` 'Martin Ehlers' via pandoc-discuss
  2023-10-24  8:10       ` 'Martin Ehlers' via pandoc-discuss
  2023-10-24  8:15       ` 'Martin Ehlers' via pandoc-discuss
  2 siblings, 0 replies; 10+ messages in thread
From: 'Martin Ehlers' via pandoc-discuss @ 2023-10-24  8:07 UTC (permalink / raw)
  To: pandoc-discuss


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

Yes, some lines are longer than the column width. This is the command I use 
to create the PDF:

pandoc config_guide.md --wrap=auto --ascii --from=gfm+pipe_tables 
--output=Config_Guide.pdf

I have also tried other wrap options. Please find a screenshot of one of 
the truncated tables in the PDF attached.

Kind Regards
Martin

John MacFarlane schrieb am Montag, 23. Oktober 2023 um 18:14:18 UTC+2:

> Are any of the lines of your markdown pipe table longer than column width 
> (e.g. 78 columns)? IF not, this feature doesn't kick in.
>
> > On Oct 23, 2023, at 6:17 AM, 'Martin Ehlers' via pandoc-discuss <
> pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
> > 
> > Hi All,
> > 
> > According to the Pandoc User's Guide, for pipe tables, "if any line of 
> the markdown source is longer than the column width, then the table will 
> take up the full text width and the cell contents will wrap, with the 
> relative cell widths determined by the number of dashes in the line 
> separating the table header from the table body."
> > 
> > However when I am converting markdown to PDF using LaTeX, content is not 
> wrapped, and content exceeding the PDF page width is truncated instead. I 
> have tried with different column and cell widths. Is this is a known issue, 
> or do I miss something?
> > 
> > Kind Regards
> > Martin
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/6d691fee-0237-4680-bfa1-ac220f46e116n%40googlegroups.com
> .
>
>

-- 
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/5e3c6aff-bc95-4b0d-8b5b-d9d46c28eeefn%40googlegroups.com.

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

[-- Attachment #2: pipe_table_truncated.jpg --]
[-- Type: image/jpeg, Size: 83930 bytes --]

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

* Re: Pipe table content does not wrap in PDF
       [not found]     ` <1C6CF7A8-5918-4E83-9D09-14C6B40F38D3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2023-10-24  8:07       ` 'Martin Ehlers' via pandoc-discuss
@ 2023-10-24  8:10       ` 'Martin Ehlers' via pandoc-discuss
       [not found]         ` <93d59e4d-d23e-4dca-ad50-80e970c7ba66n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2023-10-24  8:15       ` 'Martin Ehlers' via pandoc-discuss
  2 siblings, 1 reply; 10+ messages in thread
From: 'Martin Ehlers' via pandoc-discuss @ 2023-10-24  8:10 UTC (permalink / raw)
  To: pandoc-discuss


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

Yes, some lines are longer than the column width. This is the command I use 
to create the PDF:

pandoc config_guide.md --wrap=auto --ascii --from=gfm+pipe_tables 
--output=Config_Guide.pdf

Kind Regards
Martin

John MacFarlane schrieb am Montag, 23. Oktober 2023 um 18:14:18 UTC+2:

> Are any of the lines of your markdown pipe table longer than column width 
> (e.g. 78 columns)? IF not, this feature doesn't kick in.
>
> > On Oct 23, 2023, at 6:17 AM, 'Martin Ehlers' via pandoc-discuss <
> pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
> > 
> > Hi All,
> > 
> > According to the Pandoc User's Guide, for pipe tables, "if any line of 
> the markdown source is longer than the column width, then the table will 
> take up the full text width and the cell contents will wrap, with the 
> relative cell widths determined by the number of dashes in the line 
> separating the table header from the table body."
> > 
> > However when I am converting markdown to PDF using LaTeX, content is not 
> wrapped, and content exceeding the PDF page width is truncated instead. I 
> have tried with different column and cell widths. Is this is a known issue, 
> or do I miss something?
> > 
> > Kind Regards
> > Martin
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/6d691fee-0237-4680-bfa1-ac220f46e116n%40googlegroups.com
> .
>
>

-- 
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/93d59e4d-d23e-4dca-ad50-80e970c7ba66n%40googlegroups.com.

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

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

* Re: Pipe table content does not wrap in PDF
       [not found]     ` <1C6CF7A8-5918-4E83-9D09-14C6B40F38D3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2023-10-24  8:07       ` 'Martin Ehlers' via pandoc-discuss
  2023-10-24  8:10       ` 'Martin Ehlers' via pandoc-discuss
@ 2023-10-24  8:15       ` 'Martin Ehlers' via pandoc-discuss
  2 siblings, 0 replies; 10+ messages in thread
From: 'Martin Ehlers' via pandoc-discuss @ 2023-10-24  8:15 UTC (permalink / raw)
  To: pandoc-discuss


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

Yes, some lines are longer than the column width. This is the command I use 
to create the PDF:

pandoc config_guide.md --wrap=auto --ascii --from=gfm+pipe_tables 
--output=Config_Guide.pdf

Kind Regards
Martin

John MacFarlane schrieb am Montag, 23. Oktober 2023 um 18:14:18 UTC+2:

> Are any of the lines of your markdown pipe table longer than column width 
> (e.g. 78 columns)? IF not, this feature doesn't kick in.
>
> > On Oct 23, 2023, at 6:17 AM, 'Martin Ehlers' via pandoc-discuss <
> pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
> > 
> > Hi All,
> > 
> > According to the Pandoc User's Guide, for pipe tables, "if any line of 
> the markdown source is longer than the column width, then the table will 
> take up the full text width and the cell contents will wrap, with the 
> relative cell widths determined by the number of dashes in the line 
> separating the table header from the table body."
> > 
> > However when I am converting markdown to PDF using LaTeX, content is not 
> wrapped, and content exceeding the PDF page width is truncated instead. I 
> have tried with different column and cell widths. Is this is a known issue, 
> or do I miss something?
> > 
> > Kind Regards
> > Martin
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/6d691fee-0237-4680-bfa1-ac220f46e116n%40googlegroups.com
> .
>
>

-- 
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/bf27dbf0-a81a-4587-8eee-ce21737d22d6n%40googlegroups.com.

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

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

* Re: Pipe table content does not wrap in PDF
       [not found]         ` <93d59e4d-d23e-4dca-ad50-80e970c7ba66n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-10-24 17:14           ` John MacFarlane
       [not found]             ` <B97BA90B-F9E0-4B1E-92EB-CCEDBF4FFD1A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: John MacFarlane @ 2023-10-24 17:14 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Can you post the markdown source for the table?

> On Oct 24, 2023, at 1:10 AM, 'Martin Ehlers' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
> 
> Yes, some lines are longer than the column width. This is the command I use to create the PDF:
> 
> pandoc config_guide.md --wrap=auto --ascii --from=gfm+pipe_tables --output=Config_Guide.pdf
> 
> Kind Regards
> Martin
> 
> John MacFarlane schrieb am Montag, 23. Oktober 2023 um 18:14:18 UTC+2:
> Are any of the lines of your markdown pipe table longer than column width (e.g. 78 columns)? IF not, this feature doesn't kick in. 
> 
> > On Oct 23, 2023, at 6:17 AM, 'Martin Ehlers' via pandoc-discuss <pandoc-...@googlegroups.com> wrote: 
> > 
> > Hi All, 
> > 
> > According to the Pandoc User's Guide, for pipe tables, "if any line of the markdown source is longer than the column width, then the table will take up the full text width and the cell contents will wrap, with the relative cell widths determined by the number of dashes in the line separating the table header from the table body." 
> > 
> > However when I am converting markdown to PDF using LaTeX, content is not wrapped, and content exceeding the PDF page width is truncated instead. I have tried with different column and cell widths. Is this is a known issue, or do I miss something? 
> > 
> > Kind Regards 
> > Martin 
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6d691fee-0237-4680-bfa1-ac220f46e116n%40googlegroups.com. 
> 
> 
> -- 
> 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/93d59e4d-d23e-4dca-ad50-80e970c7ba66n%40googlegroups.com.

-- 
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/B97BA90B-F9E0-4B1E-92EB-CCEDBF4FFD1A%40gmail.com.


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

* Re: Pipe table content does not wrap in PDF
       [not found]             ` <B97BA90B-F9E0-4B1E-92EB-CCEDBF4FFD1A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2023-10-25 16:23               ` 'Martin Ehlers' via pandoc-discuss
       [not found]                 ` <a7dd3efe-aa22-4536-90a6-6ccadf314573n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: 'Martin Ehlers' via pandoc-discuss @ 2023-10-25 16:23 UTC (permalink / raw)
  To: pandoc-discuss


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

Sure, this is markdown source code for the table I had attached as a 
screenshot:

| NX-OS configuration                                                       
                                         | Variables applied               
                                                                            
                                                                | Variable 
& Constansts                                                               
                                                                            
              |
|--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| <pre>vlan 1523<br> name SAR-P_MDB_102_BIE_A<br> vn-segment 1001523</pre> 
                                          | <pre>vlan \<VLAN_ID\><br> name 
\<VLAN_NAME\><br> vn-segment \<VN_SEG\></pre>                               
                                                                 | 
<pre>VLAN:<br> - VLAN_ID: 1523<br> - VLAN_NAME: SAR-P_MDB_x02_BIE_A<br> - 
VN_SEG: 1001523</pre>                                                       
                        |
| <pre>interface nve1<br> member vni 1001523<br> multisite 
ingress-replication<br> mcast-group 239.100.200.101</pre> | <pre>interface 
\<INTERFACE_CATEGORY\>\<PORT\><br> member vni \<VNI\><br> multisite 
ingress-replication<br> mcast-group \<M_GROUP\></pre>                       
             | <pre>INTERFACE_NVE1:<br> INTERFACE-CATEGORY: nve (const)<br> 
PORT: 1 (const)<br> VNI: 1001523<br> MULTISITE_INGRESS_REPLICATION_FLAG: 
True<br> M_GROUP: 239.100.200.101</pre> |
| <pre>evpn<br> vni 1001523 l2<br> rd auto<br> route-target import auto<br> 
route-target export auto</pre>           | <pre>evpn<br> vni \<VNI\> 
\<VNI_TYPE\><br> rd \<ROUTE_DISTINGUISHER\><br> route-target import 
\<ROUTE_TARGET_IMPORT\><br> route-target export 
\<ROUTE_TARGET_EXPORT\></pre> | <pre>INTERFACE_NVE1:<br> 
INTERFACE-CATEGORY: nve (const)<br> PORT: 1 (const)<br> VNI: 1001523<br> 
M_GROUP: 239.100.200.101</pre>                                             
 |

I have the same issue with all tables exceeding the column width, also with 
simple text, i.e. without control statements like "<br>".

Kind Regards
Martin

John MacFarlane schrieb am Dienstag, 24. Oktober 2023 um 19:14:08 UTC+2:

> Can you post the markdown source for the table?
>
> > On Oct 24, 2023, at 1:10 AM, 'Martin Ehlers' via pandoc-discuss <
> pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
> > 
> > Yes, some lines are longer than the column width. This is the command I 
> use to create the PDF:
> > 
> > pandoc config_guide.md --wrap=auto --ascii --from=gfm+pipe_tables 
> --output=Config_Guide.pdf
> > 
> > Kind Regards
> > Martin
> > 
> > John MacFarlane schrieb am Montag, 23. Oktober 2023 um 18:14:18 UTC+2:
> > Are any of the lines of your markdown pipe table longer than column 
> width (e.g. 78 columns)? IF not, this feature doesn't kick in. 
> > 
> > > On Oct 23, 2023, at 6:17 AM, 'Martin Ehlers' via pandoc-discuss <
> pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: 
> > > 
> > > Hi All, 
> > > 
> > > According to the Pandoc User's Guide, for pipe tables, "if any line of 
> the markdown source is longer than the column width, then the table will 
> take up the full text width and the cell contents will wrap, with the 
> relative cell widths determined by the number of dashes in the line 
> separating the table header from the table body." 
> > > 
> > > However when I am converting markdown to PDF using LaTeX, content is 
> not wrapped, and content exceeding the PDF page width is truncated instead. 
> I have tried with different column and cell widths. Is this is a known 
> issue, or do I miss something? 
> > > 
> > > Kind Regards 
> > > Martin 
> > > 
> > > -- 
> > > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> > > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/6d691fee-0237-4680-bfa1-ac220f46e116n%40googlegroups.com. 
>
> > 
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/93d59e4d-d23e-4dca-ad50-80e970c7ba66n%40googlegroups.com
> .
>
>

-- 
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/a7dd3efe-aa22-4536-90a6-6ccadf314573n%40googlegroups.com.

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

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

* Re: Pipe table content does not wrap in PDF
       [not found]                 ` <a7dd3efe-aa22-4536-90a6-6ccadf314573n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-10-25 16:36                   ` John MacFarlane
       [not found]                     ` <5E4C2B79-FE4D-4D8E-9422-7C15DD5D1F63-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: John MacFarlane @ 2023-10-25 16:36 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Two issues:

1)  You're using gfm+pipe_tables, not pandoc's markdown.  The special treatment of relative column widths in pipe tables is a pandoc innovation, not something GFM implements, so it doesn't work with gfm+pipe_tables

2)  The raw HTML in the cells wouldn't pass  through to PDF anyway...



> On Oct 25, 2023, at 9:23 AM, 'Martin Ehlers' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
> 
> Sure, this is markdown source code for the table I had attached as a screenshot:
> 
> | NX-OS configuration                                                                                                | Variables applied                                                                                                                                                           | Variable & Constansts                                                                                                                                                         |
> |--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
> | <pre>vlan 1523<br> name SAR-P_MDB_102_BIE_A<br> vn-segment 1001523</pre>                                           | <pre>vlan \<VLAN_ID\><br> name \<VLAN_NAME\><br> vn-segment \<VN_SEG\></pre>                                                                                                | <pre>VLAN:<br> - VLAN_ID: 1523<br> - VLAN_NAME: SAR-P_MDB_x02_BIE_A<br> - VN_SEG: 1001523</pre>                                                                               |
> | <pre>interface nve1<br> member vni 1001523<br> multisite ingress-replication<br> mcast-group 239.100.200.101</pre> | <pre>interface \<INTERFACE_CATEGORY\>\<PORT\><br> member vni \<VNI\><br> multisite ingress-replication<br> mcast-group \<M_GROUP\></pre>                                    | <pre>INTERFACE_NVE1:<br> INTERFACE-CATEGORY: nve (const)<br> PORT: 1 (const)<br> VNI: 1001523<br> MULTISITE_INGRESS_REPLICATION_FLAG: True<br> M_GROUP: 239.100.200.101</pre> |
> | <pre>evpn<br> vni 1001523 l2<br> rd auto<br> route-target import auto<br> route-target export auto</pre>           | <pre>evpn<br> vni \<VNI\> \<VNI_TYPE\><br> rd \<ROUTE_DISTINGUISHER\><br> route-target import \<ROUTE_TARGET_IMPORT\><br> route-target export \<ROUTE_TARGET_EXPORT\></pre> | <pre>INTERFACE_NVE1:<br> INTERFACE-CATEGORY: nve (const)<br> PORT: 1 (const)<br> VNI: 1001523<br> M_GROUP: 239.100.200.101</pre>                                              |
> 
> I have the same issue with all tables exceeding the column width, also with simple text, i.e. without control statements like "<br>".
> 
> Kind Regards
> Martin
> 
> John MacFarlane schrieb am Dienstag, 24. Oktober 2023 um 19:14:08 UTC+2:
> Can you post the markdown source for the table? 
> 
> > On Oct 24, 2023, at 1:10 AM, 'Martin Ehlers' via pandoc-discuss <pandoc-...@googlegroups.com> wrote: 
> > 
> > Yes, some lines are longer than the column width. This is the command I use to create the PDF: 
> > 
> > pandoc config_guide.md --wrap=auto --ascii --from=gfm+pipe_tables --output=Config_Guide.pdf 
> > 
> > Kind Regards 
> > Martin 
> > 
> > John MacFarlane schrieb am Montag, 23. Oktober 2023 um 18:14:18 UTC+2: 
> > Are any of the lines of your markdown pipe table longer than column width (e.g. 78 columns)? IF not, this feature doesn't kick in. 
> > 
> > > On Oct 23, 2023, at 6:17 AM, 'Martin Ehlers' via pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: 
> > > 
> > > Hi All, 
> > > 
> > > According to the Pandoc User's Guide, for pipe tables, "if any line of the markdown source is longer than the column width, then the table will take up the full text width and the cell contents will wrap, with the relative cell widths determined by the number of dashes in the line separating the table header from the table body." 
> > > 
> > > However when I am converting markdown to PDF using LaTeX, content is not wrapped, and content exceeding the PDF page width is truncated instead. I have tried with different column and cell widths. Is this is a known issue, or do I miss something? 
> > > 
> > > Kind Regards 
> > > Martin 
> > > 
> > > -- 
> > > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6d691fee-0237-4680-bfa1-ac220f46e116n%40googlegroups.com. 
> > 
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/93d59e4d-d23e-4dca-ad50-80e970c7ba66n%40googlegroups.com. 
> 
> 
> -- 
> 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/a7dd3efe-aa22-4536-90a6-6ccadf314573n%40googlegroups.com.

-- 
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/5E4C2B79-FE4D-4D8E-9422-7C15DD5D1F63%40gmail.com.


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

* Re: Pipe table content does not wrap in PDF
       [not found]                     ` <5E4C2B79-FE4D-4D8E-9422-7C15DD5D1F63-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2023-10-26 14:03                       ` 'Martin Ehlers' via pandoc-discuss
  0 siblings, 0 replies; 10+ messages in thread
From: 'Martin Ehlers' via pandoc-discuss @ 2023-10-26 14:03 UTC (permalink / raw)
  To: pandoc-discuss


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

Using Pandoc's markdown instead of GFM indeed fixes the issue. Cell 
contents are wrapped now.

Thanks so much for your support!

Kind Regards
Martin

John MacFarlane schrieb am Mittwoch, 25. Oktober 2023 um 18:36:33 UTC+2:

> Two issues:
>
> 1) You're using gfm+pipe_tables, not pandoc's markdown. The special 
> treatment of relative column widths in pipe tables is a pandoc innovation, 
> not something GFM implements, so it doesn't work with gfm+pipe_tables
>
> 2) The raw HTML in the cells wouldn't pass through to PDF anyway...
>
>
>
> > On Oct 25, 2023, at 9:23 AM, 'Martin Ehlers' via pandoc-discuss <
> pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
> > 
> > Sure, this is markdown source code for the table I had attached as a 
> screenshot:
> > 
> > | NX-OS configuration | Variables applied | Variable & Constansts |
> > 
> |--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
> > | <pre>vlan 1523<br> name SAR-P_MDB_102_BIE_A<br> vn-segment 
> 1001523</pre> | <pre>vlan \<VLAN_ID\><br> name \<VLAN_NAME\><br> vn-segment 
> \<VN_SEG\></pre> | <pre>VLAN:<br> - VLAN_ID: 1523<br> - VLAN_NAME: 
> SAR-P_MDB_x02_BIE_A<br> - VN_SEG: 1001523</pre> |
> > | <pre>interface nve1<br> member vni 1001523<br> multisite 
> ingress-replication<br> mcast-group 239.100.200.101</pre> | <pre>interface 
> \<INTERFACE_CATEGORY\>\<PORT\><br> member vni \<VNI\><br> multisite 
> ingress-replication<br> mcast-group \<M_GROUP\></pre> | 
> <pre>INTERFACE_NVE1:<br> INTERFACE-CATEGORY: nve (const)<br> PORT: 1 
> (const)<br> VNI: 1001523<br> MULTISITE_INGRESS_REPLICATION_FLAG: True<br> 
> M_GROUP: 239.100.200.101</pre> |
> > | <pre>evpn<br> vni 1001523 l2<br> rd auto<br> route-target import 
> auto<br> route-target export auto</pre> | <pre>evpn<br> vni \<VNI\> 
> \<VNI_TYPE\><br> rd \<ROUTE_DISTINGUISHER\><br> route-target import 
> \<ROUTE_TARGET_IMPORT\><br> route-target export 
> \<ROUTE_TARGET_EXPORT\></pre> | <pre>INTERFACE_NVE1:<br> 
> INTERFACE-CATEGORY: nve (const)<br> PORT: 1 (const)<br> VNI: 1001523<br> 
> M_GROUP: 239.100.200.101</pre> |
> > 
> > I have the same issue with all tables exceeding the column width, also 
> with simple text, i.e. without control statements like "<br>".
> > 
> > Kind Regards
> > Martin
> > 
> > John MacFarlane schrieb am Dienstag, 24. Oktober 2023 um 19:14:08 UTC+2:
> > Can you post the markdown source for the table? 
> > 
> > > On Oct 24, 2023, at 1:10 AM, 'Martin Ehlers' via pandoc-discuss <
> pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: 
> > > 
> > > Yes, some lines are longer than the column width. This is the command 
> I use to create the PDF: 
> > > 
> > > pandoc config_guide.md --wrap=auto --ascii --from=gfm+pipe_tables 
> --output=Config_Guide.pdf 
> > > 
> > > Kind Regards 
> > > Martin 
> > > 
> > > John MacFarlane schrieb am Montag, 23. Oktober 2023 um 18:14:18 UTC+2: 
> > > Are any of the lines of your markdown pipe table longer than column 
> width (e.g. 78 columns)? IF not, this feature doesn't kick in. 
> > > 
> > > > On Oct 23, 2023, at 6:17 AM, 'Martin Ehlers' via pandoc-discuss <
> pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: 
> > > > 
> > > > Hi All, 
> > > > 
> > > > According to the Pandoc User's Guide, for pipe tables, "if any line 
> of the markdown source is longer than the column width, then the table will 
> take up the full text width and the cell contents will wrap, with the 
> relative cell widths determined by the number of dashes in the line 
> separating the table header from the table body." 
> > > > 
> > > > However when I am converting markdown to PDF using LaTeX, content is 
> not wrapped, and content exceeding the PDF page width is truncated instead. 
> I have tried with different column and cell widths. Is this is a known 
> issue, or do I miss something? 
> > > > 
> > > > Kind Regards 
> > > > Martin 
> > > > 
> > > > -- 
> > > > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> > > > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/6d691fee-0237-4680-bfa1-ac220f46e116n%40googlegroups.com. 
>
> > > 
> > > 
> > > -- 
> > > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> > > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/93d59e4d-d23e-4dca-ad50-80e970c7ba66n%40googlegroups.com. 
>
> > 
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/a7dd3efe-aa22-4536-90a6-6ccadf314573n%40googlegroups.com
> .
>
>

-- 
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/2f088d22-165a-4ded-9811-d93fcf01ce76n%40googlegroups.com.

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

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

* Re: Pipe table content does not wrap in PDF
@ 2023-10-24  8:21 'Ehlers, Martin (EXT)' via pandoc-discuss
  0 siblings, 0 replies; 10+ messages in thread
From: 'Ehlers, Martin (EXT)' via pandoc-discuss @ 2023-10-24  8:21 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Yes, some lines are longer than the column width. This is the command I use to create the PDF:

pandoc config_guide.md --wrap=auto --ascii --from=gfm+pipe_tables --output=Config_Guide.pdf

Kind Regards
Martin


-----Ursprüngliche Nachricht-----
Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von John MacFarlane
Gesendet: Montag, 23. Oktober 2023 18:14
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: [Externe E-Mail] Re: Pipe table content does not wrap in PDF

Are any of the lines of your markdown pipe table longer than column width (e.g. 78 columns)?  IF not, this feature doesn't kick in.
.

-- 
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/e878e1328ea34a2f8fd9e2a328ad4966%40bwi.de.


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

end of thread, other threads:[~2023-10-26 14:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 13:17 Pipe table content does not wrap in PDF 'Martin Ehlers' via pandoc-discuss
     [not found] ` <6d691fee-0237-4680-bfa1-ac220f46e116n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-23 16:14   ` John MacFarlane
     [not found]     ` <1C6CF7A8-5918-4E83-9D09-14C6B40F38D3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-10-24  8:07       ` 'Martin Ehlers' via pandoc-discuss
2023-10-24  8:10       ` 'Martin Ehlers' via pandoc-discuss
     [not found]         ` <93d59e4d-d23e-4dca-ad50-80e970c7ba66n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-24 17:14           ` John MacFarlane
     [not found]             ` <B97BA90B-F9E0-4B1E-92EB-CCEDBF4FFD1A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-10-25 16:23               ` 'Martin Ehlers' via pandoc-discuss
     [not found]                 ` <a7dd3efe-aa22-4536-90a6-6ccadf314573n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-25 16:36                   ` John MacFarlane
     [not found]                     ` <5E4C2B79-FE4D-4D8E-9422-7C15DD5D1F63-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-10-26 14:03                       ` 'Martin Ehlers' via pandoc-discuss
2023-10-24  8:15       ` 'Martin Ehlers' via pandoc-discuss
2023-10-24  8:21 'Ehlers, Martin (EXT)' via pandoc-discuss

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