summaryrefslogtreecommitdiff
path: root/sphinx/config.py
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2019-11-18 21:15:35 +0100
committerjfbu <jfbu@free.fr>2019-11-18 21:23:06 +0100
commit30c7af788ca52bb484a6c576dbfa3b7c446000bf (patch)
tree516cbc5105b48ad496d6859a689fca810f2811a4 /sphinx/config.py
parente720f0a1a237d1fe9251efa1f493cc7cee524a86 (diff)
downloadsphinx-git-30c7af788ca52bb484a6c576dbfa3b7c446000bf.tar.gz
LaTeX: revert in index entries to \textbar{} not \sphinxtextbar{}
This is because of case of an index directive or role in a table cell. For the same reason tabulary is not compatible with code-cells, it affects index entries. The escaping of | char by a LaTeX macro needed to be by a "robus" or "protected" one, or by string like {"|}. This was not the choice of previous commit, by oversight. By reverting to \textbar{} (which is a "robust" command) we also maintain maximal backwards compatibility for the sorting in the index done by the makeindex program.
Diffstat (limited to 'sphinx/config.py')
0 files changed, 0 insertions, 0 deletions