On 12/21/22 02:55, Jürgen Spitzmüller wrote:
Am Mittwoch, dem 21.12.2022 um 08:09 +0100 schrieb Jürgen Spitzmüller:
The problem seems to be in the revert_starred_refs method, which
overwrites parts of the surrounding document and thus deletes a plain
layout begin. If you comment out that method,
On Wed, Dec 21, 2022 at 08:55:18AM +0100, Jürgen Spitzmüller wrote:
> Am Mittwoch, dem 21.12.2022 um 08:09 +0100 schrieb Jürgen Spitzmüller:
> > The problem seems to be in the revert_starred_refs method, which
> > overwrites parts of the surrounding document and thus deletes a plain
> > layout begi
Am Mittwoch, dem 21.12.2022 um 08:09 +0100 schrieb Jürgen Spitzmüller:
> The problem seems to be in the revert_starred_refs method, which
> overwrites parts of the surrounding document and thus deletes a plain
> layout begin. If you comment out that method, the error disappears.
I think I fixed it
Am Montag, dem 19.12.2022 um 16:57 -0500 schrieb Scott Kostyshak:
> The problem is that the code is supposed to append, then pop. then
> append, then pop. There is a mismatch somewhere and the code pops
> without a preceding append, so the list of languages is empty.
The problem seems to be in the
On Sun, Dec 11, 2022 at 09:42:33PM +, José Matos wrote:
> On Sun, 2022-12-11 at 15:29 -0500, Scott Kostyshak wrote:
> > convert_hebrew_parentheses
> > elif current_languages[-1] == 'hebrew' and not
> > line.startswith('\\'):
> > IndexError: list index out of range
>
> This happens only whe
On Sun, 2022-12-11 at 15:29 -0500, Scott Kostyshak wrote:
> convert_hebrew_parentheses
> elif current_languages[-1] == 'hebrew' and not
> line.startswith('\\'):
> IndexError: list index out of range
This happens only when current_languages is an empty list:
In [1]: [][-1]