-
Notifications
You must be signed in to change notification settings - Fork 79
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
mis-translate \bib item to Chinese #77
Comments
found one issue: \citep command with [options] not recognized by regexp |
In LaTeX, when using the natbib package, you can use the citep command with two square brackets to specify prenotes and postnotes for the citation. The first square bracket is for the prenote, which appears before the author and year of the citation, and the second square bracket is for the postnote, which appears after the author and year. For example:
\citep[see][pp.100-101]{smith2000}
This will generate a citation similar to "(see Smith, 2000, pp.100-101)".
Please note that the exact format of the citation may vary depending on the settings of natbib and the style of the bibliography (bibliographystyle). temp solve by using pattern_citep = r'\\citep\[(.*?)\]\[(.*?)\]\{(.*?)\}'
latex_obj_regex = [
pattern_citep, In order to control the scope of impact, I dare not be too abstract... |
case: 2311.12023
The text was updated successfully, but these errors were encountered: