https://bugs.kde.org/show_bug.cgi?id=401470
Bug ID: 401470 Summary: Don't remove leading whitespace in macros Product: KBibTeX Version: 0.8.1 Platform: Debian unstable OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Loading/saving files Assignee: fisc...@unix-ag.uni-kl.de Reporter: s-be...@gmx.net Target Milestone: --- SUMMARY When a @string definition starts with whitespace, the whitespace is removed when (or after) the file is loaded. This may be a feature in the general setting but destroys my author lists because I use something like the following to have consistent repeated author names: @string{and = " and "} @string{author1 = "First Author"} @string{author2 = "Second Author"} @article{foo, author = author1 # and # author2, ... } STEPS TO REPRODUCE 1. Make a bib file containing the contents similar to the ones mentioned above. 2. Load the file into kbibtex. 3. Inside kbibtex, watch the BibTeX source of the first macro "and" 4. optionally: Save the file OBSERVED RESULT In step 3: "@string{and = {and }}" In step 4: All your author information is now screwed because of the wrong "and" macro. EXPECTED RESULT In step 3: "@string{and = { and }}" In step 4: Do not screw up author information. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.13.5 KDE Frameworks Version: 5.49.0 Qt Version: 5.11.1 ADDITIONAL INFORMATION - -- You are receiving this mail because: You are watching all bug changes.