Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Richard Heck
It can easily be done in LaTeX, by defining macros that contain the dates and titles and then using those more than once. You can do this in LyX, too, therefore, using ERT, but there's no native support for it. Yes there is native support for macros in lyx, but the name is misleading; the

Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Mateo > Yes there is native support for macros in lyx, but the name is misleading; > they are called Math macros. [Menu | Insert | Math | Macros] will allow you > to define the macro, in both LaTeX and how it should appear in LyX if you so > desire. Then, to use it in your text, insert some Inl

Re: Keeping text in sync at two locations in a document

2010-09-16 Thread obregonmateo
On Thursday 16 September 2010, Richard Heck wrote: > On 09/16/2010 03:06 AM, Graham Smith wrote: > > I have two timetables within the same document. > > >< snip >< > > Is there some way of doing this in Lyx. > > > > > It can easily be done in LaTeX, by defining macros that contain the > date

Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Richard > It can easily be done in LaTeX, by defining macros that contain the dates > and titles and then using those more than once. You can do this in LyX, too, That is very clever, and exactly what I wanted. Indeed I can see scope for this being useful for several other things as well. many t

Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Richard Heck
On 09/16/2010 03:06 AM, Graham Smith wrote: I have two timetables within the same document. One is the main timetable which has the lecture title and a summary of its content. The other is a summary timetable that goes on the back page of the document, and just has the date and lecture title. W

Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
I have two timetables within the same document. One is the main timetable which has the lecture title and a summary of its content. The other is a summary timetable that goes on the back page of the document, and just has the date and lecture title. With Word I can use" Bookmarks" to auto-update