Wil do, thanks! On Fri, May 22, 2026 at 12:04 PM Bastien Guerry <[email protected]> wrote:
> 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 > -- +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+
