Where is insert branch in 2.0.7?

2014-01-25 Thread Stephen Luttrell
I have Lyx 2.0.7 on OS X 10.9.1.

The menu entry for Insert Branch branch name doesn't
exist in 2.0.7. Previously in 2.0.6, when you created a
new branch name, its name was appended to the menu entry
Insert Branch ... so that further instances of the branch
could then be created, but this no longer happens in 2.0.7.

In 2.0.7 the only way that I can find to insert a branch
whose name already exists seems to be to make a copy of
that branch from elsewhere in the document and to then
overwrite its contents with new material.

Have I overlooked something here?



Re: Where is insert branch in 2.0.7?

2014-01-25 Thread Stephan Witt
Am 25.01.2014 um 13:09 schrieb Stephen Luttrell ste...@stephenluttrell.com:

 I have Lyx 2.0.7 on OS X 10.9.1.
 
 The menu entry for Insert Branch branch name doesn't
 exist in 2.0.7. Previously in 2.0.6, when you created a
 new branch name, its name was appended to the menu entry
 Insert Branch ... so that further instances of the branch
 could then be created, but this no longer happens in 2.0.7.
 
 In 2.0.7 the only way that I can find to insert a branch
 whose name already exists seems to be to make a copy of
 that branch from elsewhere in the document and to then
 overwrite its contents with new material.
 
 Have I overlooked something here?

I don't think so. The menu handling on Mac OS X is a problem
and had changed. It's possible you've detected a regression.
I have to verify it.

Stephan


Re: Where is insert branch in 2.0.7?

2014-01-25 Thread Stephan Witt
Am 25.01.2014 um 13:22 schrieb Stephan Witt st.w...@gmx.net:

 Am 25.01.2014 um 13:09 schrieb Stephen Luttrell ste...@stephenluttrell.com:
 
 I have Lyx 2.0.7 on OS X 10.9.1.
 
 The menu entry for Insert Branch branch name doesn't
 exist in 2.0.7. Previously in 2.0.6, when you created a
 new branch name, its name was appended to the menu entry
 Insert Branch ... so that further instances of the branch
 could then be created, but this no longer happens in 2.0.7.
 
 In 2.0.7 the only way that I can find to insert a branch
 whose name already exists seems to be to make a copy of
 that branch from elsewhere in the document and to then
 overwrite its contents with new material.
 
 Have I overlooked something here?
 
 I don't think so. The menu handling on Mac OS X is a problem
 and had changed. It's possible you've detected a regression.
 I have to verify it.

Unfortunately the menu bar handling on Mac OS X needs another
fix. The menuBar() method of GuiView inherited from QMainWindow
has to be overridden to make sure it's the global menu bar for
every menuBar() invocation.

I've attached a patch for it. Now Insert Branch branch name
is present again.

Stephan


macMenuBar-6a.patch
Description: Binary data


Re: [ANNOUNCE] LyX 2.0.7 Released

2014-01-25 Thread Richard Heck

On 01/24/2014 06:00 PM, Raja Almukahhal wrote:

I love LyX. I have been using it extensively for over 10 years. The only big 
issue that I have with it is the difficulties and complexities of numbering 
equations. I wish there was a command for simply numbering any displayed 
equations, with simple numbers 1, 2, 3 for each chapter.


At least here on Linux, it's not that hard to put numbers on equations: 
Alt-m, n numbers (or unnumbers) the whole formula (every line if that's 
relevant), and Alt-m, N numbers (or unnumbers) an individual line.


Do you mean you'd like to be able to set a default so this happens 
automatically?


rh



Re: Seeing invisible table grid lines in the GUI

