Slashdot Mirror


Electronic Publishing Using Free Software?

Arkaein asks: "I am planning on electronically self publishing a book that I want to write, typeset, and create diagrams for on my Linux PC. Most of the diagrams for the book will be generated through scripted custom software, and I want the final product to be as compact as possible. I would like some advice from Slashdot on what Free Software tools I should use, with an emphasis on scripting efficiency. I am planning on using hyperlinked PDF for the final book format. To date I have used LateX for writing basic papers and have created vector images using Xfig and raster images edited using The GIMP. I used dvipdfm to convert my results into PDF. What I haven't done is create a hyperlinked PDF document, or generated xfig, postscript or any other vector image format through software, or worked on any document project of this magnitude before. I have thought about using raster images, my current software used for web content similar to what will go into the book creates raster images which I convert to PNG, this works well because the images are fairly simple diagrams with few colors and compress very well. I estimate that the 200 or so images I need for my book would require about 10K each as high-res PNGs for a total of 2 MB. This sounds acceptable, but would probably be smaller with higher image quality in vector format. Are LaTeX, Xfig and dvipdfm the answers, or do I need to look in other directions?"

2 of 41 comments (clear)

  1. PDFLaTeX by tfinniga · · Score: 5, Informative

    Look mom, I even got the funky capitalization right!

    I know a guy who had a good experience using PDFLaTeX with pretty much the same method you are using. I think he did some of his figures as eps and others as png. PDFLaTeX allowed for the hyperlinks that the LaTeX -> ps -> pdf method won't get you. I found a pretty good summary here. Might be good if you're already familiar with LaTeX.

    --
    Powered by Web3.5 RC 2
  2. Some advice... by ianezz · · Score: 5, Informative
    From my (little) experience:
    • Save yourself the burden of typing LaTeX directly, and get a good front-end like LyX. Btw, it can also import existing (not-too-convoluted) LaTeX, just in case you already started writing. TeXmacs could be another option if your book is on a mathematical subject.
    • For vectorial diagrams and images, get Sketch and Dia and forget everything else (except perhaps Xfig, which comes handy sometimes). Sketch does a decent job at importing simple PostScript by itself (so you can retouch it), and of course it exports PS and EPS. For importing complex PostScript you may also use it together with pstoedit, which supports the Sketch format natively.
    • For graphs and trees have a look at Graphviz, which can generate beautiful outputs (both EPS or bitmapped) from simple textual descriptions of nodes and arcs (and it saves you