[Xerte] Re: img in text icon

Dave Burnett d_b_burnett at hotmail.com
Sun Feb 20 13:13:21 GMT 2011



Strange things.

<img src="bullet.png" id="thing"/>here is a bullet point

produces:
* here is a bullet point (*=actual bullet graphic)

Some leading text <img src="bullet.png" id="thing"/>here is a bullet point

produces:
Some leading text here is a bullet point
*

Anything between the <img and newline shifts the graphic down to the next line.
The image is not linked to the text object.
It works as a bullet by fluke. 

inspecting thing._x and _y shows 0 and 0 (at least not undefined, so it must be there. but can't set it or get anything other than 0,0) 
  
In bumbling around, I also ran across this:

If I try to use

<textformat blockindent='10'>here is a bullet point</textformat>

It gets superceded by <tex apparently and attempts to run the forkosh.dreamhost cgi script and produce some latex.


From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Sat, 19 Feb 2011 22:42:17 +0000
Subject: [Xerte] Re: img in text icon











I don't think you can't address it. If you can, then good plan, I like the way you think...
 


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: 19 February 2011 21:05

To: Xerte list

Subject: [Xerte] img in text icon







If I have this is in a text icon:



<img src="bullet.png"/>here is a bullet point



Where is that .png being loaded?

Do I have access to it?



Here's my thought.

I have a series of random gapfills in sentences.

I insert a dummy png the shape of the gapfill into the string as needed.



Fill in the <img src="dummy.png"/> and call it <img src="dummy.png"/>



Then use the position of those dummies to position my actual text inputs.








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/20110220/25f3a3c3/attachment.html>


More information about the Xerte mailing list