Hello, Rasmus <ras...@gmx.us> writes:
> First, we have to be careful because the cdlatex keys occupy a precious > key. > > Second, it depends on the cdlatex function in question. > cdlatex-math-symbol-alist already works outside of fragments and it > probably should as it can be used to insert entities, such as "β". > > On the other hand, cdlatex-math-modify probably only makes sense inside > fragments. It is used to change characteristics of already inserted > entity, e.g. make a character bold. That typically only makes sense > inside a math environment of some sort. Well. Then, could your patch uses `org-backward-paragraph' instead of plain `backward-paragraph'? > Add to this, that something like "\mathbf{x}" isn’t "correctly" > exported via ox, (it should then produce "$\mathbf{x}$"). Of course it is "correctly" exported. When you write raw LaTeX, Org assumes you know what you are doing. Regards, -- Nicolas Goaziou