2014-01-25 Thread Maria Gouskova
On Thu, Jan 23, 2014 at 2:56 PM, Stephan Witt st.w...@gmx.net wrote:
 Am 23.01.2014 um 08:58 schrieb Stephan Witt st.w...@gmx.net:

 Am 22.01.2014 um 22:46 schrieb Stephen Buonopane sbuon...@bucknell.edu:


 On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:

 On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org 
 wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com 
 wrote:
 Hi LyX users,

 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?

 Maria

 Hi Maria,

 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?

 Best,

 Scott

 Hi Scott,

 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.

 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?

 You could be right. I don't remember. You could see if there are any
 differences in your preferences between the two computers. But I'm
 guessing it's a Qt related issue.

 Scott


 Try this perhaps
 LyX-Preferences-Look  Feel-Colors-table on/off line (last entry in the 
 list)

 I am on LyX 2.0.6, OSX 10.7.5.

 Hi,

 I can reproduce the problem on OSX 10.8.6 here.
 The preference setting mentioned above doesn't help.

 I tested the upcoming LyX 2.0.7 with Qt-4.8.5 and Cocoa API.

 I'm almost sure it's a LyX problem and not related with Qt.
 With LyX 2.1.0 dev and the same Qt libraries the problem is gone.

 I'll investigate further.

 I recommend to file a bug on trac. Maria, do you want me to do it?

 The cause of the problem is not obvious and IMHO it's not caused by
 user action.

 Stephan


Hmm, yes, would you please? I just upgraded to LyX 2.0.7, and the
problem is still present on Mac OS 10.8.5--but not on Mac OS 10.6.8.
Something is up.

Maria


Re: Seeing invisible table grid lines in the GUI

2014-01-25 Thread Stephan Witt
Am 25.01.2014 um 20:51 schrieb Maria Gouskova gousk...@gmail.com:

 On Thu, Jan 23, 2014 at 2:56 PM, Stephan Witt st.w...@gmx.net wrote:
 Am 23.01.2014 um 08:58 schrieb Stephan Witt st.w...@gmx.net:
 
 Am 22.01.2014 um 22:46 schrieb Stephen Buonopane sbuon...@bucknell.edu:
 
 
 On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:
 
 On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com 
 wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org 
 wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com 
 wrote:
 Hi LyX users,
 
 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?
 
 Maria
 
 Hi Maria,
 
 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?
 
 Best,
 
 Scott
 
 Hi Scott,
 
 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.
 
 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?
 
 You could be right. I don't remember. You could see if there are any
 differences in your preferences between the two computers. But I'm
 guessing it's a Qt related issue.
 
 Scott
 
 
 Try this perhaps
 LyX-Preferences-Look  Feel-Colors-table on/off line (last entry in 
 the list)
 
 I am on LyX 2.0.6, OSX 10.7.5.
 
 Hi,
 
 I can reproduce the problem on OSX 10.8.6 here.
 The preference setting mentioned above doesn't help.
 
 I tested the upcoming LyX 2.0.7 with Qt-4.8.5 and Cocoa API.
 
 I'm almost sure it's a LyX problem and not related with Qt.
 With LyX 2.1.0 dev and the same Qt libraries the problem is gone.
 
 I'll investigate further.
 
 I recommend to file a bug on trac. Maria, do you want me to do it?
 
 The cause of the problem is not obvious and IMHO it's not caused by
 user action.
 
 Stephan
 
 
 Hmm, yes, would you please? I just upgraded to LyX 2.0.7, and the
 problem is still present on Mac OS 10.8.5--but not on Mac OS 10.6.8.
 Something is up.

It's ticket 8943. I used your original mail as description.

http://www.lyx.org/trac/ticket/8943

Stephan

Re: graphics location

2014-01-25 Thread Andrew Parsloe



On 25/01/2014 7:13 a.m., Wolfgang Engelmann wrote:

Dear Lyx Users,

I have exported my lyx file as a lyx archive, which contains as a tar.gz
file the lyx file, the used bib file and the figures used. This is quite
handy, because only the used figures, bib are saved.

However, I have this problem:

The path to the figures should be ./Kalanchoe-closed.jpg

as an example and not e.g.:

\begin_inset Graphics

filename BluFloClockTar/AAAflowerclock20130909/Kalanchoe-closed.jpg

since I would like to move the lyx file to another folder or send it away.

There are many figures, therefore I would prefer NOT to select each
figure path anew.

What would you recommend?

Using the tex file and, in an editor, replace the path, to end up with
./figureFile? Or is there a way in Lyx? (Which would be handy)

Wolfgang



Hullo Wolfgang,

This is the kind of thing that can be done with the find--replace 
script of the pLyX scripting system (on the wiki under Examples/pLyX 
system) which allows you to work from within the LyX gui. In fact I was 
faced with a similar task a couple of weeks ago (and found a bug in the 
script which I've since corrected). The system takes a little setting up 
(two file formats and two converters to be defined, plus some files to 
be distributed around your personal LyX folders), and some practice to 
get a feel for how it works.


If you do go this way, then you would need to insert a .find--replace 
inset containing


-i -r

to specify a regular expression inset search, followed by two  .argument 
insets, the first (the find regular expression) containing


filename .+/([\w\d\-]+)\.jpg

and the second (the replace expression) containing

filename ./\1.jpg

Then click the View other formats button and select pLyX.

This assumes that all your graphics are .jpg format, and that the names 
of your images (like 'Kalanchoe-closed') are made up only from letters, 
digits, hyphens and underscores.


Andrew






---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com



french.ldf

2014-01-25 Thread Patrick Dupre
Hello,

I moved from fedora 18 to fedora20 and I get the following error:
dist/tex/generic/babel/babel.def
File: babel.def 2013/12/03 3.9h Babel common definitions
\babel@savecnt=\count90
\U@D=\dimen107
)
\l@british = a dialect from \language\l@english 
\l@UKenglish = a dialect from \language\l@english 
\l@canadian = a dialect from \language\l@american 
\l@australian = a dialect from \language\l@british 
\l@newzealand = a dialect from \language\l@british 
)

