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'm trying to enter a chess symbols of skak package, and output it at pdflatex but it didn't compile...(at Lyx).

What can I do? I enter it at math mode. (there is no other way).

(Idon't know what is xskak and if it would help...)

Here is the error code:

!pdfTeX error: pdflatex (file SkakNew-Figurine): Font SkakNew-Figurine at 600 n

Here is the code:

% Preview source code

%% LyX 2.0.5.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twocolumn,english,hebrew]{article}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage[cp1255]{inputenc}
\setlength{\parindent}{0bp}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\def\@outputdblcol{%
  \if@firstcolumn
    \global \@firstcolumnfalse
    \global \setbox\@leftcolumn \box\@outputbox
  \else
    \global \@firstcolumntrue
    \setbox\@outputbox \vbox {%
      \hb@xt@\textwidth {%
      \kern\textwidth \kern-\columnwidth %**
      \hb@xt@\columnwidth {%
         \box\@leftcolumn \hss}%
      \kern-\textwidth %**
      \hfil
      {\normalcolor\vrule \@width\columnseprule}%
      \hfil
      \kern-\textwidth  %**
      \hb@xt@\columnwidth {%
         \box\@outputbox \hss}%
      \kern-\columnwidth \kern\textwidth %**
    }%
  }%
  \@combinedblfloats
  \@outputpage
  \begingroup
  \@dblfloatplacement
  \@startdblcolumn
  \@whilesw\if@fcolmade \fi
  {\@outputpage
    \@startdblcolumn}%
  \endgroup
  \fi
}
\@mparswitchtrue

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\AtBeginDocument{\make@lr\thetheorem}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{skak}

\makeatother

\usepackage{babel}
\begin{document}
\L{$\Omega=\left\{ \symking,\sympawn\right\} $}

שלום!
\end{document}

Hope it's OK and this is what you mean...(you can edit if you want).

share|improve this question
2  
chess symbols are not entered in math mode. Beside this: without some informations why it doesn't compile (log-file) and what code you actually used it is impossible to help you. –  Ulrike Fischer May 13 '13 at 14:31
    
If you want to put some TeX commands directly into the LyX document then you can use ERT / TeX code (CRTL + L). –  e-birk May 13 '13 at 14:53
    
I tried but it doesn't work... I'm writing the document at Hebrew (this is why I need pdflatex). –  Yoav Fridman May 13 '13 at 16:49
    
I can enter the symbols only at math mode... –  Yoav Fridman May 13 '13 at 16:51
1  
Add a minimal working example. –  Svend Tveskæg May 13 '13 at 17:03
show 7 more comments

1 Answer

If you have miktex and a multiuser installation then the most probable cause of your problem is that you need to update your user map files by running (as user) on the command line updmap to activate the map file. To enter chess symbols in math mode is not necessary but it should work and so is a workaround if Lyx won't let you insert them in text mode

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.