-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


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

Cirkuit

   0.4.3  

KDE Scientific

Score 88%
Cirkuit
zoom


Cirkuit
zoom


Cirkuit
zoom


Link:  Link
Minimum required   KDE 4.x
Downloads:  1207
Submitted:  Jun 17 2009
Updated:  Dec 31 2011

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




Changelog:

- 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




LicenseGPL
Source(Source)
Ubuntu(Jaunty 64-bit)
Send to a friend
Subscribe
Other  Apps  from matteo81
Report inappropriate content



goto page: prev   1  2  3  4 

-
.

 Unable to render preview

 
 by Gallaecio on: Apr 9 2012
 
Score 50%

Hi,

For some reason, the build of Cirkuit we have in Chakra is not working well, although it compiles just fine.

When you run a sample (I tried with one downloaded with the integrated GHNS), you get the following message on the window:
“Unable to generate a preview for the current input”

Also, on the terminal:
[gallaecio@afonsox ~]$ cirkuit
cirkuit(13537)/kdeui (kdelibs): Attempt to use QAction "show_live_preview" with KXMLGUIFactory!
cirkuit(13537)/kdeui (kdelibs): Attempt to use QAction "show_log_view" with KXMLGUIFactory!
cirkuit(13537): Program not found!!

Any idea of what might be causing this?


Reply to this

-

 Re: Unable to render preview

 
 by agostinelli on: Apr 10 2012
 
Score 50%

Hi,

I guess there is a missing dependency. Probably you do not have 'dpic' installed, but I would need to inspect the log file to verify it. It is available in the AUR in Arch Linux. You could also try to change the interpreter in the settings and switch to gpic. Ensure also that you have latex (or pdflatex if you use TikZ) and m4 installed on your system.

Matteo


Reply to this

-

 Re: Re: Unable to render preview

 
 by Gallaecio on: Apr 11 2012
 
Score 50%

That’s what I was suggested first, but tried with dpic (this is the latest PKGBUILD I am using. http://gitorious.org/chakra-packages/apps/blobs/master/cirkuit/PKGBUILD ) and the results are the same. Also tried installing additional texlive packages, but I have already all those the AUR PKGBUILD has :(

How can I access the logs?


Reply to this

-

 Re: Re: Re: Unable to render preview

 
 by matteo81 on: Apr 12 2012
 
Score 50%

If you are using the latest version, you can access the log from the menu bar (View->Log). You can also check inside /tmp/kde-{yourusername}/cirkuit/build


Reply to this

-

 Re: Re: Re: Re: Unable to render preview

 
 by Gallaecio on: Apr 12 2012
 
Score 50%

This is the output I get:
http://paste.chakra-project.org/1229

Just in case, I am opening this example:
http://kde-files.org/content/show.php/Biquad?content=146691


Reply to this

-

 Re: Re: Re: Re: Re: Unable to render preview

 
 by matteo81 on: Apr 13 2012
 
Score 50%

Well, from the output you pasted everything seems fine. Could you try the following:
- Go to /tmp/kde-{yourusername}/cirkuit/build and launch dvips (or dvipdf) on the latest dvi file (you can also find the filename in the log.. it was XM1522.dvi in the log you pasted). Does it produce a valid ps/pdf file? Do you get an error message?

- In Settings->Configure Cirkuit->Circuit Macros->Pic interpreter switch to dpic+TikZ and then regenerate the plot

Thanks for the time you are spending in finding this bug. I hope we can hunt it down soon :)


Reply to this

-

 Re: Re: Re: Re: Re: Re: Unable to render preview

 
 by Gallaecio on: Apr 14 2012
 
Score 50%

Thanks you for helping out.

Both the .ps and .pdf files generated using dvips and dvipdf respectively on the tmp file render OK in Okular.

Your hint on the settings also works. With dpic + TikZ the perview works nicely :)

