You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 string
The text was updated successfully, but these errors were encountered:
MrForExample
changed the title
Fail to extract Title in common cases
Fail to extract Title in common cases in both pylatexenc V2 and V3
Sep 24, 2024
Turns out value is stored in LatexNodes2Text._doc_title variable
Right now, it can work for \title{FlexiTex: Enhancing Texture Generation with Visual Guidance}
But still fail on \title[DeepMimic: Example-Guided Deep Reinforcement Learning of Physics-Based Character Skills]{DeepMimic: Example-Guided Deep Reinforcement Learning\\ of Physics-Based Character Skills}, which will return '['
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: