From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31633 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jan_St=C3=BChler?= Newsgroups: gmane.text.pandoc Subject: Image references in a column break after one character Date: Sun, 23 Oct 2022 03:25:44 -0700 (PDT) Message-ID: <22b620a8-4869-4cd8-b040-a4c55d0ae521n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_12592_2125829374.1666520744185" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34625"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDXJPMHQZ4FRBNFN2SNAMGQEOPS4VVI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Oct 23 12:25:59 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f57.google.com ([209.85.210.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1omYB5-0008pE-Ml for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 23 Oct 2022 12:25:59 +0200 Original-Received: by mail-ot1-f57.google.com with SMTP id z3-20020a9d62c3000000b00662337f70c3sf2468613otk.4 for ; Sun, 23 Oct 2022 03:25:59 -0700 (PDT) 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-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=/EN+rbhmI6kGNApDXYSNGbJWyJZaBHQB4+KfrgXkpYM=; b=g2hfWh8f6ag/upHtOU5m8S/A5KYbVUDesNVXaFR3vISDSYnOUUxrvEd+zvIL9Y6CKY L5LnJWC05RJghAJwHA3SnPalLxNum31QIJL93kg80cL24wehRTZeFsmKFYa1hsWUI3dQ MT2fk/61rUiA9caSVBWhkQG2sYwTZofZIpsHTsIb79z4wt6rMGn7MwuK1NCwZPrtikwf tVEvUny/NW41X30ZGXJEzWCIVoKc6ZayYWEJki0RHZ6j+Hq68/N/KA7zSN0/2VMAHK60 eduo4z6tCY1S1EjA6h0lLamIfuI8ewVg3AslsDt6pyZs0YM/K0Z1DRNZ55TfYgTbossy HmmA== 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-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=/EN+rbhmI6kGNApDXYSNGbJWyJZaBHQB4+KfrgXkpYM=; b=dsaD0ENiMwJDlz6ttmLpg6ZSPx13Y4XteNGccCW2fTYkA2YWlftglswPUoZduH64eU 2Ksvq3Lc7Zkrp0Zo++h+Bl/p1ExL+1H0pYFGucsR09zOVk7wk441SvhH250Eh/Kkhy5X 1Le8fVDVG5cLjxzwUZP50KvLJFb8SvVKLfFj7IFcl1ZNhd6p/IxhjBpyrPPgZBELhWWR aLsSeLHxFXizsqxKKp69hePNLUf3vr6i93nQGaNbPiKAs/5/54ARaOWytI+LGNlsaz0p ixf8jREyf7+/APbigFfpjES8wOvZ+TVJro46IXNM/BRaNrrpNCiv6vjTTFndbL+pne/8 8p+w== 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-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=/EN+rbhmI6kGNApDXYSNGbJWyJZaBHQB4+KfrgXkpYM=; b=ZeK4prVlPS/+AoETuvoBcHKaof4rAzDlCRpoQV/mlm5t/MoLp2T4jRcZhvf1nbMyNK GR1YbuC2AoHDoBZrBymllE7XuQmQ+mmdAOEPoldAjTO6xmyYt9fZnObZMQcDqkb5NPjc NisuJ/4NErMDmtvtVc+pIqamc61wAFQkDtxM77F5PF2qiVsxjz/6ityDzLxa920Hk/Xm q6icVy+jHD0p7MRKL9Stw3st1UkrPDRI53K2lnHVsggEAjQX0Fr1nV/Ezdih8qok/OK9 Kjw0LAHRe+gbaLlSZo9TzISUqh+4C7TdXrgV3ng5Sf4RLNVXwMyjdHDedUBB7WE8NmZG krng== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf3Gc2zyCb0RezOYzIVYZ+1WhyqtCpuzbhYc0pdTuhG8jXAxEOai SumUdFVvkmWu25QB5QWsoaM= X-Google-Smtp-Source: AMsMyM56jvfcV6jKV3pqKZt/VLc8qqUxaBmJAustq2STLo5WaWE2lozx7ZqkXQuH6c0PA5V2YaOtWQ== X-Received: by 2002:a05:6870:c0ce:b0:132:a891:ebb8 with SMTP id e14-20020a056870c0ce00b00132a891ebb8mr16664231oad.73.1666520758606; Sun, 23 Oct 2022 03:25:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:d68e:b0:132:a931:6a46 with SMTP id z14-20020a056870d68e00b00132a9316a46ls2153248oap.9.-pod-prod-gmail; Sun, 23 Oct 2022 03:25:56 -0700 (PDT) X-Received: by 2002:a05:6870:2052:b0:132:7b2:2fe6 with SMTP id l18-20020a056870205200b0013207b22fe6mr17827737oad.98.1666520744938; Sun, 23 Oct 2022 03:25:44 -0700 (PDT) X-Original-Sender: jan.stuehler-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:31633 Archived-At: ------=_Part_12592_2125829374.1666520744185 Content-Type: multipart/alternative; boundary="----=_Part_12593_13772815.1666520744185" ------=_Part_12593_13772815.1666520744185 Content-Type: text/plain; charset="UTF-8" Hello group. I have been using ``` pandoc --reference-links --extract-media=dir -o file.md file.docx ``` on a set of documents, each of those documents has many tables. Especially those tables which have "only" images in the right column, pandoc will break the image reference after one character. The image references can therefore not be found when converting the document back to docx. ``` +------------------------+---+------------------------------------------+ | If the Home Screen is | ! | | | locked, the | [ | | | Examination button is | ] | | | dimmed. Please first | [ | | | click on Unlock and | 4 | | | then click on | 8 | | | Examination, | ] | | +========================+===+==========================================+ ``` I do not have that problem when passing `--wrap=none` to markdown, but then all the lines in vim are unmanageably long. `wrap=preserver|auto|none` with or without `--columns=x` does not resolve the one-character breaking issue. Also, converting to `-t gfm` first and then converting `-f gfm -t markdown` still creates one-character line breaks. Is there any way to define a minimum column width? -- 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/22b620a8-4869-4cd8-b040-a4c55d0ae521n%40googlegroups.com. ------=_Part_12593_13772815.1666520744185 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello group.

I have been using
```
<= font face=3D"Courier New">pandoc --reference-links --extract-media=3Ddir -o= file.md file.docx
```
on a set of documents, ea= ch of those documents has many tables. Especially those tables which have "= only" images in the right column,  pandoc will break the image referen= ce after one character. The image references can therefore not be found whe= n converting the document back to docx.

```
<= div>

+------------------------+---+-----------= -------------------------------+

| = If the Home Screen is  | ! |          &n= bsp;                     =           |

| locked, the            | [ |&nb= sp;                     &= nbsp;                   |=

| Examination button is  = ;| ] |                   =                     &nbs= p; |

| dimmed. Please first&nb= sp;  | [ |               =                     &nbs= p;     |

| click on = Unlock and    | 4 |           =                     &nbs= p;         |

| then click on          | 8 |   = ;                     &nb= sp;                 |

| Examination,       &n= bsp;   | ] |              &nbs= p;                     &n= bsp;     |

+=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+

```
I do not have that problem when passing `--wrap=3Dnone` to markdown, but then all the lines in vim are unman= ageably long.

`wrap=3Dp= reserver|auto|none` with or without `--co= lumns=3Dx`  does not resolve the one-character breaking issue.<= /div>

Also, converting to `-t= gfm` first and then converting `-f gfm -= t markdown` still creates one-character line breaks.

<= /div>
Is there any way to define a minimum column width?

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/22b620a8-4869-4cd8-b040-a4c55d0ae521n%40googlegroups.= com.
------=_Part_12593_13772815.1666520744185-- ------=_Part_12592_2125829374.1666520744185--