[Scribus] SCD2PDF

Seil Marc marc.seil
Tue Mar 16 14:22:01 CET 2004


On Tuesday 16 March 2004 12:10, MaHan wrote:
> > Now I wan't to know if there is already someone, who
> > is implementing some kind
> > of scd2pdf tool? If not, is there any interest
> > including such a tool into
> > scribus?
>
> There have been some requests for such a feature on
> the list. A related scribus command line option is
> filed for future implementation, have a look at:
>
> http://scribus.bradney.info/bug_view_page.php?bug_id=0000238

Like it seems, the feature is on the wishlist, but nobody has implemented
it yet. Maybe I can give it a try. Like I mentioned before I have started with 
a dirty hack, which reduces the GUI functionalities. 

I took the initialisation procedures of the scribus main.cpp file and after
loading the image I used the function ScribusApp::SaveAsPDF() to generate
the pdf. The GUI by now is reduced to the splash
screen, pdf export menu and file select window. In a next step I would like to 
remove all the gui functionalities and create a command line tool to 
generate the pdfs. At the moment I think that the initialisation 
procedure ( limiting to non gui functionalities) will be the hardest, due to 
the fact that I'm new to the scribus internals. 

The prior mentioned small hack was based on the version 1.1.3. I took
only a brief look at the 1.1.5 source code version, because compiling
failed with 

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/freetype2 
-I/usr/include/qt3/ -I/usr/X11R6/include -I../../scribus -DQT_THREAD_SUPPORT 
-D_REENTRANT -O2 -fno-exceptions -fno-check-new -c prefs.cpp 
-Wp,-MD,.deps/prefs.TPlo  -fPIC -DPIC -o .libs/prefs.o
In file included from ../../scribus/scribusdoc.h:41,
                 from prefs.h:24,
                 from prefs.cpp:1:
/usr/include/lcms/lcms.h:266: syntax error before `;'
/usr/include/lcms/lcms.h:267: syntax error before `;'
/usr/include/lcms/lcms.h:590: syntax error before `('
/usr/include/lcms/lcms.h:591: syntax error before `('
/usr/include/lcms/lcms.h:593: syntax error before `('
.....
..
.


If I have some spare time today, I will test to compile the CVS version.



>
> br
> Maciej
>
>
>
>
>
>
> Mit sch?nen Gr??en von Yahoo! Mail - http://mail.yahoo.de
> _______________________________________________
> Scribus mailing list
> Scribus at nashi.altmuehlnet.de
> http://nashi.altmuehlnet.de/mailman/listinfo/scribus


Best Regards 

Marc Seil





More information about the scribus mailing list