1 This file lists interface changes that might affect users in 2.0.0, some
2 known problems in LyX 2.0.0 and some things you have to take into account
3 when upgrading from earlier versions to a version of the 2.0.x series.
4 Note that fixes are available for some of these, but they have not yet
5 been applied because of incomplete testing.
11 There have been some changes to the LyX command line. There is a new option
12 "--batch" that causes LyX to run the given commands without opening a GUI
13 window. Thus, something like:
14 lyx -batch -x "buffer-print printer default dvips" myfile.lyx
15 will cause LyX to print myfile.lyx to the default printer, using dvips and
16 the default print settings (which, of course, have to have been configured
17 already). At present, not many commands can be used this way, but there will
20 Bash completion script was added to the tarball.
22 The following variables are obsoleted in 2.0
24 - \plaintext_roff_command (was not used anymore)
26 - \personal_dictionary, \spell_command, \use_input_encoding,
27 \use_personal_dictionary and \use_spell_lib (ispell support has been
30 - \spellchecker_use_alt_lang and \use_escape_chars (actually not used
31 by the UI, and it is as simple to check whether the relevant
34 - \custom_export_command and \custom_export_format
37 The following new LyX functions have been introduced:
39 - LFUN_WORD_FINDAD ("word-findadv").
41 - LFUN_REGEXP_MODE ("regexp-mode").
43 - LFUN_PHANTOM_INSERT ("phantom-insert").
45 - LFUN_INSET_BEGIN ("inset-begin").
47 - LFUN_INSET_END (""inset-end"").
49 - LFUN_INSET_BEGIN_SELECT ("inset-begin-select").
51 - LFUN_INSET_END_SELECT ("inset-end-select").
53 - LFUN_CHANGE_PREVIOUS ("change-previous").
55 - LFUN_LABEL_INSERT_AS_REF ("label-insert-as-reference").
57 - LFUN_SECTION_SELECT ("section-select").
59 - LFUN_FONT_UNDERLINE ("font-underline").
61 - LFUN_FONT_STRIKEOUT ("font-strikeout").
63 - LFUN_FONT_UULINE ("font-underunderline").
65 - LFUN_FONT_UWAVE ("font-underwave").
67 - LFUN_BRANCHES_RENAME ("branches-rename").
69 - LFUN_BRANCH_ADD_INSERT ("branch-add-insert").
71 - LFUN_BUFFER_CLOSE_ALL ("buffer-close-all").
73 - LFUN_INSET_FORALL ("inset-forall").
75 - LFUN_DEBUG_LEVEL_SET ("debug-level-set").
77 - LFUN_INSET_SELECT_ALL ("inset-select-all").
79 - LFUN_MATH_AMS_MATRIX ("math-ams-matrix").
81 - LFUN_VC_COMPARE ("vc-compare").
83 - LFUN_SPELLING_ADD ("spelling-add").
85 - LFUN_SPELLING_IGNORE ("spelling-ignore").
88 The following LyX functions have been removed:
90 - LFUN_NEXT_INSET_TOGGLE ("next-inset-toggle"): use "inset-toggle" instead.
92 - LFUN_NEXT_INSET_MODIFY ("next-inset-modify"): use "inset-modify" instead.
94 - LFUN_PARAGRAPH_SPACING ("paragraph-spacing"): use "paragraph-params" instead.
96 - LFUN_NOTES_MUTATE ("notes-mutate"): replace
97 notes-mutate <SOURCE> <TARGET>
98 with the more general function inset-forall
99 inset-forall Note:<SOURCE> inset-modify note Note <TARGET>
101 - LFUN_ALL_INSETS_TOGGLE ("all-insets-toggle"): replace
102 all-insets-toggle <ACTION> <TARGET>
103 all-insets-toggle <ACTION>
104 with the more generic function inset-forall
105 inset-forall <TARGET> inset-toggle <ACTION>
106 inset-forall * inset-toggle <ACTION>
107 There is a difference in the <TARGET> parameter, which is would be
108 like "note" in the first case and "Note" in the second.
110 - LFUN_TABULAR_FEATURE ("tabular-feature"): use "inset-modify" instead.
113 The following LyX functions have been changed:
115 - LFUN_INSET_TOGGLE ("inset-toggle"): For some insets, this function was used
116 to show the settings dialog. This is no longer possible and one should use
117 inset-settings for this purpose.
119 - LFUN_WORD_REPLACE ("word-replace"): The replacement and searched strings
120 arguments have been inverted in order to allow the replacement of the word
121 at current cursor position, even if it is not selected.
124 New external programs and libaries:
125 -----------------------------------
127 LyX 2.0 introduces support for some new external helper programs/libraries,
128 while the support for some existing programs has been dropped. This
129 particularly applies to spell checking and the thesaurus.
133 * Direct support for ispell and hspell has been dropped. However, ispell
134 and hspell are still accessible via the enchant wrapper (see below).
136 * Support for the aspell command line program has been dropped. Note that
137 the aspell library (aspell 0.60.x) is still supported.
139 * Next to aspell (library), LyX now also supports hunspell (the spell
140 checker used by OpenOffice and Firefox) and enchant, a wrapper that
141 provides automatic access to many spell checking libraries (ispell,
142 aspell, hspell, hunspell, etc.).
144 LyX 2.0 is configured for any and multiple of these three possibilities,
145 given that they are installed on the machine where LyX is configured on.
146 The actual spell checker can be selected in Tools > Preferences.
147 Packagers are advised to pre-select whatever is most common on their
148 platform/distribution.
152 * Support for the aiksaurus library has been dropped in favour of the
153 MyThes thesaurus library (the thesaurus library used by OpenOffice).
155 * LyX ships the MyThes library itself, so contrary to LyX 1.6.x, no
156 extra thesaurus library needs to be installed. However, LyX does not
157 ship any thesaurus dictionary.
159 * The OpenOffice thesaurus dictionaries can be used, but the path to those
160 dictionary needs to be set in Tools > Preferences. Please refer to the
161 UserGuide, sec. 6.13, for further instructions.
163 Packagers are advised to preset the thesaurus for their distribution/
164 platform. Packagers of installation bundles (on Windows and the Mac)
165 are advised to provide automatic installation of thesaurus disctionaries
166 in the installation process (analoguous to the spellchecker installation).
169 Known issues in version 2.0.0
170 -----------------------------
173 Caveats when upgrading from earlier versions to 2.0.x
174 -------------------------------------------------------
179 Note: There may later be an updated list of known issues online at
180 http://wiki.lyx.org/LyX/ReleaseNotes
184 - Somebody should create a rc2rc script...
185 http://www.lyx.org/trac/changeset/27531