! Package babel Error: Unknown option `french'. Either you misspelled it
(babel)                or the language definition file french.ldf was not found
.


However, the file french.ldf is really available in
/usr/share/texlive/texmf-dist/tex/latex/frenchle/french.ldf
(texlive-frenchle)

In fedora 18 this file is not provided, only frenchb.ldf is available!

Is it a fedora20 or lyx issue?

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Where is insert branch in 2.0.7?

2014-01-25 Thread Stephen Luttrell
I have Lyx 2.0.7 on OS X 10.9.1.

The menu entry for Insert Branch branch name doesn't
exist in 2.0.7. Previously in 2.0.6, when you created a
new branch name, its name was appended to the menu entry
Insert Branch ... so that further instances of the branch
could then be created, but this no longer happens in 2.0.7.

In 2.0.7 the only way that I can find to insert a branch
whose name already exists seems to be to make a copy of
that branch from elsewhere in the document and to then
overwrite its contents with new material.

Have I overlooked something here?



Re: Where is insert branch in 2.0.7?

2014-01-25 Thread Stephan Witt
Am 25.01.2014 um 13:09 schrieb Stephen Luttrell ste...@stephenluttrell.com:

 I have Lyx 2.0.7 on OS X 10.9.1.
 
 The menu entry for Insert Branch branch name doesn't
 exist in 2.0.7. Previously in 2.0.6, when you created a
 new branch name, its name was appended to the menu entry
 Insert Branch ... so that further instances of the branch
 could then be created, but this no longer happens in 2.0.7.
 
 In 2.0.7 the only way that I can find to insert a branch
 whose name already exists seems to be to make a copy of
 that branch from elsewhere in the document and to then
 overwrite its contents with new material.
 
 Have I overlooked something here?

I don't think so. The menu handling on Mac OS X is a problem
and had changed. It's possible you've detected a regression.
I have to verify it.

Stephan


Re: Where is insert branch in 2.0.7?

2014-01-25 Thread Stephan Witt
Am 25.01.2014 um 13:22 schrieb Stephan Witt st.w...@gmx.net:

 Am 25.01.2014 um 13:09 schrieb Stephen Luttrell ste...@stephenluttrell.com:
 
 I have Lyx 2.0.7 on OS X 10.9.1.
 
 The menu entry for Insert Branch branch name doesn't
 exist in 2.0.7. Previously in 2.0.6, when you created a
 new branch name, its name was appended to the menu entry
 Insert Branch ... so that further instances of the branch
 could then be created, but this no longer happens in 2.0.7.
 
 In 2.0.7 the only way that I can find to insert a branch
 whose name already exists seems to be to make a copy of
 that branch from elsewhere in the document and to then
 overwrite its contents with new material.
 
 Have I overlooked something here?
 
 I don't think so. The menu handling on Mac OS X is a problem
 and had changed. It's possible you've detected a regression.
 I have to verify it.

Unfortunately the menu bar handling on Mac OS X needs another
fix. The menuBar() method of GuiView inherited from QMainWindow
has to be overridden to make sure it's the global menu bar for
every menuBar() invocation.

I've attached a patch for it. Now Insert Branch branch name
is present again.

Stephan


macMenuBar-6a.patch
Description: Binary data


Re: [ANNOUNCE] LyX 2.0.7 Released

2014-01-25 Thread Richard Heck

On 01/24/2014 06:00 PM, Raja Almukahhal wrote:

I love LyX. I have been using it extensively for over 10 years. The only big 
issue that I have with it is the difficulties and complexities of numbering 
equations. I wish there was a command for simply numbering any displayed 
equations, with simple numbers 1, 2, 3 for each chapter.


At least here on Linux, it's not that hard to put numbers on equations: 
Alt-m, n numbers (or unnumbers) the whole formula (every line if that's 
relevant), and Alt-m, N numbers (or unnumbers) an individual line.


Do you mean you'd like to be able to set a default so this happens 
automatically?


rh



Re: Seeing invisible table grid lines in the GUI

2014-01-25 Thread Maria Gouskova
On Thu, Jan 23, 2014 at 2:56 PM, Stephan Witt st.w...@gmx.net wrote:
 Am 23.01.2014 um 08:58 schrieb Stephan Witt st.w...@gmx.net:

 Am 22.01.2014 um 22:46 schrieb Stephen Buonopane sbuon...@bucknell.edu:


 On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:

 On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org 
 wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com 
 wrote:
 Hi LyX users,

 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?

 Maria

 Hi Maria,

 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?

 Best,

 Scott

 Hi Scott,

 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.

 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?

 You could be right. I don't remember. You could see if there are any
 differences in your preferences between the two computers. But I'm
 guessing it's a Qt related issue.

 Scott


 Try this perhaps
 LyX-Preferences-Look  Feel-Colors-table on/off line (last entry in the 
 list)

 I am on LyX 2.0.6, OSX 10.7.5.

 Hi,

 I can reproduce the problem on OSX 10.8.6 here.
 The preference setting mentioned above doesn't help.

 I tested the upcoming LyX 2.0.7 with Qt-4.8.5 and Cocoa API.

 I'm almost sure it's a LyX problem and not related with Qt.
 With LyX 2.1.0 dev and the same Qt libraries the problem is gone.

 I'll investigate further.

 I recommend to file a bug on trac. Maria, do you want me to do it?

 The cause of the problem is not obvious and IMHO it's not caused by
 user action.

 Stephan


Hmm, yes, would you please? I just upgraded to LyX 2.0.7, and the
problem is still present on Mac OS 10.8.5--but not on Mac OS 10.6.8.
Something is up.

Maria


Re: Seeing invisible table grid lines in the GUI

2014-01-25 Thread Stephan Witt
Am 25.01.2014 um 20:51 schrieb Maria Gouskova gousk...@gmail.com:

 On Thu, Jan 23, 2014 at 2:56 PM, Stephan Witt st.w...@gmx.net wrote:
 Am 23.01.2014 um 08:58 schrieb Stephan Witt st.w...@gmx.net:
 
 Am 22.01.2014 um 22:46 schrieb Stephen Buonopane sbuon...@bucknell.edu:
 
 
 On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:
 
 On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com 
 wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org 
 wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com 
 wrote:
 Hi LyX users,
 
 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?
 
 Maria
 
 Hi Maria,
 
 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?
 
 Best,
 
 Scott
 
 Hi Scott,
 
 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.
 
 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?
 
 You could be right. I don't remember. You could see if there are any
 differences in your preferences between the two computers. But I'm
 guessing it's a Qt related issue.
 
 Scott
 
 
 Try this perhaps
 LyX-Preferences-Look  Feel-Colors-table on/off line (last entry in 
 the list)
 
 I am on LyX 2.0.6, OSX 10.7.5.
 
 Hi,
 
 I can reproduce the problem on OSX 10.8.6 here.
 The preference setting mentioned above doesn't help.
 
 I tested the upcoming LyX 2.0.7 with Qt-4.8.5 and Cocoa API.
 
 I'm almost sure it's a LyX problem and not related with Qt.
 With LyX 2.1.0 dev and the same Qt libraries the problem is gone.
 
 I'll investigate further.
 
 I recommend to file a bug on trac. Maria, do you want me to do it?
 
 The cause of the problem is not obvious and IMHO it's not caused by
 user action.
 
 Stephan
 
 
 Hmm, yes, would you please? I just upgraded to LyX 2.0.7, and the
 problem is still present on Mac OS 10.8.5--but not on Mac OS 10.6.8.
 Something is up.

It's ticket 8943. I used your original mail as description.

http://www.lyx.org/trac/ticket/8943

Stephan

Re: graphics location

2014-01-25 Thread Andrew Parsloe



On 25/01/2014 7:13 a.m., Wolfgang Engelmann wrote:

Dear Lyx Users,

I have exported my lyx file as a lyx archive, which contains as a tar.gz
file the lyx file, the used bib file and the figures used. This is quite
handy, because only the used figures, bib are saved.

However, I have this problem:

The path to the figures should be ./Kalanchoe-closed.jpg

as an example and not e.g.:

\begin_inset Graphics

filename BluFloClockTar/AAAflowerclock20130909/Kalanchoe-closed.jpg

since I would like to move the lyx file to another folder or send it away.

There are many figures, therefore I would prefer NOT to select each
figure path anew.

What would you recommend?

Using the tex file and, in an editor, replace the path, to end up with
./figureFile? Or is there a way in Lyx? (Which would be handy)

Wolfgang



Hullo Wolfgang,

This is the kind of thing that can be done with the find--replace 
script of the pLyX scripting system (on the wiki under Examples/pLyX 
system) which allows you to work from within the LyX gui. In fact I was 
faced with a similar task a couple of weeks ago (and found a bug in the 
script which I've since corrected). The system takes a little setting up 
(two file formats and two converters to be defined, plus some files to 
be distributed around your personal LyX folders), and some practice to 
get a feel for how it works.


If you do go this way, then you would need to insert a .find--replace 
inset containing


-i -r

to specify a regular expression inset search, followed by two  .argument 
insets, the first (the find regular expression) containing


filename .+/([\w\d\-]+)\.jpg

and the second (the replace expression) containing

filename ./\1.jpg

Then click the View other formats button and select pLyX.

This assumes that all your graphics are .jpg format, and that the names 
of your images (like 'Kalanchoe-closed') are made up only from letters, 
digits, hyphens and underscores.


Andrew






---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com



french.ldf

2014-01-25 Thread Patrick Dupre
Hello,

I moved from fedora 18 to fedora20 and I get the following error:
dist/tex/generic/babel/babel.def
File: babel.def 2013/12/03 3.9h Babel common definitions
\babel@savecnt=\count90
\U@D=\dimen107
)
\l@british = a dialect from \language\l@english 
\l@UKenglish = a dialect from \language\l@english 
\l@canadian = a dialect from \language\l@american 
\l@australian = a dialect from \language\l@british 
\l@newzealand = a dialect from \language\l@british 
)

! Package babel Error: Unknown option `french'. Either you misspelled it
(babel)                or the language definition file french.ldf was not found
.


However, the file french.ldf is really available in
/usr/share/texlive/texmf-dist/tex/latex/frenchle/french.ldf
(texlive-frenchle)

In fedora 18 this file is not provided, only frenchb.ldf is available!

Is it a fedora20 or lyx issue?

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Where is insert branch in 2.0.7?

2014-01-25 Thread Stephen Luttrell
I have Lyx 2.0.7 on OS X 10.9.1.

The menu entry for "Insert Branch " doesn't
exist in 2.0.7. Previously in 2.0.6, when you created a
new branch name, its name was appended to the menu entry
"Insert Branch ..." so that further instances of the branch
could then be created, but this no longer happens in 2.0.7.

In 2.0.7 the only way that I can find to insert a branch
whose name already exists seems to be to make a copy of
that branch from elsewhere in the document and to then
overwrite its contents with new material.

Have I overlooked something here?



Re: Where is insert branch in 2.0.7?

2014-01-25 Thread Stephan Witt
Am 25.01.2014 um 13:09 schrieb Stephen Luttrell :

> I have Lyx 2.0.7 on OS X 10.9.1.
> 
> The menu entry for "Insert Branch " doesn't
> exist in 2.0.7. Previously in 2.0.6, when you created a
> new branch name, its name was appended to the menu entry
> "Insert Branch ..." so that further instances of the branch
> could then be created, but this no longer happens in 2.0.7.
> 
> In 2.0.7 the only way that I can find to insert a branch
> whose name already exists seems to be to make a copy of
> that branch from elsewhere in the document and to then
> overwrite its contents with new material.
> 
> Have I overlooked something here?

