Discussion:
[KBibTeX] [Bug 401761] New: KBibTex changes LaTeX accents
Add Reply
Mathieu
2018-12-05 09:23:00 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=401761

Bug ID: 401761
Summary: KBibTex changes LaTeX accents
Product: KBibTeX
Version: 0.8.1
Platform: openSUSE RPMs
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: Loading/saving files
Assignee: ***@unix-ag.uni-kl.de
Reporter: ***@gmail.com
Target Milestone: ---

When saving the bib file, KBibTeX changes all the LaTeX accents (e.g. {\'e})
into characters with accents (e.g. é), which can generate some later problems
of compatibility. This is not what we want. LaTeX commands should not be
changed.

Observed in version 0.8.1

Example: after saving the following bibitem

@Article{Lojasiewicz-93,
Title = {Sur la g{\'e}om{\'e}trie semi- et
sous-analytique},
Author = {{\L}ojasiewicz, Stanislaw},
Journal = {Ann. Inst. Fourier (Grenoble)},
Year = {1993},
Number = {5},
Pages = {1575--1595},
Volume = {43}
}

has been changed into

@article{Lojasiewicz-93,
author = {Łojasiewicz, Stanislaw},
journal = {Ann. Inst. Fourier (Grenoble)},
number = {5},
pages = {1575–1595},
title = {Sur la géométrie semi- et sous-analytique},
volume = {43},
year = {1993}
}
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Fischer
2018-12-06 08:49:05 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=401761

Thomas Fischer <***@unix-ag.uni-kl.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|REPORTED |NEEDSINFO

--- Comment #1 from Thomas Fischer <***@unix-ag.uni-kl.de> ---
KBibTeX supports saving BibTeX text either in some character encoding like
UTF-8 or in 'LaTeX encoding' which writes out, for example, {\'e}. For files
opened, KBibTeX will try to detect and remember the encoding, but you can set
the encoding manually later or during a Save As operation, too.

As the 'LaTeX encoding' is the default in various situations, I am wondering if
you do something else to switch away from this default?

(In reply to Mathieu from comment #0)
Post by Mathieu
When saving the bib file, KBibTeX changes all the LaTeX accents (e.g. {\'e})
into characters with accents (e.g. é), which can generate some later
problems of compatibility. This is not what we want. LaTeX commands should
not be changed.
Observed in version 0.8.1
Example: after saving the following bibitem
--
You are receiving this mail because:
You are watching all bug changes.
Loading...