Bug 1196

Summary: support for eps figures
Product: ns-3 Reporter: Nicola Baldo <nicola>
Component: documentationAssignee: Tom Henderson <tomh>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs, vedran
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: add support for eps figures

Description Nicola Baldo 2011-06-23 11:03:14 UTC
Created attachment 1173 [details]
add support for eps figures

Here is a proposed patch that adds support for using .eps images as the source for generating (using "convert") the .pdf and .png images needed for the documentation. The previous methods being used for .dia sources is preserved, as well as the possibility of providing both .pdf and .png sources.

The reason for this patch is that currently the only way to go when a .dia source is not available (say that the image was generated with another tool, which happens quite often in practice, especially for result plots) is to provide both a .png and a .pdf file. With this patch, now it is sufficient to provide a single .eps source. Additionally, we note that .eps is quite popular for scientific papers, hence supporting .eps images makes it easier to cut and paste documentation to and from scientific papers.

No example usage is included in this patch, but you can find one here:
http://code.nsnam.org/nbaldo/ns-3-lena-dev/
Comment 1 Tom Henderson 2011-06-24 01:15:33 UTC
Feel free to commit or I can do so later (if you do commit, can you add support also for manual/ and tutorial/ for consistency?)
Comment 2 Tom Henderson 2011-06-28 14:44:30 UTC
committed (changeset 317a51a70b60)