diff --git a/source/distro/Readme.txt b/source/distro/Readme.txt
index ed71e9b..e2f2916 100644
--- a/source/distro/Readme.txt
+++ b/source/distro/Readme.txt
@@ -14,5 +14,5 @@ Bugs and feature requests should be reported to
henrikjust (at) openoffice.org
-August 2014
+September 2014
Henrik Just
diff --git a/source/distro/changelog.txt b/source/distro/changelog.txt
index c6f7095..9dc7d0b 100644
--- a/source/distro/changelog.txt
+++ b/source/distro/changelog.txt
@@ -2,9 +2,15 @@ Changelog for Writer2LaTeX version 1.2 -> 1.4
---------- version 1.3.2 alpha ----------
+[w2l] Bugfix (StarMath conversion): Protect the character [ after \\ in gather and matrix environments
+
+[w2l] Bugfix: Protect the character [ after \\ in tables
+
+[w2l] Bugfix (StarMath conversion): Usage of \multiscripts and \mathoverstrike now loads the required calc.sty
+
[w2l] Bugfix (StarMath conversion): Do not create display equations in table cells
-[w2l] Bugfix (StarMath conversion): Use array instead of matrix if there is more than 10 columns
+[w2l] Bugfix (StarMath conversion): Set the counter MaxMatrixCols if there are matrices with more than 10 columns
[w2l] Bugfix (StarMath conversion): Add braces if the argument to a command is a space, e.g. \text{ }
diff --git a/source/java/writer2latex/api/ConverterFactory.java b/source/java/writer2latex/api/ConverterFactory.java
index af29092..2772c9d 100644
--- a/source/java/writer2latex/api/ConverterFactory.java
+++ b/source/java/writer2latex/api/ConverterFactory.java
@@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
- * Version 1.4 (2012-08-28)
+ * Version 1.4 (2014-09-03)
*
*/
@@ -33,7 +33,7 @@ public class ConverterFactory {
// Version information
private static final String VERSION = "1.3.2";
- private static final String DATE = "2014-08-28";
+ private static final String DATE = "2014-09-03";
/** Return the Writer2LaTeX version in the form
* (major version).(minor version).(patch level)
diff --git a/source/java/writer2latex/base/BinaryGraphicsDocument.java b/source/java/writer2latex/base/BinaryGraphicsDocument.java
index aafebc4..2af92c3 100644
--- a/source/java/writer2latex/base/BinaryGraphicsDocument.java
+++ b/source/java/writer2latex/base/BinaryGraphicsDocument.java
@@ -62,10 +62,10 @@ public class BinaryGraphicsDocument implements OutputFile {
* @param sFileExtension the file extension
* @param sMimeType the MIME type of the document
*/
- public BinaryGraphicsDocument(String name, String sFileExtension, String sMimeType) {
+ public BinaryGraphicsDocument(String sName, String sFileExtension, String sMimeType) {
this.sFileExtension = sFileExtension;
this.sMimeType = sMimeType;
- sFileName = Misc.trimDocumentName(name, sFileExtension);
+ sFileName = Misc.trimDocumentName(sName, sFileExtension);
}
/** Set image contents to a byte array
diff --git a/source/java/writer2latex/base/ImageConverter.java b/source/java/writer2latex/base/ImageConverter.java
index 0759f0f..8ffe4bd 100644
--- a/source/java/writer2latex/base/ImageConverter.java
+++ b/source/java/writer2latex/base/ImageConverter.java
@@ -72,7 +72,7 @@ public final class ImageConverter {
/** Construct a new ImageConverter referring to a specific document
*
- * @param doc the office document used
+ * @param ofr the office reader to use
* @param bExtractEPS set true if EPS content should be extracted from SVM files
*/
public ImageConverter(OfficeReader ofr, boolean bDestructive, boolean bExtractEPS) {
diff --git a/source/java/writer2latex/latex/DrawConverter.java b/source/java/writer2latex/latex/DrawConverter.java
index 8f67ce6..5c34eb8 100644
--- a/source/java/writer2latex/latex/DrawConverter.java
+++ b/source/java/writer2latex/latex/DrawConverter.java
@@ -166,7 +166,7 @@ public class DrawConverter extends ConverterHelper {
}
}
else { // unsupported object
- System.out.println("Unsupported "+sHref);
+ //System.out.println("Unsupported "+sHref);
boolean bIgnore = true;
if (ofr.isOpenDocument()) { // look for replacement image
Element replacementImage = Misc.getChildByTagName(getFrame(node),XMLString.DRAW_IMAGE);
diff --git a/source/java/writer2latex/latex/LaTeXDocumentPortion.java b/source/java/writer2latex/latex/LaTeXDocumentPortion.java
index 5f4ec33..7023583 100644
--- a/source/java/writer2latex/latex/LaTeXDocumentPortion.java
+++ b/source/java/writer2latex/latex/LaTeXDocumentPortion.java
@@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
- * Copyright: 2002-2006 by Henrik Just
+ * Copyright: 2002-2014 by Henrik Just
*
* All Rights Reserved.
*
- * Version 1.0 (2007-10-02)
+ * Version 1.4 (2014-09-03)
*
*/
@@ -43,6 +43,10 @@ public class LaTeXDocumentPortion {
private boolean bWrap; // Do we allow line wrap in this portion?
+ /** Construct a new empty LaTeXDocumentPortion
+ *
+ * @param bWrap set to true if lines may be wrapped on writing
+ */
public LaTeXDocumentPortion(boolean bWrap){
this.bWrap = bWrap;
nodes = new Vector