From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23262 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rudi C Newsgroups: gmane.text.pandoc Subject: =?UTF-8?Q?Re=3A_Isn=E2=80=99t_there_a_plain_text_reader=3F_Why=3F?= Date: Sat, 17 Aug 2019 19:04:31 +0430 Message-ID: References: <255f893b-1048-4de9-aaeb-e9778187e701@googlegroups.com> <4be8dffb-2e8c-3ba3-d584-a06928a48af7@usa.net> <08494ac8-209d-dfa6-43b6-f19034f2bef7@usa.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f35b9f059051010a" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="217533"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCX4H4EJZ4KRBA5B4DVAKGQEWBBUDNQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Aug 17 16:34:46 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f61.google.com ([209.85.210.61]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hyzn4-000uUY-7F for gtp-pandoc-discuss@m.gmane.org; Sat, 17 Aug 2019 16:34:46 +0200 Original-Received: by mail-ot1-f61.google.com with SMTP id y18sf5723437oto.21 for ; Sat, 17 Aug 2019 07:34:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566052485; cv=pass; d=google.com; s=arc-20160816; b=MI0uB4GLvEvXcafhNgBJLjbxxLFoZxL1j9Ecv/gAUDGmlZ8Nd0jh7hOLTrwjjzVfDe SoQ/UVwAPUCqHES/ZBAvTv+FnxxLiWxGrcuUxtl1vYVe4Ik6vXHqazEgs/u+xiwFrmnX yx0EugO6z5rSi4aqxr0OIOrmCIq6FVVBJwwf/30YH+vRMGJT27Fa3dkyuLUfUFGdoGFu +Kc1hQViugQzKJ4/oJNSatwRmxx23yNQ4cC+SBLVtYtqgHC4UaoI/LURroNdGH4XJvXM JS3vVIJsfnAW35EUY4y2CSTG9uwim5F/JdLI8qiw1GxVlnEwn+m1ctcxxwXNnGpe9b+e yZaA== 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:sender:dkim-signature :dkim-signature; bh=ovTgzqZWetJjFi+Lw9Xgdg8skMDmvUVu7XIdZ/w+bOM=; b=h0o58wV8ExS5cTIc1trgeZNDvSUZBpC0N5tAGLYEvldstseXxsJtwvwoe4qcg6AyIy eh+FoOSTBrHZzQ2AoiFMzyt2E6D0BXoo2PkmeYJMMRRzRR9lOWpi5SsDyad6gnFgpPSa N2KGaSkMcaPJ5EiXW4jnH7tUV4BshDR7G1Qqd9E3Cjm4uUgeEJibBPbdW44TCEE/g13A Q1fk4Jyu6KAWVC2BQbgLmktFi8OoZ8/O9iBspkNusy/gkVrbpENSfY4HKkRoh5LRaLMb Pe4kIlJeaMAGn4uDsCD2G2xhUG4AibDONjHdOSrNcSQXHTi7Rta1Mpmi37J/BeNzD3Jy wXRQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=myoAgO+F; spf=pass (google.com: domain of rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::331 as permitted sender) smtp.mailfrom=rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=ovTgzqZWetJjFi+Lw9Xgdg8skMDmvUVu7XIdZ/w+bOM=; b=L7o8e4BU7CMXGpjcmJpvKakrm8MwOP10nlNsOx4jmMRyYdvP84JC/MH8WvveSjafGJ Mq/KjPbUAj6CHHl0GLC9RHXyPlW+gdsTTfgHIJ6kqDDYEeB/3jrbNTA2393dYw0aX93L U7Tp7bFaTdmOH2rdJlU9mLw0v9QfVtrCFjrxHGgOdUXZKY7Q3hvZoXPnn9UTVRTWHysv uJAcxeD63vh+XhJHRun4jt8g33T661fxKoldCFy1LpLoZtl/H2StUpjS1VP83kYEgfx2 BEfffaw6V0MIC7uwsNYT+mG2W/RbdUIUKiklUlCEPqBhunn4igKnxf04nmfn/JO8T8zw 3aUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ovTgzqZWetJjFi+Lw9Xgdg8skMDmvUVu7XIdZ/w+bOM=; b=VposQ2THLNqgBiwzG67F0tDa0FneCQA1wQw6egKPqdf/nuM+0h54g+i0pTX1ydaPVu tgoSN2NjYIVOzAUDkidZ+4T2rFRm5X+fPRZWijIB8eAS05kvIx48L/O3CMw/T7pV2anH tikO1McVw0ALNf+RdMPm1Q1G0ygTxizAui/fTIghE98ObSvgDk+iRJbB0NYEikb0bnx3 j8zXi+wDkYsXaJZItVyAnVUZHmwuZwqmnfXkWju0pLTdcoYu7kzFdz8Q1/SoUNj3W3uV 8r1VXIvP814AneYcB/ePuP2vkpbAtaGe5U0mz3QwaxSoPvVfbQILBnzvBJEMv3EbIm9J 9FBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ovTgzqZWetJjFi+Lw9Xgdg8skMDmvUVu7XIdZ/w+bOM=; b=qluGnLeA0PcnksggvlgJE/iAebshXeUsShARAM1JNsPx6rnWEg+WOMV4yKNaWHbhU4 UCnXroweJp9ZxjPlGnOSgcShqpzBec+Cn1JU8EBSmnzR1Sf723EFfgJrdzmMowOXGKb0 JkXs/Glub+1fYVzxC+3Up/pjyfAz4MYPBZ/wfhBDXYt+gAtFW5Dbbct7GoxUaBYgkFWZ hhYX9rVbO4II3OxYh1C5EtH4ldkWt6d/Y7mYx3P5oru0PSNskRg7v2WkL7RVzW2kTLi+ CQ09cOt058c1VTTZFyHz5PXl1hqv9mcYjQfdjlzkzYWFIGUekK1W1YCANVJhBAMUKIIL +/FA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAUSugiSObLzXpIyGRgz9LydVv7LXBUlXAX9WHOFrcadY9lzLb4K c9iCAfM/rmIyJldgB0YMNgw= X-Google-Smtp-Source: APXvYqzOov/UG83w0wZLGMxvhZLIQw7989omAebXI5UIKpHX6nGVU+0rkVg1AZc8C/dN8xeFiMWaLg== X-Received: by 2002:aca:ab49:: with SMTP id u70mr193597oie.0.1566052484717; Sat, 17 Aug 2019 07:34:44 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:5e13:: with SMTP id d19ls2226375oti.2.gmail; Sat, 17 Aug 2019 07:34:43 -0700 (PDT) X-Received: by 2002:a9d:4a3:: with SMTP id 32mr11705257otm.37.1566052483496; Sat, 17 Aug 2019 07:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566052483; cv=none; d=google.com; s=arc-20160816; b=O1FUfNxH5i6WPAwt2mHsLio8GgGWEA3VUf6J2UnQo48GS4jufhj01i2ksqOMznqpMY 0VEXuYDXijVAyGMTgQnoQEKzGuC6k4BECSZOGVXH5XfwH/bPl8Zzt+kPDSQJ5oJLiGkJ KKJtFZIOrj6VGOXbyOB9ERhrUHNuBMxI0gD4T5n2vt/+QUdGfDVGXP+I0SGFIdC9mh59 7/SXWXusz9tT262DJ7pZqcRK02l0Vj4eQzdqn9ikD9wLa6S1YledARcrnfXMhM5qNfJh 1TrASd+mwXyvFFF2tMpYzwTCcHlxiCeOeDRxl7X9JaoRZz2kWvPN3lP1xB+Wea5mIfF2 hx5w== 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=MU8lUP4pT3a7ldHzF+wnisgIhy+dOBt5LcJZtyMubd0=; b=rhaIJrDG/9R81AGrOa6n7jX40V25HUQC7duPAu2gPq+rrOPhgmkli14HfkvAH3Lsar KU8bFtjtXItKt4fhRGcp08wtquA2kgSC1a8gaYkSIOuW9e14s+dSQ0WwGHtBmGKO1rxK 3C2cTi2d5ozsHwbHbTXrCwnTKeDgzBqTPcmxsNC0zP56IpQypYNf9jj0PxTMutapbUsG ZVUakiO/JVQbFjJ9rO24SQrYvIUHsDRgyBXVihHbI4cSTQmEjFl9zpvtpRYyKi7KAW/L hyUsf6Yxm/e2lxtrmqU7/7L4rttocHa8iLq7riG9ITpiS5Vjj4GTvgj1YSo3e/ZUzfmc KEiQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=myoAgO+F; spf=pass (google.com: domain of rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::331 as permitted sender) smtp.mailfrom=rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com. [2607:f8b0:4864:20::331]) by gmr-mx.google.com with ESMTPS id d123si309193oig.5.2019.08.17.07.34.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Aug 2019 07:34:43 -0700 (PDT) Received-SPF: pass (google.com: domain of rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::331 as permitted sender) client-ip=2607:f8b0:4864:20::331; Original-Received: by mail-ot1-x331.google.com with SMTP id k18so1664878otr.3 for ; Sat, 17 Aug 2019 07:34:43 -0700 (PDT) X-Received: by 2002:a9d:f65:: with SMTP id 92mr10798661ott.24.1566052483028; Sat, 17 Aug 2019 07:34:43 -0700 (PDT) In-Reply-To: <08494ac8-209d-dfa6-43b6-f19034f2bef7-Jdbf3xiKgS8@public.gmane.org> X-Original-Sender: RudiWillAlwaysLoveYou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=myoAgO+F; spf=pass (google.com: domain of rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::331 as permitted sender) smtp.mailfrom=rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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.org gmane.text.pandoc:23262 Archived-At: --000000000000f35b9f059051010a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you! I imagine there are aliases defined for `pandoc --list-highlight-languages`? Since specifying `py` seemed to work just as well as `python`, if I'm remembering correctly. If so, where should I edit in the sources ti add more aliases? (And send those edits as PRs)(Like, `el` could be an alias for `commonlisp` ...) On Fri, Aug 16, 2019 at 7:02 PM Daniel Staal wrote: > On 8/16/19 2:07 AM, Rudi C wrote: > > I currently use a script to create a markdown with this structure: > > > > # filename > > > > ```file-extension > > file-content > > ``` > > > > # ... > > > > Does your solution have advantages over this? > > Btw, is there a table of supported things I can put after the triple `s= ? > > Putting =E2=80=9Cel=E2=80=9D, for example, did not activate EmacsLisp h= ighlighting. > > No real advantages over this - it's basically an alternate syntax for > the same thing. > > There's no reference table, as it depends on the compile - however you > can get the list for the current install with: > > `pandoc --list-highlight-languages` > > > Ps: By plain text, I mean text that always wraps, and keeps its source > > indentation. The kind of I thing I=E2=80=99ll see when I use `less` on = a file. > > The point I was trying to make is that 'plain text' isn't a very > well-defined term, or a structured input language. Pandoc deals with > structured input, and has several input formats that could reasonably > handle random text - but unstructured text is a bit out of Pandoc's scope= . > > You're not dealing with unstructured text however - you're working with > source code, and again Pandoc can handle source code in several formats > - Markdown being the best supported and documented. > > Daniel T. Staal > > -- > --------------------------------------------------------------- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --------------------------------------------------------------- > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pandoc-discuss/DSRfQkWBlFE/unsubscribe. > To unsubscribe from this group and all its topics, 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/08494ac8-209d-dfa6-43b6-= f19034f2bef7%40usa.net > . > --=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/CAE9z9A3zRg%2B9_v26kMR-9fb5HHykwQKDabiufWKSdHcNmMW0ag%40mail= .gmail.com. --000000000000f35b9f059051010a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you!
I imagine there are aliases defined for `pa= ndoc --list-highlight-languages`? Since specifying `py` seemed to work just= as well as `python`, if I'm remembering correctly. If so, where should= I edit in the sources ti add more aliases? (And send those edits as PRs)(L= ike, `el` could be an alias for `commonlisp` ...)=C2=A0

