Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

1 Answer 1

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:

\documentclass{minimal}
\makeatletter
\newcommand\@ptsize{0}
\input{bk1\@ptsize.clo} 
\makeatother
\begin{document}
Text
\end{document}

I'm sure this works with TeXlipse as well.

share|improve this answer

Your Answer

 
discard

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