From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31635 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Image references in a column break after one character Date: Sun, 23 Oct 2022 21:12:41 -0700 Message-ID: <9B3E6EF5-B9D2-47AF-BF28-DC2F06E54D55@gmail.com> References: <22b620a8-4869-4cd8-b040-a4c55d0ae521n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) 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="19168"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBPFB3CNAMGQE4X5EVLQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Oct 24 06:12:51 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pf1-f186.google.com ([209.85.210.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1omopU-0004nn-Qw for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 24 Oct 2022 06:12:48 +0200 Original-Received: by mail-pf1-f186.google.com with SMTP id o14-20020a056a00214e00b0056238ef46ebsf4082165pfk.2 for ; Sun, 23 Oct 2022 21:12:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666584767; cv=pass; d=google.com; s=arc-20160816; b=foniAuSNsPphb214iaiarEmF/QOqkr5o5qjlEKGskFfMJr3ZiLrlHPk7J2pV/qQ/oS bi0JozQdJSI81vPxUImG9zVuv1D8ydzcizCqJDstxPBVft9u0UcgdwGLBuFiBDjXsoaT cCK2SUIoEjHEQzwDAg9XQlESf0PjWtHH86+VHY9NLZpTtRO07bnMvSjvIJQdtf7znQfg UvkPdSCLAsTlZr2ZzDNZZrmFc4Ig6KrKudBki3fbU757xOf/GOOeUs3Ih3jmPRKagcJ2 boXrb8itdz8qX7HyF0aNJHQ8fJT5ZVeyWrZPPZlTbHblXAclL1NsGo2lbMLH6nJ+HmhM dfGw== 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=ns5T4hLa+spdFPGyG//MdG6eugwDACdDwt1wCnWcxX0=; b=yf+3KIrTe5O0RfZvPpg1tCGeKyjI1jQ5z0pvtc+1dtFWmr0PQNpoOKcSDwivyvU6NR QTe4pBkP40xhpUK/f75yZi2fyKaokJuSAu2iB19/iaQZE+QieXNsySOZ8aQp8h4NOMNt +Rtvx++y1CRg9Dn140J+dsOIvuaZ7xTFYbu+/t0Zi83ZAbyfdA5Fxr5ZQ6SQ8irh2QVv nSWeaemBJQ6zyYXv65mnnt34qtQvV9CS+a4/0AAmT529FIkURX5iMlfOFs7maEFIqD83 wGHb7v2pyq3VHTK0FPa8BUsIJrMbahWin5Q2xsnFRDZwJLWPbm3q9wN4Q6EDnp//WyA0 Cw8Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KN+rG9ZQ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42a 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=20210112; 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=ns5T4hLa+spdFPGyG//MdG6eugwDACdDwt1wCnWcxX0=; b=mcRfqkzM0WO44La7R2vzzms1TLk/f0wBKLtHc4Ne2cKdsi//Ng26sWt37KeEPgUOQL m3pB7jiJ+j4FHqcNqu2ss2/NuQAhg9X13XvPLUgI10CHNmIn68h/JZHdQ5CaMlcDih/e S1/uD6coLbJlrulYPgW1Eno3XOFsm14n5KjUskkJFb8ITxxx8+3u3PpfGgp1xn3Qq8XO g8Jv8Pte2HziE1h59g/QRI5ZmZdKeGyYdo2/55Bef2Tr4n1ezuk9zL+2ZP6qp/6YDZpD H/fkopxr9lMYRDpfBcLszRtIFp4tLQDYvs8KSEBpsE0D8MoOnsfhnwnKR4AS3llTx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=ns5T4hLa+spdFPGyG//MdG6eugwDACdDwt1wCnWcxX0=; b=mLOT+1GVYJKF4TmOGhwBfap8JtFfGJPYcGidVW2uyFZe6RSNauqbrP2jjPkj7Mhxyy RPEDwfZqvhxVWpGylwWnHn6uRhPcomLzPa8ttMd95bn3s9XWW7pIaivHMrXTMPeWmAIm wvA6tFXUssHwZfpW5nAXDcDPVUhHG6OzDZwMOM2bAYnR1G2rYRFxlHpMFzAkyBDSyg3r YHLfRytCC1E1Y+NegPwVnKvz6xZvRuIiHNWgN8qbjXi9+E3xuBXd9BhrIJ4KSOHTIrqg Wnv9rXwflIxHYpp9HjSvnnhGvPkzWPmTn5iG1aN4Mghnn6FQxRIURAinxdrMF4fRPlLU A X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=ns5T4hLa+spdFPGyG//MdG6eugwDACdDwt1wCnWcxX0=; b=zBdz2GVoZSFtJbHPlAdqUDb5gAuWUIGqcQwhuExe6XyHFD1/z8eQSoQSv5X2jh7rJi iko0Iv8pZ8G1zcUYdLoNtiWDk3ZchOgNFQbpU2uOm0iarBVNMcex8xIBnFkaheWdyVZz ABKKhvopxF7N3TJkzbLiNgA4vol3ym34RtorYlX9YLyGFxDxzdPk3vNbxVZpnF/kszMd jkuyahpMpzBIL1SQ41EMgHjS0grajtOFyX5+fM/rJL66FPuunf7TGelmiVf5LsfcO/IE 7rdfWpng/5sQIBUBZvM6 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf3Hmzt9bEfDm42kYC7vaHvLa4lAhnFUxWb9zLXV+ksglitVmb5a q1zpGkMAP0NBRwTNGdT/YPs= X-Google-Smtp-Source: AMsMyM6rAd+g7bm49kcyb7iPZFkZYXLuGWIDVVv+b7HYXTQengYeYra4tBJ0NcobXVgPH/+ad0hoNg== X-Received: by 2002:a05:6a00:b50:b0:566:917:e588 with SMTP id p16-20020a056a000b5000b005660917e588mr32044668pfo.2.1666584767302; Sun, 23 Oct 2022 21:12:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a63:2b45:0:b0:46e:c77e:ea84 with SMTP id r66-20020a632b45000000b0046ec77eea84ls2765816pgr.3.-pod-prod-gmail; Sun, 23 Oct 2022 21:12:44 -0700 (PDT) X-Received: by 2002:a63:2b53:0:b0:439:34d9:5d47 with SMTP id r80-20020a632b53000000b0043934d95d47mr26172404pgr.283.1666584763887; Sun, 23 Oct 2022 21:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666584763; cv=none; d=google.com; s=arc-20160816; b=ke3yJceVR9xeLDyGNiTa/bLhc+23GkGu5VeY4ox31PVXYVCFeqKj18RWbx6wf1lQrT FLKrDMuq4nqxzeMPWrp1qaXK//EXsCfZAj7nzCC2YKWTfC64Ov/walL+hpaI/496rfw2 7Bs6DHO6mjhO2any/e5EfPpa4DY4JH/IV3li73A5slbD7XyHpy4gT4Z9sZAMpZwVMxzd G/McCTrX7e/s6p6HMQCcU0Hi7mFplx7QXIlucGdVT5NIzNmzFLTddsvDGFh70pyiob2u WDNDZqMZxKFuXA2e9/FhBdZ6LTw7mcwo8fPGYmM2AI+TSwl0IJ0PVY9dKrvvCXqCRE0o RHJg== 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=fyZcB9stY6FW3RXrorFQl3PF2QEGA/fAoLZCircpc00=; b=dqN4TwYaeYyrE8vWIW1VZwNW0C4N3Zu9FJkww139Tym/csJEsaukGXveEIll0iUiDF 9BAaw5/EDdL0iYOYpqFwqmxRDtVzEC+slETeNPg83dKQMWOxWnrZtKB/G6bEWwzy0xWu coai3jjE2r8M2bZU2urggQNsko4k53akVVu4RUtjqsSU7E+bm7Ep1jQahKjcoSF7Fb5Z TMeqRiFQM+PczKQI6RQoxoQJHrb2l+IwPU74tZW7w3qKNEy4afJI/HJBKRVqpRBnYrPA /LhIAMsYMJCiPVD8IVImU/E4k0BHCkiIuvDMon6fDJmLOTLcoDA8OkjGpyGkybpWShjs 65Iw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KN+rG9ZQ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42a 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-x42a.google.com (mail-pf1-x42a.google.com. [2607:f8b0:4864:20::42a]) by gmr-mx.google.com with ESMTPS id n19-20020a637213000000b00423291dc756si1243937pgc.5.2022.10.23.21.12.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Oct 2022 21:12:43 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) client-ip=2607:f8b0:4864:20::42a; Original-Received: by mail-pf1-x42a.google.com with SMTP id g62so4010684pfb.10 for ; Sun, 23 Oct 2022 21:12:43 -0700 (PDT) X-Received: by 2002:a63:8548:0:b0:46e:c0de:9762 with SMTP id u69-20020a638548000000b0046ec0de9762mr11848468pgd.189.1666584763072; Sun, 23 Oct 2022 21:12:43 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:400:7c40:fd6d:e541:74ba:6aa8]) by smtp.gmail.com with ESMTPSA id s19-20020a17090ae69300b0020de216d0f7sm5233890pjy.18.2022.10.23.21.12.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Oct 2022 21:12:42 -0700 (PDT) In-Reply-To: <22b620a8-4869-4cd8-b040-a4c55d0ae521n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KN+rG9ZQ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42a 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:31635 Archived-At: Pandoc tries to preserve the relative column widths in the original table. = If you have table with a very narrow second column, pandoc will reproduce= that in a grid table (since the colmun widths in this format matter). One possible workaround would be to use a Lua filter to adjsut the column w= idths of Table elements after they are parsed. Another would be to alter the column widths of the source table. > On Oct 23, 2022, at 3:25 AM, Jan St=C3=BChler wr= ote: >=20 > Hello group. >=20 > I have been using > ``` > pandoc --reference-links --extract-media=3Ddir -o file.md file.docx > ``` > on a set of documents, each of those documents has many tables. Especiall= y those tables which have "only" images in the right column, pandoc will b= reak the image reference after one character. The image references can ther= efore not be found when converting the document back to docx. >=20 > ``` > +------------------------+---+------------------------------------------+ >=20 > | If the Home Screen is | ! | | >=20 > | locked, the | [ | | >=20 > | Examination button is | ] | | >=20 > | dimmed. Please first | [ | | >=20 > | click on Unlock and | 4 | | >=20 > | then click on | 8 | | >=20 > | Examination, | ] | | >=20 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= +=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ >=20 > ``` > I do not have that problem when passing `--wrap=3Dnone` to markdown, but = then all the lines in vim are unmanageably long. >=20 > `wrap=3Dpreserver|auto|none` with or without `--columns=3Dx` does not re= solve the one-character breaking issue. >=20 > Also, converting to `-t gfm` first and then converting `-f gfm -t markdow= n` still creates one-character line breaks. >=20 > Is there any way to define a minimum column width? >=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/22b620a8-4869-4cd8-b040-a4c55d0ae521n%40googlegroups.com. --=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/9B3E6EF5-B9D2-47AF-BF28-DC2F06E54D55%40gmail.com.