From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32012 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'William Lupton' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Processing multiple documents on stdin Date: Wed, 18 Jan 2023 14:53:53 +0000 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d3b3ac05f28afcda" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39966"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBDUQUCPAMGQEB2P5JBI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 18 15:54:10 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ej1-f58.google.com ([209.85.218.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pI9pK-000AEv-E5 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 18 Jan 2023 15:54:10 +0100 Original-Received: by mail-ej1-f58.google.com with SMTP id qw29-20020a1709066a1d00b008725a1034casf4186056ejc.22 for ; Wed, 18 Jan 2023 06:54:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674053650; cv=pass; d=google.com; s=arc-20160816; b=gp4ugHyK7N1Y9KNqnZ93++iefPerLzVKEjxQi9fGPsxY4HGvqYDFQ3Yk3ihBvwBekQ 9oda4BkymZYZKodeoPjvZWxjyRtviWVNGyMmg1n1ubqsWm0TssCWjrQfwCg4HK5Js80N CSoE8aRVMboet4u1WfwIekXCBFnXdQdwDb9jLVxi8haId6tGzBa3dEfk3gh306pTKKbM 12dwB9o/q42lkS5M1WySfIjP176/fhGt5svx1CuG8BgbwLqOPLWjYXn5wxOhIs35WU27 YKC4uCTn0nRSPkWFpwooLtXMfUdUDtQP0CG/J5EhB3HPGyXnLUh8OraKRR5iAqvH3pr+ HSYg== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:dkim-signature; bh=cQk/7wa4EwL781I07YZyDEs2Azp8PQrjqFFTfD9PE/I=; b=VuFfC+UU3NdloQsHl8ONBhj/uIXNTgf+RLkC8YTDGDJ5vrgQEIneKhXXRD9r3kr5cM onIJ6mi4BNNbmaINA5gelnEx98CLrhP2nJ2df8AkyKSQe3WgmQra4aZXHxkUB8TW3q3h 15I25bhL8xzKDD4jnYTf+2hrNmVX5m4guAhM1Cbu5gkyD70Nr+ylNXPuG82OeVIaIq3T T7QSwWdRhXQ9+y1gzw9Y0JsPUsE5XEcCRwnn14HDgwJESlx7Gz+Kcn6MkAofpBYl7zfI 6tWuSrSIyb13/ETJtPoe0LsXAlDoyxj3ch1IeE01Ci/vBRzvmVZPeKgiBsbrquK5TBRY 23Jg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b="Hk3RRj/5"; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::62e as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org 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:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=cQk/7wa4EwL781I07YZyDEs2Azp8PQrjqFFTfD9PE/I=; b=Spdm43drrDVwJoPBA7k6Os7y+tMkJuh5d9/kFO+EMQMg5/YHDGExwc3iTXYFwGBTiF /ViXSzOfX/i0N5GY2MKtCrPhZSntjAwzqGnhx16JIX/vra5AWAYuibgtWWwIBF/rV2vv mw8v+bZvqEamMkPwRpSAokwI2QG5SNk1Uz4LX8A4s7MI7S7Wredawf5bjaVEG3zB4dba 2ubaOyHAS2l+RaVgIc4tQEXaZmNcn6W8spQAUn2mD4cCBFRso2F44oJ3r2t5BpB7b8lU Ca1iqTowWrdQeV3oBkSbti3URSqX311T6Fzrg3IHPAvj2oLcLSfEWF5eDDgM9uppb396 IGyg== 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:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cQk/7wa4EwL781I07YZyDEs2Azp8PQrjqFFTfD9PE/I=; b=NyrS7dgr7xRY84a1GXTpVKD0DcbP7qml75GPuPY+DQJT7ta7iqgYA/UhSUch/2fmtZ UcCnaR4VexJk12ulKC4/Of6fCM+OHyISqo2QSIj5A0HKObJdcKwrFcLD1lzdKz31De6c wGJ2jGRNce28Xz9LK5JqzShWEEqeX9jb21KdUAnmagrrnNxesCEN7/Bo5V4L3Ts7/H/n 0wiM3KEY0xFqxmpq+Azh3G6m8SYXGEvGRUeSzyUgHp1Jf4nMQOEShKlbizp1QV1g3fbY M2tjvxaEjXndsYVWzzPq5CIZogf7NumpoJ3LIn8iElHLdBklxG5gUYJAPuZtw77 X-Gm-Message-State: AFqh2kq3n2HTKUTQkQshfi8gH5kBr2DEpGhY2w41VOlDY2J9xiwUHtdW l0JbpNybGdE+B5Cd7j0cjmM= X-Google-Smtp-Source: AMrXdXv51boBIk+PEkVDQeSf0XxFFPapXwlYNZoxI4noxPz3tS5HOf5h5Yz3LjzK7zxU6AN35jZbCQ== X-Received: by 2002:a17:906:680d:b0:86b:bd9c:5de3 with SMTP id k13-20020a170906680d00b0086bbd9c5de3mr652255ejr.574.1674053649816; Wed, 18 Jan 2023 06:54:09 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6402:274b:b0:49e:29ce:a2b with SMTP id z11-20020a056402274b00b0049e29ce0a2bls5741798edd.0.-pod-prod-gmail; Wed, 18 Jan 2023 06:54:05 -0800 (PST) X-Received: by 2002:aa7:c50c:0:b0:49d:d8ec:cbd3 with SMTP id o12-20020aa7c50c000000b0049dd8eccbd3mr7180804edq.16.1674053645453; Wed, 18 Jan 2023 06:54:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674053645; cv=none; d=google.com; s=arc-20160816; b=lNT5buHoDg1uIBmFKPyBriJirwzDNn64RDmwsgBh69Gisagxik6si+n0Ye1cO/xhSM HhCDH/U/6F6ubc43PlxR4ISaRFKldeM4w2HdEkOOHJO43RnRVQbypzITxNidT/wqjj2i PwuIgYFRonI8LjWQZtsvIPF4fgoo1DYjmZXM+gOE+wHhAsKWQtTosuwXiRpLYIcZmtJe HamCWVN3XVqpm6PtsopFsS8Bc1HywZEHilCR5Ct0abF7Po9hK5CzPyb8sJZILjFVJmkJ J9Qxz+10TrgiYMs35S9YhQbi4qZ5y5OoSX1UQ+122EB4zRJElWkmTrDmhMfc2KAOdhdk Xx2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=PsPDuh0R5trSbCw7vIzHXROS4lG2fwA2g55ol3SqNZI=; b=et2104uFNq+SuOhBKh4juDbMz/yvQUGKaSVU0/e7o80cQWn2f3P0iNpGlUFtFvTNcE PUK3FHwsxpBPIkcLSkjiS61EqBKLKDg5hUkx4hEsMbYZaMwvbzmVIUw7CY0DNPwMFjpY AwbXSdcWp2wVfp5a9OUt++wwU+EBoPyYDVaQDfB6sMLg3zwK3OQewt2aLWmMHDXLF5YV lbhFAR5zTf2e6a+h+EO5+X7gCnD5xAVPEAeOmk5EOqlZTsL++9exjcTwmNdAWFx1Jv5c ooM6HEgv87uXDW2TXiCURh1op0Osx0eXMnl3wV5APcgK6TNP92fdtFtTYSwgoDEqZ6US 9w2g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b="Hk3RRj/5"; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::62e as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org Original-Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com. [2a00:1450:4864:20::62e]) by gmr-mx.google.com with ESMTPS id u6-20020aa7d0c6000000b0046920d68fe2si1576635edo.4.2023.01.18.06.54.05 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Jan 2023 06:54:05 -0800 (PST) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::62e as permitted sender) client-ip=2a00:1450:4864:20::62e; Original-Received: by mail-ej1-x62e.google.com with SMTP id v6so40842044ejg.6 for ; Wed, 18 Jan 2023 06:54:05 -0800 (PST) X-Received: by 2002:a17:906:280b:b0:850:f78e:f6b2 with SMTP id r11-20020a170906280b00b00850f78ef6b2mr637014ejc.656.1674053644687; Wed, 18 Jan 2023 06:54:04 -0800 (PST) In-Reply-To: X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b="Hk3RRj/5"; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::62e as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org X-Original-From: William Lupton 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:32012 Archived-At: --000000000000d3b3ac05f28afcda Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If you're prepared to consider using a custom writer, this thread might be of interest? https://groups.google.com/g/pandoc-discuss/c/ef5dZW2seco/m/k43zjcLiAAAJ On Wed, 18 Jan 2023 at 12:20, Bj=C3=B6rn Stenborg wrote: > Our toolchain needs to perform separate markdown -> HTML conversion using > pandoc for a large number of table cells (for various reasons), which for > some documents currently entails making thousands of calls to the pandoc > binary. > > It would be really nice to be able to stream multiple documents on stdin > to pandoc and get separate outputs. This is not currently supported e.g. = by > passing a file separator control character? Are there any other ways to > achieve this? > > We could spin up pandoc as a web server but this would be fairly awkward > and i assume come with some additional overhead that isn't really needed > since it will just be used locally anyway. > > -- > 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/f0452de0-6214-43fd-b090-= de2fc81c3f2an%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/CAEe_xxiR8GyLo_pstw0jgvWyAwMvoD5mqdrZ9BKhMkK3TonfiQ%40mail.g= mail.com. --000000000000d3b3ac05f28afcda Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you're prepared to consider using a custom writer, = this thread might be of interest?=C2=A0https://groups.google.com/g= /pandoc-discuss/c/ef5dZW2seco/m/k43zjcLiAAAJ

On Wed, 18 Jan 2023 at 12:2= 0, Bj=C3=B6rn Stenborg <bjor= n.stenborg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Our toolchain needs to perform separate markdown -= > HTML conversion using pandoc for a large number of table cells (for va= rious reasons), which for some documents currently entails making thousands= of calls to the pandoc binary.

It would be really= nice to be able to stream multiple documents on stdin to pandoc and get se= parate outputs. This is not currently supported e.g. by passing a file sepa= rator control character? Are there any other ways to achieve this?

We could spin up pandoc as a web server but this would be = fairly awkward and i assume come with some additional overhead that isn'= ;t really needed since it will just be used locally anyway.

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/f0452de0-6214-43fd-b090-de2fc81= c3f2an%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/CAEe_xxiR8GyLo_pstw0jgvWyAwMvoD5mqdrZ9BKh= MkK3TonfiQ%40mail.gmail.com.
--000000000000d3b3ac05f28afcda--