[tex-live] Recommendations for viewer_md

Vít Novotný witiko at gmail.com
Thu Feb 16 16:23:26 CET 2017


2017-02-16 12:00 GMT+01:00 <tex-live-request at tug.org>:

> one possibility for a general markdown convertor that could possibly
> be included in texlive by default would be to use the markdown.lua
> from
> https://github.com/mpeterv/markdown
> I haven't tested it much but it worked quite well on a couple of
> README.md files that I tried
> eg
>
> texlua markdown.lua
> /usr/local/texlive/2016/texmf-dist/doc/latex/bxjalipsum/README.md
>
> which made a reasonable README.html and avoids having to handle
> Japanese characters in the terminal with less or more.
>
> It's only 38K of lua in a single file so quite a lightweight addition.
>

Hello David,

I will just add that there already exist a couple of markdown converters
in TeX Live; namely https://www.ctan.org/pkg/markdown and
http://source.contextgarden.net/tex/context/modules/mkiv/m-markdown.lua
from the m-markdown ConTeXt module. Either could be used to typeset
the documentation, although conversion to HTML is probably preferable
due to factors such as speed and font / input encoding / text language
selection.

Best Regards,
Vít


> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20170216/75a91571/attachment.html>


More information about the tex-live mailing list