Package: texworks
Version: 0.5~svn939-2+b1
Severity: normal

I set up a merge file as follows:
        filename.dat [data to be merged]
        filename.tex [tex file to be processed]
Processing filename.tex produces filename.pdf. If I now ask for the file
to be re-typeset while filename.pdf is frontmost, TeXWorks attempts to
process filename.dat rather than filename.tex. (And this obviously
doesn't work since filename.dat just contains a bunch of data.)

I would expect that asking for the document to be reprocessed while
filename.pdf was active would cause TeXWorks to typeset filename.tex.
This might work for two reasons: first, TeXWorks might remember which
file actually produced the pdf (clearly typesetting the .dat file has
never yielded any pdf at all); second (more likely), I'd expect TeXWorks
to prefer filename.tex to filename.dat for any filename and to process
the former rather than the latter whenever possible.

filename.tex also includes the standard TeX programme tag line at the
top which filename.dat obviously doesn't so TeXWorks could use that
information although that would probably be unnecessarily complicated.

Because TeXWorks associates the .pdf with the .dat rather than the .tex,
this also means that opening the .dat in TeXWorks also opens the .pdf
which is rather unexpected. (Opening the .tex also opens the .pdf.)
Similarly, closing the .tex doesn't close the .pdf if the .dat is also
open. (Neither does closing the .dat if .tex is also open.) But although
I find this behaviour odd, it isn't in itself objectionable. It is the
typesetting relationship which is really problematic.

(I realise that I could probably work around this by using different
filenames but in lots of cases I've got customised scripts which would
need changing and that's more work!)


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.39-2-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages texworks depends on:
ii  libc6               2.13-21         
ii  libgcc1             1:4.6.1-15      
ii  libhunspell-1.3-0   1.3.2-4         
ii  libpoppler-qt4-3    0.16.7-2+b1     
ii  libqt4-dbus         4:4.7.3-5       
ii  libqt4-script       4:4.7.3-5       
ii  libqt4-scripttools  4:4.7.3-5       
ii  libqt4-xml          4:4.7.3-5       
ii  libqtcore4          4:4.7.3-5       
ii  libqtgui4           4:4.7.3-5       
ii  libstdc++6          4.6.1-15        
ii  zlib1g              1:1.2.3.4.dfsg-3

Versions of packages texworks recommends:
ii  texlive-latex-base  <none>      
ii  texworks-help-en    0.5~svn939-2

Versions of packages texworks suggests:
ii  texlive-xetex              <none>         
ii  texworks-scripting-lua     0.5~svn939-2+b1
ii  texworks-scripting-python  0.5~svn939-2+b1

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to