I don't think so. The menu handling on Mac OS X is a problem
and had changed. It's possible you've detected a regression.
I have to verify it.

Stephan


Re: Where is insert branch in 2.0.7?

2014-01-25 Thread Stephan Witt
Am 25.01.2014 um 13:22 schrieb Stephan Witt :

> Am 25.01.2014 um 13:09 schrieb Stephen Luttrell :
> 
>> I have Lyx 2.0.7 on OS X 10.9.1.
>> 
>> The menu entry for "Insert Branch " doesn't
>> exist in 2.0.7. Previously in 2.0.6, when you created a
>> new branch name, its name was appended to the menu entry
>> "Insert Branch ..." so that further instances of the branch
>> could then be created, but this no longer happens in 2.0.7.
>> 
>> In 2.0.7 the only way that I can find to insert a branch
>> whose name already exists seems to be to make a copy of
>> that branch from elsewhere in the document and to then
>> overwrite its contents with new material.
>> 
>> Have I overlooked something here?
> 
> I don't think so. The menu handling on Mac OS X is a problem
> and had changed. It's possible you've detected a regression.
> I have to verify it.

Unfortunately the menu bar handling on Mac OS X needs another
fix. The menuBar() method of GuiView inherited from QMainWindow
has to be overridden to make sure it's the global menu bar for
every menuBar() invocation.

I've attached a patch for it. Now "Insert Branch "
is present again.

Stephan


macMenuBar-6a.patch
Description: Binary data


Re: [ANNOUNCE] LyX 2.0.7 Released

2014-01-25 Thread Richard Heck

On 01/24/2014 06:00 PM, Raja Almukahhal wrote:

I love LyX. I have been using it extensively for over 10 years. The only big 
issue that I have with it is the difficulties and complexities of numbering 
equations. I wish there was a command for simply numbering any displayed 
equations, with simple numbers 1, 2, 3 for each chapter.


At least here on Linux, it's not that hard to put numbers on equations: 
Alt-m, n numbers (or unnumbers) the whole formula (every line if that's 
relevant), and Alt-m, N numbers (or unnumbers) an individual line.


Do you mean you'd like to be able to set a default so this happens 
automatically?


rh



