Re: LyX Essentials / View PDF / Export PDF

2011-07-29 Thread Ken
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  wrote:
> Hello Ken
>
> On Tue, Jul 26, 2011 at 8:06 PM, Ken  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
>
<>

Re: LyX Essentials / View PDF / Export PDF

2011-07-29 Thread Rainer M Krug
On Fri, Jul 29, 2011 at 10:40 AM, Ken  wrote:

> 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?
>

No - but if you assume it is caused by something in the user directory, I
would suggest to rename it and start LyX - a default one should be created.

Cheers,

Rainer

>
> Thanks,
> Ken
>
>
> On 26 July 2011 19:26, Liviu Andronic  wrote:
> > Hello Ken
> >
> > On Tue, Jul 26, 2011 at 8:06 PM, Ken  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
> >
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: LyX Essentials / View PDF / Export PDF

2011-07-29 Thread Ken
Hi Rainer,

That's a good point.  I renamed C:\Documents and
Settings\Ken\Application Data\LyX2.0 to LyX2.0_old and, as you say, a
new one was created on launching LyX.  However the toolbars are still
missing.  So the problem must be elsewhere.

I am logged on a s Limited XP user so I don't know if any changes
would have occurred in the C:\Program Files\LyX20 folder when I was
playing with the user folder.  Where else might I look for the
culprit?

Thanks,
Ken


On 29 July 2011 09:45, Rainer M Krug  wrote:
>
>
> On Fri, Jul 29, 2011 at 10:40 AM, Ken  wrote:
>>
>> 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?
>
> No - but if you assume it is caused by something in the user directory, I
> would suggest to rename it and start LyX - a default one should be created.
> Cheers,
> Rainer
>>
>> Thanks,
>> Ken
>>
>>
>> On 26 July 2011 19:26, Liviu Andronic  wrote:
>> > Hello Ken
>> >
>> > On Tue, Jul 26, 2011 at 8:06 PM, Ken  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
>> >
>
>
>
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
> UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Stellenbosch University
> South Africa
>
> Tel :       +33 - (0)9 53 10 27 44
> Cell:       +33 - (0)6 85 62 59 98
> Fax (F):       +33 - (0)9 58 10 27 44
>
> Fax (D):    +49 - (0)3 21 21 25 22 44
>
> email:      rai...@krugs.de
>
> Skype:      RMkrug
>
>


Re: LyX Essentials / View PDF / Export PDF

2011-07-29 Thread Rainer M Krug
On Fri, Jul 29, 2011 at 10:50 AM, Ken  wrote:

> Hi Rainer,
>
> That's a good point.  I renamed C:\Documents and
> Settings\Ken\Application Data\LyX2.0 to LyX2.0_old and, as you say, a
> new one was created on launching LyX.  However the toolbars are still
> missing.  So the problem must be elsewhere.
>

As far as I remember, LyX has system settings and user settings. If you want
to try to reinstall LyX, I would uninstall it, check that the LyX folder is
deleted as well (but keep a copy of your user directory), and reinstal LyX.

Keep in mind, that all this is coming from a Linux user - so there might be
some places, where LyX stores settings as well (registry? unlikely), which I
am not aware of.


> I am logged on a s Limited XP user so I don't know if any changes
> would have occurred in the C:\Program Files\LyX20 folder when I was
> playing with the user folder.  Where else might I look for the
> culprit?
>

No idea apart from my suggestions above.

Cheers,

Rainer

>
> Thanks,
> Ken
>
>
> On 29 July 2011 09:45, Rainer M Krug  wrote:
> >
> >
> > On Fri, Jul 29, 2011 at 10:40 AM, Ken  wrote:
> >>
> >> 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?
> >
> > No - but if you assume it is caused by something in the user directory, I
> > would suggest to rename it and start LyX - a default one should be
> created.
> > Cheers,
> > Rainer
> >>
> >> Thanks,
> >> Ken
> >>
> >>
> >> On 26 July 2011 19:26, Liviu Andronic  wrote:
> >> > Hello Ken
> >> >
> >> > On Tue, Jul 26, 2011 at 8:06 PM, Ken  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

Re: LyX Essentials / View PDF / Export PDF

