[hmath-commits] org.hartmath.tex2mml/src/org/hartmath/tex2css/reflection/convert Sqrt.java,NONE,1.1
Status: Pre-Alpha
Brought to you by:
jsurfer
|
From: Klaus H. <js...@us...> - 2004-03-21 17:09:07
|
Update of /cvsroot/hmath/org.hartmath.tex2mml/src/org/hartmath/tex2css/reflection/convert In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4903/src/org/hartmath/tex2css/reflection/convert Added Files: Sqrt.java Log Message: misc changes --- NEW FILE: Sqrt.java --- package org.hartmath.tex2css.reflection.convert; import org.hartmath.tex2mml.IRowCSSConverter; import org.hartmath.tex2mml.Row; public class Sqrt implements IRowCSSConverter { /* * (non-Javadoc) * * @see org.hartmath.tex2mml.IRowConverter#convert(java.lang.StringBuffer, org.hartmath.tex2mml.Row, * org.hartmath.tex2mml.TeX2MathMLFactory) */ public boolean convert(StringBuffer buf, Row row) { if (row.size() == 1) { buf.append("("); row.get(0).convert2CSS(buf, false); buf.append(")<t>1/2</t>"); return true; } return false; } } |