Re: Seeing invisible table grid lines in the GUI

2014-01-25 Thread Maria Gouskova
On Thu, Jan 23, 2014 at 2:56 PM, Stephan Witt  wrote:
> Am 23.01.2014 um 08:58 schrieb Stephan Witt :
>
>> Am 22.01.2014 um 22:46 schrieb Stephen Buonopane :
>>
>>>
>>> On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:
>>>
 On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova  wrote:
> On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak  
> wrote:
>> On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova  
>> wrote:
>>> Hi LyX users,
>>>
>>> I use LyX on several computers (all version 2.0.6) and cannot figure
>>> out which setting allows one to see invisible table grid lines. They
>>> helpfully show up as light gray lines on the Macs running 10.6.8, but
>>> not on the one running 10.8.5. Is this a setting somewhere in the GUI
>>> that I need to turn on?
>>>
>>> Maria
>>
>> Hi Maria,
>>
>> I've never heard of this particular issue but other Mac-related screen
>> issues have been solved by zooming. In Tools > Preferences > Look &
>> Feel > Screen Fonts, does increasing "Zoom" help?
>>
>> Best,
>>
>> Scott
>
> Hi Scott,
>
> No, it didn't make a difference. I increased it from 150% to 250%, no
> hint of grid lines.
>
> Am I imagining that showing/hiding table gridlines used to be a
> setting in the GUI somewhere?

 You could be right. I don't remember. You could see if there are any
 differences in your preferences between the two computers. But I'm
 guessing it's a Qt related issue.

 Scott
>>>
>>>
>>> Try this perhaps
>>> LyX->Preferences->Look & Feel->Colors->table on/off line (last entry in the 
>>> list)
>>>
>>> I am on LyX 2.0.6, OSX 10.7.5.
>>
>> Hi,
>>
>> I can reproduce the problem on OSX 10.8.6 here.
>> The preference setting mentioned above doesn't help.
>>
>> I tested the upcoming LyX 2.0.7 with Qt-4.8.5 and Cocoa API.
>>
>> I'm almost sure it's a LyX problem and not related with Qt.
>> With LyX 2.1.0 dev and the same Qt libraries the problem is gone.
>>
>> I'll investigate further.
>
> I recommend to file a bug on trac. Maria, do you want me to do it?
>
> The cause of the problem is not obvious and IMHO it's not caused by
> user action.
>
> Stephan


Hmm, yes, would you please? I just upgraded to LyX 2.0.7, and the
problem is still present on Mac OS 10.8.5--but not on Mac OS 10.6.8.
Something is up.

Maria


Re: Seeing invisible table grid lines in the GUI

2014-01-25 Thread Stephan Witt
Am 25.01.2014 um 20:51 schrieb Maria Gouskova :

> On Thu, Jan 23, 2014 at 2:56 PM, Stephan Witt  wrote:
>> Am 23.01.2014 um 08:58 schrieb Stephan Witt :
>> 
>>> Am 22.01.2014 um 22:46 schrieb Stephen Buonopane :
>>> 
 
 On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:
 
> On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova  
> wrote:
>> On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak  
>> wrote:
>>> On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova  
>>> wrote:
 Hi LyX users,
 
 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?
 
 Maria
>>> 
>>> Hi Maria,
>>> 
>>> I've never heard of this particular issue but other Mac-related screen
>>> issues have been solved by zooming. In Tools > Preferences > Look &
>>> Feel > Screen Fonts, does increasing "Zoom" help?
>>> 
>>> Best,
>>> 
>>> Scott
>> 
>> Hi Scott,
>> 
>> No, it didn't make a difference. I increased it from 150% to 250%, no
>> hint of grid lines.
>> 
>> Am I imagining that showing/hiding table gridlines used to be a
>> setting in the GUI somewhere?
> 
> You could be right. I don't remember. You could see if there are any
> differences in your preferences between the two computers. But I'm
> guessing it's a Qt related issue.
> 
> Scott
 
 
 Try this perhaps
 LyX->Preferences->Look & Feel->Colors->table on/off line (last entry in 
 the list)
 
 I am on LyX 2.0.6, OSX 10.7.5.
