Announcement

Collapse
No announcement yet.

Kate LaTeX Plugin

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kate LaTeX Plugin

    Hello,

    i hope i'm here at the right place to find help for my problem.

    I'd like to use Kate as my standard editor for kinda everything. So i looked up a plugin for LaTeX just to make it a little bit more comfortable and i found the "Kate LaTeX typesetting plugin 0.5" on KDE-Apps. I've downloaded the source and managed to compile it. I had a few issues with missing programms like cmake or missing libraries like kdelibs5-dev but i managed to solve it. In the end i had to run the "sudo make install" and it worked.
    And now my problem occured:
    When i start Kate and check the settings menu the plugin isn't there. It neither appears in the menu nor in the plugins section of kate.
    I honestly don't know what to do now or if it's just the wrong way to get this plugin working.

    I hope that someone can help me with that problem.

    Greetings,
    swasi

    #2
    At here

    Prerequisites

    Installed (minimum ?):

    - build-essential
    - cmake
    - kdelibs5-dev

    + lot of dev packages at here...


    Source: http://kde-apps.org/content/show.php?content=84772


    Links:

    https://help.ubuntu.com/community/CompilingEasyHowTo
    https://help.ubuntu.com/community/CompilingSoftware


    Compiling and Building

    Reading the ../katelatexplugin-0.5/README

    Code:
    mkdir build
    $ cd build
    /build$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DDEBIAN_SUCKS=1 ..
    Output
    ...
    -- Looking for dgettext - found
    -- Found Gettext: built in libc
    --------------------------------------------------------------------------------
    The plugin will be installed in /usr/lib/kde4
    The UI file will be installed in /usr/share/kde4/apps/kate/plugins/katelatex/
    The desktop file will be installed in /usr/share/kde4/services
    --------------------------------------------------------------------------------
    -- Configuring done
    -- Generating done
    -- Build files have been written to: ../Downloads/katelatexplugin-0.5/build
    Code:
    /build$ make
    Output

    ...
    [ 88%] Built target katelatexplugin
    Scanning dependencies of target pofiles
    [100%] Generating katelatexplugin_fr.gmo
    [100%] Built target pofiles
    Code:
    /build$ cpack -G DEB
    Output

    CPack: Create package using DEB
    CPack: Install projects
    CPack: - Run preinstall target for: katelatexplugin
    CPack: - Install project: katelatexplugin
    CPack: Create package
    CPack: - package: ../Downloads/katelatexplugin-0.5/build/katelatexplugin-0.5-Linux.deb generated.
    Clicking the katelatexplugin-0.5-Linux.deb



    Installing...

    Shutting down all Kate windows.

    Testing...



    The plugin is in the kate.


    Do you have those files installed ?

    :~$ dpkg -L katelatexplugin
    /usr
    /usr/lib
    /usr/lib/kde4
    /usr/lib/kde4/katelatexplugin.so
    /usr/share
    /usr/share/locale
    /usr/share/locale/fr
    /usr/share/locale/fr/LC_MESSAGES
    /usr/share/locale/fr/LC_MESSAGES/katelatexplugin_fr.mo
    /usr/share/kde4
    /usr/share/kde4/apps
    /usr/share/kde4/apps/kate
    /usr/share/kde4/apps/kate/plugins
    /usr/share/kde4/apps/kate/plugins/katelatex
    /usr/share/kde4/apps/kate/plugins/katelatex/ui.rc
    /usr/share/kde4/services
    /usr/share/kde4/services/katelatexplugin.desktop
    Last edited by Rog132; Jan 02, 2014, 05:28 AM.
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    Comment


      #3
      At the first try i followed the INSTALL file with the "sudo make install" at the end.
      I didn't try the DEB creation.

      I tried it now exactly like you did and it appeared now thank you!
      I don't honestly don't know why that happened.. didn't think there is a huge difference between those two methods.

      Thank you!
      Last edited by swasi; Jan 03, 2014, 06:42 AM. Reason: Problem solved

      Comment

      Working...
      X