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

The input processor of TeX will fold tabs and spaces into a single space token unless tab and space have their category changed from 10 (spacer) to 12 (other) #107

Closed
lostenderman opened this issue Dec 14, 2022 · 2 comments
Assignees

Comments

@lostenderman
Copy link
Owner

lostenderman commented Dec 14, 2022

\catcode`\ =12
\catcode`\^^I=12

We may need to do this category-changing in tests/templates/*/*.tex.m4 immediately before running the test, i.e. before \beginMarkdown/\markdownInput/\startmarkdown. Otherwise, at least the following tests will fail: 334, 335, 337.

Originally posted by @Witiko in #1 (comment)

@lostenderman lostenderman changed the title The input processor of TeX will fold tabs and spaces into a single space token unless tab and space have their [category][1] changed from 10 (spacer) to 12 (other), see also chapter 1 of [*TeXbook Inside Out*][2] (Olšák, 2001). The input processor of TeX will fold tabs and spaces into a single space token unless tab and space have their category changed from 10 (spacer) to 12 (other) Dec 14, 2022
@Witiko
Copy link
Collaborator

Witiko commented Dec 16, 2022

Can you please assign this issue to me?

@lostenderman
Copy link
Owner Author

Closing after pull #111.

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

2 participants