Cirkuit

Science

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

7
Score 80.0%
Description:

Cirkuit is a KDE4 application to generate publication-ready figures. It was born as a KDE frontend for the Circuit macros by Dwight Aplevich, but it now supports different backends. Cirkuit builds a live preview of the source code and can export the resulting images in several formats (EPS, PDF, PNG, SVG, ...).

Circuit Macros is a set of macros for drawing high-quality line diagrams to include in TeX, LaTeX, or similar documents. Check this page by Alan Robert Clark to see some nice examples.

In addition to Circuit Macros, the TikZ and Gnuplot backends are currently supported. Some examples generated with TikZ can be found here. The CircuiTikz extension, which allows to draw electrical networks, is also supported (but it has to be installed separately).

Requirements
------------

To run this application you need to have the following applications installed:

* latex (with PSTricks, TikZ and preview packages)
* dpic
* m4
* gs
* dvips
* pdf2svg

On Debian-based systems (e.g. Ubuntu/Kubuntu) type the following command to install the required apps:

sudo apt-get install texlive-latex-base texlive-latex-recommended texlive-pstricks texlive-base-bin texlive-extra-utils preview-latex-style m4 ghostscript pdf2svg

At the moment, there is no package for dpic, so you will need to compile from source, or select gpic as the default pic interpreter in Cirkuit settings.

To build Cirkuit you need cmake and the KDE4 and Qt4 dev packages. To install them on Debian-based systems, type

sudo apt-get install cmake kdelibs5-dev libqt4-dev libpoppler-qt4-dev


To build the application, follow the usual KDE4/CMake procedure:

tar xzvf cirkuit-0.4.tar.gz
cd cirkuit-0.4
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make
sudo make install

Visit the application homepage: http://wwwu.uni-klu.ac.at/magostin/cirkuit.html

The project is now hosted on git.kde.org: http://projects.kde.org/cirkuit

Please submit bugs/wishes to http://bugs.kde.org
Last changelog:

8 years ago

- 0.4.3
Compatible with KDE SC < 4.7
Improved notifications
Minor bugfixes

- 0.4.2
More informative messages
Fixed wrong reassignment of Save and Save as actions
Fixed bug in upload dialog

- 0.4.1
Include translations in the release
Fixed a crash that could occur on startup
Bugfixes by Laurent Montel (mainly memory leaks)
Other bugfixes

- 0.4
New backend system (heavily inspired by Cantor)
New template system with GHNS (Get Hot New Stuff) support
Added Get Hot New Stuff support
Configurable keyboard shortcuts and toolbars
Much improved preview widget with variable zoom levels
Manuals and examples of each backend can be accessed in the main interface
Improved multi-threading -> Cirkuit generates the previews faster
Improved parsing of log files and error handling
Increased usage of K* instead of Q* classes for a better
Improved integration with the KDE environment
Redesigned configuration dialog
Other bug fixes / improvements

- 0.3.2
Switch from QProcess to KProcess
Download of remote data the KDE way with KIO
Fixed a bug when opening the Circuit Macros manual and examples

- 0.3.1.1
Integration with bugs.kde.org

- 0.3.1
Added possiblity to export to TeX source
Can export to GIF
Fixed a bug that caused wrong syntax highlighting detection in Kate
Correct escaping of mathematical expressions in Gnuplot
Fixed a bug that prevented the user to overwrite an exported file even when the user has confirmed that he wants to overwrite it
Fixed compilation issues
Improved localization
Various minor bugfixes


- 0.3
A lot of new features, pointing out just the most important ones
Multi-thread support
Full Gnuplot support (Lua terminal needed)
Support for different pic interpreters
Support for custom document templates
Improved handling of mime types
Improved error handling
Added more options in the settings

- 0.2.2
Fixed failed configuration of Circuit Macros

- 0.2.1
Experimental support for Gnuplot epslatex terminal
Fixed bug in generation of TikZ previews
Should be compatible with KDE 4.2

- 0.2
Improved text editor, now based on the Kate part
Support for syntax highlighting
Preview generated directly from PDF with LibPoppler
Reworked preview generation
Improved handling of error messages
Added TikZ support
Added CircuiTikz support

- 0.1.2
Faster preview generation
Export to SVG
Line number visualization
Fixed cutting of figures when exporting to EPS/PDF
Fixed CMakeLists.txt
Various bug fixes

- 0.1.1
Fixed a bug which prevented the generation of the preview
Improved auto-configuration of the macros

- 0.1
Initial version

swiftscythe

10 years ago

I've uploaded a PKGBUILD for Arch Linux
http://aur.archlinux.org/packages.php?ID=27493

Thanks :)

Report

epsilom

10 years ago

good program but I have a problem, I compile fine in Archlinux but when I put example code not show diagram, the messagge in consola:

"ARG: temp"
QMainWindow::saveState(): 'objectName' not set for QDockWidget 0x9f6c4c8 '&Live preview;
QMainWindow::saveState(): 'objectName' not set for QDockWidget 0x9f6c4c8 '&Live preview;

any idea?

thanks

Report

C

matteo81

10 years ago

Those warning messages are normal. Could you post the contents of your ~/.kde/share/apps/cirkuit and ~/.kde/share/apps/cirkuit/build directories? Maybe something went wrong during the download and configuration of the Circuit Macros ...

You could also try to remove the ~/.kde/share/apps/cirkuit directory and restart the application.

Report

