Created attachment 117806 [details] Example bibfile to reproduce bug SUMMARY When a bibtex entry with a diaeresis is read and then written again an invalid macro is inserted leading to compilation failure by pdflatex. STEPS TO REPRODUCE 1. Open attached bibtex file in kbibtex 2. Save the file with default options OBSERVED RESULT The resulting file has among others the following text in the author file: Lo\"{\i}c EXPECTED RESULT The output should read Lo\"ic SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo Linux KDE Plasma Version: 5.14.4 KDE Frameworks Version: 5.53.0 Qt Version: 5.11.3
Created attachment 118852 [details] Fixing format string for dotless-i and dotless-j in EncoderLaTeX::encode I think I have narrowed down this bug. Please test this patch and confirm if it fixes your problem.
I'm very sorry. For having wasted your time. The problem when compiling the file with the bib file created by kbibtex was unrelated to the \i inserted. I used a macro called '\i' in some block and somehow the scoping broke. So the \i was not available in the bibliography even though it should have been. So it now works with and without your patch and I think the original version is more correct. Again, my apologies ...