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

2015-05-07 Thread Jean-Marc Lasgouttes

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



Re: Strategies for locating errors

2015-05-07 Thread Georg Baum
Will Furnass wrote:

 On 5 May 2015 at 21:38, Georg Baum georg.b...@post.rwth-aachen.de wrote:
 

 If you select the error item in the error dialog then the corresponding
 LyX contents should should be selected in the main area as well. This is
 not always 100% correct, but usually the error cause is nearby. Does this
 not work in your case?

 
 Ah, I hadn't noticed that before!  That works perfectly if the error is in
 the master document but not if the error is in a child document (of which
 I have quite a few).
 
 If would be great if LyX would switch to/open the child document
 containing the likely location of the error and move the cursor to that
 location.

I agree. Please file an enhancement request at 
http://www.lyx.org/trac/wiki/BugTrackerHome. It should not be too difficult 
to implement, since LyX has all information which is needed (which file and 
which line number). I guess it was simply forgotten.


Georg



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.

Compiling main text and supplement as separate PDFs

2015-05-07 Thread Bert Lloyd
Dear lyx-users,

I am writing a paper that consists of a primary text and a separate
supplement (e.g. a web appendix or supplementary online materials).
Because there are many cross-references between the two documents
(e.g. For details, see section S2 of the Supplement., Here, we
provide additional detail for the analysis presented in section 3 of
the main text), I have set up both as child documents of a common
master document, i.e.:

master.lyx
main.lyx
supplement.lyx

This has a number of nice features, especially: the cross-references
are available in the lyx pull-down menu, the cross-reference fields
present nicely on-screen.

The issue I'm having occurs when I try to compile the document.

If I compile the full document using master-lyx, the cross-references
compile nicely but a single PDF is produced. I can split this manually
in Acrobat or pdftk but this has some drawbacks, especially (a) both
PDFs contain the bookmarks for both the main text and the supplement,
so these have to be cleaned up manually; (b) hyperlinked
cross-references pointing to the other document now point to somewhere
that no longer exists.

If I compile the child documents separately, I do get separate PDFs
but the cross-references no longer work.

Ideally, I would be able to produce (i) two separate PDFs with (ii)
hyperlinked internal cross-references and (iii) non-hyperlinked
references to the other document (i.e. as produced by \ref*{label}
rather than \ref{label}). I would settle for (i) two separate PDFs
with (iv) no hyperlinked references.

I have experimented a bit with Inserting supplement.lyx into main.lyx
inside a LyX Note, but this was not entirely successful. The
references presented correctly onscreen in LyX (i.e. no BROKEN:) but
did not compile (??).

Any suggestions would be welcome.

Best,

Bert


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

2015-05-07 Thread Jean-Marc Lasgouttes

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



Compiling main text and supplement as separate PDFs

2015-05-07 Thread Bert Lloyd
Dear lyx-users,

I am writing a paper that consists of a primary text and a separate
supplement (e.g. a web appendix or supplementary online materials).
Because there are many cross-references between the two documents
(e.g. For details, see section S2 of the Supplement., Here, we
provide additional detail for the analysis presented in section 3 of
the main text), I have set up both as child documents of a common
master document, i.e.:

master.lyx
main.lyx
supplement.lyx

This has a number of nice features, especially: the cross-references
are available in the lyx pull-down menu, the cross-reference fields
present nicely on-screen.

The issue I'm having occurs when I try to compile the document.

If I compile the full document using master-lyx, the cross-references
compile nicely but a single PDF is produced. I can split this manually
in Acrobat or pdftk but this has some drawbacks, especially (a) both
PDFs contain the bookmarks for both the main text and the supplement,
so these have to be cleaned up manually; (b) hyperlinked
cross-references pointing to the other document now point to somewhere
that no longer exists.

If I compile the child documents separately, I do get separate PDFs
but the cross-references no longer work.

Ideally, I would be able to produce (i) two separate PDFs with (ii)
hyperlinked internal cross-references and (iii) non-hyperlinked
references to the other document (i.e. as produced by \ref*{label}
rather than \ref{label}). I would settle for (i) two separate PDFs
with (iv) no hyperlinked references.

I have experimented a bit with Inserting supplement.lyx into main.lyx
inside a LyX Note, but this was not entirely successful. The
references presented correctly onscreen in LyX (i.e. no BROKEN:) but
did not compile (??).

Any suggestions would be welcome.

Best,

Bert


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.

Re: Strategies for locating errors

2015-05-07 Thread Georg Baum
Will Furnass wrote:

 On 5 May 2015 at 21:38, Georg Baum georg.b...@post.rwth-aachen.de wrote:
 

 If you select the error item in the error dialog then the corresponding
 LyX contents should should be selected in the main area as well. This is
 not always 100% correct, but usually the error cause is nearby. Does this
 not work in your case?

 
 Ah, I hadn't noticed that before!  That works perfectly if the error is in
 the master document but not if the error is in a child document (of which
 I have quite a few).
 
 If would be great if LyX would switch to/open the child document
 containing the likely location of the error and move the cursor to that
 location.

I agree. Please file an enhancement request at 
http://www.lyx.org/trac/wiki/BugTrackerHome. It should not be too difficult 
to implement, since LyX has all information which is needed (which file and 
which line number). I guess it was simply forgotten.


Georg



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

2015-05-07 Thread Jean-Marc Lasgouttes

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



Compiling main text and supplement as separate PDFs

2015-05-07 Thread Bert Lloyd
Dear lyx-users,

I am writing a paper that consists of a primary text and a separate
supplement (e.g. a web appendix or supplementary online materials).
Because there are many cross-references between the two documents
(e.g. "For details, see section S2 of the Supplement.", "Here, we
provide additional detail for the analysis presented in section 3 of
the main text"), I have set up both as child documents of a common
master document, i.e.:

master.lyx
main.lyx
supplement.lyx

This has a number of nice features, especially: the cross-references
are available in the lyx pull-down menu, the cross-reference fields
present nicely on-screen.

The issue I'm having occurs when I try to compile the document.

If I compile the full document using master-lyx, the cross-references
compile nicely but a single PDF is produced. I can split this manually
in Acrobat or pdftk but this has some drawbacks, especially (a) both
PDFs contain the bookmarks for both the main text and the supplement,
so these have to be cleaned up manually; (b) hyperlinked
cross-references pointing to the other document now point to somewhere
that no longer exists.

If I compile the child documents separately, I do get separate PDFs
but the cross-references no longer work.

Ideally, I would be able to produce (i) two separate PDFs with (ii)
hyperlinked internal cross-references and (iii) non-hyperlinked
references to the other document (i.e. as produced by \ref*{label}
rather than \ref{label}). I would settle for (i) two separate PDFs
with (iv) no hyperlinked references.

I have experimented a bit with Inserting supplement.lyx into main.lyx
inside a LyX Note, but this was not entirely successful. The
references presented correctly onscreen in LyX (i.e. no "BROKEN:") but
did not compile ("??").

Any suggestions would be welcome.

Best,

Bert


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.

Re: Strategies for locating errors

2015-05-07 Thread Georg Baum
Will Furnass wrote:

> On 5 May 2015 at 21:38, Georg Baum  wrote:
> 
>>
>> If you select the error item in the error dialog then the corresponding
>> LyX contents should should be selected in the main area as well. This is
>> not always 100% correct, but usually the error cause is nearby. Does this
>> not work in your case?
>>
> 
> Ah, I hadn't noticed that before!  That works perfectly if the error is in
> the master document but not if the error is in a child document (of which
> I have quite a few).
> 
> If would be great if LyX would switch to/open the child document
> containing the likely location of the error and move the cursor to that
> location.

I agree. Please file an enhancement request at 
http://www.lyx.org/trac/wiki/BugTrackerHome. It should not be too difficult 
to implement, since LyX has all information which is needed (which file and 
which line number). I guess it was simply forgotten.


Georg