Table ok on output but too large in UI

2015-04-22 Thread Gilles Moyse
Hello.

I am a frequent Lyx user and first of all would like to thank the team for
this wonderful software!

It usually deals with tables very well, but I noticed that setting column
width may yield a correct PDF output but an incorrect display on screen in
the User Interface. More precisely, selecting a cell in the last column of
my table hides the first one and part of the second, making it difficult to
figure out my location in the table.

I saw that adding horizontal scroll bars in tables had been discussed at
some point (http://wiki.lyx.org/GSoC/HorizontalScrollbar), but I was
wondering about its progress.Moreover, I also looked at Local Layouts, but
could not figure out how to manually set the size of the columns in the
user interface.

Actually, what I would like to do is to set the column width on the user
interface on the one hand, and to keep on setting it for Latex through the
standard dialog box on the other, so that even though the display in the UI
is not exactly what it will be in the output doc (which is in fact already
the case as of today), the document is easily edited in the UI and
correctly generated. Do you think this is feasible easily with the current
Lyx version (I'm using 2.1.2 on Debian)?

Thanks in advance,

Regards,

Gilles


Set location of Source and Messages panes in Lyx UI

2015-05-05 Thread Gilles Moyse
Hi.

I have got a slight problem to set the location of the Source and Messages
panes in the Lyx UI (Debian, LyX Version 2.1.3). For some reason, my Lyx UI
has been reset, so the Source and Messages panes were not displayed. After
having them displayed again (View / Source Pane and View / Messages Pane),
I cannot find a way to display them side by side: they are either undocked
and hence on top of the main pane, or displayed as two tabs - I cannot have
them shown simultaneously side by side.

Am I missing something ?

Thanks,

Gilles


Re: Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-07 Thread Gilles Moyse
Jean-Marc Lasgouttes lasgouttes at lyx.org writes:

 
 Le 06/05/2015 23:36, Gilles Moyse a écrit :
  Hi.
 
  Following this post
  (http://article.gmane.org/gmane.editors.lyx.general/84619), I am looking
  for the location of the file where Lyx stores my user interface
  configuration under Windows 7.
 
  I tried to find it by opening Lyx, selecting a new toolbar to be
  displayed with View / Toolbar, closing Lyx and looking for the files
  just modified, but I could only find a file named session in my user
  directory (~\AppData\Roaming\LyX2.1\) containing cursor locations in
  recently opened files.
 
 This file also contains the toolbar information.
 
 JMarc
 
 


Thanks a lot, this is actually the file I was looking for. Unofrtunately, it
is not easy to edit manually. Since I am trying to restore the orginal
layout of the Source and Messages panes side by side, which I cannot restore
using the mouse, I am going to try to download the lyx. conf file from the
GitHub and overwrite mine.

Share modules from master to child documents

2015-05-08 Thread Gilles Moyse
I would like to know if there is a way to automatically include the modules
from the master into the child documents? For instance, I would like all
the child documents to use the Theorems module. Instead, of specifying it
in each child doc, I would like to specify once in the master. Is it
possible?

Thanks for your help!


Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Gilles Moyse
Hi.

Following this post (
http://article.gmane.org/gmane.editors.lyx.general/84619), I am looking for
the location of the file where Lyx stores my user interface configuration
under Windows 7.

I tried to find it by opening Lyx, selecting a new toolbar to be displayed
with View / Toolbar, closing Lyx and looking for the files just modified,
but I could only find a file named session in my user directory
(~\AppData\Roaming\LyX2.1\) containing cursor locations in recently opened
files.

Do you know where the file containing the user interface location is?

Thanks in advance,

Gilles


Compile child document with cross-references

2015-05-12 Thread Gilles Moyse
I am currently working on a thesis document made of one master and several
child documents, one for each chapter.

I am using the procedure described in
http://wiki.lyx.org/FAQ/Multidoc#multipart-bib to use a separate
bibliography when compiling only one chapter (i.e. only one child document).

Though it works for the bibliography, it does not for the chapter number
and the cross-references. The former appears as Chapter 1, and the latter
as question marks.

Is there a way to compile the child document only with the correct chapter
number and cross-references?

Thanks in advance!


Change the location of the #name.lyx# file

2015-05-13 Thread Gilles Moyse
Hello.

I noticed that #filename.lyx# files where created in the same directory
than filename.lyx. However, these files are not always created. Moreover, I
set the Backup directory and Temporary directory in Tools / Preferences
/ Path, but the ## files are still created.

Do you know how can I tell Lyx where to store them?

Thanks!


Lyx does not recompile after a change in a child document

2015-05-20 Thread Gilles Moyse
Dear all,

I am currently writing my thesis and have found a strange problem which
started occurring right now. I have a master document and several child
docs for each chapter. When I change something in one of them and hit
Update Master Document, the whole doc is recompiled and updated in the
viewer (Sumatra in this case).
But with one of the child document, nothing happens when I change something
and ask for recompilation.

I am unfortunately not able to provide a MWE since I cannot reproduce it
with a simpler doc. I was wondering if a similar issue was known?

Thanks in advance,

Gilles


Re: Lyx does not recompile after a change in a child document

2015-05-25 Thread Gilles Moyse
The bug is now filed with Id #9569.

Regards,

Gilles

___
Gilles Moyse
Mobile : +33 6 38 03 71 63

2015-05-23 1:10 GMT+02:00 Richard Heck rgh...@lyx.org:

  On 05/21/2015 01:52 AM, Gilles Moyse wrote:

  Dear Richard,

  thank you very much for your help! How can I keep the discussion on the
 list? I was thinking that posting with lyx-users@lists.lyx.org in the
 recipients field was enough?


 Hmm. Maybe my email program filed it wrong? Anyway, yes, that's enough.

   Regarding the update not working, maybe should I file a bug?


 Probably worth doing.

 Let me raise this issue on lyx-devel and see if anyone has any ideas.

 Richard




Table ok on output but too large in UI

2015-04-22 Thread Gilles Moyse
Hello.

I am a frequent Lyx user and first of all would like to thank the team for
this wonderful software!

It usually deals with tables very well, but I noticed that setting column
width may yield a correct PDF output but an incorrect display on screen in
the User Interface. More precisely, selecting a cell in the last column of
my table hides the first one and part of the second, making it difficult to
figure out my location in the table.

I saw that adding horizontal scroll bars in tables had been discussed at
some point (http://wiki.lyx.org/GSoC/HorizontalScrollbar), but I was
wondering about its progress.Moreover, I also looked at Local Layouts, but
could not figure out how to manually set the size of the columns in the
user interface.

Actually, what I would like to do is to set the column width on the user
interface on the one hand, and to keep on setting it for Latex through the
standard dialog box on the other, so that even though the display in the UI
is not exactly what it will be in the output doc (which is in fact already
the case as of today), the document is easily edited in the UI and
correctly generated. Do you think this is feasible easily with the current
Lyx version (I'm using 2.1.2 on Debian)?

Thanks in advance,

Regards,

Gilles


Set location of Source and Messages panes in Lyx UI

2015-05-05 Thread Gilles Moyse
Hi.

I have got a slight problem to set the location of the Source and Messages
panes in the Lyx UI (Debian, LyX Version 2.1.3). For some reason, my Lyx UI
has been reset, so the Source and Messages panes were not displayed. After
having them displayed again (View / Source Pane and View / Messages Pane),
I cannot find a way to display them side by side: they are either undocked
and hence on top of the main pane, or displayed as two tabs - I cannot have
them shown simultaneously side by side.

Am I missing something ?

Thanks,

Gilles


Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Gilles Moyse
Hi.

Following this post (
http://article.gmane.org/gmane.editors.lyx.general/84619), I am looking for
the location of the file where Lyx stores my user interface configuration
under Windows 7.

I tried to find it by opening Lyx, selecting a new toolbar to be displayed
with View / Toolbar, closing Lyx and looking for the files just modified,
but I could only find a file named session in my user directory
(~\AppData\Roaming\LyX2.1\) containing cursor locations in recently opened
files.

Do you know where the file containing the user interface location is?

Thanks in advance,

Gilles


Re: Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-07 Thread Gilles Moyse
Jean-Marc Lasgouttes lasgouttes at lyx.org writes:

 
 Le 06/05/2015 23:36, Gilles Moyse a écrit :
  Hi.
 
  Following this post
  (http://article.gmane.org/gmane.editors.lyx.general/84619), I am looking
  for the location of the file where Lyx stores my user interface
  configuration under Windows 7.
 
  I tried to find it by opening Lyx, selecting a new toolbar to be
  displayed with View / Toolbar, closing Lyx and looking for the files
  just modified, but I could only find a file named session in my user
  directory (~\AppData\Roaming\LyX2.1\) containing cursor locations in
  recently opened files.
 
 This file also contains the toolbar information.
 
 JMarc
 
 


Thanks a lot, this is actually the file I was looking for. Unofrtunately, it
is not easy to edit manually. Since I am trying to restore the orginal
layout of the Source and Messages panes side by side, which I cannot restore
using the mouse, I am going to try to download the lyx. conf file from the
GitHub and overwrite mine.

Share modules from master to child documents

2015-05-08 Thread Gilles Moyse
I would like to know if there is a way to automatically include the modules
from the master into the child documents? For instance, I would like all
the child documents to use the Theorems module. Instead, of specifying it
in each child doc, I would like to specify once in the master. Is it
possible?

Thanks for your help!


Compile child document with cross-references

2015-05-12 Thread Gilles Moyse
I am currently working on a thesis document made of one master and several
child documents, one for each chapter.

I am using the procedure described in
http://wiki.lyx.org/FAQ/Multidoc#multipart-bib to use a separate
bibliography when compiling only one chapter (i.e. only one child document).

Though it works for the bibliography, it does not for the chapter number
and the cross-references. The former appears as Chapter 1, and the latter
as question marks.

Is there a way to compile the child document only with the correct chapter
number and cross-references?

Thanks in advance!


Change the location of the #name.lyx# file

2015-05-13 Thread Gilles Moyse
Hello.

I noticed that #filename.lyx# files where created in the same directory
than filename.lyx. However, these files are not always created. Moreover, I
set the Backup directory and Temporary directory in Tools / Preferences
/ Path, but the ## files are still created.

Do you know how can I tell Lyx where to store them?

Thanks!


Lyx does not recompile after a change in a child document

2015-05-20 Thread Gilles Moyse
Dear all,

I am currently writing my thesis and have found a strange problem which
started occurring right now. I have a master document and several child
docs for each chapter. When I change something in one of them and hit
Update Master Document, the whole doc is recompiled and updated in the
viewer (Sumatra in this case).
But with one of the child document, nothing happens when I change something
and ask for recompilation.

I am unfortunately not able to provide a MWE since I cannot reproduce it
with a simpler doc. I was wondering if a similar issue was known?

Thanks in advance,

Gilles


Re: Lyx does not recompile after a change in a child document

2015-05-25 Thread Gilles Moyse
The bug is now filed with Id #9569.

Regards,

Gilles

___
Gilles Moyse
Mobile : +33 6 38 03 71 63

2015-05-23 1:10 GMT+02:00 Richard Heck rgh...@lyx.org:

  On 05/21/2015 01:52 AM, Gilles Moyse wrote:

  Dear Richard,

  thank you very much for your help! How can I keep the discussion on the
 list? I was thinking that posting with lyx-users@lists.lyx.org in the
 recipients field was enough?


 Hmm. Maybe my email program filed it wrong? Anyway, yes, that's enough.

   Regarding the update not working, maybe should I file a bug?


 Probably worth doing.

 Let me raise this issue on lyx-devel and see if anyone has any ideas.

 Richard




Re: Lyx doesn't compile but Export Tex then pdfLatex does

2015-07-15 Thread Gilles Moyse
Thank you Scott for your answer. Indeed, I forgot to remove the code from
the preamble, sorry for that. Moreover, since you told me that ERT and
relative paths could be the key, I removed the \includegraphicsand
replaced them include the graphics with its Lyx version through Insert /
Graphics, and it worked under Windows.

To conclude, relative paths in ERT work correctly with Linux, not with
Windows, which is somewhat related to the bug
http://www.lyx.org/trac/ticket/1751

Gilles


___
Gilles Moyse
Mobile : +33 6 38 03 71 63

On 14 July 2015 at 23:47, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Jul 14, 2015 at 11:11 AM, Gilles Moyse gilles.mo...@gmail.com
 wrote:
 
  Dear all,
 
  I ran into a strange problem today. A Beamer file I often use for my
  presentation does not compile any more on my Windows machine since Lyx
  (v2.1.3) says it cannot find the graphic files I use for the logo. Moving
  them to the .lyx file directory doe not fix the problem, but commenting
 the
  \logo instruction does.
 
  The strange thing is that the same file compiles correctly on my Linux
  machine with Lyx 2.1.3  at the lab.
 
  The even stranger thing is that using File / Export / Latex (pfdLatex)
 on my
  Windows machine and then running pdfLatex test.tex works correctly!
 
  It must be a silly mistake but I cannot find it. I attached the files
 needed
  to replay :
 
  Test.lyx file working correctly on my Linux machine, not on my Windows
 one
  Test.tex generated from .lyx on my Windows machine
  Test.pdf generated from .tex
  upmc.pdf and lip6.pdf are the 2 graphics file not found when compiling
 from
  Lyx on my Windows machine - they must be located relatively to the lyx
 file
  in a subdirectory called res

 Hi Giles,

 I did not try your example because it is far from a minimal example
 (see http://wiki.lyx.org/FAQ/MinimalExample). However, I see that you
 use ERT. In this case, you must give the full path to the files,
 because LyX does not know about them and thus won't copy them to the
 temporary directory.

 Does using the full path to all files work? If not, can you please
 create a minimal example as I reference above?

 Best,

 Scott



Restore original layout for Source and Progress panes

2015-07-17 Thread Gilles Moyse
Dear all,

I cannot find a way to restore the original side by side layout of the
Source and Progress panes in Lyx. If I mistakenly move one of those, I
cannot dock it back to its original position, I can only add it as a tab,
thus preventing to have both views at once.

In this thread
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg101059.html, I
learnt that the configuration file storing the panes' locations parameters
was the Registry in Windows and ~/.config/Lyx/lyx.conf in Linux.

Unfortunately, this data is not easily editable since it is stored in some
kind of hexadecimal format. Since what I'd like is restoring the original
panes' layout, do you know where can I find the original lyx.conf file so
as to restore their values in the appropriate fields (1\progress\geometry
and 1\view-source\geometry) ?

Thanks in advance,

Gilles


Re: Restore original layout for Source and Progress panes

2015-07-17 Thread Gilles Moyse
I tried that but it only undocks the pane. What I would like to do is
restore the original layout where the bottom of the screen is made of one
block containing the source pane on the left and the message pane on the
right.

Gilles

___
Gilles Moyse
Mobile : +33 6 38 03 71 63

On 18 July 2015 at 02:25, Liviu Andronic landronim...@gmail.com wrote:

 On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse gilles.mo...@gmail.com
 wrote:
  Dear all,
 
  I cannot find a way to restore the original side by side layout of the
  Source and Progress panes in Lyx. If I mistakenly move one of those, I
  cannot dock it back to its original position, I can only add it as a tab,
  thus preventing to have both views at once.
 
 Have you tried clicking on the button next to close that
 docks/undocks? Here it restores side by side positioning.

 Liviu


  In this thread, I learnt that the configuration file storing the panes'
  locations parameters was the Registry in Windows and
 ~/.config/Lyx/lyx.conf
  in Linux.
 
  Unfortunately, this data is not easily editable since it is stored in
 some
  kind of hexadecimal format. Since what I'd like is restoring the original
  panes' layout, do you know where can I find the original lyx.conf file
 so as
  to restore their values in the appropriate fields (1\progress\geometry
 and
  1\view-source\geometry) ?
 
  Thanks in advance,
 
  Gilles



 --
 Do you think you know what math is?
 http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
 Or what it means to be intelligent?
 http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
 Think again:
 http://www.ideasroadshow.com/library



Re: Restore original layout for Source and Progress panes

2015-07-18 Thread Gilles Moyse
It doesn't work in my case (Lyx 2.1.3), there is no such button when the
pane is undocked.

When I looked in my registry (I'm using the Windows version during the
week-end) I found the following values for what seems to me related to the
panes Progress and Source :

[HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\progress]
geometry=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,29,00
autoclear=true
statusbarmsgs=true

[HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\view-source]
geometry=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,29,00
autoupdate=true

Do you know where are the original values for the geometry fields in
order to restore the 2 panes in their original state?

Thanks in advance,

Gilles



___
Gilles Moyse
Mobile : +33 6 38 03 71 63

On 18 July 2015 at 08:22, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Jul 18, 2015 at 7:44 AM, Gilles Moyse gilles.mo...@gmail.com
 wrote:
  I tried that but it only undocks the pane. What I would like to do is
 
 Try it when pane is already undocked. Here it docks it back...
 Liviu


  restore the original layout where the bottom of the screen is made of one
  block containing the source pane on the left and the message pane on the
  right.
 
  Gilles
 
  ___
  Gilles Moyse
  Mobile : +33 6 38 03 71 63
 
  On 18 July 2015 at 02:25, Liviu Andronic landronim...@gmail.com wrote:
 
  On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse gilles.mo...@gmail.com
  wrote:
   Dear all,
  
   I cannot find a way to restore the original side by side layout of the
   Source and Progress panes in Lyx. If I mistakenly move one of those, I
   cannot dock it back to its original position, I can only add it as a
   tab,
   thus preventing to have both views at once.
  
  Have you tried clicking on the button next to close that
  docks/undocks? Here it restores side by side positioning.
 
  Liviu
 
 
   In this thread, I learnt that the configuration file storing the
 panes'
   locations parameters was the Registry in Windows and
   ~/.config/Lyx/lyx.conf
   in Linux.
  
   Unfortunately, this data is not easily editable since it is stored in
   some
   kind of hexadecimal format. Since what I'd like is restoring the
   original
   panes' layout, do you know where can I find the original lyx.conf file
   so as
   to restore their values in the appropriate fields (1\progress\geometry
   and
   1\view-source\geometry) ?
  
   Thanks in advance,
  
   Gilles
 
 
 
  --
  Do you think you know what math is?
  http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
  Or what it means to be intelligent?
  http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
  Think again:
  http://www.ideasroadshow.com/library
 
 



 --
 Do you think you know what math is?
 http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
 Or what it means to be intelligent?
 http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
 Think again:
 http://www.ideasroadshow.com/library



Re: Restore original layout for Source and Progress panes

2015-07-18 Thread Gilles Moyse
I found a quicker solution than reinstalling the whole software, by simply
deleting the registry entry layout under
HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0. I think deleting the line in
lyx.conf for Unix users should work as well.

The problem is that other layout configurations are lost as well, as the
visible toolbars and their locations. But at least it restores the original
layout for the Source and Message panes.

If someone is interested to automate it, here is the command to run on
Windows 7 :
Reg delete HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0 /v layout /f

Gilles

On 18 July 2015 at 10:29, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Jul 18, 2015 at 9:31 AM, Gilles Moyse gilles.mo...@gmail.com
 wrote:
  It doesn't work in my case (Lyx 2.1.3), there is no such button when the
  pane is undocked.
 
 If all else fails, and this is important, try starting with a fresh
 config to let LyX reinitialize the toolbars.

 Liviu


  When I looked in my registry (I'm using the Windows version during the
  week-end) I found the following values for what seems to me related to
 the
  panes Progress and Source :
 
  [HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\progress]
 
 geometry=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,29,00
  autoclear=true
  statusbarmsgs=true
 
  [HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\view-source]
 
 geometry=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,29,00
  autoupdate=true
 
  Do you know where are the original values for the geometry fields in
 order
  to restore the 2 panes in their original state?
 
  Thanks in advance,
 
  Gilles
 
 
  On 18 July 2015 at 08:22, Liviu Andronic landronim...@gmail.com wrote:
 
  On Sat, Jul 18, 2015 at 7:44 AM, Gilles Moyse gilles.mo...@gmail.com
  wrote:
   I tried that but it only undocks the pane. What I would like to do is
  
  Try it when pane is already undocked. Here it docks it back...
  Liviu
 
 
   restore the original layout where the bottom of the screen is made of
   one
   block containing the source pane on the left and the message pane on
 the
   right.
  
   Gilles

  On 18 July 2015 at 02:25, Liviu Andronic landronim...@gmail.com
 wrote:
  
   On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse 
 gilles.mo...@gmail.com
   wrote:
Dear all,
   
I cannot find a way to restore the original side by side layout of
the
Source and Progress panes in Lyx. If I mistakenly move one of
 those,
I
cannot dock it back to its original position, I can only add it as
 a
tab,
thus preventing to have both views at once.
   
   Have you tried clicking on the button next to close that
   docks/undocks? Here it restores side by side positioning.
  
   Liviu
  
  
In this thread, I learnt that the configuration file storing the
panes'
locations parameters was the Registry in Windows and
~/.config/Lyx/lyx.conf
in Linux.
   
Unfortunately, this data is not easily editable since it is stored
 in
some
kind of hexadecimal format. Since what I'd like is restoring the
original
panes' layout, do you know where can I find the original lyx.conf
file
so as
to restore their values in the appropriate fields
(1\progress\geometry
and
1\view-source\geometry) ?
   
Thanks in advance,
   
Gilles
  
  
  
   --
   Do you think you know what math is?
   http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
   Or what it means to be intelligent?
   http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
   Think again:
   http://www.ideasroadshow.com/library
  
  
 
 
 
  --
  Do you think you know what math is?
  http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
  Or what it means to be intelligent?
  http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
  Think again:
  http://www.ideasroadshow.com/library
 
 



 --
 Do you think you know what math is?
 http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
 Or what it means to be intelligent?
 http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
 Think again:
 http://www.ideasroadshow.com/library



Restore original layout for Source and Progress panes

2015-07-17 Thread Gilles Moyse
Dear all,

I cannot find a way to restore the original side by side layout of the
Source and Progress panes in Lyx. If I mistakenly move one of those, I
cannot dock it back to its original position, I can only add it as a tab,
thus preventing to have both views at once.

In this thread
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg101059.html, I
learnt that the configuration file storing the panes' locations parameters
was the Registry in Windows and ~/.config/Lyx/lyx.conf in Linux.

Unfortunately, this data is not easily editable since it is stored in some
kind of hexadecimal format. Since what I'd like is restoring the original
panes' layout, do you know where can I find the original lyx.conf file so
as to restore their values in the appropriate fields (1\progress\geometry
and 1\view-source\geometry) ?

Thanks in advance,

Gilles


Re: Restore original layout for Source and Progress panes

2015-07-17 Thread Gilles Moyse
I tried that but it only undocks the pane. What I would like to do is
restore the original layout where the bottom of the screen is made of one
block containing the source pane on the left and the message pane on the
right.

Gilles

___
Gilles Moyse
Mobile : +33 6 38 03 71 63

On 18 July 2015 at 02:25, Liviu Andronic landronim...@gmail.com wrote:

 On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse gilles.mo...@gmail.com
 wrote:
  Dear all,
 
  I cannot find a way to restore the original side by side layout of the
  Source and Progress panes in Lyx. If I mistakenly move one of those, I
  cannot dock it back to its original position, I can only add it as a tab,
  thus preventing to have both views at once.
 
 Have you tried clicking on the button next to close that
 docks/undocks? Here it restores side by side positioning.

 Liviu


  In this thread, I learnt that the configuration file storing the panes'
  locations parameters was the Registry in Windows and
 ~/.config/Lyx/lyx.conf
  in Linux.
 
  Unfortunately, this data is not easily editable since it is stored in
 some
  kind of hexadecimal format. Since what I'd like is restoring the original
  panes' layout, do you know where can I find the original lyx.conf file
 so as
  to restore their values in the appropriate fields (1\progress\geometry
 and
  1\view-source\geometry) ?
 
  Thanks in advance,
 
  Gilles



 --
 Do you think you know what math is?
 http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
 Or what it means to be intelligent?
 http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
 Think again:
 http://www.ideasroadshow.com/library



Re: Restore original layout for Source and Progress panes

2015-07-18 Thread Gilles Moyse
It doesn't work in my case (Lyx 2.1.3), there is no such button when the
pane is undocked.

When I looked in my registry (I'm using the Windows version during the
week-end) I found the following values for what seems to me related to the
panes Progress and Source :

[HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\progress]
geometry=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,29,00
autoclear=true
statusbarmsgs=true

[HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\view-source]
geometry=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,29,00
autoupdate=true

Do you know where are the original values for the geometry fields in
order to restore the 2 panes in their original state?

Thanks in advance,

Gilles



___
Gilles Moyse
Mobile : +33 6 38 03 71 63

On 18 July 2015 at 08:22, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Jul 18, 2015 at 7:44 AM, Gilles Moyse gilles.mo...@gmail.com
 wrote:
  I tried that but it only undocks the pane. What I would like to do is
 
 Try it when pane is already undocked. Here it docks it back...
 Liviu


  restore the original layout where the bottom of the screen is made of one
  block containing the source pane on the left and the message pane on the
  right.
 
  Gilles
 
  ___
  Gilles Moyse
  Mobile : +33 6 38 03 71 63
 
  On 18 July 2015 at 02:25, Liviu Andronic landronim...@gmail.com wrote:
 
  On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse gilles.mo...@gmail.com
  wrote:
   Dear all,
  
   I cannot find a way to restore the original side by side layout of the
   Source and Progress panes in Lyx. If I mistakenly move one of those, I
   cannot dock it back to its original position, I can only add it as a
   tab,
   thus preventing to have both views at once.
  
  Have you tried clicking on the button next to close that
  docks/undocks? Here it restores side by side positioning.
 
  Liviu
 
 
   In this thread, I learnt that the configuration file storing the
 panes'
   locations parameters was the Registry in Windows and
   ~/.config/Lyx/lyx.conf
   in Linux.
  
   Unfortunately, this data is not easily editable since it is stored in
   some
   kind of hexadecimal format. Since what I'd like is restoring the
   original
   panes' layout, do you know where can I find the original lyx.conf file
   so as
   to restore their values in the appropriate fields (1\progress\geometry
   and
   1\view-source\geometry) ?
  
   Thanks in advance,
  
   Gilles
 
 
 
  --
  Do you think you know what math is?
  http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
  Or what it means to be intelligent?
  http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
  Think again:
  http://www.ideasroadshow.com/library
 
 



 --
 Do you think you know what math is?
 http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
 Or what it means to be intelligent?
 http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
 Think again:
 http://www.ideasroadshow.com/library



Re: Restore original layout for Source and Progress panes

2015-07-18 Thread Gilles Moyse
I found a quicker solution than reinstalling the whole software, by simply
deleting the registry entry layout under
HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0. I think deleting the line in
lyx.conf for Unix users should work as well.

The problem is that other layout configurations are lost as well, as the
visible toolbars and their locations. But at least it restores the original
layout for the Source and Message panes.

If someone is interested to automate it, here is the command to run on
Windows 7 :
Reg delete HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0 /v layout /f

Gilles

On 18 July 2015 at 10:29, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Jul 18, 2015 at 9:31 AM, Gilles Moyse gilles.mo...@gmail.com
 wrote:
  It doesn't work in my case (Lyx 2.1.3), there is no such button when the
  pane is undocked.
 
 If all else fails, and this is important, try starting with a fresh
 config to let LyX reinitialize the toolbars.

 Liviu


  When I looked in my registry (I'm using the Windows version during the
  week-end) I found the following values for what seems to me related to
 the
  panes Progress and Source :
 
  [HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\progress]
 
 geometry=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,29,00
  autoclear=true
  statusbarmsgs=true
 
  [HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\view-source]
 
 geometry=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,29,00
  autoupdate=true
 
  Do you know where are the original values for the geometry fields in
 order
  to restore the 2 panes in their original state?
 
  Thanks in advance,
 
  Gilles
 
 
  On 18 July 2015 at 08:22, Liviu Andronic landronim...@gmail.com wrote:
 
  On Sat, Jul 18, 2015 at 7:44 AM, Gilles Moyse gilles.mo...@gmail.com
  wrote:
   I tried that but it only undocks the pane. What I would like to do is
  
  Try it when pane is already undocked. Here it docks it back...
  Liviu
 
 
   restore the original layout where the bottom of the screen is made of
   one
   block containing the source pane on the left and the message pane on
 the
   right.
  
   Gilles

  On 18 July 2015 at 02:25, Liviu Andronic landronim...@gmail.com
 wrote:
  
   On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse 
 gilles.mo...@gmail.com
   wrote:
Dear all,
   
I cannot find a way to restore the original side by side layout of
the
Source and Progress panes in Lyx. If I mistakenly move one of
 those,
I
cannot dock it back to its original position, I can only add it as
 a
tab,
thus preventing to have both views at once.
   
   Have you tried clicking on the button next to close that
   docks/undocks? Here it restores side by side positioning.
  
   Liviu
  
  
In this thread, I learnt that the configuration file storing the
panes'
locations parameters was the Registry in Windows and
~/.config/Lyx/lyx.conf
in Linux.
   
Unfortunately, this data is not easily editable since it is stored
 in
some
kind of hexadecimal format. Since what I'd like is restoring the
original
panes' layout, do you know where can I find the original lyx.conf
file
so as
to restore their values in the appropriate fields
(1\progress\geometry
and
1\view-source\geometry) ?
   
Thanks in advance,
   
Gilles
  
  
  
   --
   Do you think you know what math is?
   http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
   Or what it means to be intelligent?
   http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
   Think again:
   http://www.ideasroadshow.com/library
  
  
 
 
 
  --
  Do you think you know what math is?
  http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
  Or what it means to be intelligent?
  http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
  Think again:
  http://www.ideasroadshow.com/library
 
 



 --
 Do you think you know what math is?
 http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
 Or what it means to be intelligent?
 http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
 Think again:
 http://www.ideasroadshow.com/library



Re: Lyx doesn't compile but Export Tex then pdfLatex does

2015-07-15 Thread Gilles Moyse
Thank you Scott for your answer. Indeed, I forgot to remove the code from
the preamble, sorry for that. Moreover, since you told me that ERT and
relative paths could be the key, I removed the \includegraphicsand
replaced them include the graphics with its Lyx version through Insert /
Graphics, and it worked under Windows.

To conclude, relative paths in ERT work correctly with Linux, not with
Windows, which is somewhat related to the bug
http://www.lyx.org/trac/ticket/1751

Gilles


___
Gilles Moyse
Mobile : +33 6 38 03 71 63

On 14 July 2015 at 23:47, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Jul 14, 2015 at 11:11 AM, Gilles Moyse gilles.mo...@gmail.com
 wrote:
 
  Dear all,
 
  I ran into a strange problem today. A Beamer file I often use for my
  presentation does not compile any more on my Windows machine since Lyx
  (v2.1.3) says it cannot find the graphic files I use for the logo. Moving
  them to the .lyx file directory doe not fix the problem, but commenting
 the
  \logo instruction does.
 
  The strange thing is that the same file compiles correctly on my Linux
  machine with Lyx 2.1.3  at the lab.
 
  The even stranger thing is that using File / Export / Latex (pfdLatex)
 on my
  Windows machine and then running pdfLatex test.tex works correctly!
 
  It must be a silly mistake but I cannot find it. I attached the files
 needed
  to replay :
 
  Test.lyx file working correctly on my Linux machine, not on my Windows
 one
  Test.tex generated from .lyx on my Windows machine
  Test.pdf generated from .tex
  upmc.pdf and lip6.pdf are the 2 graphics file not found when compiling
 from
  Lyx on my Windows machine - they must be located relatively to the lyx
 file
  in a subdirectory called res

 Hi Giles,

 I did not try your example because it is far from a minimal example
 (see http://wiki.lyx.org/FAQ/MinimalExample). However, I see that you
 use ERT. In this case, you must give the full path to the files,
 because LyX does not know about them and thus won't copy them to the
 temporary directory.

 Does using the full path to all files work? If not, can you please
 create a minimal example as I reference above?

 Best,

 Scott



Table ok on output but too large in UI

2015-04-22 Thread Gilles Moyse
Hello.

I am a frequent Lyx user and first of all would like to thank the team for
this wonderful software!

It usually deals with tables very well, but I noticed that setting column
width may yield a correct PDF output but an incorrect display on screen in
the User Interface. More precisely, selecting a cell in the last column of
my table hides the first one and part of the second, making it difficult to
figure out my location in the table.

I saw that adding horizontal scroll bars in tables had been discussed at
some point (http://wiki.lyx.org/GSoC/HorizontalScrollbar), but I was
wondering about its progress.Moreover, I also looked at Local Layouts, but
could not figure out how to manually set the size of the columns in the
user interface.

Actually, what I would like to do is to set the column width on the user
interface on the one hand, and to keep on setting it for Latex through the
standard dialog box on the other, so that even though the display in the UI
is not exactly what it will be in the output doc (which is in fact already
the case as of today), the document is easily edited in the UI and
correctly generated. Do you think this is feasible easily with the current
Lyx version (I'm using 2.1.2 on Debian)?

Thanks in advance,

Regards,

Gilles


Set location of Source and Messages panes in Lyx UI

2015-05-05 Thread Gilles Moyse
Hi.

I have got a slight problem to set the location of the Source and Messages
panes in the Lyx UI (Debian, LyX Version 2.1.3). For some reason, my Lyx UI
has been reset, so the Source and Messages panes were not displayed. After
having them displayed again (View / Source Pane and View / Messages Pane),
I cannot find a way to display them side by side: they are either undocked
and hence on top of the main pane, or displayed as two tabs - I cannot have
them shown simultaneously side by side.

Am I missing something ?

Thanks,

Gilles


Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Gilles Moyse
Hi.

Following this post (
http://article.gmane.org/gmane.editors.lyx.general/84619), I am looking for
the location of the file where Lyx stores my user interface configuration
under Windows 7.

I tried to find it by opening Lyx, selecting a new toolbar to be displayed
with View / Toolbar, closing Lyx and looking for the files just modified,
but I could only find a file named "session" in my user directory
(~\AppData\Roaming\LyX2.1\) containing cursor locations in recently opened
files.

Do you know where the file containing the user interface location is?

Thanks in advance,

Gilles


Re: Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-07 Thread Gilles Moyse
Jean-Marc Lasgouttes  lyx.org> writes:

> 
> Le 06/05/2015 23:36, Gilles Moyse a écrit :
> > Hi.
> >
> > Following this post
> > (http://article.gmane.org/gmane.editors.lyx.general/84619), I am looking
> > for the location of the file where Lyx stores my user interface
> > configuration under Windows 7.
> >
> > I tried to find it by opening Lyx, selecting a new toolbar to be
> > displayed with View / Toolbar, closing Lyx and looking for the files
> > just modified, but I could only find a file named "session" in my user
> > directory (~\AppData\Roaming\LyX2.1\) containing cursor locations in
> > recently opened files.
> 
> This file also contains the toolbar information.
> 
> JMarc
> 
> 


Thanks a lot, this is actually the file I was looking for. Unofrtunately, it
is not easy to edit manually. Since I am trying to restore the orginal
layout of the Source and Messages panes side by side, which I cannot restore
using the mouse, I am going to try to download the lyx. conf file from the
GitHub and overwrite mine.

Share modules from master to child documents

2015-05-08 Thread Gilles Moyse
I would like to know if there is a way to automatically include the modules
from the master into the child documents? For instance, I would like all
the child documents to use the Theorems module. Instead, of specifying it
in each child doc, I would like to specify once in the master. Is it
possible?

Thanks for your help!


Compile child document with cross-references

2015-05-12 Thread Gilles Moyse
I am currently working on a thesis document made of one master and several
child documents, one for each chapter.

I am using the procedure described in
http://wiki.lyx.org/FAQ/Multidoc#multipart-bib to use a separate
bibliography when compiling only one chapter (i.e. only one child document).

Though it works for the bibliography, it does not for the chapter number
and the cross-references. The former appears as Chapter 1, and the latter
as question marks.

Is there a way to compile the child document only with the correct chapter
number and cross-references?

Thanks in advance!


Change the location of the #name.lyx# file

2015-05-13 Thread Gilles Moyse
Hello.

I noticed that #filename.lyx# files where created in the same directory
than filename.lyx. However, these files are not always created. Moreover, I
set the "Backup directory" and "Temporary directory" in Tools / Preferences
/ Path, but the ## files are still created.

Do you know how can I tell Lyx where to store them?

Thanks!


Lyx does not recompile after a change in a child document

2015-05-20 Thread Gilles Moyse
Dear all,

I am currently writing my thesis and have found a strange problem which
started occurring right now. I have a master document and several child
docs for each chapter. When I change something in one of them and hit
"Update Master Document", the whole doc is recompiled and updated in the
viewer (Sumatra in this case).
But with one of the child document, nothing happens when I change something
and ask for recompilation.

I am unfortunately not able to provide a MWE since I cannot reproduce it
with a simpler doc. I was wondering if a similar issue was known?

Thanks in advance,

Gilles


Re: Lyx does not recompile after a change in a child document

2015-05-25 Thread Gilles Moyse
The bug is now filed with Id #9569.

Regards,

Gilles

___
Gilles Moyse
Mobile : +33 6 38 03 71 63

2015-05-23 1:10 GMT+02:00 Richard Heck <rgh...@lyx.org>:

>  On 05/21/2015 01:52 AM, Gilles Moyse wrote:
>
>  Dear Richard,
>
>  thank you very much for your help! How can I keep the discussion on the
> list? I was thinking that posting with "lyx-users@lists.lyx.org" in the
> recipients field was enough?
>
>
> Hmm. Maybe my email program filed it wrong? Anyway, yes, that's enough.
>
>   Regarding the update not working, maybe should I file a bug?
>
>
> Probably worth doing.
>
> Let me raise this issue on lyx-devel and see if anyone has any ideas.
>
> Richard
>
>


Re: Lyx doesn't compile but Export Tex then pdfLatex does

2015-07-15 Thread Gilles Moyse
Thank you Scott for your answer. Indeed, I forgot to remove the code from
the preamble, sorry for that. Moreover, since you told me that ERT and
relative paths could be the key, I removed the "\includegraphics"and
replaced them include the graphics with its Lyx version through Insert /
Graphics, and it worked under Windows.

To conclude, relative paths in ERT work correctly with Linux, not with
Windows, which is somewhat related to the bug
http://www.lyx.org/trac/ticket/1751

Gilles


_______
Gilles Moyse
Mobile : +33 6 38 03 71 63

On 14 July 2015 at 23:47, Scott Kostyshak <skost...@lyx.org> wrote:

> On Tue, Jul 14, 2015 at 11:11 AM, Gilles Moyse <gilles.mo...@gmail.com>
> wrote:
> >
> > Dear all,
> >
> > I ran into a strange problem today. A Beamer file I often use for my
> > presentation does not compile any more on my Windows machine since Lyx
> > (v2.1.3) says it cannot find the graphic files I use for the logo. Moving
> > them to the .lyx file directory doe not fix the problem, but commenting
> the
> > \logo instruction does.
> >
> > The strange thing is that the same file compiles correctly on my Linux
> > machine with Lyx 2.1.3  at the lab.
> >
> > The even stranger thing is that using File / Export / Latex (pfdLatex)
> on my
> > Windows machine and then running "pdfLatex test.tex" works correctly!
> >
> > It must be a silly mistake but I cannot find it. I attached the files
> needed
> > to replay :
> >
> > Test.lyx file working correctly on my Linux machine, not on my Windows
> one
> > Test.tex generated from .lyx on my Windows machine
> > Test.pdf generated from .tex
> > upmc.pdf and lip6.pdf are the 2 graphics file not found when compiling
> from
> > Lyx on my Windows machine - they must be located relatively to the lyx
> file
> > in a subdirectory called "res"
>
> Hi Giles,
>
> I did not try your example because it is far from a minimal example
> (see http://wiki.lyx.org/FAQ/MinimalExample). However, I see that you
> use ERT. In this case, you must give the full path to the files,
> because LyX does not know about them and thus won't copy them to the
> temporary directory.
>
> Does using the full path to all files work? If not, can you please
> create a minimal example as I reference above?
>
> Best,
>
> Scott
>


Restore original layout for Source and Progress panes

2015-07-17 Thread Gilles Moyse
Dear all,

I cannot find a way to restore the original side by side layout of the
Source and Progress panes in Lyx. If I mistakenly move one of those, I
cannot dock it back to its original position, I can only add it as a tab,
thus preventing to have both views at once.

In this thread
, I
learnt that the configuration file storing the panes' locations parameters
was the Registry in Windows and ~/.config/Lyx/lyx.conf in Linux.

Unfortunately, this data is not easily editable since it is stored in some
kind of hexadecimal format. Since what I'd like is restoring the original
panes' layout, do you know where can I find the original lyx.conf file so
as to restore their values in the appropriate fields (1\progress\geometry
and 1\view-source\geometry) ?

Thanks in advance,

Gilles


Re: Restore original layout for Source and Progress panes

2015-07-17 Thread Gilles Moyse
I tried that but it only undocks the pane. What I would like to do is
restore the original layout where the bottom of the screen is made of one
block containing the source pane on the left and the message pane on the
right.

Gilles

___
Gilles Moyse
Mobile : +33 6 38 03 71 63

On 18 July 2015 at 02:25, Liviu Andronic <landronim...@gmail.com> wrote:

> On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse <gilles.mo...@gmail.com>
> wrote:
> > Dear all,
> >
> > I cannot find a way to restore the original side by side layout of the
> > Source and Progress panes in Lyx. If I mistakenly move one of those, I
> > cannot dock it back to its original position, I can only add it as a tab,
> > thus preventing to have both views at once.
> >
> Have you tried clicking on the button next to close that
> docks/undocks? Here it restores side by side positioning.
>
> Liviu
>
>
> > In this thread, I learnt that the configuration file storing the panes'
> > locations parameters was the Registry in Windows and
> ~/.config/Lyx/lyx.conf
> > in Linux.
> >
> > Unfortunately, this data is not easily editable since it is stored in
> some
> > kind of hexadecimal format. Since what I'd like is restoring the original
> > panes' layout, do you know where can I find the original lyx.conf file
> so as
> > to restore their values in the appropriate fields (1\progress\geometry
> and
> > 1\view-source\geometry) ?
> >
> > Thanks in advance,
> >
> > Gilles
>
>
>
> --
> Do you think you know what math is?
> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
> Or what it means to be intelligent?
> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
> Think again:
> http://www.ideasroadshow.com/library
>


Re: Restore original layout for Source and Progress panes

2015-07-18 Thread Gilles Moyse
It doesn't work in my case (Lyx 2.1.3), there is no such button when the
pane is undocked.

When I looked in my registry (I'm using the Windows version during the
week-end) I found the following values for what seems to me related to the
panes Progress and Source :

[HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\progress]
"geometry"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,29,00
"autoclear"="true"
"statusbarmsgs"="true"

[HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\view-source]
"geometry"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,29,00
"autoupdate"="true"

Do you know where are the original values for the "geometry" fields in
order to restore the 2 panes in their original state?

Thanks in advance,

Gilles



___
Gilles Moyse
Mobile : +33 6 38 03 71 63

On 18 July 2015 at 08:22, Liviu Andronic <landronim...@gmail.com> wrote:

> On Sat, Jul 18, 2015 at 7:44 AM, Gilles Moyse <gilles.mo...@gmail.com>
> wrote:
> > I tried that but it only undocks the pane. What I would like to do is
> >
> Try it when pane is already undocked. Here it docks it back...
> Liviu
>
>
> > restore the original layout where the bottom of the screen is made of one
> > block containing the source pane on the left and the message pane on the
> > right.
> >
> > Gilles
> >
> > ___
> > Gilles Moyse
> > Mobile : +33 6 38 03 71 63
> >
> > On 18 July 2015 at 02:25, Liviu Andronic <landronim...@gmail.com> wrote:
> >>
> >> On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse <gilles.mo...@gmail.com>
> >> wrote:
> >> > Dear all,
> >> >
> >> > I cannot find a way to restore the original side by side layout of the
> >> > Source and Progress panes in Lyx. If I mistakenly move one of those, I
> >> > cannot dock it back to its original position, I can only add it as a
> >> > tab,
> >> > thus preventing to have both views at once.
> >> >
> >> Have you tried clicking on the button next to close that
> >> docks/undocks? Here it restores side by side positioning.
> >>
> >> Liviu
> >>
> >>
> >> > In this thread, I learnt that the configuration file storing the
> panes'
> >> > locations parameters was the Registry in Windows and
> >> > ~/.config/Lyx/lyx.conf
> >> > in Linux.
> >> >
> >> > Unfortunately, this data is not easily editable since it is stored in
> >> > some
> >> > kind of hexadecimal format. Since what I'd like is restoring the
> >> > original
> >> > panes' layout, do you know where can I find the original lyx.conf file
> >> > so as
> >> > to restore their values in the appropriate fields (1\progress\geometry
> >> > and
> >> > 1\view-source\geometry) ?
> >> >
> >> > Thanks in advance,
> >> >
> >> > Gilles
> >>
> >>
> >>
> >> --
> >> Do you think you know what math is?
> >> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
> >> Or what it means to be intelligent?
> >> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
> >> Think again:
> >> http://www.ideasroadshow.com/library
> >
> >
>
>
>
> --
> Do you think you know what math is?
> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
> Or what it means to be intelligent?
> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
> Think again:
> http://www.ideasroadshow.com/library
>


Re: Restore original layout for Source and Progress panes

2015-07-18 Thread Gilles Moyse
I found a quicker solution than reinstalling the whole software, by simply
deleting the registry entry "layout" under
HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0. I think deleting the line in
lyx.conf for Unix users should work as well.

The problem is that other layout configurations are lost as well, as the
visible toolbars and their locations. But at least it restores the original
layout for the Source and Message panes.

If someone is interested to automate it, here is the command to run on
Windows 7 :
Reg delete HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0 /v layout /f

Gilles

On 18 July 2015 at 10:29, Liviu Andronic <landronim...@gmail.com> wrote:

> On Sat, Jul 18, 2015 at 9:31 AM, Gilles Moyse <gilles.mo...@gmail.com>
> wrote:
> > It doesn't work in my case (Lyx 2.1.3), there is no such button when the
> > pane is undocked.
> >
> If all else fails, and this is important, try starting with a fresh
> config to let LyX reinitialize the toolbars.
>
> Liviu
>
>
> > When I looked in my registry (I'm using the Windows version during the
> > week-end) I found the following values for what seems to me related to
> the
> > panes Progress and Source :
> >
> > [HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\progress]
> >
> "geometry"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,29,00
> > "autoclear"="true"
> > "statusbarmsgs"="true"
> >
> > [HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\view-source]
> >
> "geometry"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,29,00
> > "autoupdate"="true"
> >
> > Do you know where are the original values for the "geometry" fields in
> order
> > to restore the 2 panes in their original state?
> >
> > Thanks in advance,
> >
> > Gilles
> >
> >
> > On 18 July 2015 at 08:22, Liviu Andronic <landronim...@gmail.com> wrote:
> >>
> >> On Sat, Jul 18, 2015 at 7:44 AM, Gilles Moyse <gilles.mo...@gmail.com>
> >> wrote:
> >> > I tried that but it only undocks the pane. What I would like to do is
> >> >
> >> Try it when pane is already undocked. Here it docks it back...
> >> Liviu
> >>
> >>
> >> > restore the original layout where the bottom of the screen is made of
> >> > one
> >> > block containing the source pane on the left and the message pane on
> the
> >> > right.
> >> >
> >> > Gilles
>
>> > On 18 July 2015 at 02:25, Liviu Andronic <landronim...@gmail.com>
> wrote:
> >> >>
> >> >> On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse <
> gilles.mo...@gmail.com>
> >> >> wrote:
> >> >> > Dear all,
> >> >> >
> >> >> > I cannot find a way to restore the original side by side layout of
> >> >> > the
> >> >> > Source and Progress panes in Lyx. If I mistakenly move one of
> those,
> >> >> > I
> >> >> > cannot dock it back to its original position, I can only add it as
> a
> >> >> > tab,
> >> >> > thus preventing to have both views at once.
> >> >> >
> >> >> Have you tried clicking on the button next to close that
> >> >> docks/undocks? Here it restores side by side positioning.
> >> >>
> >> >> Liviu
> >> >>
> >> >>
> >> >> > In this thread, I learnt that the configuration file storing the
> >> >> > panes'
> >> >> > locations parameters was the Registry in Windows and
> >> >> > ~/.config/Lyx/lyx.conf
> >> >> > in Linux.
> >> >> >
> >> >> > Unfortunately, this data is not easily editable since it is stored
> in
> >> >> > some
> >> >> > kind of hexadecimal format. Since what I'd like is restoring the
> >> >> >