SugarTeX is a more readable LaTeX language extension and transcompiler to LaTeX. Fast Unicode autocomplete in Atom editor via https://github.com/kiwi0fruit/atom-sugartex-completions
Change main font-size in the Pandoctools examples as now it's too big.
find out WTF is with escaped low tick in the Markdown documentation. Does it mean that Markdown is incorrect and PDF should always be read?
Add new styles: bi, ib, tbi, tib, f (fr), bb (bbold), s (sans), si, sb, sbi, sib, sΞ²
Update STIX Two Math for Roboto Mono and Consolas in Open Fonts (do not rename - be backward compatible)
Write that DejaVu Sans Mono has only sans regular math letters - mind it. If DejaVu Sans Mono is before STIX Two Math in the fallback chain sans regular math letters would be of different style. Consider deleting them. Check DejaVu Serif and DejaVu Sans.
Add to Atom: \_L\white=>π π ; \_L\black=>π π . Rename: \_L\small into \_L\tone; \^r\small into \^r\tone.
Write about turning ON sugartex.mjx_hack() when using stex function in python. Also add sugartex.default() that reverts all hacks and mathrm.
Add right version of U+2215 β Division slash to the "SugarTeX" font. This way I can create special font that is Roboto Mono (or may be Source Code Pro) ripped of all characters except whitespace and dash characters. And add ALL whitespace and dash characters to this font. Make distinction between short and long dashes like in Source Code Pro (but do not have 2-width characters!). Name it "SugarTeX". And with fallback chain 'SugarTeX', 'Source Code Pro' I won't need Sourcing Code Pro font. Fixing whitespace characters in Roboto Mono and Inconsolata also won't be needed.
Move postfix unary operators changed from one-character to two character to another section.
Remove combining symbols from the SugarTeX:
{ βx} / {βx}β\mathbf{x}, a x β β a \vec{x }, a x β β a \overrightarrow{x }. Replace them with xππ (arrow), xπ (\vec), xππ (arrow). Atom: \^<-=>π; \^->=>π; \_<-=>π΅; \_<-\alt=>ΛΏ; \^<-\alt=>ππ; \^->\alt=>ππ.
ββ\^->,; ββ\^->\har (Atom package)
map xΒ― macron U+00AF into \bar{x} together with Λ modifier letter macron U+02C9
Fix overline in the "SugarTeX" font! βΎ U+203E overline. Characters should join like in underline.
consider changing \^_\small, \^-\small, \^_, \^- in Atom. May be use \^-\min for real superscript minus (β») and \^-\overline for overline (βΎ) and remove \small.
combiantions from Atom with combining vector -- move to the ^^ section ONLY. Make sure that there is no combining characters in ^ section.
Add prefix unary "escape train" operator that simply adds \ before each character (until it stops). It should work before other operators. Can be escaped: \βΈ. Test: yβΈβ x. Add superscript slash βΈ to Atom. βΈ β \^\; βΈ β \^/; \_/=>βΈ; \_\=>βΈ.
Create monospacified DejaVu Sans as it has more symbols than DejaVu Sans Mono.
I'm trying to use sugartex to write an article but how do you add a yaml header? From the 'Usage' section I'm using this to render the pdf to which I added the last line:
However, I don't understand how to add a yaml header specifying parameters for LaTeX like title, author, date, margins, fonts, toc info.
Adding -H '/path/header.yml to the last line exits with 'file has no \begin{document}'
Writing the yaml header directly into the source file $1.md has no effect as it doesn't get output in the pdf
Adding it, still through -H '/path/header.yml, in pandoc -f json -o "$1".md.md | \ doesn't seem to have any effect as it doesn't get included in the pdf or a tex file if I output to tex instead of pdf.
see http://asciimath.org/#syntax for big operators and cancel(x).
I think the big operators support is already in SugarTeX but this still needs testing and investigating.
find out about compilance with MathML. So that to mark what SugarTeX are convertable to MathML. May be even tailor output for LaTeX, MathML, MathJax, MS Word 2007+ separately (or find the most common denominator).
Remove extra {} brackets? Consider cleaning up likes of {{x}} but not {{x}+1}
It seems wrong idea to add special macros support to SugarTeX. If using Unicode macros is OK. Then better use them and be happy. UPD Seems like there are problems with Unicode macros names... So it needs investigation how easy is to tweak SugarTeX (add custom simple pre-replacements). It's definitely tweakable, but how easy to tweak?