https://bugs.kde.org/show_bug.cgi?id=426856

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |NEEDSINFO
         Resolution|---                         |WORKSFORME
      Latest Commit|                            |423a161dc5f44c8e7f0c873258d
                   |                            |adc050f25acd6
   Version Fixed In|                            |0.10

--- Comment #3 from Thomas Fischer <fisc...@unix-ag.uni-kl.de> ---
Sorry for the late response.

This bug report documents actually two problems:
1. The (mis)handling of "US-ASCII"  -- and --
2. Writing $\ensuremath{μ}$ instead of $\mu$.

For the first problem, I have decided to remove US-ASCII from the list of
encodings as it is redundant. You have effectively US-ASCII if you choose
either UTF-8 or LaTeX (and restrict yourself to characters defined in
US-ASCII). However, whereas US-ASCII cannot handle 'Ä' or 'Æ', both UTF-8 and
'LaTeX' can in their own ways.

The second problem was much about the 'LaTeX encoder' failing to recognize that
there was already a math environment from the dollar signs and thus \ensuremath
was unnecessary. The issue with μ is more complex than it seems, as on the
LaTeX side there is \mu, \textmu, and \textmugreek and on the Unicode side
there is the Greek letter μ (U+03BC), the 'micro' symbol 'µ' (U+00B5), and some
more special 'mu' symbols. Mapping between both sides is not obvious. KBibTeX's
guess work on the mapping has hopefully been improved now.

Those changes have been integrated both into the 'master' code (not yet pushed
at the time of writing) and a bugfix branch based on 'kbibtex/0.10'. The bugfix
branch contains the minimum changes necessary to fix the bug, the 'master'
changes include additional refactoring that does not belong into an
almost-stable branch.
So, please check the bugfix branch first. I would like to refine the commits
for the 'master' based on the feedback I receive here:
https://invent.kde.org/thomasfischer/kbibtex/commit/423a161dc5f44c8e7f0c873258dadc050f25acd6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to