Skip to content
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

sphinx-tabs handling in LaTeX output #150

Open
ronstone2000 opened this issue Mar 10, 2022 · 4 comments
Open

sphinx-tabs handling in LaTeX output #150

ronstone2000 opened this issue Mar 10, 2022 · 4 comments

Comments

@ronstone2000
Copy link

ronstone2000 commented Mar 10, 2022

I am assessing sphinx-tabs for use in a workflow that must support PDF as well as HTML. I don't see explicit documentation of PDF support, but looking at past posts, some people seem to have requested formatting/ordering improvements to the PDF output, implying that some sort of rendering is provided. However, when I use

sphinx-build -b latex ...

no tabbed content is passed through. I have set

sphinx_tabs_valid_builders = ['latex']

Can someone clarify the level/type of LaTeX support? Specifically, I would want to linearize the output so that tabs and subtabs are converted to headers+content.

If LaTeX is not supported, I would like to request it as an enhancement and can follow up to start a discussion of what features would make sense for the community.

@ronstone2000
Copy link
Author

ronstone2000 commented Mar 31, 2022

Can anyone provide guidance on this? Thanks.

@OptimizationModels
Copy link

Any solution to this? tabs produce quite unsatisfactory LaTeX documents....

@foster999
Copy link
Collaborator

foster999 commented Mar 3, 2023

LaTeX/PDF support is minimal at best - I think we test a pdf build using rhinotype, which just writes the tab names and content in plain text.

I'd be happy to try and improve this, but would need a clear description of what you want the output to look like for each of the current tab types. I don't have experience using LaTeX, so it would be great if you could also provide a demo document and build instructions for me to test with. Sound good?

Edit: collating the requirements through a discussion also sounds like a great idea :)

@OptimizationModels
Copy link

OptimizationModels commented Mar 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants