| 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. |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | Interface changes |
|---|
| 9 | ----------------- |
|---|
| 10 | |
|---|
| 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. |
|---|
| 14 | |
|---|
| 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. |
|---|
| 20 | |
|---|
| 21 | Some of the LyX functions have changed names: |
|---|
| 22 | |
|---|
| 23 | - A new LFUN_SPECIALCHAR_INSERT has been implemented that obsoletes the |
|---|
| 24 | different LFUNs for single special characters: |
|---|
| 25 | |
|---|
| 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" |
|---|
| 36 | |
|---|
| 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. |
|---|
| 40 | |
|---|
| 41 | - The function LFUN_PAGEBREAK_INSERT, "pagebreak-insert" has been renamed to |
|---|
| 42 | LFUN_NEWPAGE_INSERT, "newpage-insert". It obsololetes the following functions: |
|---|
| 43 | |
|---|
| 44 | * LFUN_PAGEBREAK_INSERT: removed. "pagebreak-insert" has been replaced by |
|---|
| 45 | "newpage-insert pagebreak" |
|---|
| 46 | |
|---|
| 47 | * LFUN_CLEARPAGE_INSERT: removed. "clearpage-insert" has been replaced by |
|---|
| 48 | "newpage-insert clearpage" |
|---|
| 49 | |
|---|
| 50 | * LFUN_CLEARDOUBLEPAGE_INSERT: removed. "clearpage-insert" has been replaced |
|---|
| 51 | by "newpage-insert cleardoublepage" |
|---|
| 52 | |
|---|
| 53 | - The function LFUN_WORDS_COUNT, "words-count", has been replaced by |
|---|
| 54 | LFUN_STATISTICS, "statistics", which counts more than words. |
|---|
| 55 | |
|---|
| 56 | - The function LFUN_MATH_NUMBER, "math-number", has been renamed to |
|---|
| 57 | LFUN_MATH_NUMBER_TOGGLE. |
|---|
| 58 | |
|---|
| 59 | - The function LFUN_MATH_NONUMBER, "math-nonumber", has been renamed to |
|---|
| 60 | LFUN_MATH_NUMBER_LINE_TOGGLE. |
|---|
| 61 | |
|---|
| 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. |
|---|
| 65 | |
|---|
| 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". |
|---|
| 69 | |
|---|
| 70 | - The function LFUN_FONT_CODE, "font-code", has been renamed to |
|---|
| 71 | LFUN_FONT_TYPEWRITER, "font-typewriter". |
|---|
| 72 | |
|---|
| 73 | - The functions LFUN_HTML_INSERT, "html-insert", LFUN_URL_INSERT, "url-insert" was |
|---|
| 74 | superseded by LFUN_HYPERLINK_INSERT, "href-insert". |
|---|
| 75 | |
|---|
| 76 | - The function LFUN_FLOAT_LIST has been renamed to LFUN_FLOAT_LIST_INSERT. |
|---|
| 77 | |
|---|
| 78 | - The functions delete-back/forward has been renamed to char-delete-back/forward. |
|---|
| 79 | |
|---|
| 80 | - The functions LFUN_FONT_FREE_APPLY/UPDATE has been renamed to |
|---|
| 81 | LFUN_TEXTSTYLE_APPLY/UPDATE. |
|---|
| 82 | |
|---|
| 83 | - The functions LFUN_SERVER_GET_NAME has been renamed to |
|---|
| 84 | LFUN_SERVER_GET_FILENAME. |
|---|
| 85 | |
|---|
| 86 | |
|---|
| 87 | The following new LyX functions have been introduced: |
|---|
| 88 | |
|---|
| 89 | - LFUN_SPECIALCHAR_INSERT, "specialchar-insert" (see above). |
|---|
| 90 | |
|---|
| 91 | - LFUN_COMPLETION_INLINE, "completion-inline". |
|---|
| 92 | |
|---|
| 93 | - LFUN_COMPLETION_POPUP, "completion-popup". |
|---|
| 94 | |
|---|
| 95 | - LFUN_COMPLETION_COMPLETE, "complete". |
|---|
| 96 | |
|---|
| 97 | - LFUN_CLOSE_TAB_GROUP, "close-tab-group". |
|---|
| 98 | |
|---|
| 99 | - LFUN_SPLIT_VIEW, "split-view". |
|---|
| 100 | |
|---|
| 101 | - LFUN_UI_TOGGLE, "ui-toggle". |
|---|
| 102 | |
|---|
| 103 | - LFUN_SCROLL, "scroll". |
|---|
| 104 | |
|---|
| 105 | - LFUN_MATH_MACRO, "math-macro". |
|---|
| 106 | |
|---|
| 107 | - LFUN_MATH_MACRO_UNFOLD, "math-macro-unfold". |
|---|
| 108 | |
|---|
| 109 | - LFUN_MATH_MACRO_FOLD, "math-macro-fold". |
|---|
| 110 | |
|---|
| 111 | - LFUN_MATH_MACRO_ADD_PARAM, "math-macro-add-param". |
|---|
| 112 | |
|---|
| 113 | - LFUN_MATH_MACRO_REMOVE_PARAM, "math-macro-remove-param". |
|---|
| 114 | |
|---|
| 115 | - LFUN_MATH_MACRO_APPEND_GREEDY_PARAM, "math-macro-append-greedy-param". |
|---|
| 116 | |
|---|
| 117 | - LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM, "math-macro-remove-greedy-param". |
|---|
| 118 | |
|---|
| 119 | - LFUN_MATH_MACRO_MAKE_OPTIONAL, "math-macro-make-optional". |
|---|
| 120 | |
|---|
| 121 | - LFUN_MATH_MACRO_MAKE_NONOPTIONAL, "math-macro-make-nonoptional". |
|---|
| 122 | |
|---|
| 123 | - LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM, "math-macro-add-optional-param". |
|---|
| 124 | |
|---|
| 125 | - LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM, "math-macro-remove-optional-param". |
|---|
| 126 | |
|---|
| 127 | - LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM, "math-macro-add-greedy-optional-param". |
|---|
| 128 | |
|---|
| 129 | - LFUN_WORD_LEFT, "word-left". |
|---|
| 130 | |
|---|
| 131 | - LFUN_WORD_LEFT_SELECT, "word-left-select". |
|---|
| 132 | |
|---|
| 133 | - LFUN_WORD_RIGHT, "word-right". |
|---|
| 134 | |
|---|
| 135 | - LFUN_WORD_RIGHT_SELECT, "word-right-select". |
|---|
| 136 | |
|---|
| 137 | - LFUN_CHAR_LEFT, "char-left". |
|---|
| 138 | |
|---|
| 139 | - LFUN_CHAR_LEFT_SELECT, "char-left-select". |
|---|
| 140 | |
|---|
| 141 | - LFUN_CHAR_RIGHT, "char-right". |
|---|
| 142 | |
|---|
| 143 | - LFUN_CHAR_RIGHT_SELECT, "char-right-select". |
|---|
| 144 | |
|---|
| 145 | - LFUN_FINISHED_FORWARD, "". |
|---|
| 146 | |
|---|
| 147 | - LFUN_FINISHED_BACKWARD, "". |
|---|
| 148 | |
|---|
| 149 | - LFUN_INFO_INSERT, "info-insert". |
|---|
| 150 | |
|---|
| 151 | - LFUN_LAYOUT_RELOAD, "layout-reload". |
|---|
| 152 | |
|---|
| 153 | - LFUN_LAYOUT_MODULES_CLEAR, "layout-modules-clear". |
|---|
| 154 | |
|---|
| 155 | - LFUN_LAYOUT_MODULE_ADD, "layout-module-add". |
|---|
| 156 | |
|---|
| 157 | - LFUN_NEXT_INSET_MODIFY, "next-inset-modify" |
|---|
| 158 | |
|---|
| 159 | - LFUN_INSET_EDIT, "inset-edit" |
|---|
| 160 | |
|---|
| 161 | - LFUN_SET_GRAPHICS_GROUP, "set-graphics-group" |
|---|
| 162 | |
|---|
| 163 | - LFUN_GRAPHICS_GROUPS_UNIFY, "graphics-groups-unify" |
|---|
| 164 | |
|---|
| 165 | - LFUN_BRANCH_ACTIVATE, "branch-activate" |
|---|
| 166 | |
|---|
| 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. |
|---|
| 173 | |
|---|
| 174 | - LFUN_NOTES_MUTATE, "notes-mutate" |
|---|
| 175 | |
|---|
| 176 | The following new LyX functions have been removed: |
|---|
| 177 | |
|---|
| 178 | - LFUN_FILE_NEW. |
|---|
| 179 | |
|---|
| 180 | - LFUN_BREAK_PARAGRAPH_KEEP_LAYOUT. |
|---|
| 181 | |
|---|
| 182 | - LFUN_FONT_CODE. |
|---|
| 183 | |
|---|
| 184 | - LFUN_HFILL_INSERT. HFills are now part of InsetSpace and have to be inserted |
|---|
| 185 | via "space-insert hfill". |
|---|
| 186 | |
|---|
| 187 | - LFUN_CLEARPAGE_INSERT. Now part of LFUN_NEWPAGE_INSERT (see above). |
|---|
| 188 | |
|---|
| 189 | - LFUN_CLEARDOUBLEPAGE_INSERT. Now part of LFUN_NEWPAGE_INSERT (see above). |
|---|
| 190 | |
|---|
| 191 | - LFUN_SERVER_GET_FONT. |
|---|
| 192 | |
|---|
| 193 | - LFUN_EXTERNAL_EDIT. Superseded by the more general LFUN_INSET_EDIT. |
|---|
| 194 | |
|---|
| 195 | - LFUN_GRAPHICS_EDIT. Superseded by the more general LFUN_INSET_EDIT. |
|---|
| 196 | |
|---|
| 197 | - LFUN_ACCENT_SPECIAL_CARON. |
|---|
| 198 | |
|---|
| 199 | - LFUN_INSET_REFRESH. |
|---|
| 200 | |
|---|
| 201 | - LFUN_BREAK_PARAGRAPH_SKIP, LFUN_DELETE_BACKWARD_SKIP, LFUN_DELETE_FORWARD_SKIP. |
|---|
| 202 | |
|---|
| 203 | - LFUN_ERROR_NEXT. |
|---|
| 204 | |
|---|
| 205 | - LFUN_MATH_IMPORT_SELECTION. Use LFUN_MATH_MODE instead. |
|---|
| 206 | |
|---|
| 207 | - LFUN_BIBITEM_INSERT. |
|---|
| 208 | |
|---|
| 209 | For the detailed description of LyX functions look into doxygen documentation. |
|---|
| 210 | |
|---|
| 211 | |
|---|
| 212 | Known issues in version 1.6.0 |
|---|
| 213 | ------------------------------------ |
|---|
| 214 | |
|---|
| 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). |
|---|
| 223 | |
|---|
| 224 | |
|---|
| 225 | Caveats when upgrading from earlier versions to 1.6.x |
|---|
| 226 | ------------------------------------------------------- |
|---|
| 227 | |
|---|
| 228 | |
|---|
| 229 | |
|---|
| 230 | |
|---|
| 231 | Note: There may later be an updated list of known issues online at |
|---|
| 232 | http://wiki.lyx.org/LyX/ReleaseNotes |
|---|
| 233 | |
|---|