What are the remaining wrinkles? It is quite likely that they can be fixed with a filter. Remaining inline markup certainly can. onsdag 9 mars 2016 skrev Paulo Ney de Souza : > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>> >>> . >>> To post to this group, send email to >>> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@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-/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 > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email 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/CAFVhNZMLJKTmSuuj2GMDCi0xiay8HadM%2BuogKrq03K_sQQnGDw%40mail.gmail.com > > . > 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/CADAJKhAHFrRUKSUnyibgTSCLVBeyHcgQOKxO%3Dqs%3Dz4fVjwyo4g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.