Can you render http://github.com/Anton-Latukha/haskell-notes/README.org using M-x org-latex-preview on the inline math expressions using Org version > 9.0 default settings?
For me, I get a weird rendering on the inline \(\)
math expressions when I do M-x org-latex-preview on them wherein an image of TLT TLT and then the math expression rendered about one line below that happens in every inline math expression. Can you just tell me if the math expressions render normally for you? That way I'll know that I have something weird in my environment or config. Note: I deleted the ltximg directory that org-preview-latex feature automatically creates, so that wasn't it.
The file referenced in the subject line is the only place this happens. I can copy an inline math expression from that file and put it in a different file and it renders fine, i.e., without the TLT TLT image.
For backstory, I've ruled out or had answered my previous related questions:
org-preview-latex rendering weirdness when a space after initial inline expression delimiter
and
which led up to this special case. It only happens in this file.
\(...\)
expresion at a time and putting them in a separate file, without all the baggage that he has included in the document. I bet you will have much better luck. IOW, it's not the math expressions that cause any of the problems: it's all the other stuff that he has put into the file. I extracted all the formulas from the first 2400 lines or so of the file (about 30 expressions), put them all into one org file and did C-c C-x C-l`: nice previews of all of them.#+latex_header:
lines to#+latex_header_extra:
lines (so that they don't affect preview). There will stilll be problems, but it's much better (and you don't need LuaTeX to process the fragments, although you will still need it if you decide you want to export the file).#+latex_header_extra
. Also thanks for all your help per the investigation you did per your first comment above!