epsilom

10 years ago

>>You could also try to remove the ~/.kde/share/apps/cirkuit directory and restart the application.

I try it, but continue same.

http://img188.imageshack.us/i/imagerrg.jpg/

xavier ~ $ ls ~/.kde/share/apps/cirkuit
build/ circuit_macros/

xavier ~ $ ls ~/.kde/share/apps/cirkuit/build/ -l
total 12
-rwx------ 1 xavier users 1589 jun 18 09:25 cctdpic*
-rw-r--r-- 1 xavier users 752 jun 18 09:40 temp.m4
-rw-r--r-- 1 xavier users 0 jun 18 09:50 temp.png
-rw-r--r-- 1 xavier users 1977 jun 18 09:40 temp.pst

xavier ~ $ ls ~/.kde/share/apps/cirkuit/circuit_macros/
CHANGES Makefile boxdims.sty doc/ gpic.m4 lib3D.m4 libgen.m4 mfpic.m4 pgf.m4 pstricks.m4
Copying README darrow.m4 examples/ homelib.txt libcct.m4 liblog.m4 mpost.m4 postscript.m4 xfig.m4


if you prefer, I can send you all content of ~/.kde/share/apps/cirkuit/

Report

C

matteo81

10 years ago

Maybe I know the cause of your problem. Do you have the pstricks package for LaTeX? I forgot to include it in the prerequisites.

Try installing the package texlive-pstricks.

Report

epsilom

10 years ago

Do you have the pstricks package for LaTeX?

I install this package (and others) but continued the problem, I don't know that could be

Report

C

matteo81

10 years ago

Well then I am quite lost too. Could you send the whole ~/.kde/share/apps/cirkuit directory to me?

Report

epsilom

10 years ago

yea, now work! thanks

Report

BorgQueen

10 years ago

Wonderful app.
Thank you.

Report

8 years ago

- 0.4.3
Compatible with KDE SC < 4.7
Improved notifications
Minor bugfixes

- 0.4.2
More informative messages
Fixed wrong reassignment of Save and Save as actions
Fixed bug in upload dialog

- 0.4.1
Include translations in the release
Fixed a crash that could occur on startup
Bugfixes by Laurent Montel (mainly memory leaks)
Other bugfixes

- 0.4
New backend system (heavily inspired by Cantor)
New template system with GHNS (Get Hot New Stuff) support
Added Get Hot New Stuff support
Configurable keyboard shortcuts and toolbars
Much improved preview widget with variable zoom levels
Manuals and examples of each backend can be accessed in the main interface
Improved multi-threading -> Cirkuit generates the previews faster
Improved parsing of log files and error handling
Increased usage of K* instead of Q* classes for a better
Improved integration with the KDE environment
Redesigned configuration dialog
Other bug fixes / improvements

- 0.3.2
Switch from QProcess to KProcess
Download of remote data the KDE way with KIO
Fixed a bug when opening the Circuit Macros manual and examples

- 0.3.1.1
Integration with bugs.kde.org

- 0.3.1
Added possiblity to export to TeX source
Can export to GIF
Fixed a bug that caused wrong syntax highlighting detection in Kate
Correct escaping of mathematical expressions in Gnuplot
Fixed a bug that prevented the user to overwrite an exported file even when the user has confirmed that he wants to overwrite it
Fixed compilation issues
Improved localization
Various minor bugfixes


- 0.3
A lot of new features, pointing out just the most important ones
Multi-thread support
Full Gnuplot support (Lua terminal needed)
Support for different pic interpreters
Support for custom document templates
Improved handling of mime types
Improved error handling
Added more options in the settings

- 0.2.2
Fixed failed configuration of Circuit Macros

- 0.2.1
Experimental support for Gnuplot epslatex terminal
Fixed bug in generation of TikZ previews
Should be compatible with KDE 4.2

- 0.2
Improved text editor, now based on the Kate part
Support for syntax highlighting
Preview generated directly from PDF with LibPoppler
Reworked preview generation
Improved handling of error messages
Added TikZ support
Added CircuiTikz support

- 0.1.2
Faster preview generation
Export to SVG
Line number visualization
Fixed cutting of figures when exporting to EPS/PDF
Fixed CMakeLists.txt
Various bug fixes

- 0.1.1
Fixed a bug which prevented the generation of the preview
Improved auto-configuration of the macros

- 0.1
Initial version

12345678910
12
product-maker MoonBlossom Oct 15 2011 9 excellent
product-maker msledziona Aug 08 2011 9 excellent
product-maker dooder Feb 28 2011 9 excellent
product-maker integr8e Jan 02 2011 9 excellent
product-maker denisq Dec 31 2010 9 excellent
product-maker Genserowski Dec 19 2010 9 excellent
product-maker kinch27 Dec 02 2010 9 excellent
product-maker sefran Oct 11 2010 9 excellent
product-maker losty Oct 09 2010 9 excellent
product-maker bugmenot1234 Oct 08 2010 9 excellent
product-maker YAFU Oct 08 2010 9 excellent
product-maker jrepin Oct 08 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
jamesgreenlinux
Dec 08 2012
MoonBlossom
Oct 15 2011
bugmenot1234
Aug 08 2011
denisq
Dec 31 2010
ctown
Dec 12 2010
Genserowski
Oct 08 2010
ngrocott
Dec 09 2009
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.4.3
updated Dec 31 2011
added Jun 17 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags app software