I am getting error with this code:  \documentclass[12pt]{article} \usepackage{ucs} \usepackage[utf8x]{inputenc}  \usepackage[ukrainian]{babel} \usepackage{fontenc} \usepackage{inputenc} \usepackage{calc} \usepackage{pstcol} \usepackage{pstricks,pst-plot} \usepackage{pst-text} \usepackage{pst-char} \psset{xunit=0.7cm,yunit=5cm} \begin{document}  \begin{pspicture}(-7.5,-0.4)(7.5,1.2) \psaxes[Ox=0,Oy=0,Dx=1,Dy=0.2,linecolor=black]{-&gt;}(0,0)(-7,-0.3)(7,1.1) \end{pspicture}  \end{document}   Code error:  ! Undefined control sequence. &lt;recently read&gt; \c@lor@to@ps l.17 \end {pspicture}   Help me please. Whats wrong? P.S. Sorry for my bad english
26770
I have a problem with this file tex:  \begin{document} \begin{figure} \begin{center} \begin{pspicture}(0,0)(1,3.8) \psline{-&lt;}(0,0)(0,.2) \psline{-}(0,.2)(0,.4) \psline{*-&gt;}(0,.4)(0,.9) \psline{-*}(0,.9)(0,1.4) \psline{-&lt;}(0,1.4)(0,2.4) \psline{-}(0,2.4)(0,3.4) \psline{*-}(0,3.4)(0,3.6) \psline{&gt;-}(0,3.6)(0,3.8) \rput(1,.4){$y=0$}%testo \rput(1,1.4){$y=1$} \rput(1,3.4){$y=3$} \end{pspicture} \end{center} \caption{} \end{figure} \end{document}   but I don't understand where is the error.
65584
Just updated to the 20 December build of the Oberdiek package, on my TeXLive installation. Files that compiled without problems are now throwing the following error:   ./Preamble.tex:78: Undefined control sequence. \kv@processor@default ...lt {#1}{\etex@unexpanded                                                    {#2}}}\KVS@temp    which appears when I use \declaretheoremstyle of the thmtools package. The packages kvdefinekeys and kvsetkeys are installed and working well.  Does anybody know an explanation and a workaround?  Here is a compilable example  \documentclass{amsart} \usepackage{thmtools}  \declaretheoremstyle{mythmstyle} \begin{document} \end{document}
5892
I recently updated my operating system from Ubuntu 13.04 to Ubuntu 13.10. Since then, I am facing difficulties compiling my TeX code in which the french babel package is called. Please note that all my sources were compiling very fine before the system upgrade. However, now, given the following header:   \usepackage[francais]{babel}  I receive the following error:  ! Package babel Error: Unknown option `francais'. Either you misspelled it   What should I do? Please note that if I remove this part of code (\usepackage[francais]{babel}), everything is compiling well. I also tried it with french, and I receive the same result. Thank you in advance for your help.  MINIMUM WORKING EXAMPLE : \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[francais]{babel} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb}  \begin{document} This is a MINIMUM WORKING EXAMPLE. \end{document}   ! Package babel Error: Unknow option `francais'. Either you misspelled it
116785
The following code does not compile with the following error message     Missing = inserted for \ifnum   \documentclass[pstricks,border=4pt]{standalone} \usepackage{multido}  \psset{linewidth=.5\pslinewidth} \psset{xunit=2cm}  \newcommand\FixedScale[1]{%     \multips(0,0)(.1,0){\the\numexpr10*#1+1\relax}{\psline(0,0)(0,-3pt)}     \multips(0,0)(.5,0){\the\numexpr2*#1+1\relax}{\psline(0,0)(0,-6pt)}     \multips(0,0)(1,0){\the\numexpr#1+1\relax}{\psline(0,0)(0,-9pt)}     \multido{\i=0+1}{\the\numexpr#1+1\relax}{\uput[-90](\i,-5pt){$\i$}} }  \newcommand\VernierScale[2][0.09]{%     \rput(#2,0){%     \psset{xunit=#1,linecolor=red}%     \multips(0,0)(1,0){11}{\psline(0,0)(0,3pt)}%     \multips(5,0)(5,0){1}{\psline(0,0)(0,6pt)}%     \multips(0,0)(10,0){2}{\psline(0,0)(0,9pt)}%     \ifnum#1=0.11\relax         \multido{\i=0+5}{3}{\uput[90](\i,8pt){\tiny$\the\numexpr10-\i\relax$}}     \else         \multido{\i=0+5}{3}{\uput[90](\i,8pt){\tiny$\i$}}     \fi     } }  \begin{document} \multido{\n=0.00+0.01}{21}{% \begin{pspicture}(0,-.5)(2,.55) \FixedScale{2} \VernierScale[0.09]{\n} \end{pspicture}} \end{document}   What is wrong with \ifnum#1=0.09\relax?
39001
For my thesis, I use biblatex for the bibliography.  As seen , biblatex is not compatible, with \usepackage[utf8x]{inputenc}. It was reported as close but I still have the same problem with my version of bibtex (last one on archlinux ). I want to use the € symbol inside my report but it fails without utf8.  ! Package biblatex Error: Incompatible package 'ucs'.  See the biblatex package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.7 \begin{document}   Any idea idea how to fix ?  \documentclass{report}  \usepackage[utf8x]{inputenc} \usepackage{biblatex} \bibliography{includes/mybib}{}  \begin{document}  X said Y \cite{bib1}  \printbibliography  \end{document}   and the file mybib  @online { bib1,        title = {Refrence title},        author = {X},        url = {http://site.com/y}}
58694
Consider the following MWE:  \documentclass{article} \usepackage{pst-all}  \begin{document}   \begin{pspicture}(0,-3)(12,5)       \psline[linewidth=2pt]{-&gt;}(1.5,0)(0,0)   \end{pspicture} \end{document}   This compiles fine with latex (not with pdflatex) but when run with htlatex it leads to the ghostscript error:  System call: dvips -E -q -Ppdf -f q.idv -pp 2 &gt; zzq.ps System return: 0 System call: gs -sDEVICE=pngalpha -sOutputFile=q0x.png -r110x110 -dEPSCrop -dBackgroundColor=16#ffffff -dTextAlphaBits=2 -dGraphicsAlphaBits=2 -q -dbatch -dNOPAUSE zzq.ps -c quit Error: /configurationerror in --setpagedevice-- Additional information: [/PageSize [0 0]] Operand stack:    --nostringval--   (%%BoundingBox: 72 72 72 72)   --dict:1/2(ro)(G)--   --nostringval--   --nostringval--   (%%BoundingBox: 72 72 72 72)   1   72   72   false   --dict:1/1(L)-- Execution stack:    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1951   1   3   %oparray_pop   1950   1   3   %oparray_pop   --nostringval--   1934   1   3   %oparray_pop   1820   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   %ztokenexec_continue   (scanner state)   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   1913   10   3   %oparray_pop   --nostringval--   --nostringval--   --dict:1/10(L)--   --nostringval--   15   %dict_continue Dictionary stack:    --dict:1190/1684(ro)(G)--   --dict:0/20(G)--   --dict:82/200(L)-- Current allocation mode is local Last OS error: Invalid argument Current file position is 169 GPL Ghostscript 9.16: Unrecoverable error, exit code 1 --- Warning --- System return: 256 Entering q.css Entering q.tmp   This code used to work fine. From other examples I suspect that the problem has something to do with dvips having trouble determining the bounding box for the image (compare with  -- although the solution given here, of using separate files for each image, is not a viable solution for me), but I have not been able to work out what the problem is.  Does anyone have any ideas?
121216
I am designing gamecards in LaTeX  Everything is going pretty ok so far but when i try to insert the %-sign for a question about percentages my file keeps giving errors.  I tried putting the percentage between dollarsigns because i know just % will make it a 'remark' and that the dollarsign makes it 'mathematical data'.   Whats the reason for the error?   P.s. the error says: file ended while scanning use of \kaart. ...    Codesample:   {\kaart{Bekijk statistiek kaart F:   Schat het percentage mensen dat als lievelingseten spaghetti opgaven, je mag er slechts $ 2% $ langs zitten. } { $ 11% $}}
100601
I tried to compile a (flawlessly working) LaTeX document on a different computer, and suddenly was faced with the above error message printed by the xparse package (after that, many errors follow).  I'm working on both computers with miktex 2.9 (and Texnic-Center) on Windows 7 (64 bit).  I tried EVERYTHING I found on stackexchange or anywhere else on the web, including:   Updating all packages Removing the l3 packages and reinstalling them Doing the above for both the current user and in admin mode Removing the complete miktex distribution and re-installing it   for only the current user for "anyone who uses this computer" with all packages only the basic packages  Downloading the newest l3 packages manually from CTAN and copying them into the miktex folder Refreshing the FNDB and updating formats afterwards   Nothing worked. Right now, I'm just out of ideas. ANY suggestions??  EDIT: After performing UlrikeFischer's suggestion, I get different errors. After a long compilation process, this is the log file I get:
28788
The following code gives me an error:  \documentclass[12pt]{article} \usepackage[margin=2cm]{geometry} \usepackage [english]{babel} \usepackage{amsmath, amssymb} \usepackage{enumitem, array} \begin{document} {\begin{minipage}[t]{\textwidth} \begin{enumerate}[label=(\roman*)] {\setlength\itemindent{10pt}\item  \begin{equation*} \begin{array}{&gt;{\centering\arraybackslash}m{1.5cm}&gt;{\centering\arraybackslash}m{1.5cm}&gt;{\centering\arraybackslash}m{1.5cm}&gt;{\centering\arraybackslash}m{1.5cm}&gt;{\centering\arraybackslash}m{1.5cm}}  \hline x &amp; l_{[x]} &amp; d_{[x]} &amp; l_{x+1} &amp; \mathring{e}_{[x]} \\ \hline \end{array} \end{equation*}} \end{enumerate} \end{minipage}} \end{document}   Note: for various reasons, I have to keep minipage there. For some reason, this code gives me an error when it compiles. It gives the following output:     The errors either say there is a } missing or a $ missing. My eyes don't see such a thing!
109108
Is there the possibility to produce PSTricks graphics in LuaLaTeX?  I tried it, but i get       ! Undefined control sequence.     &lt;recently read&gt; \c@lor@to@ps       l.9 \psline(         -5,2)(5,4)   With auto-pst-pdf I get a warning to use pdflatex.  So how can i use pstricks in LuaLaTeX?  Edit:@Marco Daniel  I asked where to pack packages for specified for lualatex, "normal packages", and pstricks packages: Maybe something like this:      \RequirePackage{ifluatex}     \documentclass{scrartcl}     \usepackage{amsmath}      \ifluatex         \usepackage{fontspec}         \defaultfontfeatures{Ligatures=TeX}         \usepackage{lua-visual-debug}     \else          \usepackage{pstricks}          \usepackage{pst-plot}     \fi          \usepackage{auto-pst-pdf}     \begin{document}     Here text...     \end{document}   Niklas
71742
I have just updated MiKTeX and have found that pstricks now appears to cause a problem. The error message I'm getting is     ("C:\Program Files\MiKTeX 2.9\tex\generic\pstricks\pstricks.tex"      ! Undefined control sequence.      l.31 \if@check@engine   Not sure what's happening here. If I stop pstricks from being loaded things work ok.  Is there a known problem with the latest pstricks?
72070
The following MWE shows the problem:  \documentclass{article} \usepackage{amsmath} \usepackage[lite]{mtpro2} \usepackage{refcheck}  \begin{document} \begin{align}   a &amp; \leq b \end{align} \end{document}   And I get a ! Missing $ inserted.. The problem disappears when refcheck is not used, or when mtpro2 is not used.  Does anyone sees a way to use both packages simultaneously?  Also an input such as  \documentclass{article} \usepackage{amsmath} \usepackage[lite]{mtpro2}  \begin{document} Braces \{in text\} \end{document}   produces the same error.
52773
I am trying to use babel and biblatex package together but I am getting following error:    ! Package biblatex Error: Patching 'babel' package failed.    This is my code example:  \documentclass[12pt,a4paper,twoside,openright]{book} \usepackage{cmap} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[slovak]{babel} \usepackage{xpatch} \usepackage{csquotes} \usepackage{biblatex} \begin{document} \enquote{quote} \end{document}   I would need the result look like this:    Well, it seems like I could get rid of the error when using xpatch package, but it works only when I delete 'slovak' option for babel package. That way the result look like this:    Please, is there any workaround for this problem? I am really stuck in this.
65207
Dear friends: there is a problem with appendix and ápendice.  I have a scrbook document and I use appendix package,   \usepackage[title, titletoc]{appendix}    because I like the word "Apéndice" in the toc  \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}   However, when I compile with latex there is an error in file.toc (maybe in file.aux before). The reason is that in the file.aux there is a line like this:  \@writefile{toc}{\contentsline {chapter}{Ap\IeC {\'e}ndice \numberline {A}Sobre el \LaTeX  }{27}{ApÈndice.1.Alph1}}   and in the second compilation the character "È" produces and error. If I compile with lualatex I have not any error.  I have tried to modify \indexname, \@chapapp but I can not find any solution.    Yes, that is a solution. I am going to clarify the problem with a MWE. In my opinion the problem is motivated by UTF-8 codify and inputenc package, as it is possible to see with this code:  \documentclass[paper=a4,10pt, twoside]{scrbook}%  \usepackage{etoolbox}  \usepackage{tgheros}    % (Una versión libre de Helvetica) \renewcommand{\sfdefault}{qhv} %qhv  %:Fuente para todo lo demás (Una versión libre de Times) \renewcommand{\rmdefault}{qtm} \usepackage{textcomp} \normalfont  \usepackage[T1]{fontenc}         \usepackage[utf8]{inputenc} %para LaTex   %:Paquetes relacionados con el idioma y codificación \usepackage[english, spanish, es-nosectiondot, es-noindentfirst, es-nolists, activeacute]{babel}  \spanishdecimal{.}  %:Para poner las referencias y los nombres de figuras y tablas en castellano \addto\captionsspanish {% \def\figurename{Figura}% \def\tablename{Tabla}% \def\listfigurename{Índice de Figuras} \def\listtablename{Índice de Tablas} \def\contentsname{Índice}% \def\chaptername{Capítulo} \def\Agradecimientos{Agradecimientos} \def\Prefacename{Prefacio}% \def\refname{Referencias}% \def\abstractname{Resumen}% \def\bibname{{Bibliografía}} \def\appendixname{Apéndice} \def\miapendice{\appendixname} \def\glossaryname{Glosario}% \def\indexname{{Índice Alfabético}} }  %:Para definir APÉNDICES \usepackage[title, titletoc]{appendix}  \usepackage{hyperref}   \begin{document}  \cleardoublepage \phantomsection \tableofcontents  %:Empieza el contenido del libro \mainmatter  \chapter{Primer capítulo} \section{Primera sección, primer capítulo}  \chapter{Segundo capítulo} \section{Primera sección, segundo capítulo}  \begin{appendices}  \chapter{Primer apéndice} \section{Primera sección, primer apéndice}  \chapter{Segundo apéndice} \section{Primera sección, segundo apéndice}  \end{appendices}  \end{document}   If you compile, you obtain this error message:     Package inputenc Error: Unicode char \u8:énd not set up for use with La- TeXSee the inputenc package documentation for explanation.Your command was ignored.Type I   to replace it with another command,or  to continue without it.ice.alph1.Alph11ice.alph1.Alph20P   But the solution proposed it is perfect. Thank you
121769
I am using this  to convert a GeoJSON point from EPSG:3857 to EPSG:4326.   My command fails. What am I doing wrong?   $ echo '{"type":"Point","coordinates":[-13720479.997764934,5688254.733325758]}' | reproject --from=EPSG:3857 --to=EPSG:4326   /usr/local/lib/node_modules/reproject/cli.js:98             throw new Error("Could not find definition for CRS \"" + crsName + "\".");                   ^ Error: Could not find definition for CRS "EPSG:3857".     at lookupCrs (/usr/local/lib/node_modules/reproject/cli.js:98:10)     at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/reproject/cli.js:25:1)     at Module._compile (module.js:456:26)     at Object.Module._extensions..js (module.js:474:10)     at Module.load (module.js:356:32)     at Function.Module._load (module.js:312:12)     at Function.Module.runMain (module.js:497:10)     at startup (node.js:119:16)     at node.js:901:3
28826
Is there something additional that \usepackage[ngerman]{babel} does that a simple \usepackage{ngerman} won't be able to do?
32802
My .tex file:  \documentclass[a4paper,twoside,portrait,12pt,openright,final,pdflatex]{report} \usepackage[bindingoffset=8mm]{geometry} \usepackage[T1]{fontenc} \usepackage{arabtex} \usepackage{utf8} \usepackage{graphicx} \usepackage{float}  \usepackage{caption} \captionsetup{font=small,labelfont=bf} \setcounter{secnumdepth}{3} \usepackage{fixltx2e}  \usepackage{paralist}  \usepackage{hyperref} \hypersetup{pdftex,linktocpage=true,bookmarks=true,colorlinks=true,citecolor=blue,filecolor=black,linkcolor=blue,urlcolor=black,pdfauthor={Ayman Elmasry},pdftitle={Algorithmic Form Generation: A Thermal Building Envelope Design Approach}} \usepackage[all]{hypcap} \usepackage{lipsum}  \begin{document}  \lipsum[1-20]  \end{document}   I compile with pdflatex, and I get this error:  (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption3.sty Runaway argument? {\caption@CheckCommand \@makecaption {\long \def \@makecaption ##1##2\ETC. ! Paragraph ended before \@gobble was complete. &lt;to be read again&gt;                     \par  l.901         \unskip\kern-2\captionindent\par   When I comment out:  %\usepackage{caption} %\captionsetup{font=small,labelfont=bf}   ... I get an output PDF file with no problems.