diff --git a/NEWS b/NEWS index 599020acf6..c8fe162fad 100644 --- a/NEWS +++ b/NEWS @@ -1,1002 +1,70 @@ -Public release of LyX version 1.5.5 -==================================== - -We are pleased to announce the release of LyX 1.5.5. Being the fourth -maintenance release in the 1.5.x cycle, this release further improves -the stability and usability of the application. Besides this, it also -introduces some new features. - -Most notably, LyX is now prepared to be compiled with Qt 4.4 that has -just been released: the stability issues that occured in previous -versions of LyX when compiled against Qt 4.4 have been resolved. - -All users, especially users of Qt 4.4, are encouraged to upgrade to -this version. - -A detailed list of changes is appended below, remaining known problems -are listed in the file RELEASE-NOTES. - - What's new in version 1.5.5? ---------------------------- - -** Updates: -*********** - -* DOCUMENTATION AND LOCALIZATION - -- New Spanish translation of the math manual. - -- New French translation of the documentation file "Formula-numbering.lyx". - -- Updated Czech, French, Galician, German, Italian, Japanese, and - Romanian translation of the user interface. - -- Updated German User's Guide and Extended manual. - -- Updated French User's Guide. - -- Updated Italian Intro manual. - - -* USER INTERFACE - -- Add support for the bm package. - -- New layout files "article (beamer)" and "article (koma + beamer)" that - support beamer's article mode. - -- Allow using the \binom command without the amsmath package. - -- Add support for \brace and \brack commands in mathed. - - -* DOCUMENT INPUT/OUTPUT - -- New import option for comma-separated-value files. - -- Add support for the HTML-to-LaTeX converters gnuhtml2latex and - htmltolatex (bug 4615). - -- The commands \makeatletter and \makeatother are now only added to the - preamble when actually needed. - -- The command \textcolor is now converted when importing LaTeX files - (bug 2457). - -- Global line spacing settings are now imported when importing LaTeX - files. - -- The command \lyxline is now converted when importing LaTeX files - (bug 4795). - - -* WINDOWS INSTALLER: - -- A metafile (EMF/WMF) to EPS conversion tool is included. - This tool uses a virtual printer called "Metafile to EPS Converter". - -- Full support for installation on a per-user basis, including limited - users. - -- Required files of ImageMagick and Ghostscript will be installed in the - LyX folder. - - -* BUILD: - -- New configure option --enable-build-type allows to set all - compilation options for release, prerelease or development builds. - Please see the INSTALL file for more details. - - -** Bug fixes: -************* - -* DOCUMENT INPUT/OUTPUT - -- Fix LaTeX import of aligned consecutive paragraphs (bug 4806). - -- Fix font size handling when importing LaTeX files (bug 4803 and - bug 4807). - -- After an inset, don't always revert to the language's default encoding - for latex output, but honor that specified in the document settings - (bug 4665). - -- Close font macros (such as \emph) before comments, greyedout, framed - and shaded notes, thus fixing a problem where documents couldn't be - compiled anymore. - -- Fix LaTeX error "unknown color 'ignore'" when setting text style - attributes in mathed (bug 4091). - -- Assure amsthm is loaded if a theorem is defined with \theoremstyle. - -- Fix LaTeX errors triggered by switching from ams article to ams plain - article. - -- Fix drawing of top and bottom rules in formal tables (bug 4554). - -- Fix reversion of OHM and ANGSTROM characters to LyX < 1.5.0 (rest of - bug 3313). - -- Check for the LaTeX packages "nicefrac" and "units" that are used by - LyX. - -- Check for PDF->PS, PDF->EPS and PS->EPS converters and use them (bug - 3968). - -- Stop warning messages when a local layout file is opened. Fix bugs - caused by incorrect reloading of local layout files. - -- Use verbose htlatex command instead of oolatex, if available, since the - latter caused problems on some systems (bug 4604). - -- Use package amsbsy for bold math symbols obtained through the \boldsymbol - macro, such that bold super and subscripts have the correct size even - when not using the complete amsmath package. - -- Fix loading of lyx documents generated with csv2lyx (bug 4639). - -- Move \label{} outside of listings option caption={} because the listings - package prefers a separate label={} option. - -- Set the correct encoding when an ASCII encoded LaTeX file is imported - (bug 4719). - -- Parse the command \makebox correctly when importing LaTeX files - (bug 2504). - -- Import global paragraph settings correctly when importing LaTeX files - (bug 4773). - -- Use style guide-conforming headings in the APA layout (bug 4827). - - -* USER INTERFACE: - -- Fix a crash on startup with Qt 4.4 (bug 4568). - -- Fix a crash that occured on some OSes when the character '{' was - inserted in the advanced input of the listings dialog (bug 4780). - -- Fix an assertion with compressed image files that do not have a - zip-extension. - -- Fix an assertion with incorrect argument for '-sysdir' command-line - switch (bug 4791). - -- Correctly apply font changes when several math matrix cells are selected - (bug 4566). - -- Allow deleting a label in a formula as well as the numbering with the - delete key (bug 2556). - -- Allow to enter starred math commands such as \tag* (bug 4584). - -- Load amsmath when \tag or \tag* is used (bug 4586). - -- Fix parameter input of the math commands \makebox and \framebox (bug - 2461). - -- When cutting a selection do not leave a dangling paragraph (bug 3995). - -- Improve the behaviour when inserting a collapsable inset over a multi- - paragraph selection. - -- Fix the automatic uncollapsing of outliner during updates (bug 3740). - -- Correctly handle quotation marks in command preferences (bug 2016). - -- Remove the menu entries to swap rows/columns as this feature is not - implemented. - -- Fix wrong focusing of buttons in search dialog (bug 4194). - -- Disallow some Note variants in places where they would result in LaTeX - errors (part of bug 4180). - -- Use *.* to select all files in the file selection dialog on Windows. - Using shortcuts for navigation is now possible. - -- Fix \Vert symbol in the math panel (part of bug 4720). - -- correct numbering inside multiline environments (bug 518). - -- Fix typo in the script TeXFiles.py that scans for TeX files. - -- Remove the menu entry Insert -> Math -> Toggle math panels, since - it actually does not insert anything and its functionality is covered - by menu View - > Toolbars -> Math Panels (bug 4765). - - -* DOCUMENTATION - -- Fix LaTeX errors in the Spanish Tutorial, UserGuide, and Intro manual. - -- Math manual: - - correct shortcuts for math fonts in section 11.1 - - fix the description of the command \tag in section 19.4 - -- Man page: document -geometry option, update Copyright date (bug 4740). - -- The tex2lyx man page was completely outdated and referred to reLyX in many - places (bug 2770). It has been cleaned up, but it is still outdated in - details. - - -* BUILD/INSTALLATION: - -- fix the 'make check' target in src/support; one of the checks still - fails (bug 4638) - -- fix the problems with compilation on gcc 4.3.0 with disabled pch headers. - -- fix some compilation warnings. - +This release further improves the stability and usability of the +application. Besides this, it also introduces some new features. Most +notably, LyX is now prepared to be compiled with Qt 4.4 that has just +been released: the stability issues that occured in previous versions +of LyX when compiled against Qt 4.4 have been resolved. What's new in version 1.5.4? ---------------------------- -** Updates: -*********** - -* DOCUMENTATION AND LOCALIZATION - -- New manual "LyX's detailed math manual" available in English, French, - and German. It includes the content of the example file "mathed.lyx", - which is no more shipped separately. - -- New section "Floats Side by Side" in the EmbeddedObjects manual. - -- New Spanish translation of the FAQ manual and the mathed example file. - -- New Japanese splash LyX file. - -- Updated French and Spanish Introduction manual. - -- Updated German, French, and Spanish Tutorial manual. - -- Updated German User's Guide manual. - -- New Russian translation of the user interface. - -- Updated Czech, French, German, Hebrew, Hungarian, Italian, Portuguese - and Spanish translations of the user interface. - -- New example files that demonstrate how to create serial letters with - the KOMA letter class. - - -* USER INTERFACE - -- LyX gives more instructive information if a character cannot be encoded - properly. Most notably, the offending character is highlighted both in - the work area and in the "View Source" pane (bug 3511). - -- Initial support for shift + right-mouse-click selection (bug 2304). - -- The on-screen appearance of spaces has been improved. - -- New shortcut "C-M-n" to create numbered formulas. - -- Character counting added to "Count Words" function (bug 2819). - -- The BibTeX dialog now has buttons to move databases up or down - the list. - -- New toolbar button to create boxes. - -- Keyboard shortcuts for TOC window buttons were introduced. For outlining - you can use "M-p Left/Right/Up/Down" keys. Note that depth-in/decrement - LFUNs are still reachable via "M-S-Left/Right" shortcuts (bug 4456). - -- Improve cursor movement around lines with ending line-breaks. - - -* DOCUMENT INPUT/OUTPUT - -- Use package wrapfig instead of floatflt for wrap figure floats. Note - that this might slightly change the output (cf. the file RELEASE-NOTES). - -- Support to paste text containing ligatures to LyX. - - -* BUILD/INSTALLATION: - -- The Windows version is compiled with MSVC 2008. - It is no longer necessary to install the Windows SDK and other patches, - these things are now also included in the Express edition. - -- Viewers wrapper xdg-open was removed due to the problems on environments - without desktop managers. Waiting for upstream fixes. - - -** Bug fixes: -************* - -* DOCUMENT INPUT/OUTPUT - -- Fix LaTeX output of documents with both CJK and non-CJK languages. - LyX is basically ready for multilingual CJK now (bug 4337). - -- Fix internal conversion from ucs4 to cp-1255 (LyX didn't recognize - the Hebrew character tav [0x5EA] as a valid character in cp-1255) - (bug 4439). - -- Fix import of LaTeX files that use the inputenc option "utf8x" (part - of bug 4503). - -- Rotated floats are now correctly converted to ERT when exporting to LyX - format < 1.4.0. - -- Fix the LaTeX output of boxes (bug 2492). - -- Assure that the package "pdfcolmk" is loaded after the package color. - -- Consider graphic drivers when loading the package "xcolor". - -- Fix LaTeX code for line spacing when using the memoir class. - -- Perform additional latex run if package clefval is used. - -- The "dvi viewer paper options" switch now supports all known - paper sizes (bug 4432). - -- "letter" is no more hardcoded as default dvips paper size - (bug 2098). - - -* USER INTERFACE: - -- Fix crashes after LyX tried to access files on non-existing or unmounted - drives (bugs 4052, 4440, 4534). - -- Fix a crash when changing the document encoding while View->Source - is open (bug 3561). - -- Fix an assertion when inserting a non-CJK character in a CJK paragraph - (bug 4349). - -- Fix a crash when opening a document with relative path (bug 4517). - -- Fix a crash after converting a formula to eqnarray while a selection - was active (bug 4452). - -- Fix an assertion when inserting a box in a list while at least one - paragraph of that list was selected (bug 4502). - -- Fix a crash when opening a file that resides in a hidden directory - (bug 4513). - -- Fix a crash when deleting outlined insets while the outline panel - is open (bug 4547). - -- Fix a crash following the input of an invalid paragraph separation - value in the document settings dialog (bug 4556). - -- Fix a crash when inserting a math formula into a character style - inset. In order to fix this, the status bar information that was - displayed when hovering over a char style had to be disabled for - the time being (bug 4559). - -- Fix a crash when pressing "page up" while the cursor is in an empty - paragraph (bug 4570). - -- Do not exit after catching an iconv exception (bug 4385, part 2). - -- Fix update/drawing of character style insets. - -- Keep unapplied content of the document settings dialog after - clicking in the main window (bug 4302). - -- Select the correct list in the outliner when right-clicking on the - TOC- or a "List-of-"inset (bug 4260). - -- Fix access to network drives on Windows. - -- "Accept compound words" in Preferences->Spellchecker now also works - with aspell (library) (bug 4408). - -- Overwrite selected text when inserting from the math panel (bug 4055, - part 2). - -- Fix copying of insets to external clipboard and display of insets - in the navigaton menu (bug 4472). - -- Fix pasting of multiple tabular cells on Mac and Windows (bug 4436). - -- Fix the function "mark-on" (bug 2913). - -- Fix rows alignment in the gather environment (part of bug 1497). - -- Add missing pdflatex format to Export->Custom. - -- Add a check box to the formula numbering menu entries and disable - them as needed. - -- Avoid multiple warning messages from menu system at start-up. - -- Avoid spurious warning messages about translation of "Plain text" at - start-up. - -- Add unicode support for missing space modifier letters. - -- Add unicode support for many IPA characters. - -- The case-changing functions do not select text anymore. - -- Set correct width for labels in document class "letter (KOMA-Script - v.2)" (bug 4529). - -- Fix section counter problem in Portuguese localization (bug 4563). - -- Load the amsmath package when \implies is used (bug 4561). - - -* DOCUMENTATION - -- Document in the User's Guide how to dissolve insets (bug 3687). - -- Fix the bibliography of the French User's Guide. - -- Fix a document preamble font entry that prevented the User's Guide - from beeing exported to PDF in some cases. - -- Fix preamble error in the template file "koma-letter2.lyx". - - -* BUILD/INSTALLATION: - -- Small cleanup to the INSTALL file. - -- New script postats.py used to generate translation statistics for the - main page. - -- Dutch dictionary now downloads. - -- Fix compilation with gcc 4.3 (soon to be released). +This is a maintenance release. Besides the usual stability +improvements and fixes, this release comes with major improvements in +the handling of Chinese, Korean and Japanese (CJK) languages and +scripts, and introduces some minor new features (such as a character +count option). + +While this release continues the stable 1.5.x series, work on the next +major release, 1.6.0, is proceeding. A first alpha version of LyX +1.6.0 will be released later this week for those who like the bleeding +edge experience. Notwithstanding this, expect one or two more 1.5.x +versions to be released, of which the last one will be able to read +the 1.6 format. + +All users, especially CJK users, are encouraged to upgrade to this +version. Caveat: We were forced to switch from the LaTeX package +'floatflt' to 'wrapfig' for wrap figure floats due to a license +problem that limited the availability of the former package. In +general, this should improve your documents containing wrap figures, +however, it is possible that the look and positioning of the floats +changes due to the package change. If you have documents with wrap +floats, please make a backup before upgrading and check the output. What's new in version 1.5.3? ---------------------------- -** Updates: -*********** - -* DOCUMENTATION AND LOCALIZATION - -- Updated Czech, French, German, Hebrew, Hungarian, Italian, Japanese, - Norwegian, Spanish and Traditional Chinese translations of the user - interface. - -- New Spanish translation of the example file "ItemizeBullets.lyx". - -- New French translation of the EmbeddedObjects manual. - -- Updated French introduction manual and User's Guide. - -- Revised Tutorial - - -* USER INTERFACE - -- The way collapsable insets (footnotes, comments etc) are widened has - seen a complete overhaul in order to speedup painting when typing - within insets. Now these insets take the whole screen width as soon - as they contain more than one row of text. Users of Mac/PPC and of - Unices with slow X11 server should feel a significant boost in - performance thanks to this change. - -- The pixmap cache that was introduced in LyX 1.5.2 to improve performance - can now be switched on and off in Preferences, since it might decrease - on-screen display quality of fonts (subpixel hinting). By default, the - cache is disabled. If you experience performance problems, turn in on - (Mac and Windows only). - -- The behaviour of Return and M-Return has changed: they now allow to either - keep current paragraph and depth or to nesting paragraph (bug 2445). - -- Add the esint font to the private math fonts. This font assures a - consistent on screen looking for all kinds of supported integral signs. - -- The slides/foils of presentation classes such as beamer, powerdot, foils - and slides are now displayed in the outliner. This makes it easy to navigate - to specific slides or move them up and down (bug 78). - -- It is now possible to enter greek and cyrillic characters and have them - typeset without switching to the proper language. - -- Add native Erlang support for listings (bug 4263). - -- The on-screen representation of charstyle insets has been polished: - they now integrate better in the line. Furthermore, their label is - not displayed anymore by default (it can be toggled globally by - "View->Open all Insets" and individually by clicking the right mouse - button). As a new type of information, the type of a charstyle inset - is now displayed in the status bar when the mouse hovers over it. - -- Inset-dissolve now works in mathed. - -- Placeholders have been moved from the miscellaneous to the spacings section - in the math toolbar. - - -* DOCUMENT INPUT/OUTPUT - -- tex2lyx now imports the following LaTeX commands and environments: - - \newline - - environments "framed" and "shaded" from package framed.sty (i.e. framed - and shaded notes in LyX) - - \selectlanguage, \foreignlanguage, and \inputencoding (bug 27). - - all font settings that are natively supported by LyX. - - all quotation marks (bug 2703). - -- xdg-open and sensible-editor are now detected as possible viewer (wrappers). - - -** Bug fixes: -************* - -* DOCUMENT INPUT/OUTPUT - -- Fix a crash when exporting a file with a branch from the command line - (bug 4255). - -- Fix a crash when importing an older LyX file (version < 1.5.0) that - contains index entries with escaped umlauts (bug 4333). - -- Fix a crash when importing an older LyX file (version < 1.1.6) that used - the "default" language. - -- Exit gracefully and give the user some information if LyX catches an - exception from an external program, such as iconv (part of bug 4385). - -- Fix LaTeX output of AMS classes when using layouts like Definition but - not using also Theorem (bug 4282). - -- Remove obsolete LaTeX preamble code that was set when a document contained - URLs (bug 2265). - -- If there exists a local layout file, use the local copy instead of the - system one. - -- Use package "float" when the default placement for floats is set to - 'Here, definitely'. - -- Fix import of bounding box arguments "natheight", "natwidth", "bbllx", - "bblly", "bburx" and "bbury" (bug 4418). - - -* USER INTERFACE: - -- Fix a crash when using bookmarks in insets (bug 4301). - -- Fix a crash when some files or directories are not readable. - -- Fix a crash when pasting into a math formula (bug 4318). - -- Fix a crash when deleting a row or column of a math matrix while its - content is selected (bug 4323). - -- Fix a crash when inserting a label after a math matrix (bug 4334). - -- Fix a crash when overwriting a selection that spans multiple paragraphs - (bug 4317). - -- Fix a crash when using the outline-* lfuns within mathed (bug 4330). - -- Fix an assertion when entering a math object in a list environment (bug 4335). - -- Fix a crash when the cursor leaves the first paragraph of the - appendix and it is empty (bug 4352). - -- Fix a crash when editing in an inset that contains an horizontal spring - (hfill). - -- Fix a crash when pasting text from the clipboard into a multi-line - tabular cell (bug 4368). - -- Fix a crash when inserting a file in a tabular cell via - Insert->File->Plain Text... - -- Fix a crash when using the regex search of the citation dialog (bug 4421). - -- Correctly adjust screen fonts after the zoom or dpi settings were changed in - the preferences (Mac and Windows only) (bug 4268). - -- Fix updating of externally modified files on Windows both in the workarea and - in the output (bug 3172). - -- Fix loading of the CJK package in multilingual documents (part of bug 4337). - -- Fix a problem on Windows where invalid names were given to backup files - (bug 4287). - -- Fix a bug where the spellchecker didn't update the screen display on the last - of several misspelled words (bug 3586). - -- Fix a bug where the spellchecker skipped the first misspelled word on a second - run (bug 2218). - -- If the text of footnotes is in a different language than the main text, it - was not aligned correctly. This is fixed. - -- Fix cut and paste of tabular cells via the external clipboard (bug 4147). - -- Fix undo in tabulars after pasting via the external clipboard (bug 4371). - -- Fix undo in tabulars after inserting a file via Insert->File->Plain Text... - -- Fix middle-mouse paste from other apps into LyX (bug 4394). - -- Repair wasy font such that it can also be used on Mac (bug 2326). - -- Fix color of some math symbols (bug 2330). - -- Fix math display problem with binoms (bug 4308). - -- Fix problem in conversion of equations to eqnarray (when pressing C-Enter). - -- Fix a bug when adding a math formula column. - -- Check and show proper error message if configure.py fails (part of bug 2829). - -- Fix DraftDVI preference settings (Windows only). - -- Fix bug where strings containing [[double brackets]] appear in user - interface. - -- Fix several duplicated keyboard accelerators in the paragraph settings dialog - (bug 4277). - -- Do not close the error dialog on double click (bug 4090). - -- Really highlight search text in the find and replace dialog (bug 3999). - -- Fix bug that files with non-ascii names are reported as externally modified - (bug 4266). - -- Disallow paragraph breaks in optional arguments (aka short title) (bug 4359). - -- Fix calculation of row metrics with multibyte characters. - -- Allow to set optional arguments to Theorem like environments (bug 4344). - -- Make sure that the Chapter* layout appears in outline and naviagtion menu - (bug 3888). - -- Fix problem after cancelling the Insert Plain Text dialog. - -- Distinguish translations for 'Note' between layouts and inset. - -- Fix highlighting of comments in the LaTeX source view. - -- Improve shortcut behaviour in the Print dialog (bug 4345). - -- Fix on-screen numbering of mwrep and mwbk classes (bug 4419). - - -* DOCUMENTATION - -- Fix corrupted character in the User's Guide (including the translations). - -- Remove the example file "currency.lyx" and its German translation - "Waehrungen.lyx". The file is obsolete, since LyX allows direct insertion - of currency symbols as of version 1.5.0. - -- Remove the German example file "TabellenBeispiel.lyx" and its French - version "ExemplesTableaux.lyx". The files have been obsoleted by the - EmbeddedObjects documentation. - -- Remove wrong description of math space handling from the German tutorial - (bug 4328). - -- Document that the list of recently edited files is lost when - upgrading from LyX 1.4.x. - -* BUILD/INSTALLATION: - -- Fix installation of the Spanish User's Guide when building with scons. - -- Fix configure.py such that all possible extensions for executables are - taken into account when searching for programs (Windows only). - -- Make sure that all the files created when compiling are removed by - "make clean". - -- Fix build problem on MacOS 10.5.1. +This is a maintenance release that further improves the stability and +the performance. Besides numerous crashes, the display problems that +slipped into 1.5.2 with the performance fixes (on the Mac and on +Windows) as well as problems entailed to the reworked document classes +were fixed. Furthermore, LyX 1.5.3 comes with speed improvements that +should pay off especially on the Mac and other UNIXes. Finally, this +version also provides some new features. What's new in version 1.5.2? ---------------------------- -** Updates: -*********** - -* DOCUMENTATION AND LOCALIZATION - -- The LyX User Guide has been revised completely. It is now up to - date and describes all of LyX 1.5's main features (bug 3315 a.o.) - For a detailed changelog, see - http://wiki.lyx.org/LyX/DocumentationDevelopment#Status - -- The LyX User Guide has been translated into Spanish. - -- The Embedded Objects manual contains two new sections: - * longtable alignment. - * scaled and rotated material. - -- Many improvements to the translation of the user interface on the Mac. - In particular, LyX automatically uses the language of the interface for - all of its menus and for the help files. Documents strings like - "Chapter" are correctly translated on screen too. - -- New translations of the user interface into Finnish, Portuguese and - Simplified Chinese. - -- Updated Czech, French, Galician, German, Hungarian, Hebrew, Italian, - Japanese, Portuguese and Romanian translations of the user interface. - -* USER INTERFACE - -- Add a pixmap cache to speed up text drawing on screen. This cache is - enabled on Mac and Windows platforms using Qt 4.2 or higher. - -- Add a "Save all" menu entry, to save all modified files (bug 2840). - -- Mark modified files in the View menu with an asterisk (bug 2876). - -- Add a paragraph-params LFUN, used for updating paragraph parameters - (bug 2714). - -- Add a "Save all on log-out or cancel" feature (bug 1656). - -- Improved on screen rendering of some toolbar images. - -- The dialogs of "editable" insets (such as index entries, URLs or - citations) are now opened by the "next-inset-toggle" LFUN (bug - 2907). - -- The screen label of index insets now displays their content. - -- Floats comes now with fixed width on screen (bug 4002). - -- A "Title (Plain Frame)" style has been added to the beamer layout. - This allows for setting a title frame without head-/footlines and - navigation bars (bug 3133). - -- The AMS document classes have undergone a major rewrite. Several - bugs were fixed and some new styles were added (bugs 4087, 4223). - Cf. http://wiki.lyx.org/Layouts/AMS for a detailed list of changes. - -- New LyX functions, master-buffer-view and master-buffer-update, have - been added, to view the master buffer associated with a given child - buffer. These are bound by default to C-M-t and C-M-d, for Postscript - and DVI, respectively, for view, and to C-M-S-t and C-M-S-d, for update. - -- The debug output obtained with the '-dbg painting' option has been - modified to be more verbose and in line with the LyX development - version. - -** Bug fixes: -************* - -* DOCUMENT INPUT/OUTPUT - -- Reconfiguration failure will no longer result in empty textclass lists. - Lyx now starts and asks for reconfigure if no textclass is found (bug 2829). - -- Check if the .lyx file has been externally modified when a buffer is saved. - -- Fix conversion from older documents if koi8 is used as the document - encoding (bug 4158). - -- Handle array column specifiers @{decl.}, p{width} and the extensions by - array.sty in mathed (bug 4132). - -- Detect (pdf)tex's file:line:error style messages that are used by some - distributions and that caused LyX to ignore LaTeX errors (bug 4222). - -- Fix LaTeX error with captions in Program Listings (bug 4182). - -* USER INTERFACE: - -- Fix a crash when closing a LyX window with document tabs (bug 4123). - -- Fix a crash when clicking in a tabular cell and the "delete empty paragraph" - mechanism triggers (bug 4133). - -- Fix a crash when using the LFUN 'buffer-write-as' with an argument - that is not an absolute path (bug 4135). - -- Fix a crash when a user removes the underlying figure of a graphic inset - that has been copied and pasted (bug 4108). - -- Fix a crash when inserting a float. - -- Fix a crash on quitting if graphics were selected (bug 4178). - -- Fix a crash when a user removes a formula when its preview is being - generated (gcc 3 only). - -- Fix a crash when using the down arrow in an empty math subscript (bug 4117). - -- Fix a crash when logging out from within the Gnome desktop (bug 1656). - -- Fix a crash when exporting a file with graphics to LaTeX on Windows - (bug 4243). - -- Fix a crash when a counter was ill-defined in a layout file (bug 4232). - -- Fix a crash with View>PDF on the Mac. This occurred only when LyX was - compiled with gcc's stdlib-debug option (bug 4014). - -- Fix performance problem related to Clipboard and Selection on X11 - platforms (bug 4045). - -- Only update the toolbars that are actually visible. This improves LyX's - performance on editing. - -- Further improve performance on editing by reducing the update calls of the - math panel toolbar to the bare essentials. - -- Fix the loading of non-LyX child documents with relative path names. Change - 'Load' to 'Edit' in the child document dialog (bugs 4107 and 4111). - -- Allow roman numerals beyond 20 (bug 4112). - -- Render malformed tables correctly (bug 580). - -- Enable File>Revert when the file is externally modified, and rename - this menu item to "File>Revert to saved" (bugs 3766 and 4114). - -- Update the screen when leaving a 'wide' inset using the up- and down-arrows. - -- Fix a problem where the Delete button in the citation dialog was erroneously - disabled (bug 4121). - -- Reset the current cursor font when going to a bookmark. - -- Fix an icorrect handling of spaces in change tracking mode (bug 3961). - -- Fix a failure to close the window when a modified document is saved - (bug 4170). - -- Highlight search text in the find dialog (bug 3999). - -- Fix the deletion of paragraphs with leading spaces (bug 3600). - -- Fix the loss of start-of-appendix information when creating/deleting an - empty paragraph (bug 4212). - -- "Revert" and "Save As" are no longer treated as external modifications - of the document (bug 4193). - -- Fix a bug where the "longest label" widget in the paragraph dialog was - disabled after its content was deleted (bug 4127). - -- Fix a bug where the cursor was largely off-screen on document opening - (bug 3427). - -- Fix a bug where fixed width insets were not honoured correctly (bug 4029). - -- Fix a bug where the current document was closed unexpectedly when - typing a space after switching between 2 documents with the file->Open - dialog (bug 4211). - -- Fix bug in box dialog where the inner box was empty when switching - the box decoration (bug 4233). - - -* DOCUMENTATION - -- Fix installation links for Hebrew (bug 4165). - -- Correct the description of list of algorithms in the Embedded Objects manual. - -- Fix the appearance of the word "LyX" in PDF-bookmarks in the - Introduction manual (bug 2435). - -- removed description of the program "reLyX" that was replaced in LyX 1.4 by - "tex2lyx" (bug 2766) - - -* BUILD/INSTALLATION: - -- Upgrade to boost 1.34.1. - -- Upgrade to gettext 0.14.6. - -- On all supported platforms, allow Qt 4.2 or higher to use the math fonts in - /fonts without the need to install them. - -- Make configure.py remove a log file generated by MikTeX and copy the file - chkconfig.ltx to the user dir using default permissions (thus avoiding a - bug on Cygwin where python doesn't copy ACLs associated with a file). - -- Clarify an error message for --without-included-boost. - -- Better alignment of the version info output. - -- Remove the /TP (force to use C++ compiler) option from scons/msvc. - -- Allow the use of a snapshot version of scons. - -- Fix usage display for lib/doc_toc.py (bug 3798). +This is a maintenance release that focuses on improving the +stability. We have fixed numerous crashes, performance problems, and +other bugs. Furthermore, the documentation has been revised. It covers +all new features of the 1.5.x series now. What's new in version 1.5.1? ---------------------------- -** Updates: -*********** +We are pleased to announce the release of LyX 1.5.1. It includes a few +bug fixes and, more importantly, fixes a bug where files produced with +the Document>Compressed option on would be malformed on windows. It +was therefore decided to revert to the trusty 1.4.x code in this area +and release 1.5.1 sooner than anticipated. -* DOCUMENTATION AND LOCALIZATION - -- Add template for the APA class (bug 2390). - - -** Bug fixes: -************* - -* DOCUMENT INPUT/OUTPUT - -- Fix output of LyX files on windows when Document>Compressed is set. - This is a dataloss bug that was the main reason for releasing 1.5.1 - earlier than anticipated. - -- Get rid of annoying LaTeX error after changing the document language - (bug 2468). - -- Fix a LaTeX error with caption inset in a listing inset (some - problems remain). - -- Fix crashes relating to command line export (bugs 4077 and 4086). - -- Fix export to FAT32 under Linux (bug 4094). - -* USER INTERFACE: - -- Fix crash with TOC and child documents (bug 4096). - -- Fix redrawing artefacts when switching tabs (bug 3969). - -- Fix pasting a selection from the same LyX document with middle mouse - button. - -- Fix pasting of a selection from other applications (X11 only). - -- Coherent behaviour when inserting over a selection: now the selection - is always replaced by the insertion (bug 672). - -- When inserting an URL over selected text, insert the selected - text in the URL inset (bug 683). - -- Don't allow invalid listings parameters to be passed when - updating other controls in listings-related dialogs (bug 4053). - -- Fix bug with math-matrix dialog always producing 1x1 matrices on - platforms lacking proper support for wide characters (bug 4076). - -- Sort colors in the Preferences dialog (bug 2571). - -- Fix bug where using pdfsync marks the document 'changed' (bug 4023). - - -* BUILD/INSTALLATION: - -- scons now accepts SConstruct file from top source directory, which - can be a symbolic link to development/scons/SConstruct. - -- LyX configuration script now checks for htlatex as an OpenDocument - converter, since some platforms have htlatex but not oolatex. It also - checks for oowriter as an OpenDocument viewer and editor. - -- Fix building on Mac OS X when pkg-config is installed. +All 1.5.0 users are urged to upgrade to 1.5.1. What's new in version 1.5.0? @@ -1170,7 +238,7 @@ even after the selection has been cleared. Lyx can not create, but can open a .lyx file with .cls and .layout files stored in the same directory as the .lyx file. That is to say, if you send -your co-author a .lyx file with associated class and layout files, s/he +your co-author a .lyx file with associated class and layout files, s/he can view and modify the .lyx file directly, without having to install the .cls and .layout files, reconfigure and restart lyx. Note that the .cls and .layout files have to be copied to every directory your .lyx files reside, @@ -1192,180 +260,6 @@ Lots of long-lasting bugs have been fixed, as documented in LyX bugzilla. Probably some new ones have been introduced instead ;-) -What's new in version 1.5.0 (release candidate 2) ----------------------------- - -We are pleased to announce the release of LyX 1.5.0 (release candidate 2). -We expect this to be the last release before 1.5.0. We do not anticipate -any further changes before 1.5.0, although any critical bugs and regressions -in 1.5.0rc2 will, of course, be addressed. - -Since the announcement of release candidate 1, we have mostly fixed bugs -and polished the graphical interface. - -What's new in version 1.5.0 (release candidate 1) ----------------------------- - -The difference to the last beta release is due to bug fixes only, -no new features are allowed at this stage of development. The only -exception to this rule is the addition of Farsi as a supported language -since the available patch was not integrated in the previous release. - -What's new in version 1.5.0 (beta 3)? ----------------------------- - -Compared with the previous beta release we have fixed several bugs -and added some improvements: - - * A new inset to support code listings. - * We have enabled the converter file cache by default. - * The languages Armenian, Chinese, Japanese, and Korean are now supported in - the user interface. - Note that from now on, former encoding settings for these languages - done via ERT or the document preamble will lead to LaTeX-errors! - -Internally we have renamed files to follow a consistent name pattern, -this will allow an easier navigation of the source code thus simplifying -bug fixing. - -What's new in version 1.5.0 (beta 2)? ----------------------------- - -Compared with the previous beta release we have fixed several bugs and -added some graphical improvements: - * A new math toolbar replaces the old (faithful) math panel. - * The converter file cache can be now configured in the graphical interface. - * The TOC dialog is now a dock widget, embedded in the main window. - -Apart from the described major changes, several minor improvements of -the user interface have been made, such as: - - - Syntax highlighting for the user preamble and the LaTeX log file - - Better parsing of BibTeX databases (in the citation dialog) - - Support optional argument for environments - -What's new in version 1.5.0 (beta 1)? ----------------------------- - -* Unicode - -LyX 1.5's big goal was to use unicode internally and so resolve a slew -of existing problems with special characters and non-alphabetic -languages. LyX 1.5 is able to output unicode (in addition to -encodings current available), so that you can use LaTeX's new utf8 -encoding or such brand new typesetting systems as XeTeX. -Since the change to unicode touched much of the code base and some -areas still need a cleanup it is very likely that some bugs related to -the unicode transition still exist. Please have a look at the Known -bugs in LyX 1.5 page if you encounter a bug that seems to be related -to unicode. If it's not there, then please report it to the lyx-devel -mailing list. - -* Integrated CJK support - -The very first result of the Unicode transition is that we have finally -merged in the externally maintained CJK-LyX branch. - -* Multiple views of the same buffer - -LyX can now display multiple views of the same buffer. I.e., you can -now open a single document in multiple windows and work on different -parts of it synchronously. - -* Outliner - -LyX has another long-awaited feature: a basic outliner mode, in which -you can move chapters and sections around in the Table of Contents -dialog. (The outliner has been backported and was released with LyX -1.4.4.) - -* Session management - -LyX is now able to remember window size and position and it will -reopen the documents you worked on last time around. If you've -selected the feature in the Preferences dialog, it'll even move the -cursor to the place you were working on last! Furthermore, toolbars -can (finally!) be switched on/off in View->Toolbars and moved about in -the LyX window. The session management will remember their state. - -* Source code Viewer - -As a kind of "anti-preview-latex", a dialog was implemented that lets -you view the source code of a given paragraph/selection or the whole -document. - -* New Font Selection Interface - -LyX's font selection abilities have been one of its weakest and most -outdated components. A completely new interface was implemented that -provides access to the power of LaTeX's font selection scheme. - -* Tabular extensions - -LyX's table support is certainly less powerful than that of -LaTeX. support for the booktabs package was implemented, which -provides beautiful and elegant tabulars. - - -* Nomenclatures - -Native LyX support for the nomencl package was implemented. With this, -you can treat your document with all sorts of nomenclatures, -glossaries and fancy notations. - -* Tabbed Widget - -LyX now uses tabbed widgets to display multiple documents. - -* Frontend News - -LyX 1.5 will use the Qt4 toolkit. This is especially good news for -Windows users, since there's an official, GPL version of Qt4. They no -longer have to rely on an unofficial port of the Unix Qt3 library to -Windows. The good old XForms frontend went the way of the dodo. It -was both hated and loved, and certainly shaped the unique look of LyX -in the past. It was finally killed off, however, by the switch to -unicode. The Qt3 frontend was removed. The work on the GTK frontend -has been transferred to a branch because its development has -essentially stalled. - -* Change tracking enhancements - -Major parts of the change tracking code were rewrote addressing -several problems that existed in the existing implementation. - -* Converter file cache - -A cache for converted files, such as included figures, was -implemented. This can speed up LyX's performance considerably when -displaying documents with many included figures that need conversion -to a format that can be rendered on screen. The converter file cache -is disabled by default, and there is no GUI for configuring it yet. If -you want to use it, add the line - \use_converter_cache true - -to your preferences file. The default maximum age of a cached file is -6 months. You can change that with the line - \converter_cache_maxage xxx - -where xxx is the maximum age in seconds. - -* Unified Windows installer - -The two windows installers are being merged and bug reports regarding -both installers are welcome. - -* Under the hood - -As usual, one big task has been the ongoing code cleanup of the LyX -core. Performing this cleanup makes the code more understandable and -easier to maintain. It also leads inevitably to a more robust -application. Nonetheless, it's an unfortunate fact of life that ugly -code is sometimes faster than pretty code. We're well aware that LyX -1.4 is slower than LyX 1.3. One important goal of this 1.5 development -series has been to bring this speed back. - - What's new in version 1.4.5.1? ------------------------------ @@ -1374,841 +268,85 @@ of one file necessary to read and write lyx 1.5 files. What's new in version 1.4.5? ----------------------------- +---------------------------- -** Updates: -*********** - -* DOCUMENTATION AND LOCALIZATION - -- Update Hungarian and Italian localizations of the interface. - - -** Bug fixes: -************* - -* DOCUMENT INPUT/OUTPUT - -- Don't skip lines after noweb chunks in tex2lyx (bug 3052). - -- Fix bug when entering relative length (like page%) as margin - settings (bug 3416). - -- Fix Date external template in windows (bug 3241). - -- Fix babel bug triggered by MarkBoth in the IEEEtran.layout (bug - 3510). - -- Fix ordering of layouts in beamer textclass (bug 3141). - -* USER INTERFACE: - -- Fix bug where moving the last section up in the toc dialog eats the - last paragraph (bug 3303). - -- Fix crash when using "all-insets-toggle" lfun on a file with - math insets (bug 3358). - -- Fix crash when undoing ctrl- in mathed (bug 3590). - -- Fix crash if the thesaurus fails on startup (bug 2691). - -- Handle undo correctly when inserting a plain text file (bug 3204). - -- Fix misplaced cursor when clicking at the end of a line (bug 3310). - -- Make it possible to reset itemize bullets to their original state - (bug 3312). - -- Fix display of Theorem-like environments when in appendix (bug 3351). - -- Fix conflict with globally installed math fonts, for ex. from - Scientific Workplace (bug 3962, windows only). - -- Properly keep existing previews when pasting formulas (bug 1486). - -- Fix display of math root inset when the exponent contains large - things (bug 3295). - -- Fix display of the \overset math macro when the first argument has a - non-zero descent. - -- Set a default image size value (bug 2458). - -- Get ProvidesNatbib working correctly, esp. for egs.layout. - -- Fix undo for quotation marks (bug 3439). - -- Fix undo for special characters. - -- Fix gui for big delimiters. - -- Fix wrong LaTeX-output when using the backslash "\" as math - delimiter (bug 3458) (Qt frontend only). - -- Fix generation of linuxdoc manpages (bug 2966). - -- Fix example for docbook-article. - -- Fix table rotate toolbar buttons images (bug 3525). - -- Fix display of "Acknowledgments" environment in elsart document - class (bug 3931). - -* DOCUMENTATION - -- Fix description of booktabs tables in the EmbeddedObjects manual - (bug 3736). - -- Fix broken link to IEEETran.cls in LaTeXConfiguration (bug 848). - -- Fix that Slovak userguide couldn't be typeset. - -* BUILD/INSTALLATION: - -- Make LyX/Mac recognize correctly newer versions of teTeX. - -- Allow automake 1.10 for building. - -- Require python 2.3 (due to lyx2lyx backport from 1.5.0), version - 2.3.4 is required to read lyx 1.5.x documents (due to a bug in older - 2.3.x python releases). +This is expected to be the last release in the 1.4.x stable +branch. Besides the obligatory bug fixes, its main feature is the +ability to read files created by LyX 1.5.0 (this feature requires +python 2.3.4 or later). What's new in version 1.4.4? ----------------------------- +---------------------------- -** Updates: -*********** +This is of course a bug fix release, but some new features sneaked in, among which: -* DOCUMENT INPUT/OUTPUT +*) Outline support: it is now possible to move around parts of +documents in the Table of Contents dialog. -- Improve Computer Algebra System support in math editor. +*) Add new UI settings default-autotoolbars and default-alltoolbars +allowing to select what toolbars are active or shown automatically. -- Add support for fixed size math delimiters in math editor. +*) Improved documentation. -- Convert included vector graphics to pdf instead of png for pdflatex export - (bug 2868). This is implemented with the help of a new format flag "vector" - that you have to set manually for your self defined vector graphics formats - if you want to use this feature. - -- Add a wmf -> eps converter (bug 2845) and a latex -> rtf converter. - -- Add the layout file and an example document for the beamer - presentation class (these files where taken from the beamer package - by Till Tantau); new layout file ISPRS (Int. Soc. Photogrammetry & - Remote Sensing); new layout file for Arabic articles; update layout - file for REVTeX4 (bug 1215) - -- New external template for LilyPond (a music typesetter). - -* USER INTERFACE: - -- Outline support: it is now possible to move around parts of - documents in the Table of Contents dialog. - -- Add new UI settings default-autotoolbars and default-alltoolbars - allowing to select what toolbars are active. - -- The layout lfun without an argument does now set the layout to the default - layout of the text class. This is used by a new button "Default" in the - extra toolbar. - -- Add a menu entry for numbered formulas (bug 2901). - -- Updates to the european keyboard map (useful for entering accented - characters on a qwerty keyboard). - -* DOCUMENTATION AND LOCALIZATION - -- A new manual named "Embedded Objects" is available in the Help menu - in English and Spanish. It describes in detail tables, graphics, - floats, notes, and boxes. - -- Updated Intro and Extended manual. - -- New Galician localization; update Czech, French, German, Hungarian, - Italian, Romanian and Spanish localization of the interface. - -- New Galician translation of the documentation (splash, Intro, - Tutorial); Update German (all), Hebrew (Intro), Italian - (Tutorial, UserGuide), and Spanish (Intro) documentation. - - -** Bug fixes: -************* - -* DOCUMENT INPUT/OUTPUT - -- Write inherited colors correctly as "inherit" to the .lyx file. Previously - they where written as "default", which was then read in as "none". - Fix some help documents that contained this invalid color. - -- Parse the optional argument of the AMS math environments aligned, gathered - and alignedat. - -- Support lgathered and rgathered math environments. - -- Fix import of \fullcite commands from LaTeX. - -- Update bibliography references when the entry has been changed (bug - 2744). - -- The BibTeX style files (bst files) can now live in paths with spaces - (bug 2186). - -- Fixed undo-and-TOC-navigation bug. - -- Fixed layout2layout (spurious tabs), so layout files from 1.3 can be read - again. - -- Revert fix from 1.4.3 for better display of script insets with a nucleus - with more than one element (like {a'}^{2}), since it was buggy and it is - very difficult to do it right (bug 2921). - -- Re-enable Address paragraph style in AMS article classes (bug 2890). - -- Write \begin and \end alignment tags on their own lines (bug 3010). - -- Fix output of \setlength commands, in order to please latex2html - (bug 2843). - -- Import \guilsinglright correctly from .tex files. - -- Don't create invalid .lyx files when importing \i{} and \j{} from .tex - files. - -- Import \l{} and \L{} natively from .tex files (do not create ERT). - -- Import correctly Sweave macros from .tex files. - -- Fix nested list (like) output in docbook (bug 2841) - -- Read filenames with spaces in external insets correctly from .lyx files - -- Use the correct filename extension of included graphics in latex export if - it cannot be omitted. - -* USER INTERFACE: - -- Fix slowness with lots of math on Windows (bug 2900). - -- Fix that LyX's dialogs remain partly untranslated on Windows (bug 2906). - -- Fix crash when viewing documents as PDF on Windows with installed - Adobe Reader/Acrobat 8 (bug 3045). - -- Fix a crash with PageDown/Up when the next/previous paragraph is an inset - taller than the workarea. - -- Fix some crashes (with console error message "break on pointer: ...") - related to large insets. - -- Fix a crash that occurred on exit if the clipboard was not empty (only on - windows). This fix was already used by the official windows installer for - 1.4.3. - -- Fix a crash when navigating from a label a reference in the crossrefs - dialog (bug 3063) [qt only]. - -- Fix hang when deleting a forced newline character in change tracking - mode (bug 2865). - -- Fix crash when exiting empty superscript in math editor (bugs 2908 - and 2933). - -- Fix an undo crash with nested font changes in math (bug 3019). - -- Clear label when a formula is unnumbered (bug 2556). - -- Disallow pressing the add button in the citation dialog when no citations - are available, preventing a crash (bug 3057). - -- Fix deletion of empty paragraph in various situations: paragraphs - with different layouts, layouts with KeepEmpty property, ERT insets, - tabular cells (bugs 2587 and 2882). - -- fix bug where icons remain disabled after opening a dialog (bug - 2877). - -- when a dialog is open in LyX/Mac, make sure that the menu entries - that do not make sense are disabled (bug 1720). - -- Fix cursor positioning when opening the VSpace dialog (bug 2869). - -- Make clicking in a "wide" inset always enter that inset. - -- Avoid "wide" insets in text that is centered or right-justified. - -- When selecting with the mouse an area that ends on a collapsable - inset, do not open it by mistake. - -- When a box inset has been given a small width, never show it in - inlined mode, since it would make its contents unreadable. - -- Give a better error message for missing layout include files. - -- Show contents of branches in the ToC. - -- Fix wrong ordering of insets in ToC entries. - -- Don't show starred sections in Document->Numbering & TOC (bug 2910). - -- Make sure that the size changing shortcuts ``M-s '' work on a - French keyboard too. - -- Make all the operations that require walking over all insets faster. - -- Fix insertion position for cross-reference in superscript (bug 2789). - -- Add support for the chars-transpose LFUN (bug 2939). - -- Fix undo when inserting a line break (bug 3111). - -- Only one undo step is needed to undo inset-dissolve (bug 2982). - -- Fix spell checking of Norwegian documents with aspell (bug 2850). - -- Don't reset cell selection when opening tabular dialog (bug 2715). - -- Quotation marks can now be inserted easier into mathed, which is - important for phonetic notation (bug 3044). - -- Fix one more case of copied ERT inset producing wrong language (bug 2476). - -- Reset the language when dissolving an ERT inset (bug 2978). - -- Sanitize button enabling in the bibtex dialog [qt only] (bug 2895). - -- Fix focus problems in the graphics dialog [qt only] (bug 1663). - -- On Mac OS X, make sure to view files with the same application as - the Finder uses. - -- The natbib labels weren't always displayed correctly when opening - a document. This is fixed. - -- Allow double values for graphics' bounding box parameters again - (bug 3055). This also fixes problems with older LyX files - (bug 3066) [qt only]. - -- Rename lib/ui/std*.ui include files to *.inc so that the user is not - tempted to try them (bug 2387). - -- add Aspell/Pspell's file extension for personal dictionary files - in preferences (bug 895) - -- Fix hang/crash on Windows/Cygwin when using the external date inset - (bug 3220). - -* BUILD/INSTALLATION: - -- Allow autoconf 2.60 and 2.61 for building. - -- Do not warn against using gcc 4.1. It works fine. - -* MISCELLANEOUS - -- The minimum required python version is now 2.2.0. - -- Fix Free Software Foundation address. +*) Speed improvements, especially on windows. What's new in version 1.4.3? ----------------------------- +---------------------------- -** Updates: +This is a bug fix release that improves stability and MS Windows + support. Notable new features include: -- All shell scripts have been translated to python so sh.exe is no - longer needed. That's a big plus for the Windows port. +*) The windows port does not need a MSys (unix-like tools) + installation anymore. -- Implement inset-dissolve feature; this can be accessed (like in - mathed) by pressing Backspace at the start of an inset, or Delete at - the end (bug 2201). +*) A new function inset-dissolve has been added to delete an text + inset and put its contents in the enclosing text; this can be + accessed (like in the math editor) by pressing Backspace at the start + of an inset, or Delete at the end. -- Add buttons for \intop and \ointop to the math panel (bug 2698) - -- Native support for \phantom, \hphantom and \vphantom in mathed (bug 1473). - -- Some small updates to the documentation. - -- Update Basque, Czech (new), French, German (bug 2718), Hungarian, - Italian (bug 2774), NyNorsk and Spanish localizations. - -- Update Czech (Tutorial, new splash), German (UserGuide [bug 2660], Extended) - and Hungarian (new Tutorial) documentation. - -** Bug fixes: - -* Document Input/Output - -- Fix a crash when importing LaTeX files with no text (bug 2667). - -- Fix a crash when a used bibtex file is in a non-readable directory - (bug 2782). - -- Fix a crash when lyx2lyx failed to convert LyX file. - -- Ignore the definition of LyXgreyout environment when re-importing a - LyX-generated LaTeX file (part of bug 2420). - -- When exporting to LaTeX an external inset with template XFig, - require the color package, since XFig generates LaTeX code with - \color (bug 2716). - -- Make sure enough passes are made to update the table of contents - when running LaTeX (bug 2616). - -- Don't add extra braces when reading documents containing \choose, - \atop or \over (bug 2481). - -- Reenable import of noweb files (bug 2289). - -- Render greyed out notes correctly in output (bug 2723). - -- Fix bug 2768 (inset comment/note eats space after it). - -- Do not convert known spaces to ERT on LaTeX import (bug 2786). - -* User Interface: - -- Fix random crashes resulting of an incompatibility of the included - boost::bind library with gcc 4.1 (bug 2677, probably also 2662 and 2684). - -- Fix a crash when using next-inset-toggle (Ctrl+I) inside mathed; - inset locking in mathed generally work (bug 2756). - -- Fix a crash on save (including dataloss) when the backup directory - creation failed or the directory is not writeable(bug 2740). - -- Fix a crash when selecting several cells in a tabular (bug 2630). - -- Fix a crash when deleting a multi-cell selection in a tabular. - -- Fix a crash when applying a font change to several cells in a tabular. - -- Fix a crash when searching for an inset and none is present. - -- Fix a crash when scrolling the document and the cursor is inside an - inset (bug 2830). - -- Fix lockup when accepting a change in a text inset (bug 2510). - -- Fix a crash with change tracking in tables (bug 2600). - -- Fix a crash when undoing super/subscript deletion (bug 2727). - -- Fix a crash when the cursor is in an empty script and the user - clicks in the text. - -- Do not reset environment depth when breaking a paragraph (bug 2445). - -- Handle properly script insets which the nucleus has more than - one element (like {a'}^{2}). - -- On pressing button 2 in a math inset, paste the inner LyX selection - if it exists (bug 2779). - -- When inserting an inset (footnote etc.) over an existing selection, - don't copy the layout of the source paragraph to the inset (bug 2802). - -- When pasting some text in an environment that does not allow the given - paragraph layout, reset the layout (bug 2382). - -- Fix the disabling of some toolbar icons after closing a dialog (bug 2423). - -- Fix the editing of a document while Error List dialog is open (bug 2179). - -- Improve the position of the cursor after undo. - -- Update labels on screen when changing language. - -- Make sure that the "Check TeX" menu entry is not available when the - chktex tool has not been configured (bug 2831). - -- Fix doubling of initial character when correcting a word with - ligatures in spellechecker (bug 2068). - -- Show an error box when failing to update the TeX Information dalog data. - -- Fix an unexpected font change on maximize (bug 2664). - -- Handle the Meta keyboard modifier as Alt (Qt only). - -- Fix the C-x C-b binding in emacs mode (bug 2747). - -- Fix a crash when a non-template file is selected in the - "New from Template" dialog (bug 2404). - -- The LaTeX log file can now also be viewed if the path of the temporary - directory contains spaces (bug 2687) - -- Graphics files with ' in the name can now be previewed (bug 2637) - -- New menu entries have been added for phonetic symbols and - accepting/rejecting a single change in change tracking mode - -* Build/installation: - -- Fix compilation with Qt 3.0.x. - -- Fix the 'check' make target for systems which do not have - /bin/bash (bug 2524). - -- Set CPPFLAGS only if it not already set by the user - (and ignore CXXFLAGS when setting CPPFLAGS). - -- Handle properly gcc 4.1 in configure. - -- Install python files together with precompiled versions. - -- A scons build system has been added, for details please see - INSTALL.scons. 'scons install' produces a cygwin-compatible binary - package under cygwin. - -- A CMake build system has been added, for details see - development/cmake/README.cmake - -- LyX can be compiled on windows with MSVC using qt3 from the Q../Free - project and scons or CMake. - -* Miscellaneous - -- LyX requires now python 2.2 to work properly. - -- Display LaTeX package checking results faster during configuration. - -- Log the output of configure.py to a log file configure.log. - -- Do automatic reconfiguration even when running in batch mode (bug 2741). - -- Change the encoding of some python scripts from iso-8859-15 to - iso-8859-1. The former causes problems with embedded python. - -- Remove outdated development tools and outdated LyXConfig.LyX.in. - -- Remove in the documentation all references to reLyX, which has been - replaced by tex2LyX. +*) Many crashes have been fixed, in particular for systems based on + gcc 4.1. What's new in version 1.4.2? ----------------------------- +---------------------------- -** Updates +This is a bug fix release that improves performance, stability and native OS support. Notable new features include: -- LyX now automatically uses file viewers and editors set at OS level - [Windows and Mac OS X only] (bug 2017). +*) LyX now automatically uses file viewers and editors set at OS level + [Windows and Mac OS X only]. -- Add a new function buffer-toggle-compression (and corresponding entry - in the Document menu) to change whether the file will be compressed - on disk or not. +*) The windows installer has been completely rewritten. -- Update the German, Hungarian, Italian (bug 2650), Polish, Slovak, - Spanish and Turkish localizations of the interface. +*) A new function buffer-toggle-compression (and corresponding entry + in the Document menu) has been added to change whether the file will + be compressed on disk or not. -- Update translations of documentation for German (all) and Hungarian - (Introduction, splash document, new tutorial examples). - -- Add support for Austrian (new spelling) as a document language. - -- Add the "LaTeX (pdflatex)" output format. This new output format produces - .tex files that are suitable for pdflatex, including figure conversion - to png, pdf or jpeg instead of eps. - -- Add biographynophoto style to IEEEtran.layout; add a new text class for - International Journal of Modern Physics C (and update support for - IJMP D). - -- Add buttons for \overset and \underset to the math panel (bug 2533). - -- Add support for the dvipdfmx converter. - -- Add tgif->ppm and tgif->png converters for preview of tgif figures. - -- Add native support for \intop and \ointop. (Display only; not in - the math panel yet.) - -** Bug fixes - -* User Interface: - -- Much better performance when using natbib/jurabib citations (bug 2460). - -- Much better performance of screen updating in LyX/Mac, and with an - acceptable UI. - -- Don't jump back to the previous cursor position when trying to click on - an inset (bug 2526). - -- Fix several cursor movement functions when initiating a selection - (bugs 2119 and 2259, and a crash). - -- Disable saving of bookmarks in mathed because it is not yet supported - and makes LyX crash (bug 2597). - -- Fix a crash when pasting contents from the clipboard to a tabular - (bug 2603). - -- When pasting contents to a tabular with the middle mouse button, the - language could sometimes be changed. This is fixed now. - -- Text copied from an ERT box no longer has the pseudo "latex" language - (bug 2476). - -- Fix a crash when selecting and deleting "blue" paragraph break in - change tracking mode. - -- Set change tracking marks properly when copying between documents - with different change tracking status (bug 2207). - -- Fix a crash when reading documents containing bogus change tracking - markup due to the bug above (bug 2614). - -- Fix any remaining "ghost" empty paragraphs when selecting and deleting - multiple paragraphs (bug 2516). - -- Fix the display of horizontal fill which appears at the end of a line - (bug 2509). - -- Fix a crash when changing document class while the cursor is inside a - table. - -- Fix a crash when there is a syntax error in a keyboard map file (bug 2604). - -- Fix a crash on exit on MacOS X, and the well known "Mutex destroy failure" - error message on Linux (qt frontend, bugs 2549 and 1029). - -- Paint the tabular background (bug fix). - -- Fix a bug where the spellchecker doesn't pop up the dialog window for - the first misspelled word (bug 2218). - -- Fix spell checking in tables (bug 2675). - -- Cosmetic fixes to the document dialog (Qt only). - -- Reduce the right margin on screen from 30 pixels to 10. - -* Math editor: - -- Fix the metrics of AMS array environments like bmatrix, vmatrix etc. - (bug 2036). - -- Fix undo in matrices. - -- Fix a crash when deleting the last row of an equation (bug 2655). - -* Document input/output: - -- Convert definitions of itemize and enumerate environments in old layout - files correctly. - -- Fix the conversion of minipages (default height and inner vertical - position) from LyX 1.3 documents. - -- Make sure that the amsmath package is used in LaTeX output when - using the AMS-specific commands \xleftarrow, \xrightarrow or the - array constructs split, gathered, aligned and alignedat (bug 2149). - -- Load the tipa package automatically when needed. - -- Properly strike out deleted math formulas when change tracking is - active (bug 2214). - -- Don't get confused by 0-Characters in MikTeX logfiles anymore. - -- Always honor the "Requirement" tag in External Template Definitions. - -- Fix tex2lyx to handle whitespace in front of required arguments (bug 2546). - -- Update templates and examples to the latest file format. - -- Enable jpeg graphics whose suffix is in capital letters (.JPG) work with - pdflatex (bug 2235). - -- Fix a LaTeX crash on multi-paragraph boxes. - -- Fix LaTeX errors with memoir and makeindex (bug 2623). - -* Miscellaneous: - -- Replace the old sh version of lib/configure with the new python version - lib/configure.py. The TexFiles.sh script (which crashed on Windows) - has also been pythonified. - -- It is longer necessary to run lib/configure.py in the main LyX - support directory. - -- Reading of configuration now goes like this: LyX first reads the file - lyxrc.dist (if it exists). If lib/configure.py is newer than - any of lyxrc.defaults, textclass.lst or packages.lst, it is re-run - before loading lyxrc.defaults and preferences. - -- Automatically use fonts in the fonts/ subdirectory of the LyX support - directory on Windows. - -- When compiling with --with-version-suffix on Windows, do not - rename the executable files. - -- Fix lib/configure.py to find tex2lyx when compiling with - --with-version-suffix (bug 2285). - -- Fix lib/configure.py to find tex2lyx if the path to it contains spaces. - -- Use the clean_dvi.py script on Windows not only in the installer but also - in the source package. - -- Fix the code to find the localization of the interface on Windows - and Mac OS X. - -- Fix hyphens in man pages. - -- Replace the \cygwin_path_fix_needed preference with the better named - \tex_expects_windows_paths; this is auto-detected and matters only on - Windows. - -- Remove the --enable-compression-support option of configure. Compression - support via zlib is now a requirement. - -- Fix compilation on DragonFly BSD. +*) A "LaTeX (pdflatex)" output format has been added. This new output + format produces .tex files that are suitable for pdflatex, including + figure conversion to png, pdf or jpeg instead of eps. What's new in version 1.4.1? ---------------------------- -** Updates +This is a bug fix release, but some of the bugs were big. In particular: -- Enable breaking and merging of paragraphs in change tracking mode - (bug 880). +*) fix the huge memory consumption and corresponding sluggishness with + documents containing many graphics or `instant preview' snippets. -- Update Basque, German, Hungarian, Italian, Polish and Spanish - localizations; import 1.3.7 localizations for Finnish, Slovak, - Russian, Slovenian, Romanian, Dutch and Turkish. +*) fix slow screen update with nested insets, particularly with + LyX/Mac. -- Update Spanish translation of the tutorial; update German - translation of the Tutorial and Introduction. +*) fix the delay when exiting from a math inset. -- Document the packages fancybox, prettyref, preview and varioref in - LaTeXConfig.lyx. - - -** Bug fixes - -* Document input/output: - -- Fix LaTeX error with Address layout in AMS classes (bug 2363). - -- Fix LaTeX error when \labelitemi is undefined (bug 2053). - -- Fix LaTeX error when inserting a graphic in a section heading or a - caption (bug 675). - -- Translate \verb commands correctly in tex2lyx (bug 2236). - -- Truncate temporary file names that are too long for MikTeX's pdflatex. - -- Parse \tag and \tag* commands correctly in tex2lyx and mathed (bug 2234). - -- Import fixed width table columns correctly in tex2lyx (bug 2290). - -- Convert old LyX documents with a float list at the end correctly in - lyx2lyx (bug 2245). - -- Fix crash when generating LaTeX dependencies on Cygwin. - -- Fix wrong path_prefix handling in Cygwin builds (bug 2344) - -- Set search path for included files correctly on Cygwin (bug 2409). - -- Better layout file conversion (bug 2355) - -- Fix convertion of old documents with SGML paragraphs in lyx-docbook - documents (bug 2501). Note that this fix is incomplete and the - complete fix will go in 1.4.2 - - -* Math editor: - -- Fix crash when deleting row/column in a math array. - -- Fix crash with middle-mouse paste in math. - -- Fix delay when exiting from a math inset (bug 2217). - -- Fix middle-mouse paste in math that went both inside and outside - math (bug 2485). - -- Fix positioning of cursor when clicking to right of last nestinset - in a cell. - -- Fix: deleting superscript also deleted subscript (bug 2362). - -- Fix conversion of selection to superscript, subscript or mbox inset (math). - -- Fix drawing of \boxed and \fbox in formulas (bug 2361). - -- Fixed broken math panel sub/super script UI - - -* User Interface: - -- Fix slowness in rendering inside insets, especially on the Mac (bug 2195) - -- Convert line endings for external copy/paste on OS X (bug 1955). - -- Fix bookmarks and links to LaTeX errors which were broken after paragraph - deletion/insertion (bugs 2284 and 2242). - -- Disable saving when document is unchanged (bug 2313). - -- Fix jurabib error with Spanish documents (bug 2365). - -- Propose sensible style files for bibtex, depending on whether plain, - natbib or jurabib is used (bug 2322). - -- Avoid bogus values like -1000 for section numbering depth when using - classes without a sectioning structure (part of bug 2355). - -- Create a more sensible default label in table and figure captions (bug 1999). - -- Do not skip first change in "Merge changes..." dialog (bug 2212). - -- Improve handling of the labeling environment in KOMA letters (bug 2246). - -- Update screen when cursor is between two spaces and goes to - line/document start/end (bug 2298). - -- Adjust cursor after backspace in change tracking mode (bug 2185). - -- Fix cursor positioning in tabulars (bug 2006). - -- Fix copy and paste for multiple cells (bug 2377). - -- Fix drawing of inset buttons (bug 2328). - -- Small optimizations in the way the Qt frontend updates the screen. - -- Use the Qt wide scroll wheel setting (bug 2175). - -- Remove zombie wheel mouse spin box from the Qt preferences dialog (bug 783). - -- Fix Find&Replace with sciword bindings. - -- Prevent non-standard paragraph layouts in charstyle insets - -- Reading the bounding box from eps files does not fail anymore when the - file contains additional spaces (bug 1235) - -- Fix LaTeX error for zipped graphics (bug 2231). - - -* Configuration/Installation: - -- Don't use the -mms-bitfields compiler switch on mingw and cygwin, since - Q..3/ does not use it either in the default configuration. - -- Compilation fix (gtk frontend) for gcc 4.1. +*) let the change tracking code track paragraph breaks too. +*) Also, this will be the first 1.4 release with a windows + installer. See the file RELEASE-NOTES for some known problems in this + release. What's new in version 1.4.0? ---------------------------- @@ -2229,7 +367,7 @@ It's now possible to define multiple toolbars as seen in other editors. By default, the new LyX release has two toolbars displayed, the standard one (similar to the static toolbar in LyX 1.3), plus the extra toolbar. In addition, there are two pre-defined toolbars -available: one for tables, and one for math. +available: one for tables, and one for math. Another new feature worth mentioning is popup toolbars: you can set a toolbar such that it only appears when editing math, or when editing a @@ -2240,7 +378,7 @@ table. This new feature, similar to that found in Microsoft Word and others, makes collaboration on a document a cinch. It provides a way to track changes made to a document, and later approve, reject, or modify such -changes. +changes. ** Much better conversion from .tex to .lyx @@ -2255,7 +393,7 @@ For a system that purports to make it easy to write documents full of logical (as opposed to visual markup), LyX has always had one glaring omission: no character styles. LyX 1.4 goes some way towards addressing this defect, although there's no dialog to define your own -styles. +styles. ** Branches @@ -2383,7 +521,7 @@ We would like to highlight three fixes in particular: * It is possible to use Ctrl-PageDown and Control-PageUp (-tab and -tab with LyX/Mac) to switch between the open documents. * LaTeX-type accents, ligature breaks and hyphenation marks are now - considered as part of words + considered as part of words @@ -2427,10 +565,10 @@ What's new in version 1.3.2? This is a maintenance release which improves upon 1.3.1 in three main areas: - * the spellchecker code has been overhauled and many bugs + * the spellchecker code has been overhauled and many bugs have been squashed; * many small bugs in the Qt frontend have been fixed; - * several languages now benefit from an improved translation of + * several languages now benefit from an improved translation of the user interface. What's new in version 1.3.1? diff --git a/src/tex2lyx/preamble.cpp b/src/tex2lyx/preamble.cpp index 6939004ed7..6c5cf89665 100644 --- a/src/tex2lyx/preamble.cpp +++ b/src/tex2lyx/preamble.cpp @@ -22,6 +22,8 @@ #include "support/filetools.h" #include "support/lstrings.h" +#include + #include #include #include @@ -29,6 +31,8 @@ #include #include +using boost::regex; +using boost::smatch; namespace lyx { @@ -237,7 +241,8 @@ string const scale_as_percentage(string const & scale) } -void handle_package(string const & name, string const & opts) +void handle_package(string const & name, string const & opts, + bool in_lyx_preamble) { vector options = split_options(opts); add_package(name, options); @@ -378,13 +383,16 @@ void handle_package(string const & name, string const & opts) } else if (name == "jurabib") h_cite_engine = "jurabib"; - - else if (options.empty()) - h_preamble << "\\usepackage{" << name << "}\n"; - else { - h_preamble << "\\usepackage[" << opts << "]{" << name << "}\n"; - options.clear(); + else if (!in_lyx_preamble) { + if (options.empty()) + h_preamble << "\\usepackage{" << name << "}\n"; + else { + h_preamble << "\\usepackage[" << opts << "]{" + << name << "}\n"; + options.clear(); + } } + // We need to do something with the options... if (!options.empty()) cerr << "Ignoring options '" << join(options, ",") @@ -446,6 +454,8 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla // initialize fixed types special_columns['D'] = 3; bool is_full_document = false; + bool is_lyx_file = false; + bool in_lyx_preamble = true; // determine whether this is a full document or a fragment for inclusion while (p.good()) { @@ -468,35 +478,57 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla // // cat codes // - if (t.cat() == catLetter || - t.cat() == catSuper || - t.cat() == catSub || - t.cat() == catOther || - t.cat() == catMath || - t.cat() == catActive || - t.cat() == catBegin || - t.cat() == catEnd || - t.cat() == catAlign || - t.cat() == catParameter) - h_preamble << t.character(); + if (!in_lyx_preamble && + (t.cat() == catLetter || + t.cat() == catSuper || + t.cat() == catSub || + t.cat() == catOther || + t.cat() == catMath || + t.cat() == catActive || + t.cat() == catBegin || + t.cat() == catEnd || + t.cat() == catAlign || + t.cat() == catParameter)) + h_preamble << t.character(); - else if (t.cat() == catSpace || t.cat() == catNewline) + else if (!in_lyx_preamble && + (t.cat() == catSpace || t.cat() == catNewline)) h_preamble << t.asInput(); - else if (t.cat() == catComment) - h_preamble << t.asInput(); + else if (t.cat() == catComment) { + // regex to parse comments + static regex const islyxfile("%% LyX .* created this file"); + static regex const usercommands("User specified LaTeX commands"); + + string const comment = t.asInput(); + cerr << "Seen comment: " << comment << std::endl; + smatch sub; + if (regex_search(comment, sub, islyxfile)) + is_lyx_file = true; + else if (is_lyx_file + && regex_search(comment, sub, usercommands)) + in_lyx_preamble = false; + else if (!in_lyx_preamble) + h_preamble << t.asInput(); + cerr << "lyx_file: " << is_lyx_file << ", lyx_preamble " + << in_lyx_preamble << std::endl; + } else if (t.cs() == "pagestyle") h_paperpagestyle = p.verbatim_item(); else if (t.cs() == "makeatletter") { + if (!is_lyx_file || !in_lyx_preamble + || p.getCatCode('@') != catLetter) + h_preamble << "\\makeatletter"; p.setCatCode('@', catLetter); - h_preamble << "\\makeatletter"; } - + else if (t.cs() == "makeatother") { + if (!is_lyx_file || !in_lyx_preamble + || p.getCatCode('@') != catOther) + h_preamble << "\\makeatother"; p.setCatCode('@', catOther); - h_preamble << "\\makeatother"; } else if (t.cs() == "newcommand" || t.cs() == "renewcommand" @@ -529,19 +561,7 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla h_font_default_family = family.erase(0,1); } // only non-lyxspecific stuff - if ( name != "\\noun" - && name != "\\tabularnewline" - && name != "\\LyX" - && name != "\\lyxline" - && name != "\\lyxaddress" - && name != "\\lyxrightaddress" - && name != "\\lyxdot" - && name != "\\boldsymbol" - && name != "\\lyxarrow" - && name != "\\rmdefault" - && name != "\\sfdefault" - && name != "\\ttdefault" - && name != "\\familydefault") { + if (!in_lyx_preamble) { ostringstream ss; ss << '\\' << t.cs(); if (star) @@ -624,9 +644,10 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla vector::const_iterator it = vecnames.begin(); vector::const_iterator end = vecnames.end(); for (; it != end; ++it) - handle_package(trim(*it), string()); + handle_package(trim(*it), string(), + in_lyx_preamble); } else { - handle_package(name, options); + handle_package(name, options, in_lyx_preamble); } } @@ -638,9 +659,7 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla ss << p.getOpt(); ss << '{' << p.verbatim_item() << '}'; ss << '{' << p.verbatim_item() << '}'; - if (name != "lyxcode" && name != "lyxlist" && - name != "lyxrightadress" && - name != "lyxaddress" && name != "lyxgreyedout") + if (!in_lyx_preamble) h_preamble << ss.str(); } @@ -648,8 +667,9 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla string name = p.get_token().cs(); while (p.next_token().cat() != catBegin) name += p.get_token().asString(); - h_preamble << "\\def\\" << name << '{' - << p.verbatim_item() << "}"; + if (!in_lyx_preamble) + h_preamble << "\\def\\" << name << '{' + << p.verbatim_item() << "}"; } else if (t.cs() == "newcolumntype") { @@ -726,7 +746,7 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla } } - else if (!t.cs().empty()) + else if (!t.cs().empty() && !in_lyx_preamble) h_preamble << '\\' << t.cs(); } p.skip_spaces();