summaryrefslogtreecommitdiff
path: root/sphinx/directives/other.py
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2021-01-28 21:03:17 +0100
committerjfbu <jfbu@free.fr>2021-01-28 21:21:01 +0100
commita68a05533dfc1a40622b44ddfc6fab31cb4cb7fb (patch)
treecc8dc3b09d9535e9d4e2220d5b19fd1a815c367f /sphinx/directives/other.py
parent7f63c5442eb19c2cf52cf00679bb5666a7a4acef (diff)
downloadsphinx-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.py1
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()