You are viewing the PKP Support Forum | PKP Home Wiki

Basic text formatting

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
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

Basic text formatting

Postby mg » Tue Jul 25, 2006 2:33 pm

I'm wondering how OJS handles text formatting; are html tags required in the entry, or does it assume the format from a copy/paste (eg. coming from Word)?

So the basic question is, if I take something from a Word document that has bold text, italics, em-dashes, copyright symbols, etc. how much work is required to get that to show up on the website with the proper formatting? Will I need to replace them with html special character codes? Format tags?

Thank you!
Posts: 1
Joined: Tue Jul 25, 2006 2:25 pm

Postby asmecher » Tue Jul 25, 2006 3:37 pm

Hi mg,

This depends on what field you're entering data into and how OJS is configured.

By default, OJS uses plain text fields; you can manually enter HTML codes into many of these (e.g. article abstracts and journal setup fields). The Site Administrator and Journal Manager can enter any HTML they wish, whereas other roles such as Authors can only use limited HTML (e.g. bold, underline, etc). This helps prevent cross-site scripting attacks.

Starting with version 2.1.1, OJS supports TinyMCE (see http://tinymce.moxiecode.com), which replaces text boxes in OJS with a small WYSIWYG editor. You should be able to paste from Word etc. directly into these boxes and retain formatting. For TinyMCE to function, you'll need to follow the instructions in plugins/generic/tinymce/README in the OJS distribution.

Either way, OJS supports characters like em dashes, copyright symbols, etc. However, be warned that Microsoft applications sometimes use non-standard characters, such as for smart quotes; these might not be displayed correctly. There are lengthly discussions of this in various other forums. Suffice it to say that this is a bee in the Open Source bonnet. For the time being, these characters will require manual correction.

Alec Smecher
Open Journal Systems Team
Posts: 9922
Joined: Wed Aug 10, 2005 12:56 pm

Re: Basic text formatting

Postby user » Tue Dec 11, 2012 3:46 am

We have customised OJS and added a formating toolbar to the title and abstract. but when we make the title bold or italics or underline or any other HTML tags the title gets replaced by three dots.
Please suggest the solution.
Posts: 1
Joined: Tue Dec 11, 2012 3:02 am

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests