From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32911 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: docx output: how to set tables columns width, starting with pipe table? Date: Sat, 1 Jul 2023 13:05:53 -0700 Message-ID: <8BFA7781-9075-468C-A887-A62F138EF8F3@gmail.com> References: <266B2BB1-A4B1-416F-815A-DEE9EB4D2B11@gmail.com> <79613221-EDCB-4626-9EA7-563B66F73EC8@gmail.com> <480DA686-525F-4E99-933C-DF82F266A6DC@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32624"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBI4OQKSQMGQERHG5POI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jul 01 22:05:59 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f59.google.com ([209.85.161.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qFgr1-0008Ey-GQ for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 01 Jul 2023 22:05:59 +0200 Original-Received: by mail-oo1-f59.google.com with SMTP id 006d021491bc7-563693e552bsf2794651eaf.0 for ; Sat, 01 Jul 2023 13:05:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688241958; cv=pass; d=google.com; s=arc-20160816; b=NFXhqZx1IHiSIP1UN1JVHXXZS5KQFv1dt0ex5pnzGup6PYheErkqzJq/13lwk/AqNq 40e3/9eumH82g1qTEWmnmBvFKoy5yu12zcgfEoRx87UWIoAKuE2+ck24Sl8PelZdnKpE Crvc1DoQKmzHQJSinfL1VzQ73ReCxZpeG83O8r+Fe4DQCbbH+n7zJRWMZro5BWdovcL8 jZiYGLAU4BOOn+T/b6Dn5biVLtMt2T39xUIV9bBN/FrdN+uqBh6AziHEqOh4FrqorPUb tzu9UNFKv/f71S1GzS6jkFrzVn5N6rMxaiAg7S6Hn8Yo6COIfKg0mca/ib5MC2JsEckh TgKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=NZDFQUNEgK/lhi05LuC7TsCRo41Y3ez9s4v3jLLI1I0=; fh=A7KGSvm30SBY9b2v+N53j+lkchMNZtkZbRzF4WqsV70=; b=lXEsUtyHaY8r0kRhuO6oL2piVQxBKv1ir7u+masrb6kyb/F/JanNc11FcTEFxwkV4u HF1Y4q3+CG2wRf0msDLsPHH3TyOE9FZ7Ldju9DNbWY6AheZHFgcNcfzrffg0RyZxrleU pYOvkFEUyDQbfOopL3XzcU9OGgJ4GQVK8NNILzfT10CRU2u3YyKZkM+bY9YjuiVYD8sm ARye6NMurP6Fpr8cjUHbIGjAu1/wGHowPd1jwbBCjyR/hVqkdUcA41KEBWMiQsgKrRBU tejFV3BLkdvfs8602z08zbD0XFqk2+Dcn23CatGGCDtg7UrOrNE5DrZbqerlojl9nVwR WJ3A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=p8JYrnK4; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::435 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1688241958; x=1690833958; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=NZDFQUNEgK/lhi05LuC7TsCRo41Y3ez9s4v3jLLI1I0=; b=d65G0eyPRsJ344yGq3owjL5o6TUe+6qlF79ntUutP6ZTy3rlOrWDj3DDeFd2x2AAqv pnurrx5U/OCW1bLYEJ/l6RIrlWmFP/Vpwd8DxYSKbJHl2RZVVLSm9RK4mdWN0h1zj3ye 0rTKHEpKQ01sTPIk4y0a3YXtxb3WrOL6lRp8FJAAoZc+uua8DwHfYGrHT0C7nycxkzCq f6UotXZJdWoKJDwRnHN2dApWQeVMbFdm0BT2zJgOMY22O1evXJxdEGru5Jv5qwiitC7A OOVgJonSOJUIt0nQDBvNZ2npM/AQN7f7Je6mG DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688241958; x=1690833958; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=NZDFQUNEgK/lhi05LuC7TsCRo41Y3ez9s4v3jLLI1I0=; b=Qt7CUrEJ4U/aJxuGBXhSeUzLnSkb9R2CsTla6OMFS573VJIAsRiv2RIMV4MkaieUeG J9v6hp9I8yiekf0c8jjBnU7ne5H0+qMmCXq1H+o+r4o22XqOPyTrRCxZrWGhkg0KpOBw NaIZweKmpO14BpaiKUgoTkoNcH9EO9jP7rIbYUReEfbvlHIu3r+uzBU5owabzrbGwSjo jLCcvd4Mg6s4andAQTOzPyyo6iBXDQ0symm8+HPcKrWaytVlWoR1J2fTKENBsZjFWkXq bwWl+5bToYma+x2XasHEbB/Y8Lu5HsANeK9kYsdL6tIWxmngoD7 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688241958; x=1690833958; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=NZDFQUNEgK/lhi05LuC7TsCRo41Y3ez9s4v3jLLI1I0=; b=N0m1erDac89uMk2VMp8MVLAyRxa8VoiVtQ78wJc7TjzajyMWKdUypXJy9khh/jaUPd 3ltL/3lgk5lDjrMMOUOSgT5JFTwF/7Wwuhsq114I8qElBWkrIxaG4toFYm35MiZUZ+4l evr+M4TVu+M84OfG8YE/AV7sY0vlbSzpAFwjwGe0RPfn3cEHTGAXnWAI7IErpdd9BkKT k3CTpykRP/LrRpvogQ8Zg39VbLsj5Dl2lDQIlQuJ5hIxkwKYjrYkdY+p8T Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDzjtcH0g6uXrPInYJZo1JzTsRPkXt1K1YdtiMOrI0RUATUuWj8P kwdk05u6DY5OshPrfJMdQGQ= X-Google-Smtp-Source: ACHHUZ6aRDLK91kGfFEfRSPlrQvZrcrMgC8hJHHoCd3wb1kkehxf+PjPthelZVf0h/AshrmwDy0y3g== X-Received: by 2002:a4a:5292:0:b0:565:a7bd:3917 with SMTP id d140-20020a4a5292000000b00565a7bd3917mr5744396oob.5.1688241958389; Sat, 01 Jul 2023 13:05:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6820:449:b0:565:bb37:9f5e with SMTP id p9-20020a056820044900b00565bb379f5els3181708oou.2.-pod-prod-07-us; Sat, 01 Jul 2023 13:05:55 -0700 (PDT) X-Received: by 2002:a05:6808:2202:b0:3a1:cb5c:44fd with SMTP id bd2-20020a056808220200b003a1cb5c44fdmr9207409oib.57.1688241955600; Sat, 01 Jul 2023 13:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688241955; cv=none; d=google.com; s=arc-20160816; b=M7hNISJXSkZbaczDyubjap5683XM5PBrn9WI2dYzlHkCBz0SSBca20Vwcyd4Qo2pKE lIlxoeA8PFbJ+jlI6uCjnbGyRVNaCn+rFsrftdEmcJii4Un8TduKh4kve2nkBkDDBpcA HeTywCSJW2xrRmz0Rf1yHigJTFdx38ppkq4j6HRNW7ZDaog6U/Kyvkbd3Lhck9vV7s7y WYHfZkC6a1JpesWpBWe+LjgYAbm6QqL8zVrxo+VEH0w2vrUWW+AvRxccprnC/yVLfsJ8 tIekv5vKHaliWCxuMSGnUwIRmKjCWvJnPgfwrOlB3Wod5yAgowvUKNa1yKpv+ZmVPu1/ 0gQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=ERS7PIHr7T9PZAp+03MdZaMVmjFxndPVE86ekDO0kZc=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=aQ3wpIVLUfDiJuBPNM6JPIzxCTB/KmLf0Sow2tf9mp3p96kQ4BtbBUpNK7tD6tfRj/ 189GsZWeKnM7LV+KROYU3uy1O7n31x+TTh7raHJW2FE8YP7R2GZ/NLnN/3WzowFlEoJ3 20+D14lsfhEUVeOjj4vdqDc9ESv2RokNV4j5cDX5cFarX9HgrIqcUJt94K5WjdYhh0Wn 4HfrMwYfluqnAXB98jPC1RSoMdYF1zrKY7rw7GuuKFz/qWpDi1tvw1CuG4TSy+0eOrU4 FEjrt0M+T9b102aOrlrfJ5aVTCyFHmkN5ppIfNDCkIqQp/8MWUx0xO2cT5QxuWrvP2b8 7Yxg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=p8JYrnK4; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::435 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com. [2607:f8b0:4864:20::435]) by gmr-mx.google.com with ESMTPS id h15-20020a4ae8cf000000b00565ef8db272si248008ooe.0.2023.07.01.13.05.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Jul 2023 13:05:55 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::435 as permitted sender) client-ip=2607:f8b0:4864:20::435; Original-Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-666e5f0d60bso1578451b3a.3 for ; Sat, 01 Jul 2023 13:05:55 -0700 (PDT) X-Received: by 2002:a05:6a00:84c:b0:681:3ed2:b493 with SMTP id q12-20020a056a00084c00b006813ed2b493mr5424965pfk.26.1688241954454; Sat, 01 Jul 2023 13:05:54 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:d427:2e4d:a832:6136]) by smtp.gmail.com with ESMTPSA id g19-20020aa78193000000b0065dd1e7c2c1sm9516836pfi.63.2023.07.01.13.05.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Jul 2023 13:05:53 -0700 (PDT) In-Reply-To: <480DA686-525F-4E99-933C-DF82F266A6DC-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=p8JYrnK4; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::435 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32911 Archived-At: I've pushed a fix to the repository. > On Jul 1, 2023, at 12:51 PM, John MacFarlane wro= te: >=20 > OK, I've figured out the problem. >=20 > From the documentation: >=20 > Layout/Width > Whether a table uses a fixed width or autofit method for laying out the t= able contents is specified with the element within the element. If is omitted, autofit is assumed. >=20 > > > >=20 > Adding this w:tblLayout element fixes it. I will change the writer accor= dingly. >=20 >=20 >=20 >> On Jul 1, 2023, at 9:32 AM, andy wrote: >>=20 >> Hi John, >>=20 >> On Sat, 1 Jul 2023 at 18:26, John MacFarlane wr= ote: >> I had missed your message about Office. No, haven't tried with Office, p= robably an issue with Office's ODT import. >>=20 >> I do not run any ODT import. I create a docx starting from the md I have= shared, running `pandoc -s input.md -o output.docx`. >> Then I open it in office 365 and I have the wrong columns width. If I op= en the docx in LibreOffice I have the right columns width. >>=20 >> Could you share your docx output? >>=20 >> Thank you >>=20 >>=20 >> --=20 >> ___________________ >>=20 >> Andrea Borruso >> website: https://medium.com/tantotanto >> 38=C2=B0 7' 48" N, 13=C2=B0 21' 9" E, EPSG:4326 >> ___________________ >>=20 >> "cercare e saper riconoscere chi e cosa, >> in mezzo all=E2=80=99inferno, non =C3=A8 inferno,=20 >> e farlo durare, e dargli spazio" >>=20 >> Italo Calvino >>=20 >> --=20 >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/CAHEdGZOm9Ss2u_K-Sto2LAjc5dFWj47L_9vLT2oYMkcvEZ9Waw%40mai= l.gmail.com. >=20 --=20 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 e= mail 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/8BFA7781-9075-468C-A887-A62F138EF8F3%40gmail.com.