Re: Always compile the master document

2010-07-27 Thread Yegor Yefremov
On Mon, Jul 26, 2010 at 9:28 AM, Yegor Yefremov
yegorsli...@googlemail.com wrote:
 Jürgen Spitzmüller wrote:
 Yegor Yefremov wrote:
 Thank you for your quick reply. I've tried specifying the master
 document, but it doesn't solve the problem I have. AFAIK the master
 document feature only helps to properly compile child if master
 document is not opened. The whole document won't be compiled. More
 than that if you've defined some LaTeX macros like newcommand they
 won't be taken, so child compilation fails. I'm using LyX 1.5.6

 There's the lfuns master-buffer-view and master-buffer-update. They do not
 have a GUI element yet (they will in LyX 2.0), but you can add a toolbar
 button or a menu entry for them yourself.

 The lfuns are equivalent to the buffer-view and buffer-update lfuns, except
 that they compile from the master, if there's one.

 Thank you for clarification. I'll try it.

Tried lyx 2.0.0 alpha5 and this feature is working like a charm.
Waiting for the final release.

Yegor


Re: Always compile the master document

2010-07-27 Thread Yegor Yefremov
On Mon, Jul 26, 2010 at 9:28 AM, Yegor Yefremov
yegorsli...@googlemail.com wrote:
 Jürgen Spitzmüller wrote:
 Yegor Yefremov wrote:
 Thank you for your quick reply. I've tried specifying the master
 document, but it doesn't solve the problem I have. AFAIK the master
 document feature only helps to properly compile child if master
 document is not opened. The whole document won't be compiled. More
 than that if you've defined some LaTeX macros like newcommand they
 won't be taken, so child compilation fails. I'm using LyX 1.5.6

 There's the lfuns master-buffer-view and master-buffer-update. They do not
 have a GUI element yet (they will in LyX 2.0), but you can add a toolbar
 button or a menu entry for them yourself.

 The lfuns are equivalent to the buffer-view and buffer-update lfuns, except
 that they compile from the master, if there's one.

 Thank you for clarification. I'll try it.

Tried lyx 2.0.0 alpha5 and this feature is working like a charm.
Waiting for the final release.

Yegor


Re: Always compile the master document

2010-07-27 Thread Yegor Yefremov
On Mon, Jul 26, 2010 at 9:28 AM, Yegor Yefremov
 wrote:
> Jürgen Spitzmüller wrote:
>> Yegor Yefremov wrote:
>>> Thank you for your quick reply. I've tried specifying the master
>>> document, but it doesn't solve the problem I have. AFAIK the master
>>> document feature only helps to properly compile child if master
>>> document is not opened. The whole document won't be compiled. More
>>> than that if you've defined some LaTeX macros like "newcommand" they
>>> won't be taken, so child compilation fails. I'm using LyX 1.5.6
>>
>> There's the lfuns master-buffer-view and master-buffer-update. They do not
>> have a GUI element yet (they will in LyX 2.0), but you can add a toolbar
>> button or a menu entry for them yourself.
>>
>> The lfuns are equivalent to the buffer-view and buffer-update lfuns, except
>> that they compile from the master, if there's one.
>
> Thank you for clarification. I'll try it.

Tried lyx 2.0.0 alpha5 and this feature is working like a charm.
Waiting for the final release.

Yegor


Re: Always compile the master document

2010-07-26 Thread Yegor Yefremov
Jürgen Spitzmüller wrote:
 Yegor Yefremov wrote:
 Thank you for your quick reply. I've tried specifying the master
 document, but it doesn't solve the problem I have. AFAIK the master
 document feature only helps to properly compile child if master
 document is not opened. The whole document won't be compiled. More
 than that if you've defined some LaTeX macros like newcommand they
 won't be taken, so child compilation fails. I'm using LyX 1.5.6

 There's the lfuns master-buffer-view and master-buffer-update. They do not
 have a GUI element yet (they will in LyX 2.0), but you can add a toolbar
 button or a menu entry for them yourself.

 The lfuns are equivalent to the buffer-view and buffer-update lfuns, except
 that they compile from the master, if there's one.

Thank you for clarification. I'll try it.

Yegor


Re: Always compile the master document

2010-07-26 Thread Yegor Yefremov
Jürgen Spitzmüller wrote:
 Yegor Yefremov wrote:
 Thank you for your quick reply. I've tried specifying the master
 document, but it doesn't solve the problem I have. AFAIK the master
 document feature only helps to properly compile child if master
 document is not opened. The whole document won't be compiled. More
 than that if you've defined some LaTeX macros like newcommand they
 won't be taken, so child compilation fails. I'm using LyX 1.5.6

 There's the lfuns master-buffer-view and master-buffer-update. They do not
 have a GUI element yet (they will in LyX 2.0), but you can add a toolbar
 button or a menu entry for them yourself.

 The lfuns are equivalent to the buffer-view and buffer-update lfuns, except
 that they compile from the master, if there's one.

