From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31565 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jcr Newsgroups: gmane.text.pandoc Subject: command-line pandoc on iOS Date: Sun, 16 Oct 2022 08:20:27 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2530_1955809472.1665933627941" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22660"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDQLFNXWVILBBPOCWCNAMGQELT5R2RA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Oct 16 17:20:34 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f188.google.com ([209.85.167.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ok5RI-0005fh-V3 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 16 Oct 2022 17:20:32 +0200 Original-Received: by mail-oi1-f188.google.com with SMTP id m11-20020aca1e0b000000b00350c1f42f26sf3261622oic.1 for ; Sun, 16 Oct 2022 08:20:32 -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=nKLC3f9KonMXiYpt7u0DJHjk2wlcD7wSWofPq8PXNYE=; b=YdIADipccfXAacaHKijWq5WlNhECykliKKkFvsYi4oHlhEyt82laObmBT8l89kfkQl n3JMxrYVE7Ky/pvW4Hs9z+hyoFFSLqFXXzECWt1xfc/3OjDWewM/fqlYlhkLuFfD4Vw7 Q0JpDWjLMarmwIAEbE9DV6DY5PiHAbLtuyScoQV2BhmAktT5yOODryelJR7Qk2GJFZu6 ItpTxUQa0bkosyr8G+x9iulotplds0nkue3y9HPLaLbydfVoXAzb0GwBidXWsf2Q7xZZ tjaWJi/XUCoHOwfWCONoXklyZOebgM9dqatI308mhOwIbPCxHHUXbHU1+ajV9bD7aqf/ 3kdQ== 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=nKLC3f9KonMXiYpt7u0DJHjk2wlcD7wSWofPq8PXNYE=; b=nF7nahEOvPyRxdTmCydlWdoZX697YyZuuSomaKjWHRg5FgjcF22e4z14q67SkjQklp /vkBmsrDuGnay9gooM7gIMqHJPg61CQRKZd450saJ3ao2xjEi6ivH/pGQr9A1dyN+aeF 3DCTvSA+LP02/Bfw0M8tyJYh/5N0h9kuvQU/FVsgBZVXP61IQC0BiVVFYzZuJ3mww8jR 4Sdzu7QAK0q2osZVAOv96JI5ZLehQpp4FC1MueF6JTrXwNAHzo+jrMhaVY9u1xeht2Qf P0V4/Z/QVOqxh5qStBgfKjecAH68jWkNWrsznRDxUrk0Mb9qgzWh7HEs0EyIC2qNS77l TYYw== 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=nKLC3f9KonMXiYpt7u0DJHjk2wlcD7wSWofPq8PXNYE=; b=ygMxBb8e5vvWN9DTsoS911Nm7DKuCaTKfIFv3cTF9v+Y1heJs6vW2t4RY47W/5yuOZ e5lGgvtbPWN+3A4KCgSKYBQ4plRyfxI34EqcWWh7B5OhMZJRb7D3ttitO/LO76jMLoUi HwDlANmL4ol4raSwMTJn9uA1ZrVB/4+xi1cLHyfcc/cKzQI7H0V9WozS/mylMJ+PiJaj qixBbgiFEJSChSUbCq2jb6ZpuR/0kTquk9ptI83dyEisbKTW5igAaUTHTJ1mbLuwYZBe +1QiWlQMwF8PJfYeowZxBAktOR8FiIPF53NhH19y9KC9iJHNcjYwxLlUhkm/pAWv2+fM Z3QA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf2Icz7SMvZkg+oU7k5IlAP4OO/ZIduFl4M6tT/t1Hkd38/Jqfkc NHarrczxnUhfWOKjMYHku0I= X-Google-Smtp-Source: AMsMyM7R7pl7pjKadCYy2i5t1r3oGgCugxF6hlHTsDo2suyfznHgxTj5PE9/rbkTxxU5yCiHLU3TXA== X-Received: by 2002:a9d:4905:0:b0:655:fb61:72ab with SMTP id e5-20020a9d4905000000b00655fb6172abmr3253608otf.192.1665933631748; Sun, 16 Oct 2022 08:20:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:72dc:0:b0:61c:e180:124e with SMTP id d28-20020a9d72dc000000b0061ce180124els1495206otk.7.-pod-prod-gmail; Sun, 16 Oct 2022 08:20:29 -0700 (PDT) X-Received: by 2002:a05:6830:6089:b0:660:ea3e:46b7 with SMTP id by9-20020a056830608900b00660ea3e46b7mr3293610otb.166.1665933628761; Sun, 16 Oct 2022 08:20:28 -0700 (PDT) X-Original-Sender: ffi.appdev-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:31565 Archived-At: ------=_Part_2530_1955809472.1665933627941 Content-Type: multipart/alternative; boundary="----=_Part_2531_1026135788.1665933627941" ------=_Part_2531_1026135788.1665933627941 Content-Type: text/plain; charset="UTF-8" I would like to be able to run pandoc-based document builds on an iPad. This seems to be possible with the [a-Shell app](https://holzschu.github.io/a-Shell_iOS/). It provides a Unix-like shell with LaTeX (additional 1.3GB download), Python, Lua, and many command line utilities. C and C++ programs can be compiled to WebAssembly on the device and run there. It is also possible to cross-compile for a-Shell, using a [customized WASI-SDK](https://github.com/holzschu/wasi-sdk). [Asterius](https://github.com/tweag/asterius) compiles Haskell to WebAssembly, and there are a couple of demos that use it to run pandoc in a webpage, but the WebAssembly files they use offer a simple JavaScript interface to the Haskell pandoc function: (input, from format, to format) -> output. I need the full command line interface to run document builds. It looks possible, but since I've never used Haskell, its build tools, or WASI-SDK, I'm not sure how to go about this. There's a pre-built Docker container for Asterius with about 2000 packages from Stockage (I think I can guess what that is), but I don't know if I can use that, or if I have to rebuild everything from scratch using the customized WASI-SDK. After that, I guess I would download the pandoc source and follow the instructions for building it with cabal, using `ahc-cabal` in place of `cabal`. But if anything goes wrong with the cabal build, I'll be lost. Has anyone already done this? -- 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/bfa54f4a-eedc-4e8e-8671-1aa9f6c63e1dn%40googlegroups.com. ------=_Part_2531_1026135788.1665933627941 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I would like to be able to run pandoc-based document builds on an iPad= . This seems to be possible with the [a-Shell app](https://holzschu.github.= io/a-Shell_iOS/). It provides a Unix-like shell with LaTeX (additional 1.3G= B download), Python, Lua, and many command line utilities. C and C++ progra= ms can be compiled to WebAssembly on the device and run there. It is also p= ossible to cross-compile for a-Shell, using a [customized WASI-SDK](https:/= /github.com/holzschu/wasi-sdk).

[Asterius](htt= ps://github.com/tweag/asterius) compiles Haskell to WebAssembly, and there = are a couple of demos that use it to run pandoc in a webpage, but the WebAs= sembly files they use offer a simple JavaScript interface to the Haskell pa= ndoc function: (input, from format, to format) -> output. I need the ful= l command line interface to run document builds. It looks possible, but sin= ce I've never used Haskell, its build tools, or WASI-SDK, I'm not sure how = to go about this. There's a pre-built Docker container for Asterius with ab= out 2000 packages from Stockage (I think I can guess what that is), but I d= on't know if I can use that, or if I have to rebuild everything from scratc= h using the customized WASI-SDK. After that, I guess I would download the p= andoc source and follow the instructions for building it with cabal, using = `ahc-cabal` in place of `cabal`. But if anything goes wrong with the cabal = build, I'll be lost.

Has anyone already done t= his?

--
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/bfa54f4a-eedc-4e8e-8671-1aa9f6c63e1dn%40googlegroups.= com.
------=_Part_2531_1026135788.1665933627941-- ------=_Part_2530_1955809472.1665933627941--