| Summary: | error in saving unicode-8 | ||
|---|---|---|---|
| Product: | [Applications] KBibTeX | Reporter: | mb.schiekel |
| Component: | Loading/saving files | Assignee: | Thomas Fischer <fischer> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.8.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 0.9 | |
| Sentry Crash Report: | |||
I tried to reproduce this problem, but for me there is no problem. Both bibtex and biblatex/biber work and I get a PDF with the name spelled correctly.
LaTeX file for use with BibTeX:
\documentclass{article}
\begin{document}
\nocite{*}
\bibliographystyle{plain}
\bibliography{bug403793-ruzicka}
\end{document}
LaTeX file for use with Biber/BibLaTeX:
\documentclass{article}
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\addbibresource{bug403793-ruzicka.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
Used .bib file as saved with KBibTeX:
@article{bug403793,
author = {A. R{\r u}{\v z}i{\v c}ka},
month = jan,
title = {{Testing UTF-8-to-LaTeX Translation}},
year = {2019}
}
Invocation of pdfLaTeX and BibTeX:
rm -f bug403793-*blg bug403793-*bbl bug403793-*aux bug403793-*run.xml bug403793-*bcf bug403793-*log ; pdflatex -halt-on-error bug403793-ruzicka-bibtex && bibtex bug403793-ruzicka-bibtex && pdflatex -halt-on-error bug403793-ruzicka-bibtex && pdflatex -halt-on-error bug403793-ruzicka-bibtex
Invocation of pdfLaTeX and BibLaTeX/Biber:
rm -f bug403793-*blg bug403793-*bbl bug403793-*aux bug403793-*run.xml bug403793-*bcf bug403793-*log ; pdflatex -halt-on-error bug403793-ruzicka-biblatex.tex && biber bug403793-ruzicka-biblatex && pdflatex -halt-on-error bug403793-ruzicka-biblatex.tex && pdflatex -halt-on-error bug403793-ruzicka-biblatex.tex
I noticed that your bug report mentioned version 0.8.2 whereas my test was on the latest development version. Due to a re-write, the bug should not exist in 0.9 and any later version, including the master branch. Please test it yourself. Use the quick start to run KBibTeX [1] with the following command: bash run-kbibtex.sh "https://anongit.kde.org/kbibtex.git" "kbibtex/0.9" [1] https://userbase.kde.org/KBibTeX/Development#Quick_Start_to_Run_KBibTeX_from_Git |
SUMMARY error in saving unicode-8 STEPS TO REPRODUCE 1. input autor: R{\r{u}}{\v{z}}i{\v{c}}ka ; 2. kbibtex changes this in Růžička - right ; 3. save the bibfile and find: author = "R{\r u}{\zcaron}i{\v c}ka" 4. latex stops with error OBSERVED RESULT author = "R{\r u}{\zcaron}i{\v c}ka" EXPECTED RESULT autor: "R{\r{u}}{\v{z}}i{\v{c}}ka" ; SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: opensuse Leap 15.0 (available in About System) KDE Plasma Version: 5.12.6 KDE Frameworks Version: 5.45.0 Qt Version: 5.9.4 ADDITIONAL INFORMATION