Jean-Marc Lasgouttes wrote:

>>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]>
>>>>>> writes:
> 
>>>  Clever. Actually, I think we should do something like that when
>>> parsing .log files, but I am not sure how.
> 
> Angus> Can you give an example?
> 
> This bug, for example:
> http://bugzilla.lyx.org/show_bug.cgi?id=1027
> 
> JMarc

Ok, LyX wants to parse the log file to see which files it should monitor 
for changes. An example of the log file data might be:

... Special comment 'contentCmt' (/afs/md.kth.se/md/ho
me/damek/chr/thesis/doc//preamble.tex

Setting paper size ------------------


Can you tell me where I should look in the LyX source to find the code 
that parses the log file for these dependencies.

More importantly, tell me how I should recognize .../preamble.tex is part 
of the file name. Ie, what characteristic indicates that it is a file 
name? Is it the blank line that follows or do I need to recognize the 
characteristics of the .../preamble.tex string?

-- 
Angus

Reply via email to