Re: [PATCH v2] Documentation: f2fs: wrap tables in literal code blocks
From: Bagas Sanjaya
Date: Mon Nov 10 2025 - 04:36:38 EST
On Sun, Nov 09, 2025 at 06:54:16PM +0900, Masaharu Noguchi wrote:
> Sphinx LaTeX builder fails with the following error when it tries to
> turn the ASCII tables in f2fs.rst into nested longtables:
>
> Markup is unsupported in LaTeX:
> filesystems/f2fs:: longtable does not support nesting a table.
>
> Wrap the tables in literal code blocks so that Sphinx renders them as
> verbatim text instead. This prevents the LaTeX builder from attempting
> unsupported table nesting and fixes the pdfdocs build.
>
> Akira Yokosawa pointed out that the in-development Sphinx 8.3 latex
> builder already handles these nested tables. I still want to fix the
> current documentation because Sphinx 8.3 is not released yet, and the
> LaTeX build on the stable 8.2.x series (which also requires
> "docutils<0.22" for now) remains broken without this change.
Acked-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>
When Sphinx >=8.3 becomes ubiquitous, we can revisit this and revert
it to restore nested tables.
--
An old man doll... just what I always wanted! - Clara
Attachment:
signature.asc
Description: PGP signature