diff --git a/source/distro/changelog.txt b/source/distro/changelog.txt
index 5e775db..b0c8f27 100644
--- a/source/distro/changelog.txt
+++ b/source/distro/changelog.txt
@@ -2,6 +2,11 @@ Changelog for Writer2LaTeX version 1.2 -> 1.4
---------- version 1.3.1 alpha ----------
+[w2x] The option ignore_table_dimensions has been replace by a new option table_size with values none (do not export table
+ dimensions), relative (always use relative width) and auto (use the formatting of the source document):
+ If set to true, all tables are exported with relative width, even
+ if they have an absolute width in the source document
+
[w2x] Display equations are now recognized by the same means as in the LaTeX export: A single equation in a paragraph with no
text content except whitespace and an optional sequence number in brackets is considered a display equation. In that case
it is exported with display="block"
diff --git a/source/distro/doc/user-manual.odt b/source/distro/doc/user-manual.odt
index 93da70f..b841825 100644
Binary files a/source/distro/doc/user-manual.odt and b/source/distro/doc/user-manual.odt differ
diff --git a/source/java/writer2latex/api/ConverterFactory.java b/source/java/writer2latex/api/ConverterFactory.java
index d2666e6..26f1db1 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-04-07)
+ * Version 1.4 (2012-04-12)
*
*/
@@ -33,7 +33,7 @@ public class ConverterFactory {
// Version information
private static final String VERSION = "1.3.1";
- private static final String DATE = "2012-04-07";
+ private static final String DATE = "2012-04-12";
/** Return the Writer2LaTeX version in the form
* (major version).(minor version).(patch level)
diff --git a/source/java/writer2latex/office/TableReader.java b/source/java/writer2latex/office/TableReader.java
index 04a7f0a..4cd75ba 100644
--- a/source/java/writer2latex/office/TableReader.java
+++ b/source/java/writer2latex/office/TableReader.java
@@ -16,9 +16,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
- * Copyright: 2002-2010 by Henrik Just
+ * Copyright: 2002-2012 by Henrik Just
*
- * Version 1.2 (2010-03-15)
+ * Version 1.4 (2012-04-12)
*
* All Rights Reserved.
*/
@@ -135,7 +135,9 @@ public class TableReader {
sRelColWidth[nCol] = (100.0F*nRelColWidth[nCol]/nColSum)+"%";
}
else {
- sRelColWidth[nCol] = (100.0F/nCols)+"%";
+ // Calculate the relative column width from the absolute column widths
+ // This may not add up to exactly 100%, but we will live with that
+ sRelColWidth[nCol] = Misc.divide(sColWidth[nCol], sTableWidth, true);
}
}
diff --git a/source/java/writer2latex/xhtml/TableConverter.java b/source/java/writer2latex/xhtml/TableConverter.java
index b2ad392..2777c42 100644
--- a/source/java/writer2latex/xhtml/TableConverter.java
+++ b/source/java/writer2latex/xhtml/TableConverter.java
@@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
- * Version 1.4 (2012-03-28)
+ * Version 1.4 (2012-04-12)
*
*/
@@ -203,15 +203,15 @@ public class TableConverter extends ConverterHelper {
// interpret column width the same way. IE excludes padding and border,
// Mozilla (like OOo) includes them.
// If the first row contains colspan we have to add