On 6/2/2004 4:45:17 AM, Fritz Heberlein wrote:
> I tested Peter's new version of
>latex.vcs with the |@(93)
>replacement,
>and it works well. Thank you
>Peter.
Fritz:
I made some more experiments with LATEX.VCS and stumbled across something interesting.
Specifically, by mistake, I have replaced the string .tex by the empty string in this file. To my surprise, the new LATEX.VCS file just worked fine! I certainly would appreciate your independent confirmation of this fact.
Then, I started to think why this should be the case. First, I realized that this fact is very much in agreement with the previous messages that you have sent me under a different thread. Do I remember it correctly: The gist of those messages was that the error messages should be independent of the filename extension? Well in an ideal situation, they should. Now, I can achieve such an ideal situation by removing the extension from the .log file. My other option is, to remove the extension from my search string. I believe, essentially, this is what I have done.
Actually, I think there is a hidden assumption in going from the "essential" to the "exact" statement. This is how I see it: Your search string is of the form |{x,y}, where x and y are shorthand for your strings. Now, if I remove a substring from the "middle" of a string than the string "breaks" into two. In other words, I no longer get a string. However, I was lucky and the substring .tex that I removed was at the end. So, I ended up with a substring of the original string. I have reduced my problem to a previously solved one.
If this reasoning holds water, then the previous register issue was a red herring. (Well, it is somewhat dangerous for me to try to make a precise reasoning in a field where I do not know the precise definitions.)
At the same time, I think of my time spent on studying C-INIT.VDM as well spent. In fact I would like to take up other LATEX.VCS issues:
First, there is the stylistic question of your using the two "last_....txt" temporary files. I have a hunch that using the EXTRA_BUFFER_1, as per Christian's suggestion one could write these two filenames into this buffer and saving this buffer into T-Reg 83. So, the real question would be to re-write your YAP.VDM in such a way that it should look for the "last" information in T-Reg 83. Since, I did not study your macro, I just do not know how much work would be involved.
Second, I noticed that if I put a trace command into my tex file and compiling it via Vedit, then I get a discrepancy between the tmp.vcs.tmp file ands the Miktex .log files. I did not have time to study this issue.
Looking forward to hearing your reactions.
-peter.
|
|