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

Formatting in Latex? #37

Open
ghost opened this issue May 15, 2020 · 3 comments
Open

Formatting in Latex? #37

ghost opened this issue May 15, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented May 15, 2020

Hi,

I hope this question hasn't been asked before (at least I could not find it in the closed issues).

I played around with gherkindoc and it looks great so far, thank you!
The possibility to change the styling of the steps with CSS in HTML is great, too.

Is there a way to get styling of the gherkin-* roles for the Latex output of Sphinx, too?
Without it, the current output is kind of plain and not that great to read.

Sorry if this question is rather a generic Sphinx question.

@rbcasperson
Copy link
Contributor

Hi @SnkE! Sorry for taking so long to get back to you here. I'm not sure how the notifications for the issue were overlooked, but thanks for your interest in the tool!

I've never used the Latex option for Sphinx before, and I don't think any of the maintainers have either. At think point, we are only considering rST to be supported, so we'd have to make a larger decision to try to support that output. But my anticipation is that the use case is pretty small, so I honestly can't see us working on that anytime really, unless Latex takes over the world as the most popular text format (hey maybe it should!).

That said, if you think it would be really beneficial to you, you are more than welcome to contribute that support. It might not be too difficult. If you do, we would be happy to give you some guidance and feedback during the process.

@dgou
Copy link
Contributor

dgou commented Jan 11, 2022

I somehow missed this too.
At this point I think the solution is going to be from someone who is using the LaTeX output and would be willing to write the tests for it. Otherwise something will break and it'll just look for the project to claim support but have it be like a sports car sitting in a barn for years. :-)
This is coming up on two years old, so unless @SnkE or @rbcasperson have something imminently planned, I'd like to close this issue.

@controlpl4n3
Copy link

FWIW, I have a lot of experience using Sphinx and LaTeX.
This module builds the rST and its job is done.
Sphinx then translates the rST into LaTeX using a process similar to how the Javascript gets produced..
I say similar, but in fact the details are completely diffrent

Basically, @dgou you can close this issue because it is out of scope.

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

No branches or pull requests

3 participants