Review Request 112068: KCharSelect: Show LaTeX commands for Unicode characters

Thomas Fischer fischer at unix-ag.uni-kl.de
Wed Aug 14 09:30:43 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112068/
-----------------------------------------------------------

(Updated Aug. 14, 2013, 8:30 a.m.)


Review request for kdelibs and KDE Utils.


Changes
-------

In data structures, using const char* instead of QString and ushort instead of QChar.
Added special case handling for {, }, and other symbols LaTeX treats differently.


Description
-------

Attached patch tries to determine the LaTeX command sequence for a given Unicode character. Right now, the most common latin-based characters and selected symbols are covered.
The translation table is based on the source code used in KBibTeX (BibTeX editor) and corrections/updates can be easily shared between both projects.


Diffs (updated)
-----

  kdeui/widgets/kcharselect.h de9e184 
  kdeui/widgets/kcharselect.cpp e00d001 
  kdeui/widgets/kcharselectdata.cpp 41eab5b 
  kdeui/widgets/kcharselectdata_p.h c6f7a3a 

Diff: http://git.reviewboard.kde.org/r/112068/diff/


Testing
-------


Thanks,

Thomas Fischer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130814/646ba5ad/attachment.htm>
-------------- next part --------------
_______________________________________________
Kde-utils-devel mailing list
Kde-utils-devel at kde.org
https://mail.kde.org/mailman/listinfo/kde-utils-devel


More information about the kde-core-devel mailing list