Here's the patch for these. I still can't get make install to work properly, but I have no idea why. I'm hoping one of you, maybe Uwe, can help me here. If so, please fix my error and commit, if it otherwise seems OK.
Richard Abdelrazak Younes wrote: > Richard Heck wrote: >> Abdelrazak Younes wrote: >>> Richard Heck wrote: >>>>> By the way, is there a short-cut to launch this dialog? If not I'd >>>>> like to have one; any suggestion? >>>>> I also think that we should put a new button in the math toolbar to >>>>> launch the delimiter dialog without having to go first to the math >>>>> panel. And we need a new menu item: >>>>> Insert->Math->Delimiter >>>>> Any volunteer for these three items? I've spend too much time already >>>>> on LyX this week :-( >> I've got this done except for one thing: How do I get make install to >> install the new toolbar image, >> images/dialog-show_mathdelimiters.xpm. I've added it to lib/Makefile.am, >> but I still get an error: >> make[1]: *** No rule to make target >> `images/dialog-show_mathdelimiters.xpm', needed by `all-am'. Stop. > > Maybe you forgot to put a \ in the previous line? > > Abdel. > -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Index: images/dialog-show_mathdelimiter.xpm =================================================================== --- images/dialog-show_mathdelimiter.xpm (revision 0) +++ images/dialog-show_mathdelimiter.xpm (revision 0) @@ -0,0 +1,25 @@ +/* XPM */ +static char * dialog_show_mathdelimiter_xpm[] = { +"20 20 2 1", +" c None", +". c #000000", +" ", +" ", +" . .... .. ", +" . .. .. ", +" . .. .. ", +" .. .. .. ", +" . .. .. ", +" .. .. .. ", +" .. .. .. ", +" .. .. .. ", +" .. .. . ", +" .. .. .. ", +" . .. .. ", +" .. .. .. ", +" . .. .. ", +" . .. .. ", +" . .... .. ", +" . ", +" ", +" "}; Index: Makefile.am =================================================================== --- Makefile.am (revision 17767) +++ Makefile.am (working copy) @@ -253,6 +253,7 @@ images/dialog-show-new-inset_ref.xpm \ images/dialog-show_character.xpm \ images/dialog-show_findreplace.xpm \ + images/dialog-show_mathdelimiters.xpm \ images/dialog-show_mathpanel.xpm \ images/dialog-show_print.xpm \ images/dialog-show_spellchecker.xpm \ Index: ui/stdtoolbars.inc =================================================================== --- ui/stdtoolbars.inc (revision 17767) +++ ui/stdtoolbars.inc (working copy) @@ -16,7 +16,7 @@ # # Toolbar "name" "GUI Name" # -# Only four commands are allowed inside the begin_toolbar and end_toolbar +# Only four commands are allowed inside the Toolbar and End # directives: # Item "The tooltip" "<action> [<parameter>]" adds an icon to the toolbar performing # "<action> <parameter>" @@ -30,7 +30,7 @@ # # Minibuffer adds the command buffer (Qt only, only one may exist) # -# The icons are found in the lib/image direcory under the name +# The icons are found in the lib/images/ direcory under the name # action.xpm or action_parameter.xpm, except for math-insert, which # is e.g. lib/image/math/sum.xpm. Note that some characters are # replaced (e.g. ')' -> rbracket). @@ -121,7 +121,9 @@ Toolbar "math" "Math" Item "Show math panel" "dialog-show mathpanel" + Item "Show math delimiters" "dialog-show mathdelimiter" Item "Set display mode" "math-display" + Separator Item "Subscript" "math-subscript" Item "Superscript" "math-superscript" Item "Insert root" "math-insert \root" Index: ui/stdmenus.inc =================================================================== --- ui/stdmenus.inc (revision 17767) +++ ui/stdmenus.inc (working copy) @@ -362,6 +362,7 @@ Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column" Separator Item "Math Panel|P" "dialog-show mathpanel" + Item "Math Delimiters|r" "dialog-show mathdelimiter" End Menu "insert_float"