IEEE Style consecutive refs: 1-3 instead of [1][2][3] and in-text superscript instead of [x]

Jul 16, 2008 at 4:12 PM
Edited Jul 17, 2008 at 7:55 PM
Is it possible to change the way it displays consecutive references in-text, 1-3 instead of [1,2,3]? I am looking through the code but could not see where to do this.
Also, can we change the in-text style, from [1] to supercript 1, for example?
Thank you very much!
Jul 16, 2008 at 8:06 PM
Your question about superscript is the same I have done in the previous topic. I really think it is possible. I have tried to insert the commands <sup></sup> inside the templates, but this is not working. I hope Yves answer us about this.
Coordinator
Jul 19, 2008 at 12:54 PM
Edited Jul 19, 2008 at 12:56 PM

1)Is it possible to change the way it displays consecutive references in-text, 1-3 instead of [1,2,3]?

No. Microsoft Word 2007 passes only one Source (with a few extra parameters) at a time to the stylesheet when formatting citations. So each part of the in-text citation has no knowledge regarding its siblings and therefore it is not possible to built in logic such as sorting or grouping of numbers. Also, while trying to find a workaround, I learned that Word expects a return value from the stylesheet for every citation in the group. If it does not get any (because you are not outputting anything for the second citation), it will add "Invalid source specified." to the text.

Personally, I think Microsoft made a mistake here. It would have been a lot better if they had passed all sources in a grouped citation in one go, in the same way bibliography data is passed around now. That way, stylesheet developers could have added their own logic such as:

  • leaving out certain citations in the group
  • sorting citations within the group

2)Also, can we change the in-text style, from [1] to supercript 1, for example?

Superscript is not possible. It seems the in-text citation automatically copies the 'paragraph style' of the paragraph to which it is added. This does not hold for the full bibliography which uses a separate paragraph style called MsoBibliography. Formatting such as bold, underline and italic can be applied though. So it seems as Word 2007 does some 'sanatizing' of the HTML you pass for in-text citations.

remark: this is a replacement of an earlier post which provided a flawed solution (empty citations)

Jul 19, 2008 at 3:57 PM
Edited Jul 19, 2008 at 3:57 PM
Thank you very much for your reply. Hopefully Microsoft will fix this at somepoint.
Coordinator
Jul 19, 2008 at 4:30 PM
I described a possible solution for the superscript issue in another thread. Check out the third post at http://www.codeplex.com/bibliography/Thread/View.aspx?ThreadId=31497

HTH

Aug 2, 2011 at 3:12 PM
Edited Aug 2, 2011 at 3:12 PM

Back to this question. Would it be possible to hide unnecessary citation using "hidden" type style? For example I add citations [1] [2] [3] [4] then hide [2] [3] and put "-" [1]-[4]

It works perfect for picture and table links but for citation it doesn't work after updating. Is there any way to set  type style for citation and keep it ?

Coordinator
Aug 5, 2011 at 7:46 PM

Convert them to static text and you can hide them all you want. Any other way won't work. It would be useless anyway. If you allow the in-text citation to be updated, you would allow the number to possibly change. Hence there is no guarantee that hidden in-text citations should remain hidden after an update.