Merge changes from 1.0beta3 + Export XHTML without MathML
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@24 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
1bbf6241a4
commit
839483be11
29 changed files with 927 additions and 27 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2009-04-30)
|
||||
* Version 1.2 (2009-05-29)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -33,7 +33,7 @@ public class ConverterFactory {
|
|||
|
||||
// Version information
|
||||
private static final String VERSION = "1.1.1";
|
||||
private static final String DATE = "2008-05-18";
|
||||
private static final String DATE = "2008-05-29";
|
||||
|
||||
/** Return version information
|
||||
* @return the Writer2LaTeX version in the form
|
||||
|
@ -53,6 +53,10 @@ public class ConverterFactory {
|
|||
* <li><code>application/x-latex</code> for LaTeX format</li>
|
||||
* <li><code>application/x-bibtex</code> for BibTeX format</li>
|
||||
* <li><code>text/html</code> for XHTML 1.0 strict format</li>
|
||||
* <li><code>application/xhtml11</code> for XHTML 1.1 format
|
||||
* Note that this is <em>not</em> the recommended media type for XHTML 1.1
|
||||
* (see http://www.w3.org/TR/xhtml-media-types/), but it is used internally
|
||||
* by Writer2xhtml to distinguish from XHTML+MathML</li>
|
||||
* <li><code>application/xhtml+xml</code> for XHTML+MathML</li>
|
||||
* <li><code>application/xml</code> for XHTML+MathML using stylesheets from w3c's
|
||||
* math working group</li>
|
||||
|
@ -73,6 +77,9 @@ public class ConverterFactory {
|
|||
else if (MIMETypes.XHTML.equals(sMIME)) {
|
||||
converter = createInstance("writer2latex.xhtml.Xhtml10Converter");
|
||||
}
|
||||
else if (MIMETypes.XHTML11.equals(sMIME)) {
|
||||
converter = createInstance("writer2latex.xhtml.Xhtml11Converter");
|
||||
}
|
||||
else if (MIMETypes.XHTML_MATHML.equals(sMIME)) {
|
||||
converter = createInstance("writer2latex.xhtml.XhtmlMathMLConverter");
|
||||
}
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* Copyright: 2002-2008 by Henrik Just
|
||||
* Copyright: 2002-2009 by Henrik Just
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.0 (2008-11-23)
|
||||
* Version 1.2 (2009-05-29)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -46,6 +46,8 @@ public class MIMETypes {
|
|||
|
||||
// Desitination formats
|
||||
public static final String XHTML="text/html";
|
||||
/** This is a fake Mime type, for internal use only */
|
||||
public static final String XHTML11="application/xhtml11";
|
||||
public static final String XHTML_MATHML="application/xhtml+xml";
|
||||
public static final String XHTML_MATHML_XSL="application/xml";
|
||||
public static final String LATEX="application/x-latex";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue