I've encountered a very odd problem.
I have a paper I work on. When I added the color package, a strange "OT1OT1" is added to the text as the first thing in the first page of the PDF.
This happens with xcolor as well.
I tried removing packages (except for the babel) but couldn't find the one that conflicts.
Some bits of data:
I use Miktex 2.7, compiling with pdflatex.
The header of my tex file is (this is partial header. If needed I'll send the full header, But I think the rest is irrelevant)
Code: Select all
\documentclass[12pt,a4paper]{report}\usepackage{color}\usepackage{amsmath,amssymb}\usepackage{float}\usepackage[hebrew,english]{babel}\usepackage{hebfont}\restylefloat{figure}\restylefloat{table}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Many needed configurations and commands%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Preamble\newtheorem{theorem}{Theorem}[chapter]\newtheorem{definition}[theorem]{Definition}\newtheorem{lemma}[theorem]{Lemma}\newtheorem{corollary}[theorem]{Corollary}\newtheorem{remark}[theorem]{Remark}\newtheorem{proposition}[theorem]{Proposition}\newtheorem{example}[theorem]{Example}%%%\begin{proof} .. \end{proof}\makeatletter\def\proof{\@ifnextchar[{\@opargbeginproof}{\@beginproof}}\def\@beginproof{\rm\parskip\z@\trivlist \item[\hskip \labelsep{\bf Proof}]}\def\@opargbeginproof[#1]{\rm\parskip\z@\trivlist\item[\hskip \labelsep{\bf Proof\ #1}]}\def\endproof{\hfill \vrule height6pt depth0pt width6pt \endtrivlist}\makeatother%%% Quotations below chapters\usepackage{epigraph} % allows the nice Quotes using \epigraph