mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
make help-open search in examples too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27860 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
df29ca02d5
commit
56099b0d89
@ -530,10 +530,10 @@ Menuset
|
|||||||
End
|
End
|
||||||
|
|
||||||
Menu "examples"
|
Menu "examples"
|
||||||
Item "Linguistics Manual|L" "help-open ../examples/linguistics.lyx"
|
Item "Linguistics Manual|L" "help-open linguistics"
|
||||||
Item "Braille Manual|B" "help-open ../examples/Braille.lyx"
|
Item "Braille Manual|B" "help-open Braille"
|
||||||
Item "XY-pic Manual|X" "help-open ../examples/xypic.lyx"
|
Item "XY-pic Manual|X" "help-open xypic"
|
||||||
Item "Multicolumn Manual|M" "help-open ../examples/multicol.lyx"
|
Item "Multicolumn Manual|M" "help-open multicol"
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
|
@ -1033,7 +1033,10 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
|||||||
setErrorMessage(from_utf8(N_("Missing argument")));
|
setErrorMessage(from_utf8(N_("Missing argument")));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
FileName const fname = i18nLibFileSearch("doc", arg, "lyx");
|
FileName fname = i18nLibFileSearch("doc", arg, "lyx");
|
||||||
|
if (fname.empty())
|
||||||
|
fname = i18nLibFileSearch("examples", arg, "lyx");
|
||||||
|
|
||||||
if (fname.empty()) {
|
if (fname.empty()) {
|
||||||
lyxerr << "LyX: unable to find documentation file `"
|
lyxerr << "LyX: unable to find documentation file `"
|
||||||
<< arg << "'. Bad installation?" << endl;
|
<< arg << "'. Bad installation?" << endl;
|
||||||
|
@ -177,6 +177,9 @@ What's new
|
|||||||
|
|
||||||
* DOCUMENTATION AND LOCALIZATION
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
- LyX is now able to find the translated versions of the manuals in
|
||||||
|
Help>Specific Manuals.
|
||||||
|
|
||||||
- LyX man page: Small formatting fix.
|
- LyX man page: Small formatting fix.
|
||||||
|
|
||||||
- Updated description of math macros (bug 3699).
|
- Updated description of math macros (bug 3699).
|
||||||
|
Loading…
Reference in New Issue
Block a user