2011-07-29 Thread Liviu Andronic
On Fri, Jul 29, 2011 at 10:40 AM, Ken  wrote:
> Ooops.  Now I have messed up my installation.
>
Sorry for that.

> 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?
>
Follow Rainer's advice, and if that fails, start a new thread on this
list. Also go to View > Toolbars and try hiding/showing them.

Thinking more about your original enquiry, it could be as simple as
the following: define a
command-sequence buffer-view pdf2 ; buffer-export pdf2 ;

command in Tools > Options > Editing > Shortcuts. It seems to work here.
Liviu


Missing Toolbars

2011-07-29 Thread Ken
I uninstalled LyX (including user preferences) and re-installed
however that has not resolved the issue.

Where does LyX store settings if it does so in places other than the following?
C:\Program Files\LyX20
C:\Documents and Settings\Ken\Application Data\LyX2.0

Are settings stored in the registry?  Could the toolbar settings be
set in an addon package (like Qt)?

I have tried disabling and enabling the toolbars from the View menu
but that has not resolved the issue either.

I have renamed the subject of this email so that it starts a new
thread (as suggested).





On 29 July 2011 09:57, Rainer M Krug  wrote:
>
>
> On Fri, Jul 29, 2011 at 10:50 AM, Ken  wrote:
>>
>> Hi Rainer,
>>
>> That's a good point.  I renamed C:\Documents and
>> Settings\Ken\Application Data\LyX2.0 to LyX2.0_old and, as you say, a
>> new one was created on launching LyX.  However the toolbars are still
>> missing.  So the problem must be elsewhere.
>
> As far as I remember, LyX has system settings and user settings. If you want
> to try to reinstall LyX, I would uninstall it, check that the LyX folder is
> deleted as well (but keep a copy of your user directory), and reinstal LyX.
> Keep in mind, that all this is coming from a Linux user - so there might be
> some places, where LyX stores settings as well (registry? unlikely), which I
> am not aware of.
>>
>> I am logged on a s Limited XP user so I don't know if any changes
>> would have occurred in the C:\Program Files\LyX20 folder when I was
>> playing with the user folder.  Where else might I look for the
>> culprit?
>
> No idea apart from my suggestions above.
> Cheers,
> Rainer
>>
>> Thanks,
>> Ken
>>
>>
>> On 29 July 2011 09:45, Rainer M Krug  wrote:
>> >
>> >
>> > On Fri, Jul 29, 2011 at 10:40 AM, Ken  wrote:
>> >>
>> >> 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?
>> >
>> > No - but if you assume it is caused by something in the user directory,
>> > I
>> > would suggest to rename it and start LyX - a default one should be
>> > created.
>> > Cheers,
>> > Rainer
>> >>
>> >> Thanks,
>> >> Ken
>> >>
>> >>
>> >> On 26 July 2011 19:26, Liviu Andronic  wrote:
>> >> > Hello Ken
>> >> >
>> >> > On Tue, Jul 26, 2011 at 8:06 PM, Ken  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 wher

Double page numbers on two-sided thesis document

2011-07-29 Thread Dirk Heine
Dear list,

I am using the default thesis template from Lyx 2.0 and have the
following problem with page numbering in a two-sided document in book
style (KOMA):

Every left page carries two page numbers (one on the left page edge,
one near the binding), every right page just one (on the right page
edge). I would like to switch off this double-numbering of left pages
but do not know how. Any help?

Best regards,

Dirk


Language setting problem

2011-07-29 Thread shyam basnet
Dear Lyx Users,

I am a new LYX users. When I install LyX in my office computer, it comes in
local language (all menu bars and its options) which I can't understand.
Could you please help me to change the language in English?

Thanks,

Shyam
Sweden


Re: Language setting problem

2011-07-29 Thread Liviu Andronic
On Fri, Jul 29, 2011 at 12:57 PM, shyam basnet  wrote:
> Dear Lyx Users,
> I am a new LYX users. When I install LyX in my office computer, it comes in
> local language (all menu bars and its options) which I can't understand.
> Could you please help me to change the language in English?
>
Try Tools > Prefs > Language > User Interface > English.
Liviu


> Thanks,
> Shyam
> Sweden



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Linebreak url on hyphen

2011-07-29 Thread Louis Turk
Hi everyone,

How can a URL be made to linebreak on a hyphen, without breaking
hyperref support?

I tried using the breakurl package, but couldn't get it to work.

Lou


RE: Language setting problem

2011-07-29 Thread Helge Hafting

>On Fri, Jul 29, 2011 at 12:57 PM, shyam basnet  wrote:
>> Dear Lyx Users,
>> I am a new LYX users. When I install LyX in my office computer, it comes in
>> local language (all menu bars and its options) which I can't understand.
>> Could you please help me to change the language in English?
>>
>Try Tools > Prefs > Language > User Interface > English.
>Liviu

Except it wont be named "Tools" and so on, if it already is in a 
language he doesn't understand. :-( Unless there are some
"locals" available to translate.

But you can start english language LyX like this, from
the command line:

LANG=C lyx

or

export LANG=C
lyx


Then the menu will say "Tools" and you can make a permanent change.
I am not sure how this will work if on windows. Perhaps:

set LANG=C
lyx

Helge Hafting


Re: Linebreak url on hyphen

2011-07-29 Thread Louis Turk
On 07/29/2011 08:37 PM, Louis Turk wrote:
> Hi everyone,
>
> How can a URL be made to linebreak on a hyphen, without breaking
> hyperref support?
>
> I tried using the breakurl package, but couldn't get it to work.
>
> Lou
>
Adding

,hyphens

to documentclass options solved the problem.


Re: Language setting problem

2011-07-29 Thread Liviu Andronic
On Fri, Jul 29, 2011 at 2:34 PM, Helge Hafting  wrote:
>>Try Tools > Prefs > Language > User Interface > English.
>>Liviu
>
> Except it wont be named "Tools" and so on, if it already is in a
> language he doesn't understand. :-( Unless there are some
> "locals" available to translate.
>
Oh, well, one can always ask Google [1]. :) Here's what she tells mes:
"Verktyg> Inställningar> Språk> Användargränssnitt> Engelska".
Liviu

[1] 
http://translate.google.com/#auto|sv|Tools%20%3E%20Preferences%20%3E%20Language%20%3E%20User%20Interface%20%3E%20English


Re: Strange Latex error using bibtex citations

2011-07-29 Thread Richard Heck
On 07/28/2011 10:28 PM, André wrote:
> Hello.
>
> I'm using LyX 2.0.0 on OSX. I'm having a strange error when I try to
> view the PDF of my lyx file. I removed all the content and left only
> the relevant parts that produce the error that are some 20 citations
> and the corresponding bib file that has these references with no
> content.
>
> The error is:
> {/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
> Runaway argument?
> URL(2011{\natexlab {{}})]{URLVendingWorld} 2011{\natexlab {{}}.
> ! Paragraph ended before \@lbibitem was complete.
> 
>\par
> l.88
>
> I suspect you've forgotten a `}', causing me to apply this
> control sequence to too much text. How can we recover?
> My plan is to forget the whole thing and hope for the best.
>
> ! Argument of \@lbibitem has an extra }.
> 
> \par
> l.92 \bibitem[URL(2011{\natexlab{}}}
> )]{URLwxWidgets}
> I've run across a `}' that doesn't seem to match anything.
> For example, `\def\a#1{...}' and `\a}' would produce
> this error. If you simply proceed now, the `\par' that
> I've just inserted will cause me to report a runaway
> argument that might be the root of the problem. But if
> your `}' was spurious, just type `2' and it will go away.
>
>
> If I change the references style from "plainnat" to "plain" the errors
> disappear, but I would like to understand what is going on. If I
> remove ANY reference, the error message changes. If I remove ANY 2
> references, the errors also go away...
>
> Attached is the simple lyx and bib files. Is this a LyX error or
> should I be asking somewhere else?
>
Looks like some sort of bug in natbib. Here's the end of the auxfile:

\bibcite{URLPython}{URL(2011{w})}
\bibcite{URLSCL3711}{URL(2011{x})}
\bibcite{URLSpongyCastle}{URL(2011{y})}
\bibcite{URLUSBBug}{URL(2011{z})}
\bibcite{URLwxPython}{URL(2011{|})}

