OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Italics, superscript availability to authors for metadata

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

Italics, superscript availability to authors for metadata

Postby jayfitzsimmons » Thu Sep 02, 2010 9:49 am

Dear OJS developers,

I am in the process of transitioning our journal from print-only to print+OJS. Thank you very much for OJS - it seems like it will be just what we need. I have two related suggestions on improvements to OJS. I was reluctant to submit a bug report for them because they are not bugs but suggestions for improvement.

1. Allow authors to italicize words in the title, during step 2 of their submission process. I know that html tags including <em> can be used in the title field, and I have been using them successfully for articles I'm uploading. But naive authors won't know this. Our journal is a biological journal, so the majority of titles have species' names that must be italicized. It will be a pain in the butt for editors to add <em> tags to every article's title. I suggest it would be better if the italics button underneath the abstract box could also be used to italicize highlighted words in the title field. Or, if that's not possible, then an additional italics box (along with bold and the other buttons) could be added just for the title field.

2. Allow authors to superscript and subscript words in their abstract. Html tags <sup> and <sub> are allowed in the abstract field, but authors won't know about them and are often not web-savvy enough to know what an html tag is. It would be easier if there were two extra buttons added to the clickable boxes underneath the abstract field for superscript and subscript, just like the existing buttons for bold, italics, etc. Many of the abstracts in my journal require superscripts (e.g., km-square). Few require subscripts for my journal, but I'd assume chemistry journals would benefit from subscripts.

Thank you for hosting this forum - it's useful to people like me who are learning the OJS system.
Jay Fitzsimmons
The Canadian Field-Naturalist
jayfitzsimmons
 
Posts: 78
Joined: Sun Aug 08, 2010 12:50 pm

Re: Italics, superscript availability to authors for metadata

Postby jmacgreg » Fri Sep 03, 2010 3:15 pm

Hi Jay,

Thanks for the kind words, as well as the constructive comments! We're always happy to hear from users, and we appreciate new feature requests.

Regarding the first request: I'm a little hesitant to go along with this one, as adding TinyMCE options would add a fair bit of clutter to the interface, and I think people are accustomed to not necessarily being able to edit title fields in that way. It's also something that might be best left until copyediting. That said, if you could possibly point to other web forms where titles are handled better; or perhaps if there are others who think this is a good idea, we could definitely consider adding it.

Regarding the second request: I've added this to bugzilla as a feature request here: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=5882. Please feel free to CC yourself to that report for future updates. And thanks again for the comments!

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: Italics, superscript availability to authors for metadata

Postby jmacgreg » Fri Sep 03, 2010 4:17 pm

Hi Jay,

As mentioned in that bug report, we're not going to do this until OJS 2.3.4. But if you want to make the change in your own install, you can open the file plugins/generic/tinymce/TinyMCEPlugin.inc.php, and find the following line:

Code: Select all
theme_advanced_buttons1 : "cut,copy,paste,|,bold,italic,underline,bullist,numlist,|,link,unlink,help,code,fullscreen,ibrowser",


(... or something similar ...) and add "sub,sup" where appropriate. You will want to test the change by loading a few pages that have TinyMCE fields enabled.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: Italics, superscript availability to authors for metadata

Postby jayfitzsimmons » Mon Sep 06, 2010 5:05 pm

Thanks James, for starting the bug submission and telling me how to fix this for my OJS system. I appreciate your help.
Jay
jayfitzsimmons
 
Posts: 78
Joined: Sun Aug 08, 2010 12:50 pm

Re: Italics, superscript availability to authors for metadata

Postby daskey » Wed Nov 10, 2010 10:39 am

jmacgreg wrote:Regarding the first request: I'm a little hesitant to go along with this one, as adding TinyMCE options would add a fair bit of clutter to the interface, and I think people are accustomed to not necessarily being able to edit title fields in that way. It's also something that might be best left until copyediting. That said, if you could possibly point to other web forms where titles are handled better; or perhaps if there are others who think this is a good idea, we could definitely consider adding it.


I'll chime in here as someone who would like to see the option for title formatting. Particularly for reviews, where a title often appears within a title and needs to be italicized, this would be quite useful. Also, given how much humanities scholars in particular like to play with text formatting to underscore points or little ironic puns, it would be nice to be able to support that. It would clutter the interface a bit, and having it in the submission process might tempt people to format a title just because, but having it available for editors would be great.

Best regards,
Dale
daskey
 
Posts: 33
Joined: Wed Jan 16, 2008 9:10 am

Re: Italics, superscript availability to authors for metadata

Postby vgabler » Thu Dec 22, 2011 11:39 am

Hi, All,

I agree with Dale that italics in the titles for many humanities journals are common. Also, book reviews and errata often include them as well because they often reference an earlier article. We are running multiple journals on various versions, and as yet I don't see a way to include italics in titles. Using tagging like <ital></ital> is not feasible because it corrupts the metadata. The "how to cite" function will display improperly as well.

All best,
Vanessa Gabler
vgabler
 
Posts: 93
Joined: Thu Feb 18, 2010 1:22 pm

Re: Italics, superscript availability to authors for metadata

Postby jmacgreg » Thu Dec 29, 2011 5:18 pm

Hi Vanessa,

You should currently be able to manually write in either <em>...</em> or <i>...</i> for italics in titles, although as stated above, your authors probably won't know how to do that. Since this original thread started, we've started some work to add TinyMCE to single-line fields, including the title field. Please feel free to CC yourself to that report for future updates; and if you are able to test the attached patches and report back on how they work, we'd appreciate it.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am


Return to OJS Development

Who is online

Users browsing this forum: Bing [Bot] and 0 guests