From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29360 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Panteleev Newsgroups: gmane.text.pandoc Subject: Convert a GitHub Wiki to TexInfo Date: Tue, 12 Oct 2021 01:13:44 -0700 (PDT) Message-ID: <24aae4dd-5732-4a04-a8cd-07aa6d7a18a0n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_318_859856017.1634026424298" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35952"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCU37Z4YZQEBBOUHSWFQMGQEX3M243Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 12 10:13:49 2021 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 1maCuy-00099K-P8 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 12 Oct 2021 10:13:48 +0200 Original-Received: by mail-oo1-f63.google.com with SMTP id 68-20020a4a0d47000000b0028fe7302d04sf11331103oob.8 for ; Tue, 12 Oct 2021 01:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=Up22Bh5c3RCb1hpGQ+hV/6UJ2W/TmxvnDif6nnm8g2U=; b=BNEJGgXHuQPatFZy1wIng/ppizpa4T93zQq+DYigdN7tiuPTnVbxKu5xc8nZAIjYsN L9m+828zJ04T95oVsgcJjgJpDmAXK9zesBsSuunFRGms3MwT8VfvZlYUfTt2c/EnLDic eSAKaCr+HoLpr67gV2N+X5LYFgui5zGYyMMVpEOtbMJTezaycAUX2YiIJzCQoxtrPw9M NTa36hAt2GpiEuqGP3bicjrta03ppw4OgmbCvxzFiPyrmTVeFHyUga4d0kAMGS7uLNTy 24saUAiB9Mx1btsLlo6PL4G/H+lZnfmK7y/7PUT3LUg6NnqS5KuC8K9m+v0fAfvQXmnV ArjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=Up22Bh5c3RCb1hpGQ+hV/6UJ2W/TmxvnDif6nnm8g2U=; b=Rl8bIUj9e3mVdE/gq4hW2rbTRtNMPfuG/kuYQyiFXzwS7yDk8BZJlsZUMDTdkxTPyC BL6nrwsQDz3f4ste++JTfXnUE7ZyVUYUQ9MAfJsl9jLjKMhO2gMi/H3siUo9r4ApmPzG Ide+ICt0Z6MErLvjNgCwaBirvsolVx2uPKMNLIahzaYUFpKtmWygsDn0UDMgpPRw9fzQ bszoVSxLKuwkTUVqdpWmzcyfe3BHIwkac8chuSAlAjoTPI4ivKkLJ/ugD8CLokGYiHj3 EIpNH9yuNsFpv2PrvNU6JTR4G30p9R+EBGafX3oiWbVDPTH7Pw/lHPuZF2L5YamodK7B y0YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=Up22Bh5c3RCb1hpGQ+hV/6UJ2W/TmxvnDif6nnm8g2U=; b=I31coSIU9k7m5MpnM7/ovtVcFgJjgHn9ViOK4zDzCY+9pwblWewSbAL1U/+g2YUjDj JQ0SvgorKoBuzc7UbgZU2Sdw5j3pj0sNqcXg/AzVm1qj27jq+ohoTdmaufm943BIEDf4 mTGaawkzWBgPBLYpIzrUs64TrIOnisRjssjXL97W8gBvF7/7tDpuR4JdEXT3nIJDBePk xHmHj12QglBuji3APSeNmHwY1z4yKte7LEdfdZUcmaApfXYe981e0prLWDfK5zaIAu/1 NlKISAKpRNlxwhmkIPwlpeOgEVwwjHuDeLLLc+7sMuwgWH7UKJn0+z+y1K8XTgdGK4ur pZ8Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532o5oc1MaWJagcTN2vn+embD2o7G64YzYcIZl1/VY5Dc77ILuyh 4MnMx6NbgZQZbPxpcJRDzE4= X-Google-Smtp-Source: ABdhPJypgzey2Scv15P64IhtCiEFi4n/zKN45l9NqtOV7wpWcV1rpWJfws1jZTuJ/Au+nOSXQfb81w== X-Received: by 2002:a54:4f82:: with SMTP id g2mr2558827oiy.134.1634026427226; Tue, 12 Oct 2021 01:13:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:d902:: with SMTP id q2ls3483150oig.5.gmail; Tue, 12 Oct 2021 01:13:45 -0700 (PDT) X-Received: by 2002:a05:6808:1889:: with SMTP id bi9mr2747508oib.164.1634026425803; Tue, 12 Oct 2021 01:13:45 -0700 (PDT) X-Original-Sender: thecybershadow-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:29360 Archived-At: ------=_Part_318_859856017.1634026424298 Content-Type: multipart/alternative; boundary="----=_Part_319_615618934.1634026424298" ------=_Part_319_615618934.1634026424298 Content-Type: text/plain; charset="UTF-8" Hi, I maintain a project which hosts most of its documentation in its GitHub Wiki (using GFM markup). I was thinking that perhaps it may be useful for some users if that documentation was included with distributions of the software, and made available via GNU info. My questions are: 1. Is this reasonable and feasible? 2. If so, how to achieve this using pandoc? I naively tried: pandoc -f gfm *.md -o output.texi I noticed two immediate issues with the output: 1. All input pages were concatenated into a single page. 2. The GitHub-specific syntax for linking to other wiki pages doesn't seem to be supported. [[Page Name]] is expected to become a link to the page in Page_Name.md, and [[link text|Page Name]] allows setting the link text to something else. The input I'm experimenting with can be downloaded by running "git clone https://github.com/CyberShadow/DustMite.wiki.git". Thanks! ... P.S.: I tried posting this message by email, but it bounced with "We're writing to let you know that the group you tried to contact (pandoc-discuss) may not exist, or you may not have permission to post messages to the group." Perhaps https://pandoc.org/help.html should be updated to mention that you must subscribe to the group before being able to post here. -- 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/24aae4dd-5732-4a04-a8cd-07aa6d7a18a0n%40googlegroups.com. ------=_Part_319_615618934.1634026424298 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,

I maintain a project which hosts most of its documentation in it= s GitHub Wiki (using GFM markup). I was thinking that perhaps it may be use= ful for some users if that documentation was included with distributions of= the software, and made available via GNU info.

My questions are:
1. Is this reasonable and feasible?
2. If so, how to achieve this u= sing pandoc?

I naively tried:

pandoc -f gfm *.md -o output.te= xi

I noticed two immediate issues with the output:

1. All inp= ut pages were concatenated into a single page.
2. The GitHub-specific sy= ntax for linking to other wiki pages doesn't seem to be supported. [[Page N= ame]] is expected to become a link to the page in Page_Name.md, and [[link = text|Page Name]] allows setting the link text to something else.

The input I'm experimenting with can be downloaded by running "git clone = https://github.com/CyberShadow/DustMite.wiki.git".

Thanks!

...

P.S.: I trie= d posting this message by email, but it bounced with "We're=20 writing to let you know that the group you tried to contact=20 (pandoc-discuss) may not exist, or you may not have permission to post=20 messages to the group."  Perhaps https://pandoc.org/help.html should b= e=20 updated to mention that you must subscribe to the group before being=20 able to post here.

--
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/24aae4dd-5732-4a04-a8cd-07aa6d7a18a0n%40googlegroups.= com.
------=_Part_319_615618934.1634026424298-- ------=_Part_318_859856017.1634026424298--