]> git.lyx.org Git - lyx.git/blobdiff - lib/RELEASE-NOTES
* lib/RELEASE-NOTES
[lyx.git] / lib / RELEASE-NOTES
index 757c0357bd784f2a61f6b6494e11f2652e6d275e..b8530aba8a9750ca9d5cc9693867bfe84d462c5f 100644 (file)
-!Important Changes in LyX 2.3.0
+!Important Changes in LyX 2.4.0
 
 
 !!Interface changes
 
-* LyX now has "inverted" branch insets, which output their contents just in 
-  case a given branch is not "activated". This makes inclusion of alternate
-  material in different versions easier.
+* It is now possible to cancel background export processes. A menu entry
+  to do so will appear on the Document menu when such a process is underway.
+  The LFUN for this is export-cancel. One can also click on the 'spinner'
+  to cancel export.
 
-* When inserting a command or symbol in mathed, it is now automatically
-  wrapped in a real inset (either \text or \ensuremath) assuring the correct
-  mode, instead of being wrapped only in the output. The wrapping inset can
-  be safely dissolved, as it will be automatically inserted at export time
-  if needed, as usual.
+* The items on the Edit menu have been reordered, and many of the shortcuts
+  have been changed so that they are more intuitive in the case of often
+  used items. We understand that this may frustrate some users and apologize,
+  while noting that menu shortcuts can always be customized by copying the
+  stdmenus.inc file to the user directory and editing it.
 
-* LyX now outputs en- and em-dashes as -- and --- ligatures when exporting to
-  latex using TeX fonts, as done in version 2.1 and earlier. In version 2.2
-  they were instead output as the macros \textendash and \textemdash, causing
-  changed output with old documents and bugs. The 2.2 behavior can be restored
-  by don't allowing using dash ligatures in Document->Settings->Fonts.
 
+!!Documents compilation process and images conversion
 
-!!!The following pref variables were added in 2.3:
+* LyX now uses utf8 encoding per default for all languages. This does
+  not affect existing documents. Note that LyX also does not touch
+  personal defaults and templates. That is to say, if you still see
+  traditional encoding preset for new documents, you can change that
+  by selecting "Unicode (utf8) [default]" and hitting "Save as
+  Documents Defaults" afterwards. Your personal templates need to be
+  changed manually if desired.
 
+* LyX defaults to the "HE8" LaTeX font encoding with Hebrew if the
+  "Culmus" LaTeX fonts are installed.
 
-!!!The following pref variables were changed in 2.3:
+* Documents that use TeX fonts can only be compiled with XeTeX if the input
+  encoding is set to "utf8-plain" or "ascii".
+  
+* DocBook support has been revamped and now targets DocBook 5 (i.e. 
+  only XML, SGML is gone). Some supporting files for the previous 
+  implementation have been removed: all examples (lib/examples), 
+  some layouts (existing documents should still work, but with a 
+  DocBook 5 output instead of DocBook 4 SGML). The dependency on 
+  sgmltools has been removed, this new support is always enabled.
+  Having sgmltools installed or not will not change anything in LyX.
 
-* \document_path
-  Default is changed to ".". The best guess for where the user wants to save
-  or find files is the directory the user started LyX from. Before, the
-  default was always the home directory. If desired, the old behavior can be
-  restored by changing the default path in Preferences > "Working directory".
+!!!The following pref variables were added in 2.4:
 
+* \ct_additions_underlined true|false: determines whether additions in change tracking
+  are underlined in the workarea (default: true).
 
-!!!The following pref variables are obsoleted in 2.3:
+* \ct_markup_copied true|false: determines whether change tracking markup should be
+  preserved on copy/paste (default: false).
 
 
-!!!The following new LyX functions have been introduced in 2.3:
+!!!The following pref variables were changed in 2.4:
 
-* branch-invert
-  Toggles inversion status of branch inset.
 
-* lyx-activate
-  Activates the LyX window. Useful in combination with reverse search.
 
+!!!The following pref variables are obsoleted in 2.4:
 
-!!!The following LyX functions have been changed in 2.3:
+* \font_encoding
+  The font encoding is now automatically set depending on the document
+  fonts and languages.
 
-* quote-insert
-  The function now has a second and third optional argument to specify
-  the side (left, right, auto) and quotation mark style (english, swedish,
-  german, polish, french, danish).
+* \use_qimage
+  This is no longer necessary due to the rewrite of the painter.
 
-* inset-modify
-  This function now also applies to quote insets. It takes a three-character
-  string as an argument, refering (1.) to the style (e = ``english'',
-  s = ''swedish'', g = ,,german``, p = ,,polish'', f = <<french>>, a = >>danish<<),
-  (2.) to the side (l = left, r = right) and (3.) to the quotation level
-  (s = single, d = double). So "eld" means "English left double quotation mark".
-  A dot in the string means: take the current value. So "inset-modify changetype e.."
-  will only change the style to English, while letting side and level as is,
-  "inset-modify changetype f.s" will change the style to French and the level to
-  single, leaving the side value.
+* \use_pixmap_cacheqimage
+  There is no evidence that this painting mode was useful anymore.
 
-  This function is most useful when combined with inset-forall. E.g.,
-  "inset-forall Quotes inset-modify changetype f.."
-   => change all quote insets to French style, maintaining current side and level
-  "inset-forall Quotes inset-modify changetype ..s"
-   => change all quote insets to single quotes, keeping style and level
-  "inset-forall Quotes inset-modify changetype g.s"
-   => change all quote insets to German single quotes, keeping left/right setting
+* \date_insert_format
+  The function date-insert has been removed and superseded by info-insert date.
+  The latter does not need a pref value anymore.
 
