Open pcdi opened 1 week ago
Implementation hint: We have the latex-to-unicode formatter. It should be used in the filename conversion.
In case latex-to-unicode does not know this command, think harder of how to do step 5. Maybe use remove-latex-commands? Check the functionality - because the parameters inside the latex command should be kept.
We should rather use RemoveLatexCommandsFormatter
as Latex2Unicode can produce weird characters you don't probably want
Hii @koppor can i be assigned this issue to work on
/assign @yoyounik
👋 Hey @yoyounik, thank you for your interest in this issue! 🎉
We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.
In case you encounter failing tests during development, please check our developer FAQs!
Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.
Happy coding! 🚀
⏳ Please note, you will be automatically unassigned if the issue isn't closed within 30 days (by 14 December 2024). A maintainer can also add the "📌 Pinned"" label to prevent automatic unassignment.
Hey @koppor i have raise a PR for this: https://github.com/JabRef/jabref/pull/12194
please check it once, whenever you get the time, Thanks :)
Is your suggestion for improvement related to a problem? Please describe. For linked files, when they are renamed automatically according to
filename format pattern
, the fields that are used to generate the new filename are not stripped of LaTeX commands, so these LaTeX commands show up in the filename.Consider the following example:
If the pattern is set to
[bibtexkey] - [fulltitle]
, then the generated filename will beBrayBuildingCommunity - Building _mkbibquote_Community_.pdf
. In this case, only\
and{}
are sanitized to_
but the command namemkbibquote
remains.Describe the solution you'd like The filename generation function should be able to strip fields that are used to create the filename of LaTeX commands (even if only optionally). In the above example, the generated filename should then be
BrayBuildingCommunity - Building Community.pdf
.