On Fri, Aug 16= , 2019 at 7:02 PM Daniel Staal <DStaal= @usa.net> wrote:
On 8/16/19 2:07 AM, Rudi C wrote:
> I currently use a script to create a markdown with this structure:
>
> # filename
>
> ```file-extension
> file-content
> ```
>
> # ...
>
> Does your solution have advantages over this?
> Btw, is there a table of supported things I can put after the triple `= s?
> Putting =E2=80=9Cel=E2=80=9D, for example, did not activate EmacsLisp = highlighting.

No real advantages over this - it's basically an alternate syntax for <= br> the same thing.

There's no reference table, as it depends on the compile - however you =
can get the list for the current install with:

`pandoc --list-highlight-languages`

> Ps: By plain text, I mean text that always wraps, and keeps its source=
> indentation. The kind of I thing I=E2=80=99ll see when I use `less` on= a file.

The point I was trying to make is that 'plain text' isn't a ver= y
well-defined term, or a structured input language.=C2=A0 Pandoc deals with =
structured input, and has several input formats that could reasonably
handle random text - but unstructured text is a bit out of Pandoc's sco= pe.

You're not dealing with unstructured text however - you're working = with
source code, and again Pandoc can handle source code in several formats - Markdown being the best supported and documented.

Daniel T. Staal

--
---------------------------------------------------------------
This email copyright the author.=C2=A0 Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.=C2=A0 This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/DSRfQkWBlFE/un= subscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pando= c-discuss/08494ac8-209d-dfa6-43b6-f19034f2bef7%40usa.net.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CAE9z9A3zRg%2B9_v26kMR-9fb5HHykwQKDabiu= fWKSdHcNmMW0ag%40mail.gmail.com.
--000000000000f35b9f059051010a--