OJS Layout Files’ 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.
Posts: 36
Joined: Wed Jan 02, 2013 12:43 pm

OJS Layout Files’ Formats!

Postby Albert » Sat Oct 26, 2013 9:38 pm

Hello There!

I would like to know the entire possible files format that can be used for the layout of articles.
Can we use Latex? I will use HTML, pdf and pub. Regarding the HTML format I found that Word 2013 allows you to create Single File Web Page (.mht, .mhtml), Web Page (.htm, .html) and Web Page, Filtered (.htm, .html). What is the better option for OJS? I know that for some other web site design software the Web Page, Filtered is the best one because it get rid of background codes from Word that sometimes come out as typos.

In addition, when you create a Web Page or a Web Page, Filtered their extension is always .htm and they come with a folder of the same name of the document where all the figures are contained. If you try to change, the name of the folder that contained the images it warns you that then the file (.htm) will not be able to read the images.

Therefore, in this case all images must be together with the .htm file. How can I do this in OJS 2.4.2?
The Single File Web Page (.mht) creates a single file that contains all the images, but it has a different icon. The other two (Web Page or a Web Page, Filtered) have the Internet Explorer icon (blue e).

Nevertheless, I only was able to open this (Single File Web Page) file with Internet Explorer. The other browsers Mozilla Firefox, Chrome and Safari could not load the file. When Internet Explorer loaded the file, the figures were in their correct places. In only one case, one image was on top of other beside it. Ah! The three documents comes out without border.

I would appreciate very much your advice.


Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: OJS Layout Files’ Formats!

Postby asmecher » Mon Oct 28, 2013 12:06 pm

Hi Albert,

MHT will not be a good option for this; see the compatibility problems described at http://en.wikipedia.org/wiki/MHTML.

You can create HTML galleys using any tool you're comfortable with; just make sure that the images specify only filenames, not paths, e.g.:

Code: Select all

<img src="myimage.gif"/>
Then, when you upload the HTML file, you should be able to upload the images alongside it. As long as the image filenames that you upload match the ones that you specify in the HTML, OJS will rewrite the image URLs to suit.

You can also upload a CSS file to go with the article.

Alec Smecher
Public Knowledge Project Team

Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest