Re: inheriting parent settings

2011-04-12 Thread Jack Tanner
Jürgen Spitzmüller spitz at lyx.org writes:

 I think it shouldn't by default. However, I can understand that there are 
 many 
 cases where this is desired or expected, so it should perhaps be possible, as 
 an option.

Thank you, Jürgen, thank you, Richard, and big thanks to everyone else, too. I
mean that. I'm just some noob that comes along, takes your amazing LyX software
that happens to be free and open source, comes back with obnoxious questions and
requests, and you take it all in stride and answer considerately,
comprehensibly, and promptly. The LyX user and developer community is easily one
of the friendliest and most helpful that I've ever encountered. Cheers, and best
of luck with 2.0!



Re: inheriting parent settings

2011-04-12 Thread Jack Tanner
Jürgen Spitzmüller spitz at lyx.org writes:

 I think it shouldn't by default. However, I can understand that there are 
 many 
 cases where this is desired or expected, so it should perhaps be possible, as 
 an option.

Thank you, Jürgen, thank you, Richard, and big thanks to everyone else, too. I
mean that. I'm just some noob that comes along, takes your amazing LyX software
that happens to be free and open source, comes back with obnoxious questions and
requests, and you take it all in stride and answer considerately,
comprehensibly, and promptly. The LyX user and developer community is easily one
of the friendliest and most helpful that I've ever encountered. Cheers, and best
of luck with 2.0!



Re: inheriting parent settings

2011-04-12 Thread Jack Tanner
Jürgen Spitzmüller  lyx.org> writes:

> I think it shouldn't by default. However, I can understand that there are 
> many 
> cases where this is desired or expected, so it should perhaps be possible, as 
> an option.

Thank you, Jürgen, thank you, Richard, and big thanks to everyone else, too. I
mean that. I'm just some noob that comes along, takes your amazing LyX software
that happens to be free and open source, comes back with obnoxious questions and
requests, and you take it all in stride and answer considerately,
comprehensibly, and promptly. The LyX user and developer community is easily one
of the friendliest and most helpful that I've ever encountered. Cheers, and best
of luck with 2.0!



inheriting parent settings

2011-04-11 Thread Jack Tanner
I've a master document with a few child documents. I find myself having to
change the settings of each child for every module, citation style, etc. This is
very error prone. Is there any way to make the child documents, which have the
master document explicitly specified, inherit settings from the master/parent?

Here are the settings I'd like to propagate:
the document class
the citation style
\usepackage{apacite}
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
the paper format
the two-sided document setting




Re: inheriting parent settings

2011-04-11 Thread stefano franchi
Jack,

as far as I know the master file's preamble overrides the child's
preamble, and therefore  all the settings in the preamble are
inherited from the parent. So, these for sure:

 \usepackage{apacite}
 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

and possibly these as well, if passed as options to the class

 the paper format
 the two-sided document setting

Cheers,

Stefano


Re: inheriting parent settings

2011-04-11 Thread Richard Heck

On 04/11/2011 09:00 AM, stefano franchi wrote:

Jack,

as far as I know the master file's preamble overrides the child's
preamble

Yes, this is correct, and we are aware of how error-prone, etc, this is. 
I hope to resolve the issue during the 2.1 cycle.


rh



, and therefore  all the settings in the preamble are
inherited from the parent. So, these for sure:


\usepackage{apacite}
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

and possibly these as well, if passed as options to the class


the paper format
the two-sided document setting

Cheers,

Stefano




Re: inheriting parent settings

2011-04-11 Thread Jack Tanner
Richard Heck rgheck at comcast.net writes:

 On 04/11/2011 09:00 AM, stefano franchi wrote:
 
  as far as I know the master file's preamble overrides the child's
  preamble
 
 Yes, this is correct, and we are aware of how error-prone, etc, this is. 
 I hope to resolve the issue during the 2.1 cycle.

Should the master file's preamble override the child's even when the child is
being rendered individually? I would argue that it should if and only if the
child explicitly lists a parent (i.e., not just that the child is included in
some parent).



Re: inheriting parent settings

2011-04-11 Thread Richard Heck

On 04/11/2011 11:37 AM, Jack Tanner wrote:

Richard Heckrgheckat  comcast.net  writes:


On 04/11/2011 09:00 AM, stefano franchi wrote:

as far as I know the master file's preamble overrides the child's
preamble


Yes, this is correct, and we are aware of how error-prone, etc, this is.
I hope to resolve the issue during the 2.1 cycle.

Should the master file's preamble override the child's even when the child is
being rendered individually? I would argue that it should if and only if the
child explicitly lists a parent (i.e., not just that the child is included in
some parent).

This is complicated. We really need to rethink this whole business and 
come up with an overall model that works for all the various cases.


Richard



Re: inheriting parent settings

