From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14512 Path: news.gmane.org!not-for-mail From: Paulo Ney de Souza Newsgroups: gmane.text.pandoc Subject: Re: a better platform for DeTeX - a question. Date: Tue, 8 Mar 2016 21:13:05 -0800 Message-ID: References: <20160309050508.GD68594@MacBook-Air-2.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113cc7e4bf1f4f052d96c071 X-Trace: ger.gmane.org 1457500390 19133 80.91.229.3 (9 Mar 2016 05:13:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2016 05:13:10 +0000 (UTC) To: "pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org" Original-X-From: pandoc-discuss+bncBDYKBT675MKBBYXB723AKGQENB2JZGY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Mar 09 06:13:09 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pf0-f190.google.com ([209.85.192.190]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1adWQl-00048a-RQ for gtp-pandoc-discuss@m.gmane.org; Wed, 09 Mar 2016 06:13:08 +0100 Original-Received: by mail-pf0-f190.google.com with SMTP id q129sf8989031pfb.1 for ; Tue, 08 Mar 2016 21:13:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:in-reply-to:references:date:message-id:subject:from: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:sender:list-subscribe:list-unsubscribe; bh=GoUR7RfJId307Erd0izB4iPFgNN02S6sNGm9eDrERS8=; b=vuTnBhpj6GcHaAvAMPlxLedhfGU8kx41jqRQFRhpzRZYjHouf59lyE5PvhOY1TY0bl j8aYQU0gms9IdS+2SRKeARYQc/nrYyqTz6x1dm7HXIzNbc4kgaFAsjLTlf+7mRSbGGdp OZdq5CuKHOJ5ZorW6cWou/kY8h3LB60XgxTYqnSF9DLKvN7WjA7DzxMdbtXDCIOfDnuq sKFEvcwRvPlPc64+7qM9JkCYWf5b8mPpc5s2B92j0FfoXg4OPQQqZddneLWW2yqSdnqr 9/IAXXA0kmZJSr0IydFe2LbWQzdojB13ewC4Lg2ras3JrpWmnNsw7JyGMdMqwbMjXqCT jkFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from: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:sender:list-subscribe:list-unsubscribe; bh=GoUR7RfJId307Erd0izB4iPFgNN02S6sNGm9eDrERS8=; b=vlNZ/6FySkgZcpZQW+X/d/TOyavsOIVNvpqbhSOsFbCAEWUwhIAqpGgXm0agCrJ/dM cON3nfjpPh+Bl4JSHxmNP3N4QJYaaOE569+0d+XdDE6jb/Z9HJDUWcYUJcaxf2fm+SNI dw5QOQ+v0E9xjVMjGthFcZbFq1dPwga9TDWzzI/LZaxtgyKRQ2XFoYxbiG0ua4mSGRdO wYhGdyJc2AI8GNEmriauj6T4PqYlF4zlgNVC7ueBsgsixyyKHgrXFuZHxc13jgxTkbkI XpYawvaETeP0a0eB108PdGLK2JLLuWnV8XBfWsEGmaajSgSFiW41jpew6IJi1ntJ2v/C jRfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from: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 :sender:list-subscribe:list-unsubscribe; bh=GoUR7RfJId307Erd0izB4iPFgNN02S6sNGm9eDrERS8=; b=hHIyRDGRnhuLc5O1nGMYmhb02lW+lCDBgP7f8WtJ1+7/v2eGphSsgHyYm0cloj5Jwq mLA6MvIvxNS5hYONnXRs/mAmUPNS8KR5If+hSDG1VmPHLuyjCiXtrYwhDIiHGeJXw0cm 6Yl2hhb/Dy8pB5HJ/kVt5XcPuU/dJTTowkhzPl0ZgTc4iLUoMpLAtqWR/WvSRWDH7ynV 05VO4IyKlAuEOcwwXBff7kD9G/SV4uSSQNHfDK9B32ijToPF7OA2nVd2FHs6SvC4UX/1 C5nnDKYza4DYQoKdHXZ89tGcGnHO2+TwGlbnXXxnp5uM7nGs8lpGS3ziqkbp1Pf7YHuB wwYw== X-Gm-Message-State: AD7BkJKIK9q7FGS2AuaD+/0r7na9lDWqcKU9UQbs0m/zHaec0rebmYzfkYXF4iWltes3jw== X-Received: by 10.140.20.66 with SMTP id 60mr753528qgi.0.1457500386938; Tue, 08 Mar 2016 21:13:06 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.38.5 with SMTP id s5ls972260qgs.19.gmail; Tue, 08 Mar 2016 21:13:05 -0800 (PST) X-Received: by 10.129.25.212 with SMTP id 203mr2306502ywz.35.1457500385884; Tue, 08 Mar 2016 21:13:05 -0800 (PST) Original-Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com. [2607:f8b0:4003:c06::230]) by gmr-mx.google.com with ESMTPS id im4si434531igb.2.2016.03.08.21.13.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Mar 2016 21:13:05 -0800 (PST) Received-SPF: pass (google.com: domain of pauloney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4003:c06::230 as permitted sender) client-ip=2607:f8b0:4003:c06::230; Original-Received: by mail-oi0-x230.google.com with SMTP id r187so27428586oih.3 for ; Tue, 08 Mar 2016 21:13:05 -0800 (PST) X-Received: by 10.202.187.68 with SMTP id l65mr19296436oif.94.1457500385645; Tue, 08 Mar 2016 21:13:05 -0800 (PST) Original-Received: by 10.202.57.212 with HTTP; Tue, 8 Mar 2016 21:13:05 -0800 (PST) In-Reply-To: <20160309050508.GD68594-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org> X-Original-Sender: pauloney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of pauloney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4003:c06::230 as permitted sender) smtp.mailfrom=pauloney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE 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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:14512 Archived-At: --001a113cc7e4bf1f4f052d96c071 Content-Type: text/plain; charset=UTF-8 It gets awfully close, but certainly a few adjustments are needed... What are the main uses of "plain"? Paulo Ney On Tue, Mar 8, 2016 at 9:05 PM, John MacFarlane wrote: > You could try > > pandoc -f latex -t plain > > and see how close that gets you. > > +++ Paulo Ney de Souza [Mar 08 16 11:40 ]: > >> DeTeX is an old program (written in Lex in the beginning of the 80's) >> and extremely useful to TeX users for spelling, word-count and even >> grammar analysis. It removes all TeX commands from the file and leaves >> behind all the text. It is distributed to this day by TeXLive. >> The Lex code produces C, that is then compiled. As you may imagine it >> is extremely difficult to maintain -- when you try to fix something you >> inadvertently break 25 others ... and needs badly to be updated for >> i18n and other issues after so many years. >> I have been thinking that Haskell may provide a better language for >> doing the work, and that "pandoc" may even be the right tool to do it, >> implementing a sort of "pure-text" format that gets rid off all math, >> \textbf, \emph, etc ... and leaves only the text behind. Conversion to >> "markdown" and "reStructuredText" is sort of half-way there .... >> Wondering if anyone has tried any of that and what would be the closest >> format to start with .... >> Paulo Ney >> >> -- >> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to >> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> [3]https://groups.google.com/d/msgid/pandoc-discuss/CAFVhNZOiGeUoAEzJ%3 >> DaJGecJhw%2BYo8qSjSHdyP6iidYBV7DQgug%40mail.gmail.com. >> For more options, visit [4]https://groups.google.com/d/optout. >> >> References >> >> 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> 3. >> https://groups.google.com/d/msgid/pandoc-discuss/CAFVhNZOiGeUoAEzJ=aJGecJhw+Yo8qSjSHdyP6iidYBV7DQgug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org?utm_medium=email&utm_source=footer >> 4. https://groups.google.com/d/optout >> > > -- > 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/20160309050508.GD68594%40MacBook-Air-2.local > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAFVhNZMLJKTmSuuj2GMDCi0xiay8HadM%2BuogKrq03K_sQQnGDw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --001a113cc7e4bf1f4f052d96c071 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It gets awfully close, but certainly a few adjustment= s are needed... What are the main uses of "plain"?

P= aulo Ney

On Tue, Mar 8, 2016 at 9:05 PM, John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org><= /span> wrote:
You could try

=C2=A0 =C2=A0pandoc -f latex -t plain

and see how close that gets you.

+++ Paulo Ney de Souza [Mar 08 16 11:40 ]:
=C2=A0 DeTeX is an old program (written in Lex in the beginning of the 80&#= 39;s)
=C2=A0 and extremely useful to TeX users for spelling, word-count and even<= br> =C2=A0 grammar analysis. It removes all TeX commands from the file and leav= es
=C2=A0 behind all the text. It is distributed to this day by TeXLive.
=C2=A0 The Lex code produces C, that is then compiled. As you may imagine i= t
=C2=A0 is extremely difficult to maintain -- when you try to fix something = you
=C2=A0 inadvertently break 25 others ...=C2=A0 and needs badly to be update= d for
=C2=A0 i18n and other issues after so many years.
=C2=A0 I have been thinking that Haskell may provide a better language for<= br> =C2=A0 doing the work, and that "pandoc" may even be the right to= ol to do it,
=C2=A0 implementing a sort of "pure-text" format that gets rid of= f all math,
=C2=A0 \textbf, \emph, etc ... and leaves only the text behind. Conversion = to
=C2=A0 "markdown" and "reStructuredText" is sort of hal= f-way there ....
=C2=A0 Wondering if anyone has tried any of that and what would be the clos= est
=C2=A0 format to start with ....
=C2=A0 Paulo Ney

=C2=A0 --
=C2=A0 You received this message because you are subscribed to the Google =C2=A0 Groups "pandoc-discuss" group.
=C2=A0 To unsubscribe from this group and stop receiving emails from it, se= nd
=C2=A0 an email to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
=C2=A0 To post to this group, send email to
=C2=A0 [2]
pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
=C2=A0 To view this discussion on the web visit
=C2=A0 [3]https://groups.google.= com/d/msgid/pandoc-discuss/CAFVhNZOiGeUoAEzJ%3
=C2=A0 DaJGecJhw%2BYo8qSjSHdyP6iidYBV7DQgug%40mail.gmail.com.
=C2=A0 For more options, visit [4]https://groups.google.com/d/opto= ut.

References

=C2=A0 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org =C2=A0 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
=C2=A0 3. http= s://groups.google.com/d/msgid/pandoc-discuss/CAFVhNZOiGeUoAEzJ=3DaJGecJhw+Y= o8qSjSHdyP6iidYBV7DQgug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org?utm_medium=3Demail&utm_source=3D= footer
=C2=A0 4. https://groups.google.com/d/optout

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-= discuss/20160309050508.GD68594%40MacBook-Air-2.local.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CAFVhNZMLJKTmSuuj2GMDCi0xiay8HadM%2Buog= Krq03K_sQQnGDw%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--001a113cc7e4bf1f4f052d96c071--