That last one is what is causing the problem.

Richard



Re: Double page numbers on two-sided thesis document

2011-07-29 Thread Richard Heck
On 07/29/2011 06:50 AM, Dirk Heine wrote:
> Dear list,
>
> I am using the default thesis template from Lyx 2.0 and have the
> following problem with page numbering in a two-sided document in book
> style (KOMA):
>
> Every left page carries two page numbers (one on the left page edge,
> one near the binding), every right page just one (on the right page
> edge). I would like to switch off this double-numbering of left pages
> but do not know how. Any help?
>
Did you do something to try to customize the page numbering or headers?

Richard



Missing Toolbars / Broken Installation

2011-07-29 Thread Ken
This request is related to an earlier thread
(http://article.gmane.org/gmane.editors.lyx.general/71063) but I am
starting a new thread here to help solve a specific broken
installation.

I copied stdmenus.inc and stdtoolbas.inc from
C:\Program Files\LyX20\Resources\ui
to
C:\Documents and Settings\Ken\Application Data\LyX2.0\ui
in order to edit/customize one of the toolbars.

However, this caused none of my toolbars to load so I removed these
files in an attempt to revert back to the default settings.  However,
I am still left without any toolbars in LyX.

I have attempted to un-install LyX (including all user preferences)
and to re-install LyX but this has not fixed the issue.

When I document is open no toolbars appear.  When all documents are
close, there appears to be some sort of very,very small toolbar.
Please see the attached screenshot.

I have no idea how to fix this as I have completely un-installed and
re-installed LyX without any luck.  Where else might settings be
stored which I need to clear?  Windows registry?  Another folder than
the two mentioned above?

Any help would be greatly appreciated.

Thanks,
Ken
<>

Re: Double page numbers on two-sided thesis document

2011-07-29 Thread Kornel Benko
Am Freitag, 29. Juli 2011 schrieb Richard Heck:
> On 07/29/2011 06:50 AM, Dirk Heine wrote:
> > Dear list,
> > 
> > I am using the default thesis template from Lyx 2.0 and have the
> > following problem with page numbering in a two-sided document in book
> > style (KOMA):
> > 
> > Every left page carries two page numbers (one on the left page edge,
> > one near the binding), every right page just one (on the right page
> > edge). I would like to switch off this double-numbering of left pages
> > but do not know how. Any help?
> 
> Did you do something to try to customize the page numbering or headers?
> 
> Richard

I think, the template is erroneous. (Had the same effect in trunk)
Definitition of "Left Footer" is ok, but "Right Footer" should have set the 
"Short Title" to nothing. (As of now, there is no short title).
So insert "Short title" in "Right Footer", but let it be empty and you should 
be done.

Kornel



signature.asc
Description: This is a digitally signed message part.


Re: Double page numbers on two-sided thesis document

2011-07-29 Thread Dirk Heine
Thanks a lot Kornel!
Unfortunately I am not entirely sure what do no... I am a bit of a
newbie to Lyx and would very much appreciate if you could give your
advice once more for dummies.
Many thanks!
Dirk

On Fri, Jul 29, 2011 at 10:05 PM, Kornel Benko  wrote:
> Am Freitag, 29. Juli 2011 schrieb Richard Heck:
>
>> On 07/29/2011 06:50 AM, Dirk Heine wrote:
>
>> > Dear list,
>
>> >
>
>> > I am using the default thesis template from Lyx 2.0 and have the
>
>> > following problem with page numbering in a two-sided document in book
>
>> > style (KOMA):
>
>> >
>
>> > Every left page carries two page numbers (one on the left page edge,
>
>> > one near the binding), every right page just one (on the right page
>
>> > edge). I would like to switch off this double-numbering of left pages
>
>> > but do not know how. Any help?
>
>>
>
>> Did you do something to try to customize the page numbering or headers?
>
>>
>
>> Richard
>
> I think, the template is erroneous. (Had the same effect in trunk)
>
> Definitition of "Left Footer" is ok, but "Right Footer" should have set the
> "Short Title" to nothing. (As of now, there is no short title).
>
> So insert "Short title" in "Right Footer", but let it be empty and you
> should be done.
>
> Kornel


Re: Double page numbers on two-sided thesis document

2011-07-29 Thread Dirk Heine
Thanks for your reply Richard!
I have not customised anything. The problem just arose out of the
default settings.

On Fri, Jul 29, 2011 at 7:47 PM, Richard Heck  wrote:
> On 07/29/2011 06:50 AM, Dirk Heine wrote:
>> Dear list,
>>
>> I am using the default thesis template from Lyx 2.0 and have the
>> following problem with page numbering in a two-sided document in book
>> style (KOMA):
>>
>> Every left page carries two page numbers (one on the left page edge,
>> one near the binding), every right page just one (on the right page
>> edge). I would like to switch off this double-numbering of left pages
>> but do not know how. Any help?
>>
> Did you do something to try to customize the page numbering or headers?
>
> Richard
>
>


Re: Double page numbers on two-sided thesis document

2011-07-29 Thread Kornel Benko
Am Freitag, 29. Juli 2011 schrieb Dirk Heine:
> Thanks a lot Kornel!
> Unfortunately I am not entirely sure what do no... I am a bit of a
> newbie to Lyx and would very much appreciate if you could give your
> advice once more for dummies.
> Many thanks!
> Dirk

Open your master thesis file in lyx (the one created from thesis-template)
Search for definition of "Right Footer" (this should be some lines below 
"Dedication, cite from a famous person"
Right klick on "Right Footer", select "Insert Short Title".
That's it.

> On Fri, Jul 29, 2011 at 10:05 PM, Kornel Benko  wrote:
> > Am Freitag, 29. Juli 2011 schrieb Richard Heck:
> >> On 07/29/2011 06:50 AM, Dirk Heine wrote:
> >> > Dear list,
> >> > 
> >> > 
> >> > 
> >> > I am using the default thesis template from Lyx 2.0 and have the
> >> > 
> >> > following problem with page numbering in a two-sided document in book
> >> > 
> >> > style (KOMA):
> >> > 
> >> > 
> >> > 
> >> > Every left page carries two page numbers (one on the left page edge,
> >> > 
> >> > one near the binding), every right page just one (on the right page
> >> > 
> >> > edge). I would like to switch off this double-numbering of left pages
> >> > 
> >> > but do not know how. Any help?
> >> 
> >> Did you do something to try to customize the page numbering or headers?
> >> 
> >> 
> >> 
> >> Richard
> > 
> > I think, the template is erroneous. (Had the same effect in trunk)
> > 
> > Definitition of "Left Footer" is ok, but "Right Footer" should have set
> > the "Short Title" to nothing. (As of now, there is no short title).
> > 
> > So insert "Short title" in "Right Footer", but let it be empty and you
> > should be done.
> > 
Regards
Kornel



signature.asc
Description: This is a digitally signed message part.


Re: Double page numbers on two-sided thesis document

2011-07-29 Thread Dirk Heine
Thanks Kornel!

Unfortunately the problem persists also after that executing "Insert
Short Title". I just tried it with my document and also with a new,
clean version of the thesis template to make sure the problem does not
arise due to some customisation. In both cases, however, the double
page numbering remains.

I would be grateful for further advice.

Best wishes,

Dirk

On Fri, Jul 29, 2011 at 10:43 PM, Kornel Benko  wrote:
> Am Freitag, 29. Juli 2011 schrieb Dirk Heine:
>
>> Thanks a lot Kornel!
>
>> Unfortunately I am not entirely sure what do no... I am a bit of a
>
>> newbie to Lyx and would very much appreciate if you could give your
>
>> advice once more for dummies.
>
>> Many thanks!
>
>> Dirk
>
> Open your master thesis file in lyx (the one created from thesis-template)
>
> Search for definition of "Right Footer" (this should be some lines below
> "Dedication, cite from a famous person"
>
> Right klick on "Right Footer", select "Insert Short Title".
>
> That's it.
>
>> On Fri, Jul 29, 2011 at 10:05 PM, Kornel Benko 
>> wrote:
>
>> > Am Freitag, 29. Juli 2011 schrieb Richard Heck:
>
>> >> On 07/29/2011 06:50 AM, Dirk Heine wrote:
>
>> >> > Dear list,
>
>> >> >
>
>> >> >
>
>> >> >
>
>> >> > I am using the default thesis template from Lyx 2.0 and have the
>
>> >> >
>
>> >> > following problem with page numbering in a two-sided document in book
>
>> >> >
>
>> >> > style (KOMA):
>
>> >> >
>
>> >> >
>
>> >> >
>
>> >> > Every left page carries two page numbers (one on the left page edge,
>
>> >> >
>
>> >> > one near the binding), every right page just one (on the right page
>
>> >> >
>
>> >> > edge). I would like to switch off this double-numbering of left pages
>
>> >> >
>
>> >> > but do not know how. Any help?
>
>> >>
>
>> >> Did you do something to try to customize the page numbering or headers?
>
>> >>
>
>> >>
>
>> >>
>
>> >> Richard
>
>> >
>
>> > I think, the template is erroneous. (Had the same effect in trunk)
>
>> >
>
>> > Definitition of "Left Footer" is ok, but "Right Footer" should have set
>
>> > the "Short Title" to nothing. (As of now, there is no short title).
>
>> >
>
>> > So insert "Short title" in "Right Footer", but let it be empty and you
>
>> > should be done.
>
>> >
>
> Regards
>
> Kornel
>
>


Re: Double page numbers on two-sided thesis document

2011-07-29 Thread Kornel Benko
Am Freitag, 29. Juli 2011 schrieb Dirk Heine:
> Thanks Kornel!
> 
> Unfortunately the problem persists also after that executing "Insert
> Short Title". I just tried it with my document and also with a new,
> clean version of the thesis template to make sure the problem does not
> arise due to some customisation. In both cases, however, the double
> page numbering remains.
> 
> I would be grateful for further advice.
> 
> Best wishes,
> 
> Dirk

They should look like attached.
Kornel
<>

signature.asc
Description: This is a digitally signed message part.


Re: Adding title/text to Propositions/Theorems/...

2011-07-29 Thread ChiPro
Richard Heck  comcast.net> writes:


> >
> You can use an optional argument here: Insert>Short Title.
> 
> Richard
> 
> 

Thanks guys.




Setting zoom level when opening PDF output file

2011-07-29 Thread ChiPro
Hi,

does anyone know how to set the zoom level for when you open the PDF output 
file?

I found that the package hyperref is supposed to allow this feature but I don't
know the command.

Does anyone know where to find all the options that can be used in hyperref? 

Thanks.



Re: Setting zoom level when opening PDF output file

2011-07-29 Thread Liviu Andronic
On Fri, Jul 29, 2011 at 10:37 PM, ChiPro  wrote:
> Hi,
>
> does anyone know how to set the zoom level for when you open the PDF output 
> file?
>
> I found that the package hyperref is supposed to allow this feature but I 
> don't
> know the command.
>
> Does anyone know where to find all the options that can be used in hyperref?
>
See http://ctan.org/pkg/hyperref > Documentation. To find
documentation for LaTeX packages best is always to look on CTAN.
Liviu



> Thanks.
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Setting zoom level when opening PDF output file

2011-07-29 Thread Nikos Chantziaras

On 07/29/2011 11:37 PM, ChiPro wrote:

Hi,

does anyone know how to set the zoom level for when you open the PDF output 
file?

I found that the package hyperref is supposed to allow this feature but I don't
know the command.

Does anyone know where to find all the options that can be used in hyperref?


In hyperref's documentation.  It should be included in your TeX 
installation.  Or Google it to find it online.  I found:


  http://www.tug.org/applications/hyperref/manual.html#x1-13.6

The option you're looking for is "pdfstartview".  You can put something 
like "pdfstartview=FitH" in Document Settings->PDF 
Properties->Additional Options.  Separate multiple options with commas. 
 (Like "option1=foo, option2=bar".)




Re: Missing Toolbars / Broken Installation

2011-07-29 Thread Paul A . Rubin
In Tools > Preferences > Look & Feel > User Interface, try deselecting
everything under "Session" and clicking the "Clear all session information"
button.  Then close and restart LyX.  Does that help?

Paul