RE: Automated insertion of labeled sentences
From: sj03rd[sjoerd...@gmail.com] Sent: Thursday, February 16, 2012 4:29 AM Hi Scott, Thanks a lot for your answer, this is exactly what I was looking for. Much appreciated! Best regards, Sjoerd (in Dutch) / Stewart (in English) Hi Sjoerd, I'm glad that solved your problem. Next time please respond to the list (reply all) so that everyone knows your problem was solved, in case others are trying to work on a solution or are trying to come up with a different interpretation of what the actual problem was. Best regards, Scott
RE: Automated insertion of labeled sentences
From: sj03rd[sjoerd...@gmail.com] Sent: Thursday, February 16, 2012 4:29 AM Hi Scott, Thanks a lot for your answer, this is exactly what I was looking for. Much appreciated! Best regards, Sjoerd (in Dutch) / Stewart (in English) Hi Sjoerd, I'm glad that solved your problem. Next time please respond to the list (reply all) so that everyone knows your problem was solved, in case others are trying to work on a solution or are trying to come up with a different interpretation of what the actual problem was. Best regards, Scott
RE: Automated insertion of labeled sentences
From: sj03rd[sjoerd...@gmail.com] Sent: Thursday, February 16, 2012 4:29 AM >Hi Scott, >Thanks a lot for your answer, this is exactly what I was looking for. Much >appreciated! >Best regards, >Sjoerd (in Dutch) / Stewart (in English) Hi Sjoerd, I'm glad that solved your problem. Next time please respond to the list (reply all) so that everyone knows your problem was solved, in case others are trying to work on a solution or are trying to come up with a different interpretation of what the actual problem was. Best regards, Scott
Re: Automated insertion of labeled sentences
On 02/14/2012 05:57 PM, Scott Kostyshak wrote: From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of sj03rd [sjoerd...@gmail.com] Sent: Tuesday, February 14, 2012 5:15 PM I can refer-and-insert table numbers/equation numbers using labels and cross-references throughout the text. Now, it would be extremely valuable if I could also refer-and-insert a full sentence. Is this possible in Lyx, and how? Hi Stewart, To insert Tex Code, either: (1) go to Insert TeX Code or (2) type control L This will give you a red box into which you can type latex commands directly. Type in something like: \newcommand{\mysentence}{This is a sentence that I want to use in many places.} Note that this red box must be before you try to use this command, so put it in the preamble or near the top of your document. Then, wherever you want to use that sentence, insert tex code again and put into the red box: \mysentence You should be able to do this in tables and mostly anywhere. Is this what you were looking for? Of course, what would really be nice is if LyX allowed text macros, like math macros. But this is bug #1704. Richard
Re: Automated insertion of labeled sentences
On 02/14/2012 05:57 PM, Scott Kostyshak wrote: From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of sj03rd [sjoerd...@gmail.com] Sent: Tuesday, February 14, 2012 5:15 PM I can refer-and-insert table numbers/equation numbers using labels and cross-references throughout the text. Now, it would be extremely valuable if I could also refer-and-insert a full sentence. Is this possible in Lyx, and how? Hi Stewart, To insert Tex Code, either: (1) go to Insert TeX Code or (2) type control L This will give you a red box into which you can type latex commands directly. Type in something like: \newcommand{\mysentence}{This is a sentence that I want to use in many places.} Note that this red box must be before you try to use this command, so put it in the preamble or near the top of your document. Then, wherever you want to use that sentence, insert tex code again and put into the red box: \mysentence You should be able to do this in tables and mostly anywhere. Is this what you were looking for? Of course, what would really be nice is if LyX allowed text macros, like math macros. But this is bug #1704. Richard
Re: Automated insertion of labeled sentences
On 02/14/2012 05:57 PM, Scott Kostyshak wrote: From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of sj03rd [sjoerd...@gmail.com] Sent: Tuesday, February 14, 2012 5:15 PM I can "refer-and-insert" table numbers/equation numbers using labels and cross-references throughout the text. Now, it would be extremely valuable if I could also refer-and-insert a full sentence. Is this possible in Lyx, and how? Hi Stewart, To insert Tex Code, either: (1) go to Insert> TeX Code or (2) type control L This will give you a red box into which you can type latex commands directly. Type in something like: \newcommand{\mysentence}{This is a sentence that I want to use in many places.} Note that this red box must be before you try to use this command, so put it in the preamble or near the top of your document. Then, wherever you want to use that sentence, insert tex code again and put into the red box: \mysentence You should be able to do this in tables and mostly anywhere. Is this what you were looking for? Of course, what would really be nice is if LyX allowed "text macros", like math macros. But this is bug #1704. Richard
RE: Automated insertion of labeled sentences
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of sj03rd [sjoerd...@gmail.com] Sent: Tuesday, February 14, 2012 5:15 PM I can refer-and-insert table numbers/equation numbers using labels and cross-references throughout the text. Now, it would be extremely valuable if I could also refer-and-insert a full sentence. Is this possible in Lyx, and how? Hi Stewart, To insert Tex Code, either: (1) go to Insert TeX Code or (2) type control L This will give you a red box into which you can type latex commands directly. Type in something like: \newcommand{\mysentence}{This is a sentence that I want to use in many places.} Note that this red box must be before you try to use this command, so put it in the preamble or near the top of your document. Then, wherever you want to use that sentence, insert tex code again and put into the red box: \mysentence You should be able to do this in tables and mostly anywhere. Is this what you were looking for? Scott
RE: Automated insertion of labeled sentences
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of sj03rd [sjoerd...@gmail.com] Sent: Tuesday, February 14, 2012 5:15 PM I can refer-and-insert table numbers/equation numbers using labels and cross-references throughout the text. Now, it would be extremely valuable if I could also refer-and-insert a full sentence. Is this possible in Lyx, and how? Hi Stewart, To insert Tex Code, either: (1) go to Insert TeX Code or (2) type control L This will give you a red box into which you can type latex commands directly. Type in something like: \newcommand{\mysentence}{This is a sentence that I want to use in many places.} Note that this red box must be before you try to use this command, so put it in the preamble or near the top of your document. Then, wherever you want to use that sentence, insert tex code again and put into the red box: \mysentence You should be able to do this in tables and mostly anywhere. Is this what you were looking for? Scott
RE: Automated insertion of labeled sentences
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of sj03rd [sjoerd...@gmail.com] Sent: Tuesday, February 14, 2012 5:15 PM >I can "refer-and-insert" table numbers/equation numbers >using labels and cross-references throughout the text. >Now, it would be extremely valuable if I could also >refer-and-insert a full sentence. >Is this possible in Lyx, and how? Hi Stewart, To insert Tex Code, either: (1) go to Insert> TeX Code or (2) type control L This will give you a red box into which you can type latex commands directly. Type in something like: \newcommand{\mysentence}{This is a sentence that I want to use in many places.} Note that this red box must be before you try to use this command, so put it in the preamble or near the top of your document. Then, wherever you want to use that sentence, insert tex code again and put into the red box: \mysentence You should be able to do this in tables and mostly anywhere. Is this what you were looking for? Scott