2011-04-11 Thread Jürgen Spitzmüller
Jack Tanner wrote:
 Should the master file's preamble override the child's even when the child
 is being rendered individually? I would argue that it should if and only
 if the child explicitly lists a parent (i.e., not just that the child is
 included in some parent).

I think it shouldn't by default. However, I can understand that there are many 
cases where this is desired or expected, so it should perhaps be possible, as 
an option.

For the time being, you can outsource the preamble to an external file and 
\input that in the master's and each child's preamble.

Jürgen


Re: inheriting parent settings

2011-04-11 Thread Hellmut Weber
Am 11.04.2011 09:28, schrieb Jack Tanner:
 I've a master document with a few child documents. I find myself having to
 change the settings of each child for every module, citation style, etc. This 
 is
 very error prone. Is there any way to make the child documents, which have the
 master document explicitly specified, inherit settings from the master/parent?
 
 Here are the settings I'd like to propagate:
 the document class
 the citation style
 \usepackage{apacite}
 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
 the paper format
 the two-sided document setting
Hi Jack,
I had this problem for a while ,-(

Then I took a brute force approach:
I wrote a bash script which replaces the childs preamble by the masters
preamble (thanks to lyx' file format this is not a big deal ;-)
(I had the intention to port that bash-script to python but didn't have
the time ATM.)
For me that works very well.

The bash script is a dirty hack. If you are intereseted ask me personally.


Happy LyXing

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


inheriting parent settings

2011-04-11 Thread Jack Tanner
I've a master document with a few child documents. I find myself having to
change the settings of each child for every module, citation style, etc. This is
very error prone. Is there any way to make the child documents, which have the
master document explicitly specified, inherit settings from the master/parent?

Here are the settings I'd like to propagate:
the document class
the citation style
\usepackage{apacite}
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
the paper format
the two-sided document setting




Re: inheriting parent settings

2011-04-11 Thread stefano franchi
Jack,

as far as I know the master file's preamble overrides the child's
preamble, and therefore  all the settings in the preamble are
inherited from the parent. So, these for sure:

 \usepackage{apacite}
 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

and possibly these as well, if passed as options to the class

 the paper format
 the two-sided document setting

Cheers,

Stefano


Re: inheriting parent settings

2011-04-11 Thread Richard Heck

On 04/11/2011 09:00 AM, stefano franchi wrote:

Jack,

as far as I know the master file's preamble overrides the child's
preamble

Yes, this is correct, and we are aware of how error-prone, etc, this is. 
I hope to resolve the issue during the 2.1 cycle.


rh



, and therefore  all the settings in the preamble are
inherited from the parent. So, these for sure:


\usepackage{apacite}
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

and possibly these as well, if passed as options to the class


the paper format
the two-sided document setting

Cheers,

Stefano




Re: inheriting parent settings

2011-04-11 Thread Jack Tanner
Richard Heck rgheck at comcast.net writes:

 On 04/11/2011 09:00 AM, stefano franchi wrote:
 
  as far as I know the master file's preamble overrides the child's
  preamble
 
 Yes, this is correct, and we are aware of how error-prone, etc, this is. 
 I hope to resolve the issue during the 2.1 cycle.

Should the master file's preamble override the child's even when the child is
being rendered individually? I would argue that it should if and only if the
child explicitly lists a parent (i.e., not just that the child is included in
some parent).



Re: inheriting parent settings

2011-04-11 Thread Richard Heck

On 04/11/2011 11:37 AM, Jack Tanner wrote:

Richard Heckrgheckat  comcast.net  writes:


On 04/11/2011 09:00 AM, stefano franchi wrote:

as far as I know the master file's preamble overrides the child's
preamble


Yes, this is correct, and we are aware of how error-prone, etc, this is.
I hope to resolve the issue during the 2.1 cycle.

Should the master file's preamble override the child's even when the child is
being rendered individually? I would argue that it should if and only if the
child explicitly lists a parent (i.e., not just that the child is included in
some parent).

This is complicated. We really need to rethink this whole business and 
come up with an overall model that works for all the various cases.


Richard



Re: inheriting parent settings

2011-04-11 Thread Jürgen Spitzmüller
Jack Tanner wrote:
 Should the master file's preamble override the child's even when the child
 is being rendered individually? I would argue that it should if and only
 if the child explicitly lists a parent (i.e., not just that the child is
 included in some parent).

I think it shouldn't by default. However, I can understand that there are many 
cases where this is desired or expected, so it should perhaps be possible, as 
an option.

For the time being, you can outsource the preamble to an external file and 
\input that in the master's and each child's preamble.

Jürgen


Re: inheriting parent settings

2011-04-11 Thread Hellmut Weber
Am 11.04.2011 09:28, schrieb Jack Tanner:
 I've a master document with a few child documents. I find myself having to
 change the settings of each child for every module, citation style, etc. This 
 is
 very error prone. Is there any way to make the child documents, which have the
 master document explicitly specified, inherit settings from the master/parent?
 
 Here are the settings I'd like to propagate:
 the document class
 the citation style
 \usepackage{apacite}
 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
 the paper format
 the two-sided document setting
Hi Jack,
I had this problem for a while ,-(

Then I took a brute force approach:
I wrote a bash script which replaces the childs preamble by the masters
preamble (thanks to lyx' file format this is not a big deal ;-)
(I had the intention to port that bash-script to python but didn't have
the time ATM.)
For me that works very well.

The bash script is a dirty hack. If you are intereseted ask me personally.


Happy LyXing

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


inheriting parent settings

2011-04-11 Thread Jack Tanner
I've a master document with a few child documents. I find myself having to
change the settings of each child for every module, citation style, etc. This is
very error prone. Is there any way to make the child documents, which have the
master document explicitly specified, inherit settings from the master/parent?

Here are the settings I'd like to propagate:
the document class
the citation style
\usepackage{apacite}
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
the paper format
the two-sided document setting




Re: inheriting parent settings

2011-04-11 Thread stefano franchi
Jack,

as far as I know the master file's preamble overrides the child's
preamble, and therefore  all the settings in the preamble are
inherited from the parent. So, these for sure:

> \usepackage{apacite}
> \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

and possibly these as well, if passed as options to the class

> the paper format
> the two-sided document setting

Cheers,

Stefano


Re: inheriting parent settings

2011-04-11 Thread Richard Heck

On 04/11/2011 09:00 AM, stefano franchi wrote:

Jack,

as far as I know the master file's preamble overrides the child's
preamble

Yes, this is correct, and we are aware of how error-prone, etc, this is. 
I hope to resolve the issue during the 2.1 cycle.


rh



, and therefore  all the settings in the preamble are
inherited from the parent. So, these for sure:


\usepackage{apacite}
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

and possibly these as well, if passed as options to the class


the paper format
the two-sided document setting

Cheers,

Stefano




Re: inheriting parent settings

2011-04-11 Thread Jack Tanner
Richard Heck  comcast.net> writes:

> On 04/11/2011 09:00 AM, stefano franchi wrote:
> >
> > as far as I know the master file's preamble overrides the child's
> > preamble
> >
> Yes, this is correct, and we are aware of how error-prone, etc, this is. 
> I hope to resolve the issue during the 2.1 cycle.

Should the master file's preamble override the child's even when the child is
being rendered individually? I would argue that it should if and only if the
child explicitly lists a parent (i.e., not just that the child is included in
some parent).



Re: inheriting parent settings

2011-04-11 Thread Richard Heck

On 04/11/2011 11:37 AM, Jack Tanner wrote:

Richard Heck  writes:


On 04/11/2011 09:00 AM, stefano franchi wrote:

as far as I know the master file's preamble overrides the child's
preamble


Yes, this is correct, and we are aware of how error-prone, etc, this is.
I hope to resolve the issue during the 2.1 cycle.

Should the master file's preamble override the child's even when the child is
being rendered individually? I would argue that it should if and only if the
child explicitly lists a parent (i.e., not just that the child is included in
some parent).

This is complicated. We really need to rethink this whole business and 
come up with an overall model that works for all the various cases.


Richard



Re: inheriting parent settings

2011-04-11 Thread Jürgen Spitzmüller
Jack Tanner wrote:
> Should the master file's preamble override the child's even when the child
> is being rendered individually? I would argue that it should if and only
> if the child explicitly lists a parent (i.e., not just that the child is
> included in some parent).

I think it shouldn't by default. However, I can understand that there are many 
cases where this is desired or expected, so it should perhaps be possible, as 
an option.

For the time being, you can outsource the preamble to an external file and 
\input that in the master's and each child's preamble.

Jürgen


Re: inheriting parent settings

2011-04-11 Thread Hellmut Weber
Am 11.04.2011 09:28, schrieb Jack Tanner:
> I've a master document with a few child documents. I find myself having to
> change the settings of each child for every module, citation style, etc. This 
> is
> very error prone. Is there any way to make the child documents, which have the
> master document explicitly specified, inherit settings from the master/parent?
> 
> Here are the settings I'd like to propagate:
> the document class
> the citation style
> \usepackage{apacite}
> \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
> the paper format
> the two-sided document setting
Hi Jack,
I had this problem for a while ,-(

Then I took a brute force approach:
I wrote a bash script which replaces the childs preamble by the masters
preamble (thanks to lyx' file format this is not a big deal ;-)
(I had the intention to port that bash-script to python but didn't have
the time ATM.)
For me that works very well.

The bash script is a dirty hack. If you are intereseted ask me personally.


Happy LyXing

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq