Jeff
PS. I tried both the hotpot file directly or the html file generated from the hotpot with the same lack of superscripting in Quizport.
Re: Quizport does not accept html tags in title of hotpots
As far as I know it is not possible to use superscript in the names and titles of other types of Moodle activity, resources, lessons, quizzes, so it is not too surprizing for me that QuizPort strips out superscript tags, and any html tags for that matter, from the quiz titles.
Out of interest, what does 2p5 mean?
Gordon
Re: Quizport does not accept html tags in title of hotpots
Re: Quizport does not accept html tags in title of hotpots
Re: Quizport does not accept html tags in title of hotpots
Re: Quizport does not accept html tags in title of hotpots
It seems you are using the "title" as a "question" in JMix. Ingenious, but Quizport wasn't built with that in mind, so for the time being please try one of the following:
- use Unicode_subscripts_and_superscripts e.g. 1s²2s²2p⁵ - look no tags !!
- put the "question" into the JMix "sub title" or "instructions"
Thanks for the screenshot and quiz file. I will use those to investigate other options.
Gordon
Re: Quizport does not accept html tags in title of hotpots
Re: Quizport does not accept html tags in title of hotpots
Re: Quizport does not accept html tags in title of hotpots
Re: Quizport does not accept html tags in title of hotpots
Jeff,
I investigated this issue a little further and found that you can use the <subscript> and <superscript> tags just as they are, if you do the following:
- login to your Moodle site as an administrator
- Site administration -> Appearance -> HTML Setting
- uncheck the box marked "Remove HTML tags from all activity names"
- click the "Save changes" button
Now go to your QuizPort and use the following settings on quizzes in which you wish to use html tags in the title that appears on the quiz when it is presented to the student:
- go to the "Updating: Quiz" page for your QuizPort quiz
- in the "Display" section, set "Title" to "Get from source file"
- click the "Save changes" button
Having set one QuizPort quiz, you can set other quizzes easily via the "Edit quizzes" page for that QuizPort. This page allows you to apply settings to quizzes in the same QuizPort, or within all QuizPorts in a particular course, or even within all QuizPorts on the current Moodle site. Probably you want that last option:
At the top of the "Edit quizzes" page:
- set "Show columns" to "Display"
- select "Title" column
- in the "Default" column, select the row for the quiz which has "Title" set to "Get from source file"
At the bottom of the "Edit quizzes" page
- select "Apply selected default value"
- select "Quizzes matching the following filters"
- set "Course" to "All"
- click the "Go" button
that should do it!
Gordon
P.S. Note that HTML tags will still be stripped from the quiz names that appear to the teacher in the list of quizzes on the "Edit quizzes" page, and the maybe in the menu of quizzes that is sometimes shown to the students. The only workaround for this is to use Unicode suprtscripts as described earlier.
Re: Quizport does not accept html tags in title of hotpots
Re: Quizport does not accept html tags in title of hotpots
This page includes info on Macs too:
does that help?
Gordon
Re: Quizport does not accept html tags in title of hotpots
Got around to playing with some unicode characters. If I copy from a web page or from MS Word or if I use the utility from http://www.fileformat.info/tool/unicodeinput/index.htm , I get little square boxes. However, they show up in the html page including Quizport just fine. Should I expect this behavior?
Thanks,
Jeff
I attached a jmx for Fe₂O₃
Re: Quizport does not accept html tags in title of hotpots
Not sure. The jmx file looked OK to me when I opened it in JMix (see attached screenshot).
Might be something to do with your font settings? (JMix -> Options -> Font). My system seems to use Arial which is pretty standard. Maybe your other Windows sotware uses a different font, or an encoding other than utf8?
Anyway, the end result seems to be useable, which is the main thing
Gordon
Re: Quizport does not accept html tags in title of hotpots
Here is what I see. Question: How are you inputing the unicode characters?
Re: Quizport does not accept html tags in title of hotpots
However, I just tried the following ...
- open MS-Word
- type "b2", then alt-x (while holding down "alt-key", press "x")
- "b2" should get converted to "²"
- copy and paste "²" to JMix
YMMV
Gordon
Re: Quizport does not accept html tags in title of hotpots
How are the key strokes that you would use to enter a subscript 5 into MS-Word?
And if you paste it into a jmx, does it show as the character?
Re: Quizport does not accept html tags in title of hotpots
Not quite sure what you mean by the question, but to enter subscript 5, I would ...
- refer to the use Unicode_subscripts_and_superscripts page I mentioned earlier
- see that the unicode value I want is "2085"
- startup MS-Word and enter "2085" + alt-x
- copy and paste "₅" to JMix
I checked a few other things and I think perhaps that the problem is that Arial doesn't have the required subscripts and superscripts. On my system, I have various Asian fonts and possibly a few others too, and somewhere in there I have a font that has the required characters.
Here is a list of fonts that have the subscripts and superscripts that you require:
- Unicode character ranges and the Unicode fonts that support them:
Superscripts and subscripts
Gordon
Re: Quizport does not accept html tags in title of hotpots
I had figured out about the Lucinda Sans Unicode in MS Word on my own, and found I could use the ¹,², and ³ in the Jmix without doing anything different in Jmix but found that other subs and supers using the 20XX + altx would not paste in properly. That is why I asked my last question.
Yep, now if I set the font for the Jmix to Lucinda Sans Unicode all is well. Man, it is just all these little details that get you.
Thanks
Jeff
PS. It resolves issues with JCloze and keypad characters too.