diff --git a/build.xml b/build.xml index 0f8fd06..6757c99 100644 --- a/build.xml +++ b/build.xml @@ -2,7 +2,7 @@ ############################################################################ # This is the Ant build file for writer2latex # Original: Sep 2004 (mgn) - # version 1.2 (2010-11-20) + # version 1.4 (2012-03-13) ############################################################################ --> @@ -34,8 +34,8 @@ - - + + diff --git a/source/distro/Readme.txt b/source/distro/Readme.txt index 0dc5af5..87df53e 100644 --- a/source/distro/Readme.txt +++ b/source/distro/Readme.txt @@ -1,7 +1,7 @@ -Writer2LaTeX version 1.2 (beta test release) -============================================ +Writer2LaTeX version 1.3.1 (alpha test release) +=============================================== -This is the distribution of Writer2LaTeX version 1.2 beta +This is the distribution of Writer2LaTeX version 1.3.1 alpha Latest version can be found at the web site http://writer2latex.sourceforge.net diff --git a/source/distro/changelog.txt b/source/distro/changelog.txt index c4b8f6e..b7a3409 100644 --- a/source/distro/changelog.txt +++ b/source/distro/changelog.txt @@ -1,458 +1,4 @@ -Changelog for Writer2LaTeX version 1.0 -> 1.2 +Changelog for Writer2LaTeX version 1.2 -> 1.4 ----------- version 1.2 beta ---------- +---------- version 1.3.1 alpha ---------- -[w2x] Bugfix: Ignore empty element attribute in style maps - -[all] Fixed bugs in some of the filter configuration dialogs - -[w2l] Added support for the new StarMath keywords nospace (ignored) and prec, nprec, succ, nsucc, preccurlyeq, succcurlyeq, - precsim, succsim (converted) - -[w2x] The minimum year in the date dialog (EPUB export) has been changed from 1900 to 1800 - -[w2x] Bugfix: Do not create an empty footnotes page if footnotes are exported as endnotes, and the document contains no footnotess - -[w2l] Bugfix: Now converts the content of prefix or suffix of a list item correctly - -[w2l] Added support for the bookmark reference types "number", "number-no-superior" and "number-all-superior" (all treated like \ref) - for bookmarks in headings and numbered lists - -[w2l] Bugfix: Do not use string replace or writing direction in math mode for XeTeX backend - -[w2x] Export date only for dc:date attribute in EPUB meta data (not date+time) - -[w2x] Leave out media attribute for style sheets in EPUB export (prevented validation with FlightCrew) - -[w2x] The file containing the cover image in EPUB export is now created with a body margin of zero - -[w2l] The StarMath converter now leaves out the \text command if the argument is a plain number - -[w2l] Properly detect and ignore empty formulas (avoiding any occurrences of $ $ in the document) - -[w2l] The StarMath converter now avoids redundant braces - -[w2l] The StarMath converter is now a little more tolerant on errors like missing operands for a binary operator - (import from MS Word may create such errors) - -[w2x] EPUB change: Missing heading levels are now treated more consistent in the toc. E.g. the sequence of heading levels - 2-2-1-3-3-2 is now exported as toc levels 1-1-1-2-2-2 (before it was 1-2-1-2-3-2) - -[w2l] Bugfix: Ignore headings inside footnotes (export as normal paragraph). Footnotes should not contain headings, and this - change avoids an infinite loop if such a footnote is within a table. - -[w2l] Fixed bugs on the "Text and Math" options page (controls were not updated correctly leading to erratic behavior) - -[w2l] Added support for the font "Greek" - ----------- version 1.1.8 ---------- - -[all] Added support for JPEG images with EXIF data - -[w2x] Implemented the option separate_stylesheet to separate the style sheet from the XHTML files (has no effect on EPUB export) - -[all] Added Catalan translation from Martí Ruiz-Altaba - -[all] Image files are now extracted with proper file extension, even if the ODF manifest contains no media type - -[all] Added support for images in EMF format (Enhanced Windows Meta Files) - -[w2l] Bugfix: No longer decodes URLs in links (hyperref.sty has no problem with sequences like %E4) - -[w2x] EPUB bugfix: The meta data editor now shows the correct default creator (not the original creator) - -[w2x] New option cover_image with values true and false (default). In EPUB export, if this option is set the true the very - first image found in the document is used as cover image. - -[w2x] New option image_split with values "none" or a percentage. In EPUB export an image - of width greater than or equal to this percentage is placed in a separate file as a full screen image. - This takes effect only if the aspect ratio is at least 3:4 - -[w2x] The EPUB export now supports additional resource files (e.g. images, fonts) to the custom style sheet - - using the readResource method of the converter API - - using the -resource method of the command line application - - using the ResourceURL or Resources property of the filter API - - by specifying the resource files in a custom configuration - -[all] API change: Added the method readResource to the Converter interface (only used by EPUB export currently) - -[w2x] Crossed out headings are ignored in EPUB export, but retained in the external toc - -[all] Added Farsi translation from Mostafa Barmshory - -[w2l] Added support for xepersian.sty (fa_IR locale, requires XeTeX backend and multilingual=true) - ----------- version 1.1.7 ---------- - -[all] Bugfix: Fixed null pointer exception for tables with unbalanced rows - -[w2l] Added the attribute break-after to paragraph style maps with values none, line and par (default) - -[w2x] Bugfix: Positioning of text boxes (left, right, center, floating) now works correctly - -[w2x] Support the value "biggest" for the style:wrap attribute - -[w2l] Bugfix: No longer creates run-in headings if bottom margin is zero and formatting>=convert_most - -[all] Filter bugfix: Do not exclude surrogate pairs - -[w2l] Bugfix: Fixed indentation problem with lists after tables if formatting>=convert_most - -[w2l] Bugfix: Lists in tables are now exported as standard lists even if formatting>=convert_most - -[w2l] Bugfix: Corrected export of centered and right justified paragraphs in tables - -[w2x] Renamed the option original_image_size to image_size with extended values: absolute (default, former false), - relative (new value: Export images and text boxes using relative width, i.e. as a percentage of the current text width) - and none/original_image_size (former true). The old option name is still recognized. - -[w4l] Check that the document is saved locally (file) and (on Windows) with a drive letter - otherwise LaTeX cannot run - -[w4l] Delete .aux file before TeXifying (this avoids errors in some cases) - -[w2x] Changed Dublin Core profile name to match current specification - -[w2l] Polyglossia bugfix: Now sets the default language correctly - -[w2l] Babel bugfix: No language is now ignored rather than exported as English - -[w2x] Bugfix: No language is now exported as zxx rather than zxx-none - -[w2l] Added support for unnumbered headings - -[w2x] Bugfix: Unnumbered headings are now exported correctly - -[w2x] Bugfix: Do not add space to empty labels (e.g. heading numbering) - -[w2x] Export line breaks as spaces in annotations and EPUB table of content - -[w2x] Bugfix: Do not export cell widths for tables with relative width - -[w2x] Export suffix and prefix on footnotes and endnotes - -[w2x] Export footnotes as endnotes (if text:footnotes-position="document"). A new option footnotes_heading is added: - The value of this (if non-empty) is used as heading for the footnotes in this case - -[w2x] Export footnote rule (using first master page) - -[w2x] Export page background color (using first master page) - -[w2x] The option use_dublin_core no longer has effect on EPUB export (instead identifier, author, date and title are always - exported, and other properties are exported if they exist and are non-empty) - -[w2x] Added opf:file-as attribute to EPUB metadata (creators and contributors) - -[w2x] EPUB meta data can now be edited directly from the export dialog - -[w2x] Revised the internal structure of EPUB files: Text files are named chapter.xhtml, images are placed in the - subdirectory images and name image, styles are placed in the subdirectory styles and names styles.css (custom - style sheet) and styles1.css (generated style sheet) - -[w2x] Use relative font size is now selected per default in EPUB export dialog - -[w2x] Default value of the option formulas changed to image+starmath - -[w2x] Default value of the option use_default_font changed to false (was true by mistake) - ----------- version 1.1.6 ---------- - -[all] Changed w2l.bat to use %~dp0 as suggested by Dave Jarvis (this leaves out any (probably none) win 9x users) - -[w2l] Clarified that BibTeX-Writer2LaTeX.js uses GPLv3 license - -[w2l] New option include_original_citations (default false). If set to true the original Zotero or JabRef citation text will be - included as a comment if these citations are converted to LaTeX citations - -[w2l] New option use_natbib (default false) to use natbib.sty. This implies that natbib.sty is no longer loaded automatically - if Zotero or JabRef support is enabled - -[w4l] Bibliography options page has been reworked to include JabRef support and unify BibTeX directory (which is now allowed - to contain special characters like spaces and can be relative to the the document directory) - -[w2l] Added support for JabRef reference marks: A new option jabref_bibtex_files has been added to give the names of - the BibTeX files from JabRef - -[w2x] New option include_toc (default true) for EPUB export: If set to false, the table of content will not be exported - -[w2x] New option split_after (default 0) for EPUB export: This sets the number of characters (in thousands) after - which an automatic split will occur (0 means no automatic split) - -[w2x] New options use_default_font (default false) and default_font_name (default empty). - If the former is true, font names are not exported, but the latter will be exported as default font (if non-empty) - -[w2x] New options relative_font_size (default false) and font_scaling (default 100%) for EPUB export. - If the former is true, relative font sizes are used, scaled by the percentage given by the latter - -[w2x] EPUB export now has its own export dialog and own help content - -[w2x] EPUB export now uses user-defined meta data to support meta data features that are not defined in ODF - -[w2x] The option use_dublin_core now also works for EPUB export - -[all] API extension: The metadata interface now provides title, subject, keywords, description, creator, language, date - and all user defined metadata - -[w2l] The default value for wrap_lines_after is changed to 120 - -[w2l] Bugfix: Norwegian Nynorsk and Bokmål are exported correctly to babel languages - -[w2l] Added support for polyglossia.sty (if backend=xetex and multilingual=true) - -[w2l] The option "Use greek letters as symbols" is now disabled in the ui if the backend is XeTeX - -[all] Custom config ui: Style controls are now disabled if there are no definitions for the current style family - -[w2l] Custom config ui: The table and figure sequence name can now be selected from existing field masters - -[w2l] Custom config ui: The four special styles for tables are now localized and can be selected from existing styles - -[w2l] Custom config ui is now refactored to use ConfigurationDialogBase, fixing some minor bugs - -[w2l] String replace now also works with XeTeX as backend - -[w2l] Bugfix: The verbatim attribute for character style maps now also works if formatting=ignore_all - -[w2x] New option external_toc_depth to set the number of levels to include in the external table of contents - in EPUB export (default value is "auto", which determines the depth from the split level) - -[w2x] New option page_break_split with values none (default), styles (split on page breaks defined by a style), - explicit (split on all explicit page breaks, manual or defined by a style), all (split on all page breaks, including - soft page breaks (will not split until current paragraph, table or list is finished)) - -[w2x] New option display_hidden_text (default false) to export sections, paragraphs and text marked as hidden - -[w2l] Bugfix: Export footnote configuration before other styles (otherwise some definitions may be lost) - -[w2l] XeTeX bugfix: AMS packages should be loaded before fontspec - -[w2l] XeTeX bugfix: Corrected translation of apostrophe (') and tilde (~) and removed unnecessary translations - -[w2l] Bugfix: Formatting attribute map for italic created with the configuration dialog did not work - -[w2l] Bugfix: Character formatting in footnotes and endnotes was sometimes lost - ----------- version 1.1.5 ---------- - -[w2x] Automatic split of files in EPUB export after 150000 characters (to avoid problems with some EPUB readers - which has a limit on the size of the individual files) - -[all] Author and date are now included in export of annotations - -[w2x] No longer produce and elements without attributes - -[w2l] Bugfix: WMF files are now correctly converted to EPS - -[all] Added Norwegian Nynorsk translation from Kevin Brubeck Unhammer - -[w2x] Only create reference targets for reference marks, bookmarks and sequence numbers if reference exists - -[all] Bugfix: Fixed problem with empty exported names (e.g. bookmarks in xhtml export) - -[w2x] Fixed typo in Russian translation - -[w2l] Bugfix: Fixed problem with lost images in some documents - -[w4l] New option page to define interaction with Zotero and with external BibTeX files - -[w2l] New option: natbib_options is used to set options for natbib.sty (used by Zotero export) - -[w2l] Added support for Zotero reference marks (with contributions from Kevin Brubeck Unhammer) - A new option zotero_bibtex_files has been added to give the names of the BibTeX files from Zotero - ----------- version 1.1.4 ---------- - -[w2x] EPUB bugfix: Fixed problem with URL encoding of fragment identifier in links to document parts - -[w2x] New option endnotes_heading: The value of this (if non-empty) is used as heading for the endnotes - -[w2x] The option add_bom now only has effect if the encoding is UTF-8 - -[w2x] Filter bugfix: Added missing classes to produce LaTeX formulas - -[w2x] Bugfix: Pretty printing no longer results in unwanted spaces in the text - -[w2x] Added support for unnumbered headings - -[w2x] Added Finnish translation from Samuli Selin (merged from 1.0.2) - -[w2x] Added help content for custom format - -[all] Bugfix: Heading styles are now recognized correctly again in old file format (sxw) - ----------- version 1.1.3 ---------- - -[w2x] The standard configuration cleanxhtml.xml now maps footnote and endnote references to - -[w2x] EPUB bugfix: Now includes the entire heading in NCX even if it contains formatting (which is ignored) - -[w2l] Added help content for custom format - -[all] Filter: Fixed bug with filenames containing spaces and other special characters - -[w2x] EPUB bugfix: URL encode links to document parts in the .ncx and .opf files - -[w2x] EPUB export no longer generates a title page reference if there is no title page - -[w2x] Added (temporary) option zen_hack to support a special requirement from the ePub Zen Garden styles - (own style for number prefix. This should be replaced by a style map scheme later..) - -[w2x] Ignore linked images in EPUB export (EPUB files cannot reference external resources) - -[w2x] Added support for break-after and break-before - -[w2l] Features that were postponed to w2l 1.4 has been hidden from the UI - -[w4l] TeX import has been hidden from the UI (postponed to w2l 1.4) - -[w2l] Now exports apostrophe, single and double quotes using ' and ` characters (this creates nicer looking LaTeX files and - fixes a problem with hyphenation of words containing apostrophes) - -[w2x] New style map "heading" to map styles applied to headings to custom styles. - -[w2x] The option "use_list_hack" has been renamed to "list_formatting" with the new values "css1", "css1_hack" and "hard_labels". - The two first values corresponds to "false" and "true" of the old option. The new value requests that - list labels are exported as part of the text rather than by style. This allows for full support of list numbering. - -[w2x] Now includes a space after the list label if the list style defines that the label is followed by a tab or a space - -[w2l] Now recognize the "numbered formula" AutoText provided with OOo as a display equation - -[w2l] Bugfix: Display equations in flat XML are now recognized correctly - -[w2x] Bugfix: Now adds XML prolog for XHTML 1.1 documents - -[w2x] XHTML templates without and/or are now allowed. If no content element is found, the - root element is used - -[w2x] Added help content for export dialogs - ----------- version 1.1.2 ---------- - -[w2l] Added help content for export dialog - -[all] API change: Added the method readStyleSheet to the Converter interface - -[w2x] The custom configuration now supports an optional xhtml template (writer2xhtml-template.xhtml) - in the same directory as writer2xhtml.xml - -[w2x] The xhtml configuration now also supports complex options in the API - -[w2x] Bugfix: Corrected problem with relative links (this affected package format only) - -[w2x] Added EPUB export - -[all] API change: The interface ConverterResult supports an additional method to access the - meta data of the source document. A new interface MetaData has been introduced to support this - -[all] API change: The interface ConverterResult supports additional methods providing pointers to - headings and index tables in the document. A new interface TocEntry has been introduced to support this - -[all] API change: New methods getMIMEType() and isMasterDocument() added to the OutputFile - interface. The latter is used to identify files that are part of the main document flow - (only the XHTML export generates more that one master document currently) - -[w2x] Added user interface to edit custom configuration - ----------- version 1.1.1 ---------- - -[w2l] Added user interface to edit custom configuration - -[w2x] Added two attribute style maps: "underline" and "overstrike" - -[w2l] Style maps now (again) works in tables - -[w2l] Bugfix: Font is now selected correctly in list labels - -[w2x] New option formulas (values starmath, latex, image+starmath (default), image+latex) - to control export of formulas in xhtml 1.0 strict - -[w2x] Avoid exporting redundant lang+dir information - -[w2x] New option multilingual (default true) to turn of export of language information - (except on the root element ) - -[w2x] New option template_ids (default empty) to give the id's used to identity the parts - of an xhtml template in the order content,header,footer,panel - -[w2x] New option pretty_print (default true) to turn of pretty printing of xhtml source - -[w2l] Bugfix: Avoid null pointer exception on empty metadata (date) - -[w2x] Bugfix: Avoid null pointer exception on empty metadata (subject, keywords) - -[w2x] Adapted to work with MathML without namespace (fix for change in OOo 3.2) - -[w2l] Adapted to work with MathML without namespace (fix for change in OOo 3.2) - -[w4l] Added help files - -[w2x] Bugfix: A textposition of 0% is no longer considered to be superscript - -[all] OFFICE_HOME and URE_HOME in build.xml renamed to OFFICE_CLASSES and URE_CLASSES, - which should now point directly to the directory containing the jars - -[w2x] Added support for text:start-value in outline numbering and list styles (the latter - is only relevant if use_list_hack is true) - -[all] Use zeropadding on exported images (ie. file-img001 etc.) - -[w2l] Bugfix: Add \par after display equation when formatting>=convert_most - -[w2l] The custom preamble is now available in the API as a normal option "custom-preamble" - -[all] Extended configuration API with the new notion "complex" options - -[w2l] Bugfix (ODF 1.1): Allow soft page breaks in display equations - -[w2l] Added new value "convert_geometry" for the option "page_formatting" - (export geometry but not header and footer) - -[w2x] Use svg:title as alternative text on graphics if svg:desc is not present - -[all] Bugfix: Filtername (Writer2LaTeX/Writer2xhtml) was not displayed in error messages - -[w2x] New option hexadecimal_entities with values true (default) and false. - When this option is set to true, numeric character entities are exported - using hexadecimal numbers, otherwise decimal numbers are used - -[w2x] Export tabs as ASCII TAB rather than space - -[w2l] Allow additional characters in bibliography keys (_, - and :) - -[w2l] Bugfix: Fixed crash when using the option external_bibtex_files - -[w2l] New options: table_first_head_style, table_head_style, table_foot_style and - table_last_foot_style. These can be used to access the advanced table head/table foot - features of supertabular and longtable: If the first paragraph in the first cell in - a row uses one of the styles given by these optons, the row is exported as part of the - first head, head, foot or last foot. - -[w2x] Added XHTML 1.1 (without MathML) as target format. Internally Writer2xhtml uses - the non-existing MIME type application/xhtml11 for this - -[w2l] Bugfix: Continued numbering now works correctly for lists that continue at level>1 - -[w2l] Added support for the new list formatting of ODT 1.2 (implemented in OOo 3.0) - -[all] Filter: Filters out characters that are illegal in xml - (this fixes a problem with rtf documents imported in OOo) - -[w2x] Introduced hack to set link attributes using the link name: - accepts a semicolon separated list of name=value, for example - title=link to next page;rel=next - -[all] Added icon and publisher information to the extensions - -[w2l] Added XeTeX as possible backend in dialog - -[all] Bugfix: Paragraphs containing only fields are no longer lost - -[w4l] Added Writer4LaTeX extension - -[all] Buildfile is adapted to work with separated ure and office (OOo 3.0+) - -[all] Bugfix: Corrected path to descriptions in oxt - -[w2x] Bugfix: Corrected typo in german translation of navigation bar - -[all] Raised requirement from Java 1.4 to Java 5 \ No newline at end of file diff --git a/source/distro/doc/user-manual.odt b/source/distro/doc/user-manual.odt index 7e7913f..fc4000e 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 a6d57bf..9a4593e 100644 --- a/source/java/writer2latex/api/ConverterFactory.java +++ b/source/java/writer2latex/api/ConverterFactory.java @@ -20,7 +20,7 @@ * * All Rights Reserved. * - * Version 1.2 (2012-03-12) + * Version 1.4 (2012-03-13) * */ @@ -32,8 +32,8 @@ package writer2latex.api; public class ConverterFactory { // Version information - private static final String VERSION = "1.2"; - private static final String DATE = "2012-03-12"; + private static final String VERSION = "1.3.1"; + private static final String DATE = "2012-03-13"; /** Return the Writer2LaTeX version in the form * (major version).(minor version).(patch level)
diff --git a/source/oxt/writer2latex/description.xml b/source/oxt/writer2latex/description.xml index 29f9462..b068801 100644 --- a/source/oxt/writer2latex/description.xml +++ b/source/oxt/writer2latex/description.xml @@ -5,7 +5,7 @@ - + diff --git a/source/oxt/writer2xhtml/description.xml b/source/oxt/writer2xhtml/description.xml index 2d8c329..216b4ef 100644 --- a/source/oxt/writer2xhtml/description.xml +++ b/source/oxt/writer2xhtml/description.xml @@ -5,7 +5,7 @@ - + diff --git a/source/oxt/writer4latex/description.xml b/source/oxt/writer4latex/description.xml index f0d101f..2c7aa4f 100644 --- a/source/oxt/writer4latex/description.xml +++ b/source/oxt/writer4latex/description.xml @@ -4,7 +4,7 @@ xmlns:xlink="http://www.w3.org/1999/xlink"> - + diff --git a/source/oxt/xhtml-config-sample/description.xml b/source/oxt/xhtml-config-sample/description.xml index 5135be5..32a161a 100644 --- a/source/oxt/xhtml-config-sample/description.xml +++ b/source/oxt/xhtml-config-sample/description.xml @@ -2,5 +2,5 @@ - + diff --git a/source/readme-source.txt b/source/readme-source.txt index c4f48be..4b55c54 100644 --- a/source/readme-source.txt +++ b/source/readme-source.txt @@ -1,5 +1,5 @@ -Writer2LaTeX source version 1.2 beta -==================================== +Writer2LaTeX source version 1.3.1 alpha +======================================= Writer2LaTeX is (c) 2002-2012 by Henrik Just. The source is available under the terms and conditions of the