TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use some LaTeX style which includes bk1\@ptsize.clo by the line \input{bk1\@ptsize.clo}.

However, my LaTeX environment (I'm using texlipse) produces error "bk1\@ptsize.clo was not found". Despite of the error, it seems everything works fine. How can I get rid of this annoying error message? If I remove the line I get a 'serious' compilation error (I should also add I'm using pdfLaTeX).

share|improve this question
This looks very odd. Can you post an example? \@ptsize should expand to 0, 1 or 2, so loading for example bk10.cls. – Joseph Wright Sep 30 '10 at 14:58
A wild guess, but this is probably a problem with eclipse not interpreting the LaTeX code and trying to load a non existing file. – Juan A. Navarro Sep 30 '10 at 15:11
Cls file that I'm using contains: \newcommand\@ptsize{} \input{bk1\@ptsize.clo} Changing to \input{bk10.clo} causes the error to dissapear. – Mateusz Oct 4 '10 at 9:59

By \newcommand\@ptsize{} as comment #3 showed the cls file obviously defines \@ptsize to be empty. It should be set to a value like Joseph commented. This minimal example can be compiled and loads bk10.clo:


I'm sure this works with TeXlipse as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.