November 18, 2007
ICE, LaTeX, xhtml
No Comments
Another features will be added to ICE project that I work on. Since ICE is moving towards targetting Researcher in USQ, we are going to impliment LaTeX conversion to allow Researchers to view their LaTeX document in xHtml form instead of using latex command to compile to .dvi format and view the document using xdvi.
I only found one python module that can help me instead of re-write all the parser by myself (due to time constraint). I am still playing with this module called plasTeX. I managed to produce html output for simple LaTeX document using tth. Now I am trying to work on how I can extract all the formulas that are not supported in html fonts and create an image in .gif or .jpeg format and display it as image in the browser.
Useful links:
October 31, 2007
xhtml, xml, xslt
No Comments
Managed to complete one of my project for this semester.
Page are generated from xslt process and rendered to xhtml format. Page navigations are controlled using xAjax component.
Try it out and have fun 
http://www.lindaocta.com/linda/stuff/xmlAssignment/index.php
October 19, 2007
Firefox, IE, Safari, css, xhtml
2 Comments
Displaying unicode character in different OS, add below code to your css since different OS have their own default font:
Displaying unicode generated from Open Office
font-family: "Lucida Grande","Arial Unicode MS", sans-serif; font-size: 1.2em;
Supporting website:
Problem still existed:
I am not sure why Firefox in MacOs still display the unicode character differently although Lucida Grande is applied to font-family, this problem not existed when Safari, is used for the same Mac.
Border is displayed differently in IE and Firefox.
Style for each td:
style=”vertical-align: top; border-bottom:0.05pt solid #000000; border-left:0.05pt solid #000000; border-right:none; border-top:none; border-style: none none solid solid; border-color: -moz-use-text-color -moz-use-text-color rgb(0, 0, 0) rgb(0, 0, 0); border-width: medium medium 0.05pt 0.05pt; padding: 2.75pt; vertical-align: top;”
| Result shown in IE: |
Result shown in Firefox: |
 |
 |
In order to get the same result as Firefox (this is the excepted result), wrap below code in head of html document (not, if you have style coded in html already, put below code separately):
[html]
<!--[if gt IE 5]>
<style>
.body table { border-collapse: collapse;}
</style>
<!--[endif]-->
Why do checking? Because Firefox and Safari will display the table without border
Happy trying