Re: [PATCH] ox-latex.el: Fix the case of latex-caption-above t

2024-01-16 Thread Mads Bach Villadsen
this. Best, Mads >From f28da9e3c80f03d70a9a6eced5029e12fc75ab99 Mon Sep 17 00:00:00 2001 From: Mads Bach Villadsen Date: Mon, 15 Jan 2024 15:37:29 -0500 Subject: [PATCH] ox-latex.el: Fix the case of latex-caption-above t * lisp/ox-latex.el: (org-latex-latex-environment): Check whether the property

Re: [PATCH] ox-latex.el: Fix the case of latex-caption-above t

2024-01-16 Thread Ihor Radchenko
Mads Bach Villadsen writes: > The documentation for `org-latex-caption-above’ seems to imply that it can be > set to a non-nil value to always place captions at the start of environments, > instead of the end. However, with a non-nil value which is not a sequence, > exporting something like th

[PATCH] ox-latex.el: Fix the case of latex-caption-above t

2024-01-15 Thread Mads Bach Villadsen
2024 15:37:29 -0500 Subject: [PATCH] ox-latex.el: Fix the case of latex-caption-above t lisp/ox-latex.el: (org-latex-latex-environment): Check whether the property `:latex-caption-above’ is a sequence or not, and handle them separately. Correctly handle the case where org-latex-caption-above is