From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31534 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alcuin York Newsgroups: gmane.text.pandoc Subject: Re: preserve-tabs and line_blocks Date: Thu, 13 Oct 2022 00:56:35 -0700 (PDT) Message-ID: <8121a239-651d-4f99-92ac-8812740b0178n@googlegroups.com> References: <00528E94-4F91-40DC-89A2-F7D25C42B83A@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_286_1539840715.1665647795180" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2704"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCX5F77XW4KBBNEJT6NAMGQEYZ5XXCI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 13 09:56:39 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f63.google.com ([209.85.161.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oit55-0000Wg-AD for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 13 Oct 2022 09:56:39 +0200 Original-Received: by mail-oo1-f63.google.com with SMTP id x28-20020a4a2a5c000000b004808cc6392csf649105oox.9 for ; Thu, 13 Oct 2022 00:56:39 -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:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=gIzxUUWJ6JCRrFONPol1k4X2v0RGRwo0+ITjWuwlDno=; b=RJAdsCkxFDSU5Nx/Twa2oZsuH6MQOxAvklzbJEBWKVD1xvyS7/GdYLYNRvVUhA4gV6 T8TZEMDjUvXmiOSyp4Fcybed3DePixaxhzFLpX4chwHEXl89Ejt8KcGjmU8rJAvnemI+ fkruCqqxPFTFWkzuEItoZ0/uD743OIuuQupoY5QdhOTOfl19HjKvjNdp5pRcIvp6Mz3p 7a4iyPgt5RTw6UkCLGP7eVHluTFak3wwlmSFBoZT/eHbkHAhAqVu42tKTztVjr01RNFZ W3HHf/lmqRkwBBTay5TC3o7LU9gHmcXApGRCjOLidRFLNenQ+xLcdNHsRy67viPjUTwC zY1A== 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:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=gIzxUUWJ6JCRrFONPol1k4X2v0RGRwo0+ITjWuwlDno=; b=MvX3Fz65oLnFnJfiYm2bUSHvzWsf0Vo+hubtNNSdlYq/dGxTNrFskgQJ/Xt1ISRZ2L H1S/bFoOiB+/ZQX1m+PjcfwbZWIMG7rV/GZHj5np3fnQ5qFUghwbIfIQNabQKu4c2xrY wd02TQt6LB7hsuuLOznRFH3jZjlGZ+sTFoYp6jpw0EmlsPcB1vrrhB79Bk8S6TtNcTqC bILi7BCr2vCmWlrr+MY4JcX6mz6FHDlzwCEH3Ww9B3W564SDd959QKEdGNLLrjOqDqCp eN1zJBPT2I7HitvutV6oJXZXvfs5rkJZrQwT5C2NJFVidOUo786kNOw1KgF3lSVCUV/h fuZw== 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:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=gIzxUUWJ6JCRrFONPol1k4X2v0RGRwo0+ITjWuwlDno=; b=6eW+5UInrENQT0loALH8ZgWpD1hRJgfHE9T0vo7xvGOrOu4OjPe9zO/3wojdmdCQU6 0Dk6zEx2epjax1qBMfqGuw026elE4GNK7y53qwn5UTuyx8OJ7w93e5RpsflpQlIJBnR8 ZuM02isadQhrH8G1uwYaGpauTbFtr4Z73vsS8q39oJ/j+BWgv12c5hEZP6mXqh/cPfgr NWPqDAvUyEeiJLjxD4tyfUqni5Zw+qa13aSo5mj/DuBhnPNe1IzDVmaIyyNP16zv85kW djj0s+Qx43NX9BPPL3dLLfvLXa8MViHOeID7XJgjFziFbS9L/KinJAgA6YSHEMptIdaF EPHg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf20SEq4AhAYxm6P/sVLknrgxz9lTMuMPJbzzmDgNvK7rHm7J5HB Mekb0wTUwF65KVCNngYWTWo= X-Google-Smtp-Source: AMsMyM6V3eCiPrbimlygw/8PN2E2BgU86XucC8bIKcU/vuFv+gSGgkygxvZLVC84f5g0bUTIhpuTzA== X-Received: by 2002:a05:6870:9688:b0:132:9c55:72 with SMTP id o8-20020a056870968800b001329c550072mr4783303oaq.104.1665647798249; Thu, 13 Oct 2022 00:56:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:e3c7:b0:133:7d54:99a0 with SMTP id y7-20020a056870e3c700b001337d5499a0ls375620oad.10.-pod-prod-gmail; Thu, 13 Oct 2022 00:56:36 -0700 (PDT) X-Received: by 2002:a05:6870:7023:b0:132:538:43e7 with SMTP id u35-20020a056870702300b00132053843e7mr4656688oae.123.1665647795924; Thu, 13 Oct 2022 00:56:35 -0700 (PDT) In-Reply-To: <00528E94-4F91-40DC-89A2-F7D25C42B83A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: alcuin434-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:31534 Archived-At: ------=_Part_286_1539840715.1665647795180 Content-Type: multipart/alternative; boundary="----=_Part_287_2024414635.1665647795180" ------=_Part_287_2024414635.1665647795180 Content-Type: text/plain; charset="UTF-8" Thank you so much for your very helpful response. I do appreciate it. I'll put it on the bug tracker. Cheers. On Wednesday, October 12, 2022 at 4:11:50 PM UTC fiddlosopher wrote: > First, note that only initial indentation of lines is significant in line > blocks; internal consecutive spaces will be collapsed anyway. > > Second, --preserve-tabs does apparently have an effect, but it's not what > you'd expect; > > % printf "|\thi" | pandoc -t native > [ LineBlock [ [ Str "\160\160hi" ] ] ] > % printf "|\thi" | pandoc -t native --preserve-tabs > [ Para [ Str "|" , Space , Str "hi" ] ] > % printf "| \thi" | pandoc -t native --preserve-tabs > [ LineBlock [ [ Str "\160hi" ] ] ] > > You should go ahead and put something about this on the bug tracker. > > > On Oct 12, 2022, at 2:47 AM, Alcuin York wrote: > > > > From my own understanding of the pandoc manual, it seems that the > --preserve-tabs option does not apply to line_blocks. And from my own > attempts this also appears to be the case. So, 2 questions: > > > > 1. Is this correct (--preserve-tabs does not apply to line_blocks). > > > > 2. If yes to 1, would it be possible to incorporate it into pandoc? > > > > > > > > -- > > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/ea4af10c-e784-4194-b1f0-b8135c76355an%40googlegroups.com > . > > -- 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/8121a239-651d-4f99-92ac-8812740b0178n%40googlegroups.com. ------=_Part_287_2024414635.1665647795180 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you so much for your very helpful response. I do appreciate it.<= /div>

I'll put it on the bug tracker.

Cheers.

On Wednesday, October 12, 2022 at 4:11:50 PM UTC fiddlos= opher wrote:
= First, note that only initial indentation of lines is significant in line b= locks; internal consecutive spaces will be collapsed anyway.

Second, --preserve-tabs does apparently have an effect, but it's no= t what you'd expect;

% printf "|\thi" | pandoc -t native=20
[ LineBlock [ [ Str "\160\160hi" ] ] ]
% printf "|\thi" | pandoc -t native --preserve-tabs
[ Para [ Str "|" , Space , Str "hi" ] ]
% printf "| \thi" | pandoc -t native --preserve-tabs
[ LineBlock [ [ Str "\160hi" ] ] ]

You should go ahead and put something about this on the bug tracker.

> On Oct 12, 2022, at 2:47 AM, Alcuin York <alcu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>=20
> From my own understanding of the pandoc manual, it seems that the = --preserve-tabs option does not apply to line_blocks. And from my own attem= pts this also appears to be the case. So, 2 questions:
>=20
> 1. Is this correct (--preserve-tabs does not apply to line_blocks)= .
>=20
> 2. If yes to 1, would it be possible to incorporate it into pandoc= ?
>=20
>=20
>=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-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ea4af10c-e= 784-4194-b1f0-b8135c76355an%40googlegroups.com.

--
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/8121a239-651d-4f99-92ac-8812740b0178n%40googlegroups.= com.
------=_Part_287_2024414635.1665647795180-- ------=_Part_286_1539840715.1665647795180--