Relative Content

Tag Archive for python-sphinxrestructuredtext

How to prevent sphinx replacing upper-case letters with lower-case in the target of a cross-reference?

This came to be, because I am currently changing our old documentation to a new one using sphinx. The old documentation used t2t files in which I have a lot of references written with capital letters in it. I converted the t2t to rst and had to make some adaptions, so most of it works.
But one issue is unresolved: Sphinx changes capital letters of reference targets to lowercase when converting to .tex files, but not the ones from the hyperrefs.

How to prevent sphinx replacing upper-case letters with lower-case in the target of a cross-reference?

This came to be, because I am currently changing our old documentation to a new one using sphinx. The old documentation used t2t files in which I have a lot of references written with capital letters in it. I converted the t2t to rst and had to make some adaptions, so most of it works.
But one issue is unresolved: Sphinx changes capital letters of reference targets to lowercase when converting to .tex files, but not the ones from the hyperrefs.