[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [bug?] org-inside-latex-fragment-p broken?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [bug?] org-inside-latex-fragment-p broken? |
Date: |
Thu, 29 Jun 2017 15:17:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Rasmus <address@hidden> 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