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

Do not parse LaTeX environment names #89

Open
languitar opened this issue Dec 12, 2017 · 3 comments
Open

Do not parse LaTeX environment names #89

languitar opened this issue Dec 12, 2017 · 3 comments

Comments

@languitar
Copy link

\begin{enumerate}
        \item Generation of test input data from a domain model
        \item ...
\end{enumerate}

In this example. enumerate will be marked as wordy. It would be nice if things like this could be avoided.

@RichardLitt
Copy link
Collaborator

I'm not sure this is in scope. write-good isn't for LaTeX specifically, and there are a lot of exceptions we could start adding in on this reasoning.

It might make sense to have an ignore list for words that shouldn't be parsed - enumerate could be one of them.

@languitar
Copy link
Author

Just in case you are thinking about language-specific parsing: https://github.com/digitalheir/latex-parser that might be handy.

@btford
Copy link
Owner

btford commented Jan 29, 2018

I think a general sourcemaps-like construct might be the right way to go. So you could use one tool that would extract the human prose while preserving the line/columns of the text, and then pipe the output into write-good.

And then adding a section of the docs with recipes to do so would close the loop.

Are there any open standards for something like sourcemaps but for markdown or human prose?

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