-* word-delete-forward, word-delete-backward, char-delete-forward,
-  char-delete-backward
-  The pre-2.3 behavior of these functions is equivalent to the 2.3 behavior with
-  the "force" option appended. The new default behavior (without "force") is
-  to select big insets on the first call and delete them only on the second.
-  This new behavior is consistent with how delete works in LyX's math editor.
 
-!!!The following LyX documents have been moved in 2.3:
+!!!The following new LyX functions have been introduced in 2.4:
+
+* bidi is a helper function to implement icons that are different between LTR and RTL text. 
+
+* buffer-reset-export advises LyX to remove the auxiliary files before doing the next
+  export.
+
+* buffer-write-as-template is a new convenience function to ease saving a document
+  in the (personal) templates folder.
+
+* export-cancel: Used to cancel background export processes.
+
+* ifrelatives is a helper function to check whether a buffer has a master or children.
+
+* master-buffer-forall executes an lfun in the master and all children of a document.
+
+* paragraph-select is a new convenience function to select the paragraph
+  surrounding the actual cursor position.
+
+* tabular-style-insert: Insert a table in a specified style.
+
+
+!!!The following LyX functions have been changed in 2.4:
+
+* set-graphics-group was renamed to graphics-set-group.
+
+* info-insert buffer vcs-*: renamed to info-insert vcs *
+
+* file-insert: optional second parameter "ignorelang" to make the insertion
+  ignore the inserted file's main language (and rather adapt it to the insertion
+  context's language).
+
+
+!!!The following LyX functions have been removed in 2.4:
+
+* date-insert: obsoleted by info-insert date.
+
+!!!The following LyX function has been added and then removed in 2.4 development cycle.
+
+* bidi: used as a first solution to provide icons that change
+  direction with language.
+
+
+!!!The following LyX documents have been moved in 2.4:
+
+* As a result of a major restructuring of the templates and example
+  directories, almost all examples and templates files have been renamed and
+  moved to subfolders that reflect the layout category.
+  The files now have much more decriptive (and longer) names, and they use
+  URL encoding for specific special characters such as '(', ')' and '&'.
+  Notably also the file that opens for new users has been renamed (from
+  splash.lyx to Welcome.lyx).
 
 
 !!!The following new folders have been added to the LyX directory
 
-* citeengines: Contains the *.citeengine files that determine the citation
-  formatting and features.
+* The examples and templates directories have been completely re-organized.
+  They are now much more structured (by means of layout categories) and thus
+  consist of many new subfolders. 
+
+
+
+!!!The following preferences files have been removed from the tarball in 2.4:
+
+
+
+!!!The following metadata files have been added to the tarball in 2.4:
 
-* xtemplates: Contains the *.xtemplate files that define the external templates
-  (previously in the external_templates file).
 
 
-!!!The following preferences files have been removed from the tarball in 2.3:
+!!Changes with respect to external programs and libraries in 2.4:
 
-* external_templates. This files has been split into multiple *.xtemplate
-  files that are now shipped as content of the xtemplates directory.
+* The Qt5 libraries are now used by default. In order to link against
+  Qt4 the configure option --disable-qt5 has to be used.
 
+* The dependency on pplatex/dvipost was dropped.
 
-!!!The following metadata files have been added to the tarball in 2.3:
+* The dependency on sgmltools was dropped, see DocBook 5 section.
 
 
-!!Changes with respect to external programs and libraries in 2.3:
+!!Known issues in version 2.4.0
 
-* Inkscape SVG with separate LaTeX + PDF output is experimentally supported.
+* See http://www.lyx.org/trac/wiki/BugTrackerHome
 
-* Add some editor/viewer applications to (re)configure checks.
 
+!!Caveats when upgrading from earlier versions to 2.4.x
 
-!!Known issues in version 2.3.0
+* Autotools monolithic build option for building LyX binaries was removed,
+  for compilation speedup use parallel building on multiple cores instead.
 
+* Several ttf fonts (esint10.ttf, stmary10.ttf, wasy10.ttf) were changed
+  to reflect the fact that newer Qt libraries do not support displaying certain
+  codepoints anymore (bug #8493, #10161). 
+  Distribution packagers need to repack those font files in case they are
+  delivering the fonts as a separated package dependent from core LyX
+  in order to display correctly math symbols like \oint.
 
-!!Caveats when upgrading from earlier versions to 2.3.x
+  Also note, that while it is still possible to compile LyX against Qt 4
+  these math symbols will not be displayed correctly anymore on Qt 4.
 
-* The external_templates file has been split into one file per template,
-  which are now located in lib/xtemplates/*.xtemplate. This makes it easier
-  to add new templates or modify existing ones. If you have modified
-  the external_templates file, you will have to move the modifications to
-  the respective *.xtemplate file manually.
+!! If upgrading from a LyX version before 2.3.0
 
-* If using TeX fonts and en- and em-dashes are output as font ligatures,
-  when exporting documents containing en- and em-dashes to the format of
-  LyX 2.0 or earlier, the following line has to be manually added to the
-  unicodesymbols file of that LyX version:<br>
-  0x200b "\\hspace{0pt}" "" "" "" "" # ZERO WIDTH SPACE<br>
-  This avoids "uncodable character" issues if the document is actually
-  loaded by that LyX version. LyX 2.1 and later versions already have the
-  necessary definition in their unicodesymbols file.
+* Please additionally see the release notes from the versions in-between:
+  https://wiki.lyx.org/LyX/ReleaseNotes