OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Publication Formats

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Publication Formats

Postby jkeisers » Sat Jul 24, 2004 2:26 am

Hi,

First of al many thanks for this great piece of software.

I need to add a few features and make a few customizations.

One of the modifications is support for the DJVU file format (http://www.djvuzone.org/) as a publication format. I noticed that you have to modify the database if you want to add another publication format. However, we do not need the postscript file format, so basically the .djvu format could replace the .ps format. Is this an easy thing to do? It seems that every occurence of ".ps", "mode=ps" and "application/postscript" has to be changed, but I am not completely sure about this. Since we will always have a .djvu file as one of the publication formats I guessed that it would also be possible to treat this file format as a "supplemental file". Maybe this would be easier than replacing the postscript format by the djvu format?

Thank you very much for every advice you can give.
jkeisers
 
Posts: 19
Joined: Wed Jul 21, 2004 9:13 pm
Location: Rutgers University, NJ, USA

Postby kevin » Sat Jul 24, 2004 6:29 pm

As long as all occurrences of the Postscript-referencing code are updated, I don't see any reason why that wouldn't work.

The publication formats are kind of a silly limitation that has been removed from our next major version.
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby jkeisers » Wed Jul 28, 2004 6:57 am

kevin wrote:As long as all occurrences of the Postscript-referencing code are updated, I don't see any reason why that wouldn't work.


It was easier than I thought it would be.

All I had to do was to change every occurence of the ".ps" file extension into ".djvu" and the mime type "application/postscript" into "image/x.djvu".

After that I changed the word "PostScript" in the links and in the language files (in locale/) into "DjVu".

That was it. I guess you could do the same when you want to replace the postscript format by RTF, LaTeX or something else.

Thanks.
jkeisers
 
Posts: 19
Joined: Wed Jul 21, 2004 9:13 pm
Location: Rutgers University, NJ, USA


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 1 guest