Re: Detect if document is part of a master file

2013-09-07 Thread Jürgen Spitzmüller
Marx Gomes van der Linden wrote: My question is: is there any way to include the references at the end of each chapter when they are compiled as stand-alone documents, but to omit them automatically if they are part of the master document (which will have a single bibliography at the end of

Re: LyX installation packages, possibly OT

2013-09-07 Thread Stephan Witt
Am 07.09.2013 um 03:19 schrieb Ken Springer snowsh...@q.com: Having resolved my issue with the LyX installation on my Mac, I also have installed it under Windows 7. Also appears to work fine. This has left me wondering about installation packages for different OS's. Why is it, that if

Re: LyX installation packages, possibly OT

2013-09-07 Thread Ken Springer
On 9/7/13 3:33 AM, Stephan Witt wrote: Am 07.09.2013 um 03:19 schrieb Ken Springer snowsh...@q.com: Having resolved my issue with the LyX installation on my Mac, I also have installed it under Windows 7. Also appears to work fine. This has left me wondering about installation packages for

Re: Detect if document is part of a master file

2013-09-07 Thread Richard Heck
On 09/07/2013 04:52 AM, Jürgen Spitzmüller wrote: Marx Gomes van der Linden wrote: My question is: is there any way to include the references at the end of each chapter when they are compiled as stand-alone documents, but to omit them automatically if they are part of the master document (which

Re: Turning-off a command from a layout file?

2013-09-07 Thread Paul Rubin
I'm out of ideas that would avoid editing the module. Personally, I would copy the module and .inc files to my local layout directory, give them different names, and edit out the Problem style. That way, both the original and hacked modules would appear in the module list, and I could use the

Re: Turning-off a command from a layout file?

2013-09-07 Thread Guenter Milde
On 2013-09-07, Paul Rubin wrote: I'm out of ideas that would avoid editing the module. Personally, I would copy the module and .inc files to my local layout directory, give them different names, and edit out the Problem style. That way, both the original and hacked modules would appear in the

Re: Turning-off a command from a layout file?

2013-09-07 Thread Paul A . Rubin
By the way, did you put the NoStyle directive before or after the point where you load the theorem module? I was thinking after, but it would not hurt to try both. Paul

Re: Detect if document is part of a master file

2013-09-07 Thread Marx Gomes van der Linden
Thanks, both solutions worked for me, exactly as I needed. I didn't know anything about branches in lyx, looks really useful. For the ERT approach, I had to look up the syntax for \ifx to make it work, this is what did the trick: [ERT] \ifx\iamthemaster\undefined [/ERT] ...put

Move cursor to next subsection/section/chapter ?

2013-09-07 Thread Scott Kostyshak
Are there LFUNs that deal with moving the cursor to the next subsection/section/chapter? There are LFUNs for moving groups (LFUN_OUTLINE_DOWN, LFUN_PARAGRAPH_MOVE_DOWN) and selecting groups (LFUN_SECTION_SELECT) but I would often like to navigate among them without opening the outline and

Re: Reverse search with xdvi

2013-09-07 Thread Pavel Sanda
Fabio S. wrote: direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx

Separate Graphics.

2013-09-07 Thread Gordon Cooper
This requirement should be simple, but the method escapes me. I wish to include several pages of photos, with captions into a text document. They will be in two or three blocks, separate from the text but using the same page numbering sequence. Have ploughed through the User Manual seeking

Re: Separate Graphics.

2013-09-07 Thread Liviu Andronic
On Sun, Sep 8, 2013 at 6:27 AM, Gordon Cooper hughgord...@gmail.com wrote: This requirement should be simple, but the method escapes me. I wish to include several pages of photos, with captions into a text document. They will be in two or three blocks, separate from the text but using the

Re: Detect if document is part of a master file

2013-09-07 Thread Jürgen Spitzmüller
Marx Gomes van der Linden wrote: My question is: is there any way to include the references at the end of each chapter when they are compiled as stand-alone documents, but to omit them automatically if they are part of the master document (which will have a single bibliography at the end of

Re: LyX installation packages, possibly OT

2013-09-07 Thread Stephan Witt
Am 07.09.2013 um 03:19 schrieb Ken Springer snowsh...@q.com: Having resolved my issue with the LyX installation on my Mac, I also have installed it under Windows 7. Also appears to work fine. This has left me wondering about installation packages for different OS's. Why is it, that if

Re: LyX installation packages, possibly OT

2013-09-07 Thread Ken Springer
On 9/7/13 3:33 AM, Stephan Witt wrote: Am 07.09.2013 um 03:19 schrieb Ken Springer snowsh...@q.com: Having resolved my issue with the LyX installation on my Mac, I also have installed it under Windows 7. Also appears to work fine. This has left me wondering about installation packages for

Re: Detect if document is part of a master file

2013-09-07 Thread Richard Heck
On 09/07/2013 04:52 AM, Jürgen Spitzmüller wrote: Marx Gomes van der Linden wrote: My question is: is there any way to include the references at the end of each chapter when they are compiled as stand-alone documents, but to omit them automatically if they are part of the master document (which

Re: Turning-off a command from a layout file?

2013-09-07 Thread Paul Rubin
I'm out of ideas that would avoid editing the module. Personally, I would copy the module and .inc files to my local layout directory, give them different names, and edit out the Problem style. That way, both the original and hacked modules would appear in the module list, and I could use the

Re: Turning-off a command from a layout file?

2013-09-07 Thread Guenter Milde
On 2013-09-07, Paul Rubin wrote: I'm out of ideas that would avoid editing the module. Personally, I would copy the module and .inc files to my local layout directory, give them different names, and edit out the Problem style. That way, both the original and hacked modules would appear in the

Re: Turning-off a command from a layout file?

2013-09-07 Thread Paul A . Rubin
By the way, did you put the NoStyle directive before or after the point where you load the theorem module? I was thinking after, but it would not hurt to try both. Paul

Re: Detect if document is part of a master file

2013-09-07 Thread Marx Gomes van der Linden
Thanks, both solutions worked for me, exactly as I needed. I didn't know anything about branches in lyx, looks really useful. For the ERT approach, I had to look up the syntax for \ifx to make it work, this is what did the trick: [ERT] \ifx\iamthemaster\undefined [/ERT] ...put

Move cursor to next subsection/section/chapter ?

2013-09-07 Thread Scott Kostyshak
Are there LFUNs that deal with moving the cursor to the next subsection/section/chapter? There are LFUNs for moving groups (LFUN_OUTLINE_DOWN, LFUN_PARAGRAPH_MOVE_DOWN) and selecting groups (LFUN_SECTION_SELECT) but I would often like to navigate among them without opening the outline and

Re: Reverse search with xdvi

2013-09-07 Thread Pavel Sanda
Fabio S. wrote: direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx

Separate Graphics.

2013-09-07 Thread Gordon Cooper
This requirement should be simple, but the method escapes me. I wish to include several pages of photos, with captions into a text document. They will be in two or three blocks, separate from the text but using the same page numbering sequence. Have ploughed through the User Manual seeking

Re: Separate Graphics.

2013-09-07 Thread Liviu Andronic
On Sun, Sep 8, 2013 at 6:27 AM, Gordon Cooper hughgord...@gmail.com wrote: This requirement should be simple, but the method escapes me. I wish to include several pages of photos, with captions into a text document. They will be in two or three blocks, separate from the text but using the

Re: Detect if document is part of a master file

2013-09-07 Thread Jürgen Spitzmüller
Marx Gomes van der Linden wrote: > My question is: is there any way to include the references at the end > of each chapter when they are compiled as stand-alone documents, but > to omit them automatically if they are part of the master document > (which will have a single bibliography at the end

Re: LyX installation packages, possibly OT

2013-09-07 Thread Stephan Witt
Am 07.09.2013 um 03:19 schrieb Ken Springer : > Having resolved my issue with the LyX installation on my Mac, I also have > installed it under Windows 7. Also appears to work fine. > > This has left me wondering about installation packages for different OS's. > > Why is it,

Re: LyX installation packages, possibly OT

2013-09-07 Thread Ken Springer
On 9/7/13 3:33 AM, Stephan Witt wrote: Am 07.09.2013 um 03:19 schrieb Ken Springer : Having resolved my issue with the LyX installation on my Mac, I also have installed it under Windows 7. Also appears to work fine. This has left me wondering about installation packages for

Re: Detect if document is part of a master file

2013-09-07 Thread Richard Heck
On 09/07/2013 04:52 AM, Jürgen Spitzmüller wrote: Marx Gomes van der Linden wrote: My question is: is there any way to include the references at the end of each chapter when they are compiled as stand-alone documents, but to omit them automatically if they are part of the master document (which

Re: Turning-off a command from a layout file?

2013-09-07 Thread Paul Rubin
I'm out of ideas that would avoid editing the module. Personally, I would copy the module and .inc files to my local layout directory, give them different names, and edit out the Problem style. That way, both the original and hacked modules would appear in the module list, and I could use the

Re: Turning-off a command from a layout file?

2013-09-07 Thread Guenter Milde
On 2013-09-07, Paul Rubin wrote: > I'm out of ideas that would avoid editing the module. Personally, I would > copy the module and .inc files to my local layout directory, give them > different names, and edit out the Problem style. That way, both the original > and hacked modules would appear in

Re: Turning-off a command from a layout file?

2013-09-07 Thread Paul A . Rubin
By the way, did you put the NoStyle directive before or after the point where you load the theorem module? I was thinking after, but it would not hurt to try both. Paul

Re: Detect if document is part of a master file

2013-09-07 Thread Marx Gomes van der Linden
Thanks, both solutions worked for me, exactly as I needed. I didn't know anything about branches in lyx, looks really useful. For the ERT approach, I had to look up the syntax for \ifx to make it work, this is what did the trick: [ERT] \ifx\iamthemaster\undefined [/ERT] ...put

Move cursor to next subsection/section/chapter ?

2013-09-07 Thread Scott Kostyshak
Are there LFUNs that deal with moving the cursor to the next subsection/section/chapter? There are LFUNs for moving groups (LFUN_OUTLINE_DOWN, LFUN_PARAGRAPH_MOVE_DOWN) and selecting groups (LFUN_SECTION_SELECT) but I would often like to navigate among them without opening the outline and

Re: Reverse search with xdvi

2013-09-07 Thread Pavel Sanda
Fabio S. wrote: >>> direct search: >>> Tools->Preferences->Output->General >>> xdvi -nofork -sourceposition "$$n $$t" $$o -editor >>> "lyxeditor.sh %f >>> %l" >> >> "-nofork" part is needed because of the pipe? > > I guess: the point is that without -nofork if you

Separate Graphics.

2013-09-07 Thread Gordon Cooper
This requirement should be simple, but the method escapes me. I wish to include several pages of photos, with captions into a text document. They will be in two or three blocks, separate from the text but using the same page numbering sequence. Have ploughed through the User Manual seeking

Re: Separate Graphics.

2013-09-07 Thread Liviu Andronic
On Sun, Sep 8, 2013 at 6:27 AM, Gordon Cooper wrote: > This requirement should be simple, but the method > escapes me. > > I wish to include several pages of photos, with captions > into a text document. They will be in two or three blocks, > separate from the text but