Remove latex code
This commit is contained in:
parent
0570002006
commit
1b0e0ace67
76 changed files with 4 additions and 24210 deletions
|
@ -33,13 +33,13 @@ import org.w3c.dom.NamedNodeMap;
|
|||
import writer2latex.office.*;
|
||||
import writer2latex.util.Misc;
|
||||
import writer2latex.base.BinaryGraphicsDocument;
|
||||
import writer2latex.latex.StarMathConverter;
|
||||
//import writer2latex.latex.StarMathConverter;
|
||||
|
||||
/** This class converts formulas: Either as MathML, as an image or as plain text (StarMath or LaTeX format)
|
||||
*/
|
||||
public class MathConverter extends ConverterHelper {
|
||||
|
||||
private StarMathConverter smc = null;
|
||||
//private StarMathConverter smc = null;
|
||||
|
||||
private boolean bSupportMathML;
|
||||
private boolean bUseImage;
|
||||
|
@ -60,7 +60,7 @@ public class MathConverter extends ConverterHelper {
|
|||
this.bUseImage = config.formulas()==XhtmlConfig.IMAGE_LATEX || config.formulas()==XhtmlConfig.IMAGE_STARMATH;
|
||||
this.bUseLaTeX = config.formulas()==XhtmlConfig.IMAGE_LATEX || config.formulas()==XhtmlConfig.LATEX;
|
||||
|
||||
if (bUseLaTeX) { smc = new StarMathConverter(); }
|
||||
// if (bUseLaTeX) { smc = new StarMathConverter(); }
|
||||
}
|
||||
|
||||
/** Convert a formula
|
||||
|
@ -143,7 +143,7 @@ public class MathConverter extends ConverterHelper {
|
|||
sAnnotation+=child.getNodeValue();
|
||||
child = child.getNextSibling();
|
||||
}
|
||||
if (bUseLaTeX) { sAnnotation = smc.convert(sAnnotation); }
|
||||
// if (bUseLaTeX) { sAnnotation = smc.convert(sAnnotation); }
|
||||
|
||||
// Next insert the image if required and available
|
||||
if (bUseImage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue