-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Support xindy and XINDYOPTS environment variable #5476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
When using `xelatex`, Sphinx makes xindy to be used by default. These changes here, force to not use xindy in that case either. This will be supported at #5476
Hello there. I have been looking into this issue but I can't find where the XINDYOPTS environment variable is being configured. Usually it is configured in the Makefile (#4454 (comment)), but the core team specifically mentioned to not use the Makefile (#4454 (comment)). Any pointer in the right direction would be appreciated. |
Hi @shivanshu1234! I'm not sure yet if we can read the content of that env variable that it's added by Sphinx automatically via the Makefile (as you found) --this may need more research. Although, we can define that variable by ourselves via the admin. This is not good UX at all but that's a different problem. Currently, the problem is that the concatenation fails even if the variable is defined from the admin and used in the process of building the PDF. |
@humitos Thanks for the info! |
It is my understanding that this is not a "Good First Issue"? |
Removed! |
I think we can close this now that we are moving away from overriding files on behalf of the user. Maybe we can document this. |
This issue is still valid in the way that our environment variables include surrounding quotes (even if the user doesn't add them), which makes |
We should change the title and description of the issue then. |
Once #5437 gets merged, we will be able to build PDF supporting non-ASCII languages. Although, there is one step missing that is to support
xindy
to generate the index.Currently there are two problem for this,
xindy
is not installed in our docker image (Install xindy to support PDF with non-ascii indexes readthedocs-docker-images#98)XINDYOPTS
is concatenated via.
in thelatexmkrc
file it breaks because we surround it with""
and makes the command to fail (https://github.com/sphinx-doc/sphinx/blob/25f656316828ce5797e8e887b88b314315f73493/sphinx/texinputs/latexmkrc_t#L14)The text was updated successfully, but these errors were encountered: