# TeXMe Demo: Self-rendering Markdown + MathJax documents

1. [4]
pallas
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.

1. [2]
onyxleopard
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.

1. DaveJarvis
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.

2. cfabbro