Guenter Milde wrote:
> You can compile the master from the child document with the
> master-buffer-view and master-buffer-update functions, e.g.
>
>    Esc-x                     % open minibuffer (command line)
>
>    master-buffer-view pdf2
>
> You can also bind these functions to keys if you happen to need them
> regularely.

For instance, to get it into your toolbar, copy the file stdtoolbars.inc from 
your LyX System directory to the subfolder "ui" of your LyX user directory 
(both directories are listed in Help>About LyX, you might need to create the 
subfolders), and change the "view/update" section as follows:

        Toolbar "view/update" "View/Update"
                Item "View DVI" "buffer-view dvi"
                Item "Update DVI" "buffer-update dvi"
                Item "View PDF (pdflatex)" "buffer-view pdf2"
                Item "Update PDF (pdflatex)" "buffer-update pdf2"
                Item "View Master PDF (pdflatex)" "master-buffer-view pdf2"
                Item "Update Master PDF (pdflatex)" "master-buffer-update pdf2"
                Item "View PostScript" "buffer-view ps"
                Item "Update PostScript" "buffer-update ps"
        End

Then, you need to add two new icons to the subfolder "images" of your LyX user 
directory (again, you might need to create this folder). Attached are mine 
(not very nice, but functional).

HTH,
Jürgen

<<attachment: master-buffer-update_pdf2.png>>

<<attachment: master-buffer-view_pdf2.png>>

Reply via email to