Hi Paul,

this is strange.
I tried to reproduce it with the same filenames as yours but nothing unexpected happened.
Would it be possible for you to send me all files of your thesis?

  Thorsten


On Mon, 16 May 2011, Paul van Tilburg wrote:

Package: chktex
Version: 1.6.4-1
Severity: normal

Hi!

I have a main thesis.tex file that includes other LaTeX files via \input.
Chktex supports this and tries to open most of them, but for a few it
does a weird thing.  It copies the 4th and 5th character over the 3th
and 4th and then tries to open the file.

Relevant snippet from thesis.tex:
---
\input{00.preamble}
[...]
\input{10.introduction}
\input{20.preliminaries}
\input{30.finite_state}
\input{40.pushdown}
\input{50.parallel_pushdown}
\input{60.executable}
\input{70.conclusions}
---

Output of chktext (-n1 -n .... ) thesis.tex:
---
ChkTeX v1.6.4 - Copyright 1995-96 Jens T. Berger Thielemann.

chktex: WARNING -- Unable to open the TeX file `00.prammble'.
Warning 27 in thesis.tex line 5: Could not execute LaTeX command.
\input{00.preamble}
^^^^^^
chktex: WARNING -- Unable to open the TeX file `40.puhddown'.
Warning 27 in thesis.tex line 28: Could not execute LaTeX command.
\input{40.pushdown}
^^^^^^
chktex: WARNING -- Unable to open the TeX file `50.parallel_puhhdown'.
Warning 27 in thesis.tex line 29: Could not execute LaTeX command.
\input{50.parallel_pushdown}
^^^^^^
No errors printed; 3 warnings printed; 876 user suppressed warnings printed.
---

Note how it has no troubles opening 10.introduction.tex (no warnings),
20.preliminaries, etc., but fails for 00.preamble as it changes it into
00.prammble.
The only pattern I could discover is that the files start with a number
and then a dot and then a "p".

Kind regards,

Paul

-- System Information:
Debian Release: wheezy/sid
 APT prefers unstable
 APT policy: (500, 'unstable'), (500, 'testing'), (102, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages chktex depends on:
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib
ii  libncurses5                   5.9-1      shared libraries for terminal hand

chktex recommends no packages.

chktex suggests no packages.

-- 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