1 This file lists interface changes that might affect users in 1.6.0, some
2 known problems in LyX 1.6.0 and some things you have to take into account
3 when upgrading from earlier versions to a version of the 1.6.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 The external template format recognize now a new tag: 'Preview'. This tag is
12 used to define how an external material should be previewed in LyX. For more
13 detail, see the 'external_templates' file in the resource directory of LyX.
15 LyX 1.6.0 introduces support for the pLaTeX distribution which provides extended
16 language and script support for Japanese. The language "Japanese" now uses this
17 new method. Japanese support via the CJK package is still available, but has been
18 renamed to "Japanese (CJK)". Old documents continue to use the CJK method.
19 Also cf. the "known issues" section for some remaining problems.
21 Some of the LyX functions have changed names:
23 - A new LFUN_SPECIALCHAR_INSERT has been implemented that obsoletes the
24 different LFUNs for single special characters:
26 * LFUN_HYPHENATION_POINT_INSERT: removed. "hyphenation-point-insert"
27 has been replaced by "specialchar-insert hyphenation-point"
28 * LFUN_LIGATURE_BREAK_INSERT: removed. "ligature-break-insert"
29 has been replaced by "specialchar-insert ligature-break"
30 * LFUN_DOTS_INSERT: removed. "dots-insert"
31 has been replaced by "specialchar-insert dots"
32 * LFUN_END_OF_SENTENCE_PERIOD_INSERT: removed. "end-of-sentence-period-insert"
33 has been replaced by "specialchar-insert end-of-sentence"
34 * LFUN_MENU_SEPARATOR_INSERT: removed. "menu-separator-insert"
35 has been replaced by "specialchar-insert menu-separator"
37 - The function LFUN_BREAK_LINE, "break-line" has been renamed to LFUN_NEWLINE_INSERT,
38 "newline-insert", and it now allows two options: "newline-insert newline" inserts
39 a \newline, "newline-insert linebreak" inserts a \linebreak.
41 - The function LFUN_PAGEBREAK_INSERT, "pagebreak-insert" has been renamed to
42 LFUN_NEWPAGE_INSERT, "newpage-insert". It obsololetes the following functions:
44 * LFUN_PAGEBREAK_INSERT: removed. "pagebreak-insert" has been replaced by
45 "newpage-insert pagebreak"
47 * LFUN_CLEARPAGE_INSERT: removed. "clearpage-insert" has been replaced by
48 "newpage-insert clearpage"
50 * LFUN_CLEARDOUBLEPAGE_INSERT: removed. "clearpage-insert" has been replaced
51 by "newpage-insert cleardoublepage"
53 - The function LFUN_WORDS_COUNT, "words-count", has been replaced by
54 LFUN_STATISTICS, "statistics", which counts more than words.
56 - The function LFUN_MATH_NUMBER, "math-number", has been renamed to
57 LFUN_MATH_NUMBER_TOGGLE.
59 - The function LFUN_MATH_NONUMBER, "math-nonumber", has been renamed to
60 LFUN_MATH_NUMBER_LINE_TOGGLE.
62 - The function LFUN_CHARSTYLE_INSERT, "charstyle-insert", has been renamed to
63 LFUN_FLEX_INSERT, "flex-insert". It now handles beside charstyles, also
64 custom insets and XML short element insets.
66 - The function LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR, "toggle-cursor-follows-scrollbar"
67 has been renamed to LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE,
68 "cursor-follows-scrollbar-toggle".
70 - The function LFUN_FONT_CODE, "font-code", has been renamed to
71 LFUN_FONT_TYPEWRITER, "font-typewriter".
73 - The functions LFUN_HTML_INSERT, "html-insert", LFUN_URL_INSERT, "url-insert" was
74 superseded by LFUN_HYPERLINK_INSERT, "href-insert".
76 - The function LFUN_FLOAT_LIST has been renamed to LFUN_FLOAT_LIST_INSERT.
78 - The functions delete-back/forward has been renamed to char-delete-back/forward.
80 - The functions LFUN_FONT_FREE_APPLY/UPDATE has been renamed to
81 LFUN_TEXTSTYLE_APPLY/UPDATE.
83 - The functions LFUN_SERVER_GET_NAME has been renamed to
84 LFUN_SERVER_GET_FILENAME.
87 The following new LyX functions have been introduced:
89 - LFUN_SPECIALCHAR_INSERT, "specialchar-insert" (see above).
91 - LFUN_COMPLETION_INLINE, "completion-inline".
93 - LFUN_COMPLETION_POPUP, "completion-popup".
95 - LFUN_COMPLETION_COMPLETE, "complete".
97 - LFUN_CLOSE_TAB_GROUP, "close-tab-group".
99 - LFUN_SPLIT_VIEW, "split-view".
101 - LFUN_UI_TOGGLE, "ui-toggle".
103 - LFUN_SCROLL, "scroll".
105 - LFUN_MATH_MACRO, "math-macro".
107 - LFUN_MATH_MACRO_UNFOLD, "math-macro-unfold".
109 - LFUN_MATH_MACRO_FOLD, "math-macro-fold".
111 - LFUN_MATH_MACRO_ADD_PARAM, "math-macro-add-param".
113 - LFUN_MATH_MACRO_REMOVE_PARAM, "math-macro-remove-param".
115 - LFUN_MATH_MACRO_APPEND_GREEDY_PARAM, "math-macro-append-greedy-param".
117 - LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM, "math-macro-remove-greedy-param".
119 - LFUN_MATH_MACRO_MAKE_OPTIONAL, "math-macro-make-optional".
121 - LFUN_MATH_MACRO_MAKE_NONOPTIONAL, "math-macro-make-nonoptional".
123 - LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM, "math-macro-add-optional-param".
125 - LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM, "math-macro-remove-optional-param".
127 - LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM, "math-macro-add-greedy-optional-param".
129 - LFUN_WORD_LEFT, "word-left".
131 - LFUN_WORD_LEFT_SELECT, "word-left-select".
133 - LFUN_WORD_RIGHT, "word-right".
135 - LFUN_WORD_RIGHT_SELECT, "word-right-select".
137 - LFUN_CHAR_LEFT, "char-left".
139 - LFUN_CHAR_LEFT_SELECT, "char-left-select".
141 - LFUN_CHAR_RIGHT, "char-right".
143 - LFUN_CHAR_RIGHT_SELECT, "char-right-select".
145 - LFUN_FINISHED_FORWARD, "".
147 - LFUN_FINISHED_BACKWARD, "".
149 - LFUN_INFO_INSERT, "info-insert".
151 - LFUN_LAYOUT_RELOAD, "layout-reload".
153 - LFUN_LAYOUT_MODULES_CLEAR, "layout-modules-clear".
155 - LFUN_LAYOUT_MODULE_ADD, "layout-module-add".
157 - LFUN_NEXT_INSET_MODIFY, "next-inset-modify"
159 - LFUN_INSET_EDIT, "inset-edit"
161 - LFUN_SET_GRAPHICS_GROUP, "set-graphics-group"
163 - LFUN_GRAPHICS_GROUPS_UNIFY, "graphics-groups-unify"
165 - LFUN_BRANCH_ACTIVATE, "branch-activate"
167 - LFUN_BRANCH_DEACTIVATE, "branch-deactivate"
168 These can be used in export mode to turn branches on and off.
169 Thus, something like:
170 lyx -e pdf2 -x "branch-activate answers" finalexam.lyx
171 could be used to export a pdf with the answers branch included, without
172 one's having to open LyX and activate the branch manually.
174 - LFUN_NOTES_MUTATE, "notes-mutate"
176 The following new LyX functions have been removed:
180 - LFUN_BREAK_PARAGRAPH_KEEP_LAYOUT.
184 - LFUN_HFILL_INSERT. HFills are now part of InsetSpace and have to be inserted
185 via "space-insert hfill".
187 - LFUN_CLEARPAGE_INSERT. Now part of LFUN_NEWPAGE_INSERT (see above).
189 - LFUN_CLEARDOUBLEPAGE_INSERT. Now part of LFUN_NEWPAGE_INSERT (see above).
191 - LFUN_SERVER_GET_FONT.
193 - LFUN_EXTERNAL_EDIT. Superseded by the more general LFUN_INSET_EDIT.
195 - LFUN_GRAPHICS_EDIT. Superseded by the more general LFUN_INSET_EDIT.
197 - LFUN_ACCENT_SPECIAL_CARON.
199 - LFUN_INSET_REFRESH.
201 - LFUN_BREAK_PARAGRAPH_SKIP, LFUN_DELETE_BACKWARD_SKIP, LFUN_DELETE_FORWARD_SKIP.
205 - LFUN_MATH_IMPORT_SELECTION. Use LFUN_MATH_MODE instead.
207 - LFUN_BIBITEM_INSERT.
209 For the detailed description of LyX functions look into doxygen documentation.
212 Known issues in version 1.6.0
213 ------------------------------------
215 - New pLaTeX support for Japanese:
216 * Documents using this method can be backported to 1.5 in pricipal, but
217 the backported documents are not guaranteed to work, since 1.5 falls
218 back to the CJK package; expect the output to differ.
219 * pLaTeX provides a Japanese variant of BibTeX named "jbibtex", which will
220 be selected automatically by LyX. If you run into problems with this or
221 if you need to use an alternative BibTeX program, you can change this
222 setting in the LyX preferences (Output->LaTeX->BibTeX command).
225 Caveats when upgrading from earlier versions to 1.6.x
226 -------------------------------------------------------
231 Note: There may later be an updated list of known issues online at
232 http://wiki.lyx.org/LyX/ReleaseNotes