* Latex Tables Linewrapping
@ 2015-11-24 9:56 meisterkugelmehl-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <97bf6974-8489-4969-a4b0-618af9e5df82-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: meisterkugelmehl-Re5JQEeQqe8AvxtiuMwx3w @ 2015-11-24 9:56 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1259 bytes --]
Hello there,
I intended to use markdown/pandoc for technical documentation automatically
publishing docx, pdf and html versions. Trouble is that text in table cells
didn't get wrapped in docx and latex output, so up to 90% of a table lay
outside the page. Is there an easy solution to this? I know about
multiline/grid tables, however I find them rather unhandy.
I was thinking about writing a patch that makes pandoc produce something
like this:
\usepackage{tabularx}
[...]
\begin{tabularx}{\linewidth}{ X [...] }
[...]
This would result in equally-sized line-wrapped columns, which isn't always ideal but much better than what I get now. What do you guys think?
Regards
M
--
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/97bf6974-8489-4969-a4b0-618af9e5df82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1797 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Latex Tables Linewrapping
[not found] ` <97bf6974-8489-4969-a4b0-618af9e5df82-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-11-24 18:35 ` John MACFARLANE
[not found] ` <20151124183536.GA43383-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: John MACFARLANE @ 2015-11-24 18:35 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
What version are you using? From the changelog for 1.15.2:
+ Pipe tables with long lines now get relative cell widths (#2471).
If a pipe table contains a line longer than the column width (as set by
`--columns` or 80 by default), relative widths are computed based on the
widths of the separator lines relative to the column width. This should
solve persistent problems with long pipe tables in LaTeX/PDF output, and
give more flexibility for determining relative column widths in other
formats, too. For narrower pipe tables, column widths of 0 are used,
telling pandoc not to specify widths explicitly in output formats that
permit this.
+++ meisterkugelmehl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [Nov 24 15 01:56 ]:
> Hello there,
> I intended to use markdown/pandoc for technical documentation
> automatically publishing docx, pdf and html versions. Trouble is that
> text in table cells didn't get wrapped in docx and latex output, so up
> to 90% of a table lay outside the page. Is there an easy solution to
> this? I know about multiline/grid tables, however I find them rather
> unhandy.
> I was thinking about writing a patch that makes pandoc produce
> something like this:
>\usepackage{tabularx}
>[...]
>\begin{tabularx}{\linewidth}{ X [...] }
>[...]
>This would result in equally-sized line-wrapped columns, which isn't always idea
>l but much better than what I get now. What do you guys think?
>Regards
>M
>
> --
> 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/97bf6974-8489-4969-
> a4b0-618af9e5df82%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/97bf6974-8489-4969-a4b0-618af9e5df82-/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: Latex Tables Linewrapping
[not found] ` <20151124183536.GA43383-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
@ 2015-11-25 8:58 ` meisterkugelmehl-Re5JQEeQqe8AvxtiuMwx3w
0 siblings, 0 replies; 3+ messages in thread
From: meisterkugelmehl-Re5JQEeQqe8AvxtiuMwx3w @ 2015-11-25 8:58 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 649 bytes --]
So it's already there, thanks for the answer!
I was using a distro binary...
--
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/8582e9d2-1534-45ad-ad8d-7a91f3e2277b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1072 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-25 8:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24 9:56 Latex Tables Linewrapping meisterkugelmehl-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <97bf6974-8489-4969-a4b0-618af9e5df82-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-11-24 18:35 ` John MACFARLANE
[not found] ` <20151124183536.GA43383-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2015-11-25 8:58 ` meisterkugelmehl-Re5JQEeQqe8AvxtiuMwx3w
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).