6 votes

TeXMe Demo: Self-rendering Markdown + MathJax documents

5 comments

  1. [4]
    pallas
    Link
    This appears to render Markdown, and MathJax math, not LaTeX. Unless I'm not setting up the page correctly, basic non-math LaTeX doesn't work (itemize environment, section, bfshape, emph), and...

    This appears to render Markdown, and MathJax math, not LaTeX. Unless I'm not setting up the page correctly, basic non-math LaTeX doesn't work (itemize environment, section, bfshape, emph), and newcommand and even the basic TeX def don't work outside of individual math environments (as is usual for MathJax).

    It may be useful to change the description, because the idea of self-rendering LaTeX made me quite excited (and confused as to how it could be implemented) until I realized that it was doing something completely different than what I expected.

    5 votes
    1. [2]
      onyxleopard
      Link Parent
      I think there’s a large population whose exposure to LaTeX is just math mode (as used in Jupyter notebooks etc.). Since the DSL of math mode is probably the most used part of LaTeX, it’s not...

      I think there’s a large population whose exposure to LaTeX is just math mode (as used in Jupyter notebooks etc.). Since the DSL of math mode is probably the most used part of LaTeX, it’s not surprising some may mistake math mode for LaTeX itself.

      2 votes
      1. DaveJarvis
        Link Parent
        Agreed. My article on developing a TeXt editor broaches the subject, albeit briefly: https://bell-sw.com/announcements/2021/03/26/TeXnical-Writing-Part-4-Math/ KeenWrite, which I've been...

        it’s not surprising some may mistake math mode for LaTeX itself.

        Agreed. My article on developing a TeXt editor broaches the subject, albeit briefly:

        https://bell-sw.com/announcements/2021/03/26/TeXnical-Writing-Part-4-Math/

        KeenWrite, which I've been developing in my spare time, has integrated ConTeXt on the main branch to generate PDFs. There's some additional documentation about the rationale behind choosing ConTeXt that may be of interest:

        https://github.com/DaveJarvis/keenwrite/blob/master/docs/typesetting.md

        This week(end) I've been working on an EBNF to help convert straight quotes to curly quotes. From the article, notice how the straight quotes haven't been curled:

        Here is an example of "hello, world" program written in the C programming language:

        My goal is for KeenWrite to curl them in 99.9% of cases when exporting to a PDF file. For the other cases (such as ambiguous closing single quotes vs. apostrophes), the author will have to curl the quote by hand.

        3 votes
    2. cfabbro
      Link Parent
      Updated title and tags. Please let me know if there is anything else that needs changing.

      Updated title and tags. Please let me know if there is anything else that needs changing.

  2. onyxleopard
    (edited )
    Link
    Neat! Reminds a lot of Markdeep, which is a bit more opinionated, but has a similar goal of providing a flexible, self-rendering file that can support Markdown-like documents with in-line math...

    Neat! Reminds a lot of Markdeep, which is a bit more opinionated, but has a similar goal of providing a flexible, self-rendering file that can support Markdown-like documents with in-line math notation and some other bells and whistles.

    3 votes