[Xerte] Re: Subscript or superscript in Xerte

Dave Burnett d_b_burnett at hotmail.com
Fri Feb 18 18:05:33 GMT 2011



Put a new folder on the desktop.
Put *all* the fonts in there your piece uses.
(If you choose embedded fonts in the LO, no fonts other than those in resources.swf will display)

Choose compile library from the File menu.
Back up then replace all instances of resources.swf  in the Xerte folder and subfolders (else the default resources.swf file will be published).





> From: aott at glam.ac.uk
> To: xerte at lists.nottingham.ac.uk
> Date: Fri, 18 Feb 2011 17:03:15 +0000
> Subject: [Xerte] Subscript or superscript in Xerte
> 
> I was wondering if it is possible to create subscripts and superscripts in Xerte. I tried to use Latex for the math symbols, but it is not exactly what I was looking for: it does not work very well within a sentence. Is my only other option to embed some fonts in the resources.swf file as discussed previously in 2009. If yes, could somebody please tell me how to do this. Many thanks, Alex.
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of xerte-request at lists.nottingham.ac.uk
> Sent: 18 February 2011 15:47
> To: xerte at lists.nottingham.ac.uk
> Subject: Xerte Digest, Vol 12, Issue 42
> 
> Send Xerte mailing list submissions to
>         xerte at lists.nottingham.ac.uk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> or, via email, send a message with subject or body 'help' to
>         xerte-request at lists.nottingham.ac.uk
> 
> You can reach the person managing the list at
>         xerte-owner at lists.nottingham.ac.uk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Xerte digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Text Entry scroll = auto (Dave Burnett)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 18 Feb 2011 10:47:29 -0500
> From: Dave Burnett <d_b_burnett at hotmail.com>
> To: Xerte list <xerte at lists.nottingham.ac.uk>
> Subject: [Xerte] Re: Text Entry scroll = auto
> Message-ID: <BLU147-W137AD9F9005E8772E20AF7A7D40 at phx.gbl>
> Content-Type: text/plain; charset="windows-1252"
> 
> 
> >  Good lad. Just say to yourself it always better second time round. It will help.
> Can't doubt you.
> It was true of prison.
> 
> 
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
> Sent: 18 February 2011 15:29
> To: Xerte list
> Subject: [Xerte] Re: Text Entry scroll = auto I'll write off 3 months and restart the project.
> :)From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
> Date: Fri, 18 Feb 2011 15:21:58 +0000
> Subject: [Xerte] Re: Text Entry scroll = autoIt?s better in Flex, trust me. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
> Sent: 18 February 2011 15:19
> To: Xerte list
> Subject: [Xerte] Re: Text Entry scroll = auto
> Not scrolling exactly.
> Even if you specify _height and _width, without setting maxchars, the text continues to wrap and expand the input area downward.
> 
> In an effort to avoid using maxChars, (which I would like to, as this is a proto interaction)  I added:
> 
> icontextentry.txt.multiline = false;
> icontextentry.txt.wordWrap = false;
> 
> If I use multiline = false; the input box collapses to a single character width.
> If I use wordWrap = false; the input box continues expanding to the right until it's off screen
> 
> I can't believe this is so complicated.
> At least Flash could have learned one thing from AW.
> Insert, drag to size, that's it.
> ;-)From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
> Date: Fri, 18 Feb 2011 14:29:35 +0000
> Subject: [Xerte] Re: Text Entry scroll = autoScrolling was it? Would any engine-side support help? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
> Sent: 18 February 2011 14:27
> To: Xerte list
> Subject: [Xerte] Re: Text Entry scroll = auto
> Thanks Julian. That did it.
> 
> Still don't get it though.
> 
> If I create a new text object, I can see using setTextFormat, as it would be a "blank" object with no inheritance.
> 
> But if I'm using the default .txt object, it seems to use the properties applied in the icon, *except if there is no text in the field to begin with*.
> And using setNewTextFormat seems to imply those properties are already there.
> 
> So to get a blank, single line, limited width, non-scrolling, non-collapsing, input text field with the correct font/size:
> 
> icontextentry.txt._height = 20;
> icontextentry.txt._width = 300;
> icontextentry.txt.background = true;
> icontextentry.txt.border = true;
> icontextentry.txt.type = 'input';
> icontextentry.txt.selectable = true;
> icontextentry.txt.maxChars = 40;
> myTF = new TextFormat();
> myTF.font = "Verdana";
> myTF.size = 14;
> icontextentry.txt.setNewTextFormat(myTF);
> setFocus(icontextentry.txt);
> 
> 
> What was the advantage over a regular text entry again?
> ;-)From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
> Date: Fri, 18 Feb 2011 08:46:04 +0000
> Subject: [Xerte] Re: Text Entry scroll = autosetNewTextFormat() From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
> Sent: 17 February 2011 22:29
> To: Xerte list
> Subject: [Xerte] Re: Text Entry scroll = auto
> Should it be:
> icontextentry.txt.setTextFormat(icontextentryFormat);
> 
> In either case, no joy.
> 
> Set the input font and size in the LO.
> No change. This is funny.
> 
> 
> 
> 
> 
> 
> Date: Thu, 17 Feb 2011 14:03:37 -0800
> From: Paul.Swanson at harlandfs.com
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] Re: Text Entry scroll = autoicontextentryFormat = new TextFormat();icontextentryFormat.size = 12; // 12 point icontextentry.setTextFormat(icontextentryFormat); Does that do anything? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
> Sent: Thursday, February 17, 2011 1:44 PM
> To: Xerte list
> Subject: [Xerte] Re: Text Entry scroll = auto
> Yes, thanks Paul.
> I was suckered by inspect showing "height" and "height" going blue in the code window.
> 
> So now if there is no text in the field to begin with, the box doesn't collapse, but the text is some tiny default, even if I set it explicitly in the icon.
> This is quite the PITA for a simple text entry. I forget Flash really does suck in some regards.Date: Thu, 17 Feb 2011 13:30:32 -0800
> From: Paul.Swanson at harlandfs.com
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] Re: Text Entry scroll = autoShouldn?t it be _height? From Flash help:_height Property public _height : Number Player version: Flash Player 6 The height of the text field in pixels. ExampleThe following code example sets the height and width of a text field: my_txt._width = 200;my_txt._height = 200; You might also try applying a CSS style that sets the font-size.  From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
> Sent: Thursday, February 17, 2011 1:13 PM
> To: Xerte list
> Subject: [Xerte] Re: Text Entry scroll = auto Trying the text icon.
> 
> icontextentry.txt.height = 20;
> icontextentry.txt.background = true;
> icontextentry.txt.type = 'input';
> icontextentry.txt.selectable = true;
> setFocus(icontextentry.txt);
> 
> Unless I have text in the icon to begin with, it collapses down to about 2 pixels high.
> (tried textHeight too).From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
> Date: Thu, 17 Feb 2011 19:54:51 +0000
> Subject: [Xerte] Re: Text Entry scroll = autoI dont think the text entries are set up to scroll: I use a normal text icon in such situations and set events on iconID.txt.onChanged From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
> Sent: 17 February 2011 13:42
> To: Xerte list
> Subject: [Xerte] Text Entry scroll = auto
> Doesn't seem to want to scroll when set to auto.
> 
> Simple example
> 0,0,100,100, match this, scrolling=auto, border=1, erase=1, exit=0
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
> 
> _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
> _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
> _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
> _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
> _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
> _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110218/be7651b1/attachment.html>
> 
> ------------------------------
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> 
> End of Xerte Digest, Vol 12, Issue 42
> *************************************
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110218/1f066b0c/attachment-0001.html>


More information about the Xerte mailing list