1

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

12
  • 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. 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).
    – heblyx
    May 13 '13 at 16:49
  • I can enter the symbols only at math mode...
    – heblyx
    May 13 '13 at 16:51
  • 1
    Add a minimal working example. May 13 '13 at 17:03
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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