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

Only accept caseless variants of options in \setupmarkdown, not \markdownSetup #195

Closed
Witiko opened this issue Oct 7, 2022 · 0 comments · Fixed by #197
Closed

Only accept caseless variants of options in \setupmarkdown, not \markdownSetup #195

Witiko opened this issue Oct 7, 2022 · 0 comments · Fixed by #197
Labels
context Related to the ConTeXt interface and implementation expl3 Related to the high-level programming language expl3 latex Related to the LaTeX interface and implementation plaintex Related to the plain TeX interface and implementation quality of life Related to quality-of-life improvements to the interface reflection Related to the reflection capabilities
Milestone

Comments

@Witiko
Copy link
Owner

Witiko commented Oct 7, 2022

In #193 and #194, we added a \@@_with_various_cases:nn function to plain TeX and used it to accept snake_case and caseless variants of options in the LaTeX \markdownSetup and ConTeXt \setupmarkdown commands. However, only the snake_case variants are justified in case of the LaTeX \markdownSetup command (allowing copy-and-pasting Pandoc commands, easier to read than camelCase), In the \setupmarkdown command, caseless variants are also justified, because they follow the style of ConTeXt, see #17 (comment).

@Witiko Witiko added plaintex Related to the plain TeX interface and implementation latex Related to the LaTeX interface and implementation context Related to the ConTeXt interface and implementation quality of life Related to quality-of-life improvements to the interface expl3 Related to the high-level programming language expl3 reflection Related to the reflection capabilities labels Oct 7, 2022
@Witiko Witiko added this to the 2.18.0 milestone Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context Related to the ConTeXt interface and implementation expl3 Related to the high-level programming language expl3 latex Related to the LaTeX interface and implementation plaintex Related to the plain TeX interface and implementation quality of life Related to quality-of-life improvements to the interface reflection Related to the reflection capabilities
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant