This fork of Xfig supports animating a figure for use in presentation slides!
When writing presentations in latex/beamer, I found generating the animation of figures very frustrating. I used to start from the last animation slide (the fullest figure) and I used to gradually delete parts of the figure until I reached the first one slide. When I wanted to make even 1 single change (e.g. spelling mistake) I had to redo the whole process from scratch. If you had the same experience, then you will find this tool extremely useful! If not, then don't bother.
Well, no more! After a few hours of hacking the xfig code I added support for generating animated slides!
This is experimental software! Please don't blame me if you loose all your precious work, your whole system crashes or if your computer catches fire. Proceed at your own risk!
Please report bugs (I am sure there are plenty of them) to me at v.porpodas at ed D ac D uk, replacing 'D' with a dot.
Installation / Building instructions
Install some system files in case your distribution is silly enough not to include them by default (e.g. Ubuntu):
$ sudo apt-get install xfig
$ sudo apt-get install xutils-dev
$ sudo apt-get install libxpm-dev
$ sudo apt-get install libxaw7-dev
$ sudo apt-get install libjpeg-dev
$ sudo apt-get install libxi-dev
$ tar -xjvf xfig.3.2.5b-slides.tar.bz2
$ cd xfig.3.2.5b
$ make -j 2
Some systems with broken compilers need this instead of "make -j 2":
$ make -j 2 CDEBUGFLAGS="-O0"
Run without installing it.
OR you can install it to your system (WARNING: This WILL REPLACE your original xfig!!!):
$ sudo make install
If you have any issue check the README file in the source tree.
New Features (slides):
This modified xfig allows you to generate animated figures for use in latex (beamer) presentation slides.
You can reuse an existing .fig file from your paper.
You only have to annotate the objects with slides numbers and xfig will take care of generating the sequence of .fig and .eps slides.
These are the main changes in the interface:
- The slides panel on the right side panel (below the depth layers).
- The Knock slide button, last button on the left tool bar.
- The File > Slides... menu item that brings up a dialog window.
- The slides text box when editing an object.
- The "Save Slides" button in the Save As dialogue window.
- The "Export Slides" button in the Export dialog window.
- New update action (bottom bar when Update (u) is selected). You can update the slides of objects.
- Set slides: Use either:
- the slides text box in the edit dialog window
- the "New Slide" button in the slides side bar to generate a new identical slide
- the Knock (k) editing tool using left/right/middle click to copy objects to next/previous slides or to delete an object from a slide respectively
- You can "Play >" the figure animation forward or backwards using the "Play >" and Reverse-Play "<" buttons. There is also a reverse play button (>). Use their keyboard shortcuts (>, <) if you wish.
- File > Slides to see what is being created. Use "Save Slides" and "Export Slides" to generate all the .eps files.
Download this sample .fig file slides_sample.fig that demonstrates how slides work.
Home Copyright (c) 2013 by Vasileios Porpodas, v.porpodas at ed period ac period uk.
Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.