-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fail to extract Title in common cases in both pylatexenc V2 and V3 #114
Comments
Update:I dig into the https://github.com/phfaist/pylatexenc/blob/main/pylatexenc/latex2text/_defaultspecs.py#L175 Turns out value is stored in Right now, it can work for |
Yes, the latex-to-text module has an ugly kludge to output the title, author, and date together at the location of the |
I was not aware of |
For example, when title in .tex file have following format:
\title{FlexiTex: Enhancing Texture Generation with Visual Guidance}
\title[DeepMimic: Example-Guided Deep Reinforcement Learning of Physics-Based Character Skills]{DeepMimic: Example-Guided Deep Reinforcement Learning\\ of Physics-Based Character Skills}
latex_to_text -> nodelist_to_text -> macro_node_to_text
would fail to extract the text completely and return the empty stringThe text was updated successfully, but these errors were encountered: