Kate LaTeX typesetting plugin

Text Editors

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

2
Become a Fan
6.1

Available as/for:
Description:
This is a plugin for Kate which adds two buttons on the toolbar: "Run LaTeX" and optionally "View Output" (see first screenshot; of course you can add or remove these buttons in the "Configure Toolbars" dialog). The first button runs LaTeX (and runs BibTeX, MakeIndex, and reruns LaTeX if necessary; optionally the viewer is launched after this), the second button opens the output in the viewer of your choice. The paths to the executables can be modified in the Settings dialog (see second screenshot).
Last changelog:

Version 0.5 (2013-02-1:
- add "Go to next LaTeX error" and "Go to previous LaTeX error" buttons

Version 0.4.1 (2012-11-06):
- set pdflatex as the default typesetting program (instead of latex)
- let this plugin be compilable on Debian (Ubuntu, ...) systems by providing our own copies of the missing header files (this is sooo dirty, but blame Debian for removing those headers); on decent systems the headers installed in the system will be used instead of our own copies
- make the plugin more thread safe
- reimplementation of the configuration panel
- in the "Messages" box, use the colors from the color scheme set in the KDE System Settings

Version 0.4 (2011-10-26):
- remove bug: when the warning about undefined citations is splitted on several lines in the log, then bibtex is not run
- focus the log text when the log panel is shown, so that the log can be browsed with the keys without first having to click in the log text
- show error message if the latex/bibtex/makeindex executables are not found
- remove bug: sometimes the latex log is not completely shown

Version 0.3.1 (2011-03-16):
- remove bug: if the "Stop LaTeX" button is added to the toolbar, then it doesn't remain in the toolbar when restarting Kate
- remove bug: in the "Configure Shortcuts" dialog the label of the group containing this plugin's actions is "Unknown" instead of "LaTeX Plugin"
- the "Stop LaTeX" action is disabled when LaTeX is not running

Version 0.3 (2010-07-06):
- add abort button
- don't try to run anything if the document is a never saved new document ("untitled")
- in CMakeLists.txt: installation paths are now the defaults specified in the KDE cmake modules
- add support for creating source and binary packages
- add French translation

Version 0.2 (2008-08-19):
- remove bug: unable to add or remove tools to the toolbar
- remove some crashes (I hope)
- add an option to automatically launch the viewer after running LaTeX
- in CMakeLists.txt: installation paths are relative to CMAKE_INSTALL_PREFIX now

Version 0.1 (2008-02-29):
- first version


Ratings & Comments

9 Comments

cbrunos

Hi, if someone wants an Ubuntu package, here it is: https://dl.dropbox.com/u/1343895/katelatexplugin-0.4.1-Linux.deb Works on 12.04.

reks

I'm glad to see this .. Well, not Glad.. but I'm glad to see this button, done by Glad.

tampakrap

hello there is an ebuild for gentoo in kde overlay Could you please fix lib with lib${LIB_SUFFIX} in CMakeLists.txt? thanks

nvilloria

I am very new to this site and I do not know whether it is the right place to ask a question, but I am having trouble building the plugin. After cmake I get the following message: nvilloria@nvilloria-laptop:~/katelatexplugin/build$ make [ 25%] Generating katelatexplugin_automoc.cpp Generating katelatex.moc /home/nvilloria/katelatexplugin/katelatex.h:50: Error: Undefined interface kde4automoc: process for /home/nvilloria/katelatexplugin/build/katelatex.moc failed: Unknown error pid to wait for: 0 processes in queue: 0 returning failed.. make[2]: *** [katelatexplugin_automoc.cpp] Error 1 make[1]: *** [CMakeFiles/katelatexplugin.dir/all] Error 2 make: *** [all] Error 2 Any suggestion?

dcrabs

Hi, I had the same issues on Ubuntu but installing "kdesdk-dev-kde4" solved it. Hope that helps even if you don't use a debian based system. dcrabs

nvilloria

Thank you very much. I could compile the plug-in following your suggestion. The problem now is that when I try to process a Latex file, Kate crashes. Is there any other piece I am missing? Nelson

fmos

I've just packaged this one for Arch Linux users. The package is called "kate-latex-plugin". http://aur.archlinux.org/packages.php?ID=18810

lucher

why 2 buttons? On LyX I just press Ctrl+D, LyX starts latex AND opens the output. If the output was opened earlier, it will be updated by the DVI/PDF viewer. The same with TeXShop on Mac, where there is only one button to compile and view...

prlewis

Good stuff - I'm looking forward to Kile being ported to KDE 4 too :-)

Pling
0 Affiliates
Details
license
version 0.5
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Text Editors:

klat
jori
last update date: 21 years ago

Score 5.0

ktexteditor-yankbuffer
metallman
last update date: 19 years ago

Score 5.0

CUTE
heiko
last update date: 21 years ago

Score 5.0

LogDay
Zarahk
last update date: 19 years ago

Score 5.0

katedataedit
pradu
last update date: 18 years ago

Score 5.0

ktexteditor-key-recorder
jo-link-noir
last update date: 10 years ago

Score 5.0



System Tags