Thank you for clarification. I'll try it.

Yegor


Re: Always compile the master document

2010-07-26 Thread Yegor Yefremov
Jürgen Spitzmüller wrote:
> Yegor Yefremov wrote:
>> Thank you for your quick reply. I've tried specifying the master
>> document, but it doesn't solve the problem I have. AFAIK the master
>> document feature only helps to properly compile child if master
>> document is not opened. The whole document won't be compiled. More
>> than that if you've defined some LaTeX macros like "newcommand" they
>> won't be taken, so child compilation fails. I'm using LyX 1.5.6
>
> There's the lfuns master-buffer-view and master-buffer-update. They do not
> have a GUI element yet (they will in LyX 2.0), but you can add a toolbar
> button or a menu entry for them yourself.
>
> The lfuns are equivalent to the buffer-view and buffer-update lfuns, except
> that they compile from the master, if there's one.

Thank you for clarification. I'll try it.

Yegor


Re: Always compile the master document

2010-07-24 Thread Jürgen Spitzmüller
Yegor Yefremov wrote:
 Thank you for your quick reply. I've tried specifying the master
 document, but it doesn't solve the problem I have. AFAIK the master
 document feature only helps to properly compile child if master
 document is not opened. The whole document won't be compiled. More
 than that if you've defined some LaTeX macros like newcommand they
 won't be taken, so child compilation fails. I'm using LyX 1.5.6

There's the lfuns master-buffer-view and master-buffer-update. They do not 
have a GUI element yet (they will in LyX 2.0), but you can add a toolbar 
button or a menu entry for them yourself.

The lfuns are equivalent to the buffer-view and buffer-update lfuns, except 
that they compile from the master, if there's one.

Jürgen


Re: Always compile the master document

2010-07-24 Thread Jürgen Spitzmüller
Yegor Yefremov wrote:
 Thank you for your quick reply. I've tried specifying the master
 document, but it doesn't solve the problem I have. AFAIK the master
 document feature only helps to properly compile child if master
 document is not opened. The whole document won't be compiled. More
 than that if you've defined some LaTeX macros like newcommand they
 won't be taken, so child compilation fails. I'm using LyX 1.5.6

There's the lfuns master-buffer-view and master-buffer-update. They do not 
have a GUI element yet (they will in LyX 2.0), but you can add a toolbar 
button or a menu entry for them yourself.

The lfuns are equivalent to the buffer-view and buffer-update lfuns, except 
that they compile from the master, if there's one.

Jürgen


Re: Always compile the master document

2010-07-24 Thread Jürgen Spitzmüller
Yegor Yefremov wrote:
> Thank you for your quick reply. I've tried specifying the master
> document, but it doesn't solve the problem I have. AFAIK the master
> document feature only helps to properly compile child if master
> document is not opened. The whole document won't be compiled. More
> than that if you've defined some LaTeX macros like "newcommand" they
> won't be taken, so child compilation fails. I'm using LyX 1.5.6

There's the lfuns master-buffer-view and master-buffer-update. They do not 
have a GUI element yet (they will in LyX 2.0), but you can add a toolbar 
button or a menu entry for them yourself.

The lfuns are equivalent to the buffer-view and buffer-update lfuns, except 
that they compile from the master, if there's one.

Jürgen


Re: Always compile the master document

2010-07-23 Thread Yegor Yefremov
 if I have master document with some child documents and I'm editing
 the child and then invoke View-PDF(pdflatex) LyX tries to compile
 only this child document and not the whole document beginning with
 master. How can I change LyX behavior to always compile a whole
 document regardless of what file is edited?



 I'll guess that you are opening the child directly, i.e., by itself. So LyX
 doesn't know that it's a child and compiles it on its own.

 Solution: Set the default master document under DocumentSettings.
 Then, when you open the document, LyX will always also open the master
 as well and identify the child as its child. Then compiling will compile the
 whole thing.

Thank you for your quick reply. I've tried specifying the master
document, but it doesn't solve the problem I have. AFAIK the master
document feature only helps to properly compile child if master
document is not opened. The whole document won't be compiled. More
than that if you've defined some LaTeX macros like newcommand they
won't be taken, so child compilation fails. I'm using LyX 1.5.6

Any other ideas? Or should it be added as feature request?

Regards,
Yegor


Re: Always compile the master document

2010-07-23 Thread Yegor Yefremov
 if I have master document with some child documents and I'm editing
 the child and then invoke View-PDF(pdflatex) LyX tries to compile
 only this child document and not the whole document beginning with
 master. How can I change LyX behavior to always compile a whole
 document regardless of what file is edited?



 I'll guess that you are opening the child directly, i.e., by itself. So LyX
 doesn't know that it's a child and compiles it on its own.

 Solution: Set the default master document under DocumentSettings.
 Then, when you open the document, LyX will always also open the master
 as well and identify the child as its child. Then compiling will compile the
 whole thing.

Thank you for your quick reply. I've tried specifying the master
document, but it doesn't solve the problem I have. AFAIK the master
document feature only helps to properly compile child if master
document is not opened. The whole document won't be compiled. More
than that if you've defined some LaTeX macros like newcommand they
won't be taken, so child compilation fails. I'm using LyX 1.5.6

Any other ideas? Or should it be added as feature request?

Regards,
Yegor


Re: Always compile the master document

2010-07-23 Thread Yegor Yefremov
>> if I have master document with some child documents and I'm editing
>> the child and then invoke View->PDF(pdflatex) LyX tries to compile
>> only this child document and not the whole document beginning with
>> master. How can I change LyX behavior to always compile a whole
>> document regardless of what file is edited?
>>
>>
>
> I'll guess that you are opening the child directly, i.e., by itself. So LyX
> doesn't know that it's a child and compiles it on its own.
>
> Solution: Set the default master document under Document>Settings.
> Then, when you open the document, LyX will always also open the master
> as well and identify the child as its child. Then compiling will compile the
> whole thing.

Thank you for your quick reply. I've tried specifying the master
document, but it doesn't solve the problem I have. AFAIK the master
document feature only helps to properly compile child if master
document is not opened. The whole document won't be compiled. More
than that if you've defined some LaTeX macros like "newcommand" they
won't be taken, so child compilation fails. I'm using LyX 1.5.6

Any other ideas? Or should it be added as feature request?

Regards,
Yegor


Always compile the master document

2010-07-22 Thread Yegor Yefremov
Hello,

if I have master document with some child documents and I'm editing
the child and then invoke View-PDF(pdflatex) LyX tries to compile
only this child document and not the whole document beginning with
master. How can I change LyX behavior to always compile a whole
document regardless of what file is edited?

Regards.
Yegor


Re: Always compile the master document

2010-07-22 Thread Richard Heck

On 07/22/2010 10:53 AM, Yegor Yefremov wrote:

Hello,

if I have master document with some child documents and I'm editing
the child and then invoke View-PDF(pdflatex) LyX tries to compile
only this child document and not the whole document beginning with
master. How can I change LyX behavior to always compile a whole
document regardless of what file is edited?

   

I'll guess that you are opening the child directly, i.e., by itself. So LyX
doesn't know that it's a child and compiles it on its own.

Solution: Set the default master document under DocumentSettings.
Then, when you open the document, LyX will always also open the master
as well and identify the child as its child. Then compiling will compile the
whole thing.

Richard



Always compile the master document

2010-07-22 Thread Yegor Yefremov
Hello,

if I have master document with some child documents and I'm editing
the child and then invoke View-PDF(pdflatex) LyX tries to compile
only this child document and not the whole document beginning with
master. How can I change LyX behavior to always compile a whole
document regardless of what file is edited?

Regards.
Yegor


Re: Always compile the master document

2010-07-22 Thread Richard Heck

On 07/22/2010 10:53 AM, Yegor Yefremov wrote:

Hello,

if I have master document with some child documents and I'm editing
the child and then invoke View-PDF(pdflatex) LyX tries to compile
only this child document and not the whole document beginning with
master. How can I change LyX behavior to always compile a whole
document regardless of what file is edited?

   

I'll guess that you are opening the child directly, i.e., by itself. So LyX
doesn't know that it's a child and compiles it on its own.

Solution: Set the default master document under DocumentSettings.
Then, when you open the document, LyX will always also open the master
as well and identify the child as its child. Then compiling will compile the
whole thing.

Richard



Always compile the master document

2010-07-22 Thread Yegor Yefremov
Hello,

if I have master document with some child documents and I'm editing
the child and then invoke View->PDF(pdflatex) LyX tries to compile
only this child document and not the whole document beginning with
master. How can I change LyX behavior to always compile a whole
document regardless of what file is edited?

Regards.
Yegor


Re: Always compile the master document

2010-07-22 Thread Richard Heck

On 07/22/2010 10:53 AM, Yegor Yefremov wrote:

Hello,

if I have master document with some child documents and I'm editing
the child and then invoke View->PDF(pdflatex) LyX tries to compile
only this child document and not the whole document beginning with
master. How can I change LyX behavior to always compile a whole
document regardless of what file is edited?

   

I'll guess that you are opening the child directly, i.e., by itself. So LyX
doesn't know that it's a child and compiles it on its own.

Solution: Set the default master document under Document>Settings.
Then, when you open the document, LyX will always also open the master
as well and identify the child as its child. Then compiling will compile the
whole thing.

Richard