Hi Derek,
Derek Chen-Becker <[email protected]> writes:
> Thanks, you're right, I forgot you don't need to escape the bracket.
> Updated patch attached!
Thanks - I tried to apply the patch against the bugfix branch but it
failed. It applies correctly against the main branch. Can you rewrite
the patch so that it applies against the bugfix branch?
Also, I updated the commit message to fix a minor typo, there is no ":"
after test-ox-latex.el:
* lisp/ox-latex.el (org-latex-guess-babel-language): Replace
agreedy regex used to extract a language from a
"\usepackage[...]{babel}" block with one that strictly limits the
capture to the language inside of the square brackets.
* testing/lisp/test-ox-latex.el
(test-ox-latex/subtree-export-with-language): Add a regression
test to exercise capture of babel language from latex headers.
Thanks!
--
Bastien