Re: Macros and Parent/Child Documents in 1.6
I actually experience the same issue, but with macros that take no arguments as well as with macros that do take arguments. Charles On Tue, Dec 2, 2008 at 8:17 AM, James Sutherland [EMAIL PROTECTED]wrote: On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote: Am 01.12.2008 um 18:59 schrieb James Sutherland: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? No, the preview does not support that (yet). I remember that I looked into this problem. At that time there was a technical reason that this very hard to implement, although I do not remember anymore why. Stefan I tried the test cases on the wiki page ( http://wiki.lyx.org/Devel/Macros#toc10) and these macros expand appropriately. The only difference between the test case on the wiki page and the problem I am seeing is the use of parameters in the macros. The test macros from the wiki page do not involve parameters while the ones I am using do involve parameters. Is this going to be fixed in 1.6.1? This seems like an unfortunate limitation - previews not working for macros involving parameters... James
Re: Macros and Parent/Child Documents in 1.6
I actually experience the same issue, but with macros that take no arguments as well as with macros that do take arguments. Charles On Tue, Dec 2, 2008 at 8:17 AM, James Sutherland [EMAIL PROTECTED]wrote: On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote: Am 01.12.2008 um 18:59 schrieb James Sutherland: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? No, the preview does not support that (yet). I remember that I looked into this problem. At that time there was a technical reason that this very hard to implement, although I do not remember anymore why. Stefan I tried the test cases on the wiki page ( http://wiki.lyx.org/Devel/Macros#toc10) and these macros expand appropriately. The only difference between the test case on the wiki page and the problem I am seeing is the use of parameters in the macros. The test macros from the wiki page do not involve parameters while the ones I am using do involve parameters. Is this going to be fixed in 1.6.1? This seems like an unfortunate limitation - previews not working for macros involving parameters... James
Re: Macros and Parent/Child Documents in 1.6
I actually experience the same issue, but with macros that take no arguments as well as with macros that do take arguments. Charles On Tue, Dec 2, 2008 at 8:17 AM, James Sutherland <[EMAIL PROTECTED]>wrote: > > On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote: > > >> Am 01.12.2008 um 18:59 schrieb James Sutherland: >> >> I have a parent document where I have defined macros. In the child >>> document, I have used the macro. >>> >>> The compiled output (either from the child, or the parent), is fine. >>> However, the LyX preview for the equations using macros is not correct. >>> The macros are not expanded when the preview is generated. >>> >>> I thought that this was supported in LyX 1.6 (macros defined in parent, >>> used in child). Am I mistaken? >>> >> >> No, the preview does not support that (yet). I remember that I looked into >> this problem. At that time there was a technical reason that this very hard >> to implement, although I do not remember anymore why. >> >> Stefan >> > > I tried the test cases on the wiki page ( > http://wiki.lyx.org/Devel/Macros#toc10) and these macros expand > appropriately. The only difference between the test case on the wiki page > and the problem I am seeing is the use of parameters in the macros. The > test macros from the wiki page do not involve parameters while the ones I am > using do involve parameters. > > Is this going to be fixed in 1.6.1? This seems like an unfortunate > limitation - previews not working for macros involving parameters... > > James >
Re: Macros and Parent/Child Documents in 1.6
Am 01.12.2008 um 18:59 schrieb James Sutherland: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? No, the preview does not support that (yet). I remember that I looked into this problem. At that time there was a technical reason that this very hard to implement, although I do not remember anymore why. Stefan
Re: Macros and Parent/Child Documents in 1.6
On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote: Am 01.12.2008 um 18:59 schrieb James Sutherland: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? No, the preview does not support that (yet). I remember that I looked into this problem. At that time there was a technical reason that this very hard to implement, although I do not remember anymore why. Stefan I tried the test cases on the wiki page (http://wiki.lyx.org/Devel/Macros#toc10 ) and these macros expand appropriately. The only difference between the test case on the wiki page and the problem I am seeing is the use of parameters in the macros. The test macros from the wiki page do not involve parameters while the ones I am using do involve parameters. Is this going to be fixed in 1.6.1? This seems like an unfortunate limitation - previews not working for macros involving parameters... James
Re: Macros and Parent/Child Documents in 1.6
Am 01.12.2008 um 18:59 schrieb James Sutherland: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? No, the preview does not support that (yet). I remember that I looked into this problem. At that time there was a technical reason that this very hard to implement, although I do not remember anymore why. Stefan
Re: Macros and Parent/Child Documents in 1.6
On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote: Am 01.12.2008 um 18:59 schrieb James Sutherland: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? No, the preview does not support that (yet). I remember that I looked into this problem. At that time there was a technical reason that this very hard to implement, although I do not remember anymore why. Stefan I tried the test cases on the wiki page (http://wiki.lyx.org/Devel/Macros#toc10 ) and these macros expand appropriately. The only difference between the test case on the wiki page and the problem I am seeing is the use of parameters in the macros. The test macros from the wiki page do not involve parameters while the ones I am using do involve parameters. Is this going to be fixed in 1.6.1? This seems like an unfortunate limitation - previews not working for macros involving parameters... James
Re: Macros and Parent/Child Documents in 1.6
Am 01.12.2008 um 18:59 schrieb James Sutherland: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? No, the preview does not support that (yet). I remember that I looked into this problem. At that time there was a technical reason that this very hard to implement, although I do not remember anymore why. Stefan
Re: Macros and Parent/Child Documents in 1.6
On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote: Am 01.12.2008 um 18:59 schrieb James Sutherland: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? No, the preview does not support that (yet). I remember that I looked into this problem. At that time there was a technical reason that this very hard to implement, although I do not remember anymore why. Stefan I tried the test cases on the wiki page (http://wiki.lyx.org/Devel/Macros#toc10 ) and these macros expand appropriately. The only difference between the test case on the wiki page and the problem I am seeing is the use of parameters in the macros. The test macros from the wiki page do not involve parameters while the ones I am using do involve parameters. Is this going to be fixed in 1.6.1? This seems like an unfortunate limitation - previews not working for macros involving parameters... James
Macros and Parent/Child Documents in 1.6
I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? James
Re: Macros and Parent/Child Documents in 1.6
On Dec 1, 2008, at 10:59 AM, James Sutherland wrote: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? James A point of clarification: when I click on an equation, the math-mode preview is correct (the macro is properly expanded). It is the displayed equation in LyX, after exiting math mode, that is incorrect (the macro is not expanded). James
Re: Macros and Parent/Child Documents in 1.6
Attached is a simple example to demonstrate the problem. master_test.lyx Description: Binary data child_test.lyx Description: Binary data
Macros and Parent/Child Documents in 1.6
I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? James
Re: Macros and Parent/Child Documents in 1.6
On Dec 1, 2008, at 10:59 AM, James Sutherland wrote: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? James A point of clarification: when I click on an equation, the math-mode preview is correct (the macro is properly expanded). It is the displayed equation in LyX, after exiting math mode, that is incorrect (the macro is not expanded). James
Re: Macros and Parent/Child Documents in 1.6
Attached is a simple example to demonstrate the problem. master_test.lyx Description: Binary data child_test.lyx Description: Binary data
Macros and Parent/Child Documents in 1.6
I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? James
Re: Macros and Parent/Child Documents in 1.6
On Dec 1, 2008, at 10:59 AM, James Sutherland wrote: I have a parent document where I have defined macros. In the child document, I have used the macro. The compiled output (either from the child, or the parent), is fine. However, the LyX preview for the equations using macros is not correct. The macros are not expanded when the preview is generated. I thought that this was supported in LyX 1.6 (macros defined in parent, used in child). Am I mistaken? James A point of clarification: when I click on an equation, the math-mode preview is correct (the macro is properly expanded). It is the displayed equation in LyX, after exiting math mode, that is incorrect (the macro is not expanded). James
Re: Macros and Parent/Child Documents in 1.6
Attached is a simple example to demonstrate the problem. master_test.lyx Description: Binary data child_test.lyx Description: Binary data