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

Bug con macro de LaTeX \lstset y TeXtidote #36

Closed
danigonzser opened this issue May 7, 2024 · 2 comments · Fixed by #35
Closed

Bug con macro de LaTeX \lstset y TeXtidote #36

danigonzser opened this issue May 7, 2024 · 2 comments · Fixed by #35
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation M00 Corresponde al Milestone 00

Comments

@danigonzser
Copy link
Owner

danigonzser commented May 7, 2024

Un error con TeXtidote puede bloquear la comprobación gramatical y ortográfica en CI. El bug se debe a que la macro de latex \lstset para el diseño de fragmentos de código no se elimina aun poniéndolo en el argumento de --remove-macros de TeXtidote.
image

Opciones de TeXtidote:

--output html
--check es
--dict ./diccionario/diccionario.es.txt
--ignore sh:seclen,sh:stacked,sh:nonp,sh:nobreak,sh:nsubdiv,sh:figref,lt:es:SPANISH_WORD_REPEAT_BEGINNING_RULE
--remove titlepage,titlepage,centering,textwidth,cleardoublepage,centeroffset,oddsidemargin,evensidemargin,large
--remove-macros cleardoublepage,bfseries,today,tableofcontents,listoffigures,listoftables,lstset,textit

He visto que la issue en el repositorio de TeXtidote puede ser el problema.

@danigonzser danigonzser added bug Something isn't working documentation Improvements or additions to documentation M00 Corresponde al Milestone 00 labels May 7, 2024
@danigonzser danigonzser self-assigned this May 7, 2024
@danigonzser danigonzser linked a pull request May 7, 2024 that will close this issue
danigonzser added a commit that referenced this issue May 7, 2024
Signed-off-by: danigonzser <[email protected]>
danigonzser added a commit that referenced this issue May 21, 2024
@danigonzser danigonzser linked a pull request May 21, 2024 that will close this issue
@JJ
Copy link

JJ commented May 22, 2024

¿Y incluirlo en otro fichero e ignorar lo que haya en ficheros con un patrón determinado?

@JJ
Copy link

JJ commented May 22, 2024

Otra cosa que tendrías que plantearte es para qué usas lstset. ¿Hasta qué punto es útil para #2 ?

danigonzser added a commit that referenced this issue Jun 4, 2024
Signed-off-by: danigonzser <[email protected]>
danigonzser added a commit that referenced this issue Jun 4, 2024
Signed-off-by: danigonzser <[email protected]>
danigonzser added a commit that referenced this issue Jun 4, 2024
Signed-off-by: danigonzser <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation M00 Corresponde al Milestone 00
Projects
None yet
2 participants