KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans (3) .- Knowledge Base  . 

ktikz - Editor for the TikZ language


KDE Graphic Editor

Score 75%
ktikz - Editor for the TikZ language

ktikz - Editor for the TikZ language

Homepage:  Link
Downloads:  3822
Submitted:  Jul 28 2007
Updated:  Oct 14 2010


Version 0.10 is released. This version is available as an Ubuntu package for Lucid, as a Debian package for Squeeze and as a Windows installer. For Linux there are two versions available: KtikZ and QtikZ. KtikZ is integrated with the KDE4 platform, whereas QtikZ has the traditional Qt-only interface. Thanks go to Glad Deschrijver, Agustin Martin and Stuart Prescott for their contributions.

Please visit the project website for more information.



Version 0.10 (2010-08-26):
- KDE integration (the possibility to compile Qt-only still exists)
- template files on remote machines can be used using KIO (only in the KDE
- TikZ source files on remote machines can be loaded, saved and exported
using KIO (only in the KDE version)
- error messages while generating the preview are shown in the preview
window itself
- zooming is done in a separate thread now, so the interface is not blocked
when zooming at large sizes
- a kpart is available that can be used to view TikZ source files in
konqueror (the kpart opens files having the text/x-pgf mimetype)
- update list of tikz commands
- remove bug which causes ktikz to hang (since Qt 4.6) when typesetting
a picture
- remove bug: cannot find TikZ documentation when selecting “TikZ Manual”
in the Help menu, even if configured correctly
- display description of a newly inserted tikz command (using command
completion or menu) in the statusbar, so that the user still sees the
usage of a command after it is inserted
- add option to compile the TikZ code only when pushing a “Build” button
- add reload button
- add shell script and ktikz template to the examples directory which can
be used to generate the preview with the latex; dvips; ps2pdf sequence
instead of pdflatex (the usage is described in the shell script code)
- check whether the file has changed when ktikz gets the focus (similar
to kwrite)
- in the kpart check for file changes and reload if there are any (similar
as in okular)
- the zoom percentage field is now displayed and edited in the user’s locale
- added documentation
- remove bug: when the error box is larger than the preview and the next
compilation does not give errors, the error box is still visible outside
the area covered by the preview
- try to find or use the default hard-coded (configurable in conf.pri and
CMakeLists.txt) path to the TikZ documentation when an empty path is
stored in the local settings (this is the case e.g. when ktikz is run
for the first time)
- when inserting code using code-completion, the arguments and options that
must be filled in are marked by a bullet, the bullets can be browsed with
the Tab-key
- now also an URL to an online version of the TikZ documentation can be
specified in the configuration dialog
- an icon for Windows and an NSIS Windows Installer script are now available
- the “Insert” menu is now also translated

Version 0.9 (2009-09-10):
- remove bug that on startup the item selected in the template combobox
did not correspond to the text in the lineedit of the combobox
- correct the height of the lineedits in the configuration dialog
- the path to the TikZ documentation must now be set in the configuration
- don’t wait one second before generating the preview when a file is
loaded, the template is changed or shell escaping is toggled
- only files are used now as a template file (previously directories
and everything with a valid path was used), otherwise the default
template is used
- if the replacement text is empty, then the default template is used
instead of giving non-informative errors
- when the commands dock is visible (instead of the menu), the code that
will be inserted is visible in the status bar on hovering the item in
the list
- clicking on an item in the commands dock only includes the corresponding
code once (instead of twice)
- added file name completion to the template line edit and the line edits
in the configuration dialog
- space and tab markers resize according to the font size of the main text
- the color of the space and tab markers can be changed in the
configuration dialog
- white space and tabulator settings are separate now
- scrolling in the text edit with the arrow keys is faster now
- better completion of \begin{… and \end{…
- allow to use the icons set in KDE4 when the appropriate variable in
conf.pri is set
- remove bug that the “Next Image” and “Previous Image” buttons remained
visible when emptying the code text area
- remove bug: statustip of the toggle view actions in the Settings menu is
not shown when a toolbar or sidebar is hidden on startup
- add support for session management (open windows will be reopened after
logging out and logging in again)
- added option in the config dialog to enable/disable completion of the
tikz commands
- trying to open a file from the “Open Recent” menu that does not exist
anymore does not cause an empty window to be opened anymore, furthermore
the file is removed from the “Open Recent” list

Version 0.8 (2009-03-29):
- allow text under icons in toolbar
- remove bug: when a second ktikz window is closed while typesetting,
the cursor is not restored from busy to normal
- remove bug: when the document is untitled and not yet saved, then
opening a file opens the file in the current window, destroying the
unsaved text
- added some tikz commands to the list of commands
- disable “Save” and “Save As” actions when the file in the text editor
is the same as on disk
- replace the “Replace this occurrence” dialog by a widget shown at the
bottom of the text editor
- added filter “PGF files” in “Open File” dialog
- the previously selected templates can now be selected from a combobox
- added “Clear” button to each line edit
- remove bug: the size of the default font did not change after setting
a new font size in the config dialog
- new way of writing the temporary latex and pgf files, this also solves
the bug in which the line numbers in the log window did not correspond
to the line numbers in the editor
- each time the template is changed a new QTemporaryFile is used, this
avoids the bug that if the template contains less characters, then the
bottom of the old template is still there in the file (luckily latex
stops parsing at the first \end{document}, so this bug was not visible)
- allow to use KDE4 file dialogs when the appropriate variable in conf.pri
is set
- remove bug (I hope) that caused ktikz to crash when zooming while ktikz
is typesetting

Version 0.7 (2008-08-26):
- disable previous image button if the first image is shown, disable
next image button if the last image is shown
- the first time that the End button is pressed the cursor is moved to
the end of the line (on screen), the second time the cursor is moved
to the end of the block (end of the line in the file)
- don’t run latex on startup when no document is loaded from the command
- adjust size of the viewport in which the preview is displayed when new
items are added to the tikz picture
- added completion of the tikz commands
- the tikz commands are now loaded from an XML file
- corrected the size of the colored background around the highlighted
- remove bug in ConfigDialog::selectFont() (replace “if (&ok)” by “if (ok)”)
- the command “New” in the “File” menu now opens a new empty window,
the commands “Open” and “Open Recent” open the selected file in a new
window, a “Close” command is added which empties the current window
- the (empty) document is not typesetted anymore when the “Close” command
(which has the same behavior as the old “New” command) is executed
- add the directory in which the template file is located to the
$TEXINPUTS environment variable (useful if the template \inputs other
- layout changes in the configuration dialog

Source(ktikz 0.10 source code)
Ubuntu(KtikZ package for Ubuntu Lucid)
Debian(KtikZ package for Debian Squeeze)
Send to a friend
Other  Apps  from deadman66
Report inappropriate content

goto page:  1  2 



 by stefph on: Aug 3 2007
Score 50%

thanx for these great enhancements! i like this simple program, very useful to make graphics with TikZ!

Reply to this


 compilation fails

 by LordAsriel on: Nov 27 2007
Score 50%

I tried to compile that software but compilation aborts with the following error:

cd src/ && make -f Makefile
make[1]: Entering directory `/home/user/ktikz-0.4/src'
g++ -c -pipe `pkg-config --cflags poppler-qt4` -g -D_REENTRANT -Wall -W -DTIKZ_DEBUG_MODE -DAPPVERSION=\"0.4\" -DKTIKZ_INSTALL_TRANSLATIONS=\"/share/ktikz\" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o tikzpreview.o tikzpreview.cpp
tikzpreview.cpp: In member function ‘void TikzPreview::showPdfPage()’:
tikzpreview.cpp:128: error: ‘class Poppler::Page’ has no member named ‘splashRenderToPixmap’
make[1]: *** [tikzpreview.o] Error 1
make[1]: Leaving directory `/home/user/ktikz-0.4/src'
make: *** [sub-src-make_default] Error 2

I'm using gentoo.
I think all dependencies are satisfied (and all use flags are correctly set) but I can give you more informations if you need them.

Maybe (I really don't know) the following link can give you a hint:
However in gentoo poppler libs are under /usr/include/poppler/qt4/ .

Please inform me if you find my suggestion misleading so I can edit my message and remove the link.

Reply to this


 Re: compilation fail

 by sebaestn on: Jan 29 2008
Score 50%

I get the same fault on Ubuntu Gutsy with all packages ktikz depends on installed.

When I check out the newest version 0.5 from the svn repo directed to on the homepage I get the following error:

cd src && make -f Makefile
make[1]: Betrete Verzeichnis '/home/user/test/ktikz/src'
g++ -c -pipe `pkg-config --cflags poppler-qt4` -Wall -W -O2 -D_REENTRANT -DAPPVERSION=\\\"0.5\\\" -DKTIKZ_INSTALL_TRANSLATIONS=\\\"/home/user/Applications/share/ktikz\\\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I../build/ui/ -I../build/moc/ -o ../build/obj/aboutdialog.o aboutdialog.cpp
aboutdialog.cpp:20:28: Fehler: QDialogButtonBox: No such file or directory
aboutdialog.cpp:21:18: Fehler: QLabel: No such file or directory
aboutdialog.cpp:22:21: Fehler: QTextEdit: No such file or directory
aboutdialog.cpp:23:23: Fehler: QVBoxLayout: No such file or directory
In Datei, eingefügt von aboutdialog.cpp:24:
aboutdialog.h:23:19: Fehler: QDialog: No such file or directory
aboutdialog.cpp:32: Fehler: verirrtes »\« im Programm
aboutdialog.cpp:32: Fehler: fehlendes abschließendes Zeichen "
aboutdialog.h:26: Fehler: expected class-name before »{« token
aboutdialog.h:27: Fehler: ISO-C++ verbietet Deklaration von »Q_OBJECT« ohne Typ
aboutdialog.h:28: Fehler: expected »;« before »public«
aboutdialog.cpp:26: Fehler: expected `)' before »*« token
make[1]: *** [../build/obj/aboutdialog.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/user/test/ktikz/src'
make: *** [sub-src] Fehler 2

Is this a problem with gutsy (prgram developed under feisty) or where is the mistake?

Reply to this


 Re: Re: compilation

 by glad on: Feb 22 2008
Score 50%

On Ubuntu you should run qmake-qt4 instead of qmake.

The splashRenderToPixmap error can be solved by checking out svn and compiling version 0.5 (version 0.4 is based on an older version of poppler, namely v0.5.4, the API of which is incompatible with that of v0.6).

Reply to this


 Re: Re: Re: compilat

 by sebaestn on: Mar 15 2008
Score 50%

Thanks, worked fine for me.

Reply to this


 Ktikz crashes

 by stomking on: May 1 2008
Score 50%

First of all I really like your software cause I am in the middle of my thesis. It would be very helpful.
I compiled it on Ubuntu 8.04 amd64. Unfortunately it crashes with this error:
ktikz: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.

Reply to this


 Re: Ktikz crashes

 by underscore on: May 6 2008
Score 50%

I have the same problem with ktikz (from svn) here on Ubuntu 8.04. The problem appears right after the main window appears. Running ktikz from gdb gives following:

ktikz: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6c85720 (LWP 23839)]
0xb7ef9410 in __kernel_vsyscall ()
(gdb) backtrace
#0 0xb7ef9410 in __kernel_vsyscall ()
#1 0xb721a085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb721ba01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb721310e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0xb6ff6324 in _XGetXCBBuffer () from /usr/lib/libX11.so.6
#5 0xb6ff75f3 in _XSend () from /usr/lib/libX11.so.6
#6 0xb6ff7758 in _XEventsQueued () from /usr/lib/libX11.so.6
#7 0xb6fe0a4f in XEventsQueued () from /usr/lib/libX11.so.6
#8 0xb77901aa in ?? () from /usr/lib/libQtGui.so.4
#9 0x080f8f10 in ?? ()
#10 0x00000002 in ?? ()
#11 0xb6f00248 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0xb7790170 in ?? () from /usr/lib/libQtGui.so.4
#13 0xb6f00248 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0xbfc1c738 in ?? ()
#15 0xb6e8a3e0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

But personally I think the problem is different to the backtrace message. I think it's some kind of thread synchronization problem when updating the preview window. If I comment out following lines from ktikz.cpp

connect(m_tikzEditorView, SIGNAL(contentsChanged()),
m_tikzController, SLOT(regeneratePreview()));

ktikz runs but (of course) is not working properly.

Trying different breakpoints did not help. Either the program was working correctly (with a preview) or it crashed in random pieces of code.

Any ideas?

Reply to this


 Re: Re: Ktikz crashes

 by deadman66 on: Jun 16 2008
Score 50%

The latest update to xserver-xorg-core, version 2:1.4.1~git20080131-1ubuntu9.2 seems to solve this problem. Please see the following bug report: https://bugs.launchpad.net/xorg-server/+bug/185311

Florian Hackenberger
Reply to this


 additional usepackages

 by cocus on: Oct 12 2008
Score 50%

First, thanks for the nice and useful program.
It would be nice to optionally add additional \usepackages in the preamble
(e.g. color) and additional \usetikzpackages like calc. Otherwise many tikz pictures cannot be interpreted by ktikz. I suggest a configuration parameter to include a file into the latex preamble.

Christian Kotz
Reply to this


 Re: additional usepackages

 by deadman66 on: Nov 15 2008
Score 50%

You can use the template functionality to accomplish that. The following template should serve as a guideline (be careful with line breaks when pasting):


Reply to this


 ktikz fails erratically

 by msingh123 on: Dec 9 2008
Score 50%

First of all - thanks for making this software. You do not know how much time you have saved me.

I am using version 0.7 (which does not crash any more). However, I keep getting cryptic "[LaTeX] Error : run failed" type messages.

The maddening thing is that these errors appear to crop up with a previous working piece of tikz code. I am using \write18 (shell escape feature) as I need to use pgfplots (using gnuplot).

Since I cannot appear to reproduce these errors in any predictable fashion and this appears to be independent of which working piece of code I have, is there some way for me to run ktikz in some sort of debug mode ?

The same code executes perfectly when compiled from my latex editor (which is kile).

My platform is Ubuntu Hardy.

Reply to this


 Re: ktikz fails erratically

 by msingh123 on: Dec 9 2008
Score 50%

I would like to point out that by working piece of code I mean code that has previously (sometimes as recently as 10 minutes ago) worked in ktikz.

Reply to this


 Re: Re: ktikz fails erratically

 by glad on: Dec 11 2008
Score 50%

Strange, ktikz 0.7 has never crashed on me in the few months that I use it.

You can compile it in debug mode by hiding CONFIG -= debug and CONFIG += release and by unhiding CONF += debug in the file conf.pri.

Reply to this


 Changing global defaults

 by msingh123 on: Dec 9 2008
Score 50%


Is it possible to change the location of global defaults (like the texmf.cnf file) using the pdflatex command-line as :

export TEXMFCNF=/path/to/new/texmf; pdflatex


It does not appear to work.

I have some plots (using pgfplots) that have a lot of points, and I need to change the tex defaults for myself.

Reply to this


 Re: Changing global defaults

 by glad on: Dec 11 2008
Score 50%

Maybe you can make a shell script with the content (untested):

export ...
pdflatex $*

and change in the "Typesetting" tab of the "Configure" dialog the "LaTeX command" to your script. I hope that works.

Reply to this

goto page:  1  2 

Add commentBack

How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2016 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.