Ok,<div><br></div><div>I think I worked it out.</div><div><br></div><div>It only happens with one of our current projects.</div><div><br></div><div><span style="background-color: transparent; ">Due to our old versioning system, I had placed this at the top of the only .tex file in that project when first being written:</span></div>
<div>& -job-name=These-Fair-Isles</div><div><br></div><div>... So that the document version number did not appear in the current .pdf name</div><div><br></div><div><span style="background-color: transparent; ">But now for some time since we changed our versioning method i</span>t has been written as </div>
<div>%& -job-name=These-Fair-Isles</div><div><br></div><div>But that meant that as MiKTeX had thrown out the first .pdf made under it as </div><div><span style="background-color: transparent; "><br></span></div><div><span style="background-color: transparent; ">  These-Fair-Isles.pdf</span></div>
<div><span style="background-color: transparent; "><br></span></div><div><span style="background-color: transparent; ">Then later I had changed the .tex header to </span></div><div>%& -job-name=These-Fair-Isles</div><div>
<br></div><div>So now the actual .tex name is used to determine the .pdf name when typeset.</div><div><br></div><div>The .tex file name is:</div><div>   These-fair-Isles.tex</div><div><br></div><div>Lower case on f in: Fair</div>
<div><br></div><div>And you can guess the rest.</div><div>Windows OS doesn't distinguish between these names and of course there is only one .pdf present in the directory.</div><div><br></div><div>These-fair-Isles.pdf</div>
<div>These-Fair-Isles.pdf</div><div><br></div><div>(Emphasizing: that there is of course only one .pdf in the directory: <span style="background-color: transparent; ">These-Fair-Isles.pdf)</span></div><div><span style="background-color: transparent; "><br>
</span></div><div><span style="background-color: transparent; ">And now as the -job-name is commented out, MiKTeX under Windows, keeps typesetting out </span><span style="background-color: transparent; ">These-fair-Isles.tex to the first established name on disk:  </span><span style="background-color: transparent; ">These-Fair-Isles.pdf</span></div>
<div><span style="background-color: transparent; "><br></span></div><div><span style="background-color: transparent; ">So when I open </span><span style="background-color: transparent; ">These-Fair-Isles.pdf directly from the Files/Open Recent sub-menu</span></div>
<div><span style="background-color: transparent; ">it opens, then when I click-sync  </span><span style="background-color: transparent; ">These-fair-Isles.tex opens in an editor window, but when I click-sync in </span><span style="background-color: transparent; ">These-fair-Isles.tex</span></div>
<div><span style="background-color: transparent; ">Tw being case sensitive at core on file names(?) thinks that the appropriate .pdf is not active and asks the OS for  </span><span style="background-color: transparent; ">These-fair-Isles.pdf</span></div>
<div><span style="background-color: transparent; "><br></span></div><div><span style="background-color: transparent; ">The OS presents a new copy of </span><span style="background-color: transparent; ">These-Fair-Isles.pdf but syncs successfully both into it, and the first manually opened copy -- that is the strange part - successfully syncing onto both open copies but I can sort of see how that might happen.</span></div>
<div><span style="background-color: transparent; "><br></span></div><div><span style="background-color: transparent; ">Write up a bug?</span></div><div><span style="background-color: transparent; "><br></span></div><div><span style="background-color: transparent; ">Paul</span></div>
<div><br></div><div><br><div class="gmail_quote">On 18 October 2011 23:57, Stefan Löffler <span dir="ltr"><<a href="mailto:st.loeffler@gmail.com">st.loeffler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<div class="im"><br>
On 2011-10-18 02:54, Paul A Norman wrote:<br>
> Feature Request: Is it easy enough for the previewer to be made able<br>
> to go in and out of grey-scale presentation and colour mode please?<br>
<br>
</div>I guess it should be doable (not sure about the difficulty, though), but<br>
can you please give a typical case where you would need this?<br>
<div class="im"><br>
> Bug or Feature?: I've noticed that if I open a pdf first (made via<br>
> TeXworks), and use click-sync in that pdf, that the .tex editor opens<br>
> as expected, but also an extra copy of the .pdf as well.<br>
><br>
> Then if I click-sync in the newly opened .tex editor, both copies of<br>
> the .pdf yellow highlight to the correct place.<br>
<br>
</div>Bug, but (unfortunately) I cannot reproduce it on my system. Normally,<br>
Tw should recognize a corresponding pdf if it is already open and not<br>
open a copy of it. Probably there's some problem with that mechanism<br>
that you've came across now. So could you please describe in as much<br>
detail as possible what you did and especially the directory layout you<br>
use? In particular:<br>
 * What is the full path/filename of your .tex file?<br></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
 * What is the full path/filename of your .pdf file?<br></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
 * Do you use multiple .tex files?<br></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
 * Do you use "%TeX root" to define a root file?<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
 * How do you open the pdf file (e.g., from the explorer, i.e.,<br>
bypassing the normal startup / after starting Tw normally via File ><br>
Open / after having opened other .tex and/or .pdf files / ...)<br></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Cheers,<br>
<font color="#888888">Stefan<br>
</font></blockquote></div><br></div>