Ooops.  Now I have messed up my installation.

I copied the stdtoolbar.inc from the installation folder on C:\Program
Files to the "ui" folder in my LyX2.0 user directory and was playing
around with it.  But then my toolbar disappeared.  When I tried
deleting the .inc files from my user ui folder so that the defaults
would be used, the toolbars seem to have shrunk.  Please see the
attached screenshot.

I have tried re-installing LyX but this has not helped (as I suspect
the problem is somewhere in my user directory).  Has anyone come
across this issue and happen to know where the incorrect setting may
be?

Thanks,
Ken


On 26 July 2011 19:26, Liviu Andronic <landronim...@gmail.com> wrote:
> Hello Ken
>
> On Tue, Jul 26, 2011 at 8:06 PM, Ken <kmai...@gmail.com> wrote:
>> Stephen and Liviu wrote the excellent guide: "LyX Essentials"
>> (sites.google.com/site/tsewiki/resources/latex/LyX_Essentials.pdf)
>>
> Thank you for the kind words.
>
>
>> In it they write: "The View icon is practical for previewing your
>> final output, but it is generally a good habit to use File ! Export !
>> PDF (pdflatex) to actually export your final PDF document."
>>
>> Why?  Is this so that one has a permanent copy of the PDF in the
>> relevant folder as opposed to just the PDF placed in the temporary
>> folder?
>>
> Basically, yes.
>
>
>> If that is the reason, then I would agree but often tend to forget to
>> export my document every time I am done editing it.  In fact I wish
>>
> This is true in the beginning, but should get better as you get more
> familiar with the LyX work-flow.
>
>
>> that I could somehow over-ride the "View" functionality so that the
>> generated PDF is always placed in the same folder as the .lyx file ---
>> possibly with the word "draft" appended to it.  In that case I would
>>
> I'm not sure that you want this. For one, at each Export instance you
> will be greated with the 'Overwrite?' dialogue. (I don't know if you
> can turn it off, but if you do it can be dangerous.)
>
>
>> always have a copy of every document in PDF form compiled to the
>> latest version.
>>
> One way to work around would be to create a custom 'Export to PDF'
> button (this is easy) that would always compile the document and
> export it in the desired folder. Then, if you use a well behaved PDF
> viewer such as Evince, each time the file is saved to disk the viewer
> will automatically reload it, meaning that the button will effectively
> act both as 'export' and 'preview'. This way you have to open your PDF
> file only once, and have it regularly updated by LyX.
>
>
>> This is useful for cases where (a) I want to read one
>> of my document without opening LyX or (b) want to quickly send a
>> document to someone quickly and don't want to have to compile it (just
>> in case for one reason or another the compilation is broken).
>>
>> Can anyone suggest either:
>> (1) how to over-ride the "View" function as described above, or
>> (2) how to create a new icon which generates a PDF (appended with
>> draft) which is saved in my working directory and automatically opened
>> for viewing.
>>
> In principle it should be possible to combine the preview and export
> command sequences. For this, check Help > Functions (particularly
> 'command-sequence') and some examples on the mailing list (same
> keyword, and perhaps 'keyboard bindings'). For the commands run in the
> menus and on the toolbar inspect 'stdmenus.inc' and 'stdtoolbars.inc'.
> I haven't tested, but it should be as easy as copy/pasting and
> slightly modifying the items of interest.
>
> Regards
> Liviu
>

<<attachment: lyx_toolbar.jpg>>

Reply via email to