Bug 151004 - KopeTex doesn't support many standard math symbols/commands
Summary: KopeTex doesn't support many standard math symbols/commands
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Latex Plugin (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 121625 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-18 22:12 UTC by Christian Sonne
Modified: 2007-11-18 19:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Ads support for math symbols/commands to kopetex (347 bytes, patch)
2007-10-18 22:20 UTC, Christian Sonne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Sonne 2007-10-18 22:12:24 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          gcc version 4.1.2 Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
OS:                Linux

Assuming LaTeX support in kopete is generally used to typeset math, surprisingly few math-related packages are included in the LaTeX preamble.

As a result, many reasonably common equations cannot be displayed, but worse, they are simply displayed incorrectly (no error or warning is issued)

an example could be: $$\binom{n}{2}^2$$ which is displayed like so: http://users.skumleren.net/cers/kopetex/before.png
instead of the the intended:
http://users.skumleren.net/cers/kopetex/after.png

The converter is (on my system) placed here:
/usr/kde/3.5/bin/kopete_latexconvert.sh
and I will attach a patch that will fix most of these problems.

I understand that one should not include too many strange packages, but I think it would be smart to at least include the most commonly used ones.

By the way, it isn't sufficient to correct this problem on only the senders side, as it is converted both at sender and receiver side. ( This is related to bug#107094 http://bugs.kde.org/show_bug.cgi?id=107094 )
Comment 1 Christian Sonne 2007-10-18 22:20:28 UTC
Created attachment 21853 [details]
Ads support for math symbols/commands to kopetex
Comment 2 Lars 2007-10-23 17:30:03 UTC
Just confirming this bug. The plugin seems useless without more packages, especially as the primary use is typesetting formulae.
Comment 3 Charles Connell 2007-10-23 21:25:19 UTC
I just committed the patch from comment 1. Will close bug now.
Comment 4 Charles Connell 2007-11-18 19:22:18 UTC
*** Bug 121625 has been marked as a duplicate of this bug. ***