Pandoc: righe del tavolo lungo in Markdown-> I documenti PDF non ottengono la linea involucro

StackOverflow https://stackoverflow.com//questions/25037357

  •  21-12-2019
  •  | 
  •  

Domanda

Sto usando Pandoc per generare markdown-> documenti DOCX con un sacco di tavoli ma vorrebbe controllare meglio il layout.

Ora sto cercando di produrre Markdown-> PDF pure, ma ha incontrato problemi con l'uscita della tabella.

In DOCX, le righe lunghe con il testo sono semplicemente suddivise in più righe.Nel documento PDF questo non accade;Una riga è sempre una singola riga che non si avvolge nel margine destro, ma continua al di fuori della pagina.I flussi di testo del paragrafo normale in base al margine destro, quindi il problema non è probabilmente la dimensione della pagina.

Esempio Markdown:

This is text that flows according to the page limits. This is text that flows according to the page limits. This is text that flows according to the page limits. 
This is text that flows according to the page limits. This is text that flows according to the page limits. 

| Version | Date  | Comment |
|--------:|-------|---------|
| 1.0.0     | 07.04.2014 | This is a table row that does not flow with the page limits. This is a table row that does not flow with the page limits. |
| 2.0.0     | 07.04.2014 | This is a table row that does not flow with the page limits. This is a table row that does not flow with the page limits. |

This is text that flows according to the page limits. This is text that flows according to the page limits. This is text that flows according to the page limits. 
This is text that flows according to the page limits. This is text that flows according to the page limits. 
.

PDF risultante derentining pdf

Come posso abilitare la linea-wrapping in tabelle PDF?

È stato utile?

Soluzione

Le tabelle dei tubi non si avvolgono in uscita in lattice / PDF.Utilizzare tabelle multilinea o griglia, come descritto in Guida dell'utente PandoC .Questo ti darà anche il controllo su larghezze relative di colonne.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top