svgslides -- a slide presentation program for linux using inkscape
logo

A command line and GUI tool for slide show presentations.

Current version: 1.3

This webpages was last updated: January, 2009

News

In November 2008, I decided (based on very helpful ideas and tips) to rename the software, and to make easier to run on different distro's! Slides is now called svgslides. In December 2008 and January 2009, I have added a GUI frontend for this tool.

Summary of features

Why you may need this

There are several reasons why you would like to work with svgslides and its associated tools. Here are the most important reasons: It is easy enough to make a slide show with the standard slide show programmes, such as Open Office Impress and its commercial equivalents. But I find PDF readers much easier to use and control than those programmes. Besides that, nearly all computers have a PDF reader installed. You can run Acrobat reader in full-screen mode (press control-l). Then you can go through your slides just by pressing the page down key, or pressing the mouse key.

You can also use a remote control with acrobat reader to go one page ahead (and many lecture theatres use those remote controls). Thus, Acrobat reader and other PDF readers are great slideshow presenters.

Further, Inkscape is a phantastic vector-based drawing program for creating attractive slides. Inkscape has a number of great features for creating slides. It has a good text tool and it supports all fonts installed on a system. Further, it is easy to import images into a Inkscape drawing, and there are also many cliparts available for Inkscape. Finally, both Inkscape and most PDF presenters are FREE of charge, and really easy to use.

I use Inkscape for creating talks and lectures. I create them on my Linux computer, but of course all my PDF presentations run without any problems on all other operating systems.

Again, this program is no sense comparible to programs such as OpenOffice Presenter. You have to be kind of a Linux or command-line fan to enjoy this utility. That said, it is really not difficult to use!

GUI

The newest addition to svgslides is the gui. You can start the program with svgslides-gui.


screenshot


screenshot

  1. File options
  2. Edit options (use to cut, copy, and paste whole slides (but not sub slides)
  3. Help options (not yet implemented)
  4. Information about current slide, and number of slides
  5. Information about current slide, in case there are partial (i.e., sub) slides.
  6. The current slide
  7. Go to first slide of slide show
  8. Go to previous slide
  9. Go to previous (sub) slide
  10. Go to next (sub) slide
  11. Go to next slide
  12. Go to last slide of slide show
  13. Edit currently slide (see 6) using inkscape
  14. Add a slide (creates new svg file in current directory). If template.svg exists, that file will be used.
  15. Add a bulletpointed slide (uses svgslides-bp)
  16. Click to toggle between before/after. This determines whether new slides will be added before or after the current slide.

    The GUI, written in tcl/tk, is still in development. Although it is fully functional, it needs some more polishing. Also, note that all the drawing of slides is done via inkscape.

    Download Installation

    svgslides can be installed on any Linux system easily (I am sure it can run on other operating systems as well, but that might require some work to do, because the shell script uses some other programs, such a awk, sed, xml, and pdfjoin).

    Install:

    Please note that the tutorial slides files are included in a subdirectory tutorial. Read the README file for details. Besides svgslides, the install program will install a few more programs. Here is a complete list of installed files (in /usr/bin) (or elsewhere).

    Further, it will install man pages for each of these 6 programmes.

    Usage

    Syntax of svgslides

    svgslides options filename

    The default filename is list A filename can be a text file with an svg file on each line (you can leave the .svg extension out on each line).

    Example of my_list_of_svgfilenames.txt: introduction.svg overview yet_another_drawing svg_extension_not_neceesary conclusion

    Options of slides:

    Info: The caching of PDF files speeds up slides the next time you use svgslides. Creating picture perfect PDF files is relatively slow, and the cache stores the PDF files until the corresponding svg slide file gets changed. The cache even keeps track of the dpi you have used.

    If your svg file includes an external bitmap which has been changed while the svg file itself has not been changed, your slide will not show the lates file, of course, because it would still use the cached ps file. In that case you could use the -c option.

    More helpful related programmes

    The following programmes can be used in conjunction with svgslides, and there is a seperate tutorial explaining how they work. Here is a short introduction: Both svgslides-bp and svgslides-readlines create files that can later be used with slides to create a pdf file. Another helpful programme is svgslides-svg2pdf. It calls inkscape to create a bitmap file (png) of your svg file and then prints this to a postscript file (all using inkscape via command line options), and then transforms that into a PDF. This is helpful, because other programs do not always do the transformation in a perfect way.

    The reason for using svgslide-svg2pdf instead of the builtin PDF export funtion is that it it creates an exact copy of your svg file. This is nice, because the builtin PDF export function does not always work (e.g., when I last tried it, it did not work with Gaussian blur - this will be changed, though). But, it is relatively slow if you want a high resolution, and it creates large files. Hopefully, Inkscape progresses quickly and this intermediate step is no longer necessary. This might be reached soon.

    Obviously, if you are just looking for a program to creat PDF files based on inkscape files, and which are always 100% correctly rendered, you can use svgslides-svg2pdf.

    svgslides-multipage

    Often, it is nice to have a compact overview of all your slides on one or on a few pages. The utility svgslides-multipage is designed for exactly this purpose. Alternatively, you could used your printer driver to print multiple pages on one page; the latter option does not always work though, and that is why I created multipage. Multipage does itself also not always work perfectly! The arguments of multipage are individual filenames (with or without the svg extension) or a textfile. You can open the output file of multipage with inkscape. You can, of course, export it with the PDF option. Note that inkscape .45 supports excellent PDF export, except for a few minor things (blurring and clipping).

    Potential problems and solutions

    Question: The program does not work at all, what is wrong?
    Answer: Maybe not all dependencies have been installed, such as xmlstarlet (see bugs below), pdfjoin, latex, inkscape?

    Question: Why is the size of the paper is wrong?
    Answer: This can happen when the default papersize is set to letter or a4 on your system (check with paperconf). You can force slides to use a particular papersize with the -s option.

    Question: Why is the slideshow rotated?
    Answer:This is due to the way the pdf is produced. In your PDF view program you can rotate. The PDF reader Evince memorizes the rotation of specific documents. In both evince and acrobat reader you can rotate the view. In acroread: menu->view->rotate view, in evince: menu->edit->rotate.

    Limitations

    Svgslides and its associated tools can do a lot, but not everything! In particular, it is not (yet) possible to show movies and sounds. It is also not yet possible to use internet links.
    In case of bugs, please email Gijsbert Stoet:

    Thanks

    Thanks to the various people who have made helpful comments, including Yaroslav Halchenko.

    Links