Nicolas, I have modified org-fontify-meta-lines-and-blocks-1 following
your approach:
@@ -5991,6 +5991,13 @@ by a #."
(dc3 (downcase (match-string 3)))
end end1 quoting block-type)
(cond
+ ((and (match-end 4) (equal dc3 "+end"))
+ (save-match-data
+
Also, in the example above, when you change and restore the opening
clause, refontification doesn't happen immediately, you have to
somewhat move the point to retrigger fontification.
> #+END_XXX python
Just #+END_XXX, of course.
One problem I found after uninstalling my extension function is with
#+BEGIN/END blocks. For example, enable fontification for python,
elisp or whatever and write a long block like this:
#+BEGIN_XXX python
def xxx(x):
pass
def xxx(x):
pass
...
#+END_XXX python
Now scroll down to the
Oh, I see there have been some changes in
org-compute-latex-and-related-regexp in a previous commit. Now it
seems to be working at least for some simple examples. I'm working in
a long and complex beamer document so I will be able to more seriously
test this during the next few days. Also, I'm
Hi Nicolas, thank you for letting me know.
I've been giving it a try but it doesn't really fix the main problem
AFAICS (I've just redefined org-do-latex-and-related as in [1], maybe
I'm missing something). It's not surprising because I don't think you
can work around it without installing a
Dear John, dear list,
Indeed using minted works (at least when using labels. I have not yet
tried to use #+NAME:s). See a few remarks below.
Le jeu. 20 déc. 2018 à 21:47, John Kitchin a écrit :
>
> I guess there is some subtle point missing. For the source blocks I
> usually use the minted