Any idea of why could this be? I did nothing fancy to build dpic ( http://gitorious.org/chakra-packages/apps/blobs/master/dpic/PKGBUILD )



-

 Re: Re: Re: Re: Re: Re: Unable to render preview

 
 by matteo81 on: Apr 15 2012
 
Score 50%

I'm glad it's working now. I am not sure what the problem is, since I cannot reproduce it locally.

If you want to dig deeper, you could try to launch 'dvips -E' and 'epstopdf' on the output DVI file (in the temp directory), since this is exactly the workflow used by Cirkuit.

By the way, when you generate the preview with Cirkuit, do you get the eps and pdf files in your temp dir or the dvi only? If only the dvi is there, then there must be something wrong in the conversion DVI->EPS->PDF ...



-

 Preview Error

 
 by BruceDawk on: Dec 12 2012
 
Score 50%

Hi All,

I installed Cirkuit but I am unable to render a preview, for the following M4 code I get the following errors.

.PS
cct_init
linethick = 1;
blen = dimen_/2

Z: dot
Z1: Z+(0,-blen*1.3)
line right_ blen*2/3
ebox(right_ dimen_); llabel(,"$\underline{Z}_X$")
line right_ blen*2/3
A: dot
A1: A+(1.5*dimen_,dimen_)
A2: A+(1.5*dimen_,-dimen_)
Z2: A+(0,-blen*1.3)
ebox(from A to A1); llabel("$\underline{Z}_X$")
dot
ebox(from A to A2); llabel(,,"$\underline{Z}_X$")
dot



line from Z1 to Z2
B: dot

move to Z1
dot
B1: B+(1.5*dimen_,dimen_)
B2: B+(1.5*dimen_,-dimen_)

line from B to B2
dot

line from B to B1
dot

move to Z+(-0.1,0)
arrow to Z1+(-0.1,0)
move to A1+(0.1,0)
arrow to B1+(0.1,0)
move to A2+(0.1,0)
arrow to B2+(0.1,0)

move to Z1+(-1.5*blen,blen*9/14)
"Tor 1"

move to B1+(1.5*blen,blen*9/14)
"Tor 2"


move to B2+(1.5*blen,blen*9/14)
"Tor 3"


.PE

[latex]

warning: \uput{2.5bp}[u](0.416667,0.05){$\underline{Z}_X$}: Unrecognized variable construct `$\'.

warning: \uput{2.5bp}[u](0.416667,0.05){$\underline{Z}_X$}: Unrecognized variable construct `$}'.

warning: \uput{2.5bp}[ul](1.083333,0.25){$\underline{Z}_X$}: Unrecognized variable construct `$\'.

warning: \uput{2.5bp}[ul](1.083333,0.25){$\underline{Z}_X$}: Unrecognized variable construct `$}'.

warning: \uput{2.5bp}[ur](1.333333,-0.25){$\underline{Z}_X$}: Unrecognized variable construct `$\'.

warning: \uput{2.5bp}[ur](1.333333,-0.25){$\underline{Z}_X$}: Unrecognized variable construct `$}'.

Guidance would be appreciated


Reply to this

-

 Re: Preview Error

 
 by matteo81 on: Dec 12 2012
 
Score 50%

Your example is rendered fine in my installation and the error you are reporting is just a warning, so it shouldn't be harmful. Are you sure there are no additional errors in the log?

Anyway, you can try removing the "$ and $" since they are not needed inside a llabel. But most likely, you have other issues with your installation ...


Reply to this

-

 Preview Error

 
 by BruceDawk on: Dec 12 2012
 
Score 50%

Hi matteo81

Those are the only errors that are showing up, would you be able to recommend what settings to play with to get this to work?


Reply to this

-

 Could someone help me to build cirkuit

 
 by panmerge on: Jul 13 2013
 
Score 50%

KDE4/CMake procedure to install cirkuit
I would appreciate a lot to have some help on this issue


Reply to this

goto page: prev   1  2  3  4 

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.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

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

Copyright 2003-2014 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.