>>> 
>>> Hi,
>>> 
>>> I can reproduce the problem on OSX 10.8.6 here.
>>> The preference setting mentioned above doesn't help.
>>> 
>>> I tested the upcoming LyX 2.0.7 with Qt-4.8.5 and Cocoa API.
>>> 
>>> I'm almost sure it's a LyX problem and not related with Qt.
>>> With LyX 2.1.0 dev and the same Qt libraries the problem is gone.
>>> 
>>> I'll investigate further.
>> 
>> I recommend to file a bug on trac. Maria, do you want me to do it?
>> 
>> The cause of the problem is not obvious and IMHO it's not caused by
>> user action.
>> 
>> Stephan
> 
> 
> Hmm, yes, would you please? I just upgraded to LyX 2.0.7, and the
> problem is still present on Mac OS 10.8.5--but not on Mac OS 10.6.8.
> Something is up.

It's ticket 8943. I used your original mail as description.

http://www.lyx.org/trac/ticket/8943

Stephan

Re: graphics location

2014-01-25 Thread Andrew Parsloe



On 25/01/2014 7:13 a.m., Wolfgang Engelmann wrote:

Dear Lyx Users,

I have exported my lyx file as a lyx archive, which contains as a tar.gz
file the lyx file, the used bib file and the figures used. This is quite
handy, because only the used figures, bib are saved.

However, I have this problem:

The path to the figures should be ./Kalanchoe-closed.jpg

as an example and not e.g.:

\begin_inset Graphics

filename BluFloClockTar/AAAflowerclock20130909/Kalanchoe-closed.jpg

since I would like to move the lyx file to another folder or send it away.

There are many figures, therefore I would prefer NOT to select each
figure path anew.

What would you recommend?

Using the tex file and, in an editor, replace the path, to end up with
./figureFile? Or is there a way in Lyx? (Which would be handy)

Wolfgang



Hullo Wolfgang,

This is the kind of thing that can be done with the find-&-replace 
script of the pLyX scripting system (on the wiki under Examples/pLyX 
system) which allows you to work from within the LyX gui. In fact I was 
faced with a similar task a couple of weeks ago (and found a bug in the 
script which I've since corrected). The system takes a little setting up 
(two file formats and two converters to be defined, plus some files to 
be distributed around your personal LyX folders), and some practice to 
get a feel for how it works.


If you do go this way, then you would need to insert a .find-&-replace 
inset containing


-i -r

to specify a regular expression inset search, followed by two  .argument 
insets, the first (the find regular expression) containing


filename .+/([\w\d\-]+)\.jpg

and the second (the replace expression) containing

filename ./\1.jpg

Then click the View other formats button and select pLyX.

This assumes that all your graphics are .jpg format, and that the names 
of your images (like 'Kalanchoe-closed') are made up only from letters, 
digits, hyphens and underscores.


Andrew






---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com



french.ldf

2014-01-25 Thread Patrick Dupre
Hello,

I moved from fedora 18 to fedora20 and I get the following error:
dist/tex/generic/babel/babel.def
File: babel.def 2013/12/03 3.9h Babel common definitions
\babel@savecnt=\count90
\U@D=\dimen107
)
\l@british = a dialect from \language\l@english 
\l@UKenglish = a dialect from \language\l@english 
\l@canadian = a dialect from \language\l@american 
\l@australian = a dialect from \language\l@british 
\l@newzealand = a dialect from \language\l@british 
)

! Package babel Error: Unknown option `french'. Either you misspelled it
(babel)                or the language definition file french.ldf was not found
.


However, the file french.ldf is really available in
/usr/share/texlive/texmf-dist/tex/latex/frenchle/french.ldf
(texlive-frenchle)

In fedora 18 this file is not provided, only frenchb.ldf is available!

Is it a fedora20 or lyx issue?

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===