Jean-François B.

Results 273 comments of Jean-François B.

> > [...] The second chunk has similarly `latex:latex-elements` label after an internal cross reference, and this should not exist and did not exist with using Docutils 0.21.2 because for...

> AFAIK, the correct way would be to ignore all indirect targets, i.e. > > ``` > if 'refid' in node: > return > ``` @gmilde If I do that,...

Thanks @gmilde. For background I am pasting here some successive versions of (only the last lines of) `visit_target()`. 16 years ago at https://github.com/sphinx-doc/sphinx/commit/6a17e7d1a69cb90545eba66c707810d161aad724 ``` if 'refuri' in node: return if...

off-topic but when I see this: ``` \index{module@\spxentry{module}!module1@\spxentry{module1}}\index{module1@\spxentry{module1}!module@\spxentry{module}}\phantomsection\label{\detokenize{index:label-1a}}\phantomsection\label{\detokenize{index:label-1b}}\phantomsection\label{\detokenize{index:module-module1}} ``` we should be more economical with the `\phantomsection`'s if possible. Only one suffices, and multiple `\label`'s can follow it.

The test failures seem to be one more instance of something wrong related to parallel testing. Possibly related with #13996.

I have made preliminary attempt. But the comments at various locations of `sphinxlatexliterals.sty`, such as ``` % MEMO: fancyvrb has options obeytabs and tabsize. Anyhow tab characters % do not...

> **CONCLUSION** > > Due to the fact that the way `fancyvrb` implements the `obeytabs` feature is intrinsically incompatible with `commandchars=\\\{\}` which we absolutely need for Pygments mark-up, (see EDIT...

> The workaround for formal languages that mandate the use of TABs is to use an external file for the code samples and include it with > the include directive...

@gmilde Thanks for the links to pre-existing discussion at Docutils. The present problem thus applies to all builders. Regarding the PDF format, there appears to exist grave difficulties with rendering...