8000 \ at end of line · Issue #120 · phfaist/pylatexenc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

\ at end of line #120

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

Open
domhnallr opened this issue Feb 28, 2025 · 0 comments
Open

\ at end of line #120

domhnallr opened this issue Feb 28, 2025 · 0 comments

Comments

@domhnallr
Copy link

The LaTeX snippet

chair\
table

produces the following nodelist in version 2.10 on Windows

[
   LatexCharsNode(parsing_state=<parsing state 2270821596560>, pos=0, len=5, chars='chair'),
   LatexMacroNode(
      parsing_state=<parsing state 2270821596560>,
      pos=5,
      len=2,
      macroname='\n',
      nodeargd=ParsedMacroArgs(
         argspec='',
         argnlist=[]
      ),
      macro_post_space=''
   ),
   LatexCharsNode(parsing_state=<parsing state 2270821596560>, pos=7, len=5, chars='table')
]

whereas I would expect the LatexMacroNode to have macroname=' ' and the following LatexCharsNode to have chars='\ntable'. Indeed, pdflatex produces "chair table" from the above snippet.

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

1 participant
0