diff options
author | jfbu <jfbu@free.fr> | 2021-01-28 21:03:17 +0100 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2021-01-28 21:21:01 +0100 |
commit | a68a05533dfc1a40622b44ddfc6fab31cb4cb7fb (patch) | |
tree | cc8dc3b09d9535e9d4e2220d5b19fd1a815c367f /sphinx/directives/other.py | |
parent | 7f63c5442eb19c2cf52cf00679bb5666a7a4acef (diff) | |
download | sphinx-git-a68a05533dfc1a40622b44ddfc6fab31cb4cb7fb.tar.gz |
Fix #8072: Directive hlist not implemented in LaTeX
Adds ``multicol`` LaTeX package requirement, but it is a required
part of any latex distribution.
Diffstat (limited to 'sphinx/directives/other.py')
-rw-r--r-- | sphinx/directives/other.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py index 9325cbe4f..2ace3738f 100644 --- a/sphinx/directives/other.py +++ b/sphinx/directives/other.py @@ -276,6 +276,7 @@ class HList(SphinxDirective): npercol, nmore = divmod(len(fulllist), ncolumns) index = 0 newnode = addnodes.hlist() + newnode['ncolumns'] = str(ncolumns) for column in range(ncolumns): endindex = index + ((npercol + 1) if column < nmore else npercol) bullet_list = nodes.bullet_list() |