can we Protect everything such as $\Xi_{cc}$ in title (do not let underscore becomes \_)
Issue #132
new
In my bib file, the title is well written as Latex form
@Article{Luo:2003q,
Title = {{Resolving the low mass puzzle of $\Xi_{cc}(2940)^+$}},
Author = {…},
…
}
With the following command and my own-written formatting-style.py even with Protected() function,
pybtex --style-language python someTexFile
The title in the someTexFile.bbl still becomes
\newblock {Resolving the low mass puzzle of $\Xi\_{cc}(2940)^+$}}.
That is, the underscore “_” becomes “\_”.
How can we do not let that happen and keep everything in title as the original one?
Comments (1)
-
reporter - Log in to comment
How to configure your reference style with pybtex (for beginners). Here I show more details after these days studying.
pip install pybtex
pip install -U setuptools
4.write setupXX.py file and run the following command only once:
python setupXX.py develop
In setupPR.py, we write
5. In your tex file, add
\bibliographystyle{customPR}
\bibliography{someBibFile}
and run the following command for generating the bbl file for the references:
pybtex --style-language python -b mybackend texfileName