undefined control sequence \textHi all,
I am trying to add text into the math environment like so:
$n_\text{MAX_RETRIES}$
I am getting the following error:
backoff.tex:30: Undefined control sequence \text.
Any ideas?
Thanks!
George
On Sep 29, 7:58=A0pm, George Nychis <gnyc...@gmail.com> wrote:
> Hi all,
>
> I am trying to add text into the math environment like so:
> $n_\text{MAX_RETRIES}$
>
> I am getting the following error:
> backoff.tex:30: Undefined control sequence \text.
>
> Any ideas?
>
> Thanks!
> George
\text is from the AMS bundle. Are you loading the amstext package?
--
Joseph Wright
On Sep 29, 3:04=A0pm, Joseph Wright <joseph.wri...@morningstar2.co.uk>
wrote:
> On Sep 29, 7:58=A0pm, George Nychis <gnyc...@gmail.com> wrote:
>
> > Hi all,
>
> > I am trying to add text into the math environment like so:
> > $n_\text{MAX_RETRIES}$
>
> > I am getting the following error:
> > backoff.tex:30: Undefined control sequence \text.
>
> > Any ideas?
>
> > Thanks!
> > George
>
> \text is from the AMS bundle. =A0Are you loading the amstext package?
> --
> Joseph Wright
Thanks bud, I was not using that package.
I have a new set of errors now:
backoff.tex:30: Missing $ inserted.
backoff.tex:30: leading text: $n_\text{MAX_RETRIES}
backoff.tex:30: Extra }, or forgotten $.
backoff.tex:30: leading text: $n_\text{MAX_RETRIES}
backoff.tex:30: Extra }, or forgotten $.
backoff.tex...
undefine a control-sequenceHello!
Just for curiosity:
Assume that I have defined in (La)TeX the control-sequence "\foo".
Assume that nowhere is written a definition for a control-sequence
"\bar". So \bar is not defined.
If I want to turn \foo back into a not-defined control-sequence,
is it in this case sufficient to write:
"\let\foo\bar" ?
Is \foo really undefined afterwards or do my macros work for some
other weird reason?
Is there a reliable convention to leave "\undefined" without
definition?
Sincerely
Sam
On Tue, 25 Jan 2005 04:35:26 +0100, Samuel Fleischer
<Li...
Undefined control sequenceI have been using the following \epsfig command for many years, but now I get this:
\newcommand{\bc}{\begin{center}}
\newcommand{\ec}{\end{center}}
\newcommand{\epsf}[2]{\bc\resizebox{#1}{!}{\includegraphics{#2.eps}}\ec}
\newcommand{\epsfig}[1]{\vspace{0.4in} \epsf{4in}{#1}}
\begin{figure}
\epsfig{route}
\caption{Top view of a section of a trajectory specification}
\label{fig:route}
\end{figure}
[3]
! Undefined control sequence.
\epsf #1#2->\bc \resizebox
{#1}{!}{\includegraphics {#2.eps}}\ec
l.206 \epsfig{route}
Here is the version information"
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
restricted \write18 enabled.
entering extended mode
(./trajspec.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 2 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
Any idea what the problem is? Thanks.
"Russ P." <Russ.Paielli@gmail.com> writes:
> I have been using the following \epsfig command for many years, but
> now I get this:
>
> \newcommand{\bc}{\begin{center}}
> \newcommand{\ec}{\end{center}}
>
> \newcommand{\epsf}[2]{\bc\resizebox{#1}{!}{\includegraphics{#2.eps}}\ec}
> \newcommand{\epsfig}[1]{\vspace{0.4in} \epsf{4in}{#1}}
>
> \begin{figure}
> \epsfig{route}
> \caption{Top view of a secti...
Undefined control sequence??Hi
I'm a new TEX user. I have some problems with my installation and I don't
understand why.
To test my installation, I've written a very simple TEX file:
\documentstyle{article}
\begin{document}
This is my first document with \LaTeX{}.
\end{document}
and then my log file looks like this:
This is TeX, Version 3.14159 (Web2C 7.3.1) (format=tex 2000.10.3) 05 AUG
2009 15:37
**testfile
(testfile.tex
! Undefined control sequence.
l.1 \documentclass
{article}
? R
OK, entering \nonstopmode...
! Undefined control sequence.
l.2 \begin
{document}
The control sequence at the end of the top line of your error message was
never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll
forget about whatever was undefined.
! Undefined control sequence.
l.3 This is my first document with \LaTeX
{}.
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
in fact it seems that my system doesn't know where to look for
the different TEX control sequences... but if I ignore this (by typing
'R') I have a dvi file with all my unformatted text...
Has anyone else experienced this pro...
undefined control sequence? bibc??My latex platform seems to be having a problem with bibtex. It basically
states "undefined control sequence" and highlights "\bibc".
Any ideas on how to resolve this? I thought I had installed the relevant
package but alas not.
cheers
- Kingsley
"Kwaj" <k.oteng@studentNOSPAM.unsw.edu.au> writes:
>My latex platform seems to be having a problem with bibtex. It basically
>states "undefined control sequence" and highlights "\bibc".
>
>Any ideas on how to resolve this? I thought I had installed the relevant
>package but a...
\cs_new undefined control sequenceHi
I am a newbie to xetex and I tried to compile the following document
using xelatex:
\documentclass{article}
=E2=80=A9\usepackage{fontspec}
=E2=80=A9\usepackage{unicode-math}
=E2=80=A9\setromanfont{Calibri}
=E2=80=A9=E2=80=A9\setmathfont{Asana Math}
=E2=80=A9=E2=80=A9\begin{document}=E2=80=A9Aum Amriteshwaryai Namaha
=E2=80=A9\begin{equation}
=E2=80=A9x =3D \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
=E2=80=A9\end{equation}
\end{document}
(/home/suresh/texmf/tex/latex/filehook/filehook.sty)
! Undefined control sequence.
l.92 \xetex_or_luatex:nnn
{ \cs_new:Npn \um_cs_compat:n #1 }
How to fix this error?
thanks
suresh
In article
<1550f93b-4c98-4246-aea6-03cd42f808d1@11g2000prf.googlegroups.com>,
suresh <suresh.amritapuri@gmail.com> wrote:
> Hi
>
> I am a newbie to xetex and I tried to compile the following document
> using xelatex:
>
> \documentclass{article}
>
> \usepackage{fontspec}
>
> \usepackage{unicode-math}
>
> \setromanfont{Calibri}
>
>
> \setmathfont{Asana Math}
>
>
> \begin{document}
> Aum Amriteshwaryai Namaha
>
> \begin{equation}
>
> x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
>
> \end{equation}
> \end{document}
>
>
> (/home/suresh/texmf/tex/latex/filehook/filehook.sty)
> ! Undefined control sequence.
> l.92 \xetex_or_luatex:nnn
> { \cs_new:Npn \um_cs_compat:n #1 }
>
> How to fix this error?
Have you updated your distribution? This works fo...
Undefined control sequence. \documentclassWhat the hell am I doing wrong??
This is may Beispiel1.tex file:
\documentclass[a4paper,10pt]{article}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[dvips]{graphicx}
\begin{document}
Hi.
\end{document}
I use Kile in Suse 10.
After selecting Build->Compile->LaTeX, I get the following output
messages:
[LaTeX] Beispiel1.tex => Beispiel1.dvi (latex)
[LaTeX] finished with exit status 127
../Beispiel1.tex:1:Undefined control sequence. \documentclass
Beispiel1.tex:0:File ended while scanning use of \\.
[LaTeX] 2 errors, 0 warnings, 0 badboxes
If I uselect Build->Compile->TeX I get these messages:
[TeX] Beispiel1.tex => Beispiel1.dvi (tex)
[TeX] finished with exit status 1
and "xdvi Beispiel1.dvi" just shows me the source code. :-(
Please help.
In article <1158006225.459851.118590@p79g2000cwp.googlegroups.com>,
h2g.mobil@googlemail.com wrote:
> What the hell am I doing wrong??
>
> This is may Beispiel1.tex file:
>
> \documentclass[a4paper,10pt]{article}
> \usepackage[latin1]{inputenc}
> \usepackage[ngerman]{babel}
> \usepackage[T1]{fontenc}
> \usepackage[dvips]{graphicx}
> \begin{document}
> Hi.
> \end{document}
>
> I use Kile in Suse 10.
> After selecting Build->Compile->LaTeX, I get the following output
> messages:
>
> [LaTeX] Beispiel1.tex => Beispiel1.dvi (latex)
> [LaTeX] finished with exit status 127
> ./Beispi...
mzlatex and undefined control sequenceHello everyone, I have recently been trying to convert by thesis to
html. First i tried latex2html but i had some rather annoying figure
conversion problems so i have switched to mxlatex because of its cool
mathml stuff. However, when i run
mzlatex thesis1.tex
it gives me
! Undefined control sequence.
\hyper@anchor ...y@activeanchortrue \Hy@colorlink
{\@anchorcolor
}\anchor@sp...
l.1165 }
and on this line there nothing but plain text and even if i comment it
out i still get the same error. Any suggestions? Or perhaps a different
approach to html under linux?
Greetings,
David.
>mzlatex thesis1.tex
>
>it gives me
>
>! Undefined control sequence.
>\hyper@anchor ...y@activeanchortrue \Hy@colorlink
> {\@anchorcolor
>}\anchor@sp...
>l.1165 }
>
>and on this line there nothing but plain text and even if i comment it
>out i still get the same error. Any suggestions?
Can you provide a miniature latex subfile exhibiting the
problem. Looks like a definition similar to
\def\hyper@anchor#1{\hyper@anchorstart{#1}\hyper@anchorend}
in hyperref.4ht will fix the reported problem, but I'm not certain
about that.
-eitan
thnx for the prompt reply. I did what you suggested and recreated a
small sample file to reproduce the problem and it turns out that
including the "html" package was causing the problem, i had forgotten i
put it in...
Undefined control sequence errorWould someone kindly help what's causing the following error:
%%%%%%%%%%%%%% ERROR %%%%%%%%%%%%%%
! Undefined control sequence.
\resetOptions ->\@zero
=0\def \pst@linetype {0}\pstScalePoints (1,1){}
{}\pss...
l.1900 \resetOptions
?
! Emergency stop.
\resetOptions ->\@zero
=0\def \pst@linetype {0}\pstScalePoints (1,1){}
{}\pss...
l.1900 \resetOptions
%%%%%%%%%%%%%%% MWE %%%%%%%%%%%%%%%%
\documentclass[english, landscape, a4paper]{slides}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{babel}
\usepackage{pst-eps}
\usepackage{pstricks}
\usepackage{multido}
\usepackage{pst-node}
\usepackage{pst-math}
\usepackage{pstricks-add}
\begin{document}
\begin{TeXtoEPS}
\setlength{\unitlength}{1cm}
\newsavebox{\EpsImgBox}
\savebox{\EpsImgBox}{%
\includegraphics[angle=90]{Landmarks_Comp_75.eps}
}
\begin{pspicture}(\wd\EpsImgBox,\ht\EpsImgBox)
{
\rput[lb](0,0){
\usebox{\EpsImgBox}
}
}
\end{pspicture}
\end{TeXtoEPS}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Thanks,
- Olumide
...
Undefined control sequence when use \abovecaptionskipHi,
I would like to increase the space between a float and its caption, so
I use,
\begin{figure}[p]
\begin{center}
\setlength{\abovecaptionskip}{100pt}
\includegraphics{amazon_rings_figs/fig_SSS/NODC-stats.eps}
\caption{\textit{Yearly and monthly distribution of salinity data
used in this study. Data are from the World Ocean Database 1998 of the
U.S. National Oceanographic Data Center. N = 16,797.}}
\label{fig:NODC-stats}
\end{center}
\end{figure}
(I used 100pt to make sure I could see any effect.)
But I get this error:
! Undefined control sequence.
<argument> \abovecaptionskip}{100pt}
l.400 \setlength{\abovecaptionskip}{100pt}
I get this error no matter where I put the setlength command. The only
packages I call are graphicx and epstopdf. This tex file typesets a
paper that I am submitting to a journal that does not want me to use
any other packages, such as caption. I am using TexShop 1.34 on an
Apple Powerbook G4.
I'm a relative LaTeX novice; can someone point out what (stupid) think
I'm doing wrong?
Thanks,
Pete Kelly
pete.kelly@mac.com wrote:
> But I get this error:
>
> ! Undefined control sequence.
> <argument> \abovecaptionskip}{100pt}
>
> l.400 \setlength{\abovecaptionskip}{100pt}
\abovecaptionskip is not defined by the LaTeX kernel, it's defined by the
standard document classes `article', `report' and `book'. Many other
document classes also define and use this skip (KOMA-S...
Undefined control sequence error #2Would someone kindly help what's causing the following error:
%%%%%%%%%%%%%% ERROR %%%%%%%%%%%%%%
! Undefined control sequence.
\resetOptions ->\@zero
=0\def \pst@linetype {0}\pstScalePoints (1,1){}
{}\pss...
l.1900 \resetOptions
?
! Emergency stop.
\resetOptions ->\@zero
=0\def \pst@linetype {0}\pstScalePoints (1,1){}
{}\pss...
l.1900 \resetOptions
%%%%%%%%%%%%%%% MWE %%%%%%%%%%%%%%%%
\documentclass[english, landscape, a4paper]{slides}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{babel}
\usepackage{pst-eps}
\usepackage{pstricks}
\usepackage{multido}
\usepackage{pst-node}
\usepackage{pst-math}
\usepackage{pstricks-add}
\begin{document}
\begin{TeXtoEPS}
\setlength{\unitlength}{1cm}
\newsavebox{\EpsImgBox}
\savebox{\EpsImgBox}{%
\includegraphics[angle=90]{Landmarks_Comp_75.eps}
}
\begin{pspicture}(\wd\EpsImgBox,\ht\EpsImgBox)
{
\rput[lb](0,0){
\usebox{\EpsImgBox}
}
}
\end{pspicture}
\end{TeXtoEPS}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Thanks,
- Olumide
Am 01.07.2011 15:35, schrieb Olumide:
> Would someone kindly help what's causing the following error:
it makes no sense to post a question in several groups
at the same time ...
Herbert
...
Beamer class undefined control sequenceHello,
After installing beamer class onto the Linux machine in my new office,
I get the following weird error message while compiling arbitrary
beamer files:
(/home/pcl304/meyer/texmf/tex/latex/slashed/slashed.sty))
! Undefined control sequence.
\beamer@firstminutepatches ...gdefDisableCommands
{\let \\=\^^M\let
\newline...
l.206 \begin{document}
?
The message also shows up when using latex instead of pdflatex. Does
anybody know help?
Rene.
"Ren� Meyer" <meyr2@web.de> writes:
> ! Undefined control sequence.
> \beamer@firstminutepatches ...gdefDisableCommands
My guess without looking is it is a typo for \gdef\DisableCommands
--
Donald Arseneau asnd@triumf.ca
Donald Arseneau <asnd@triumf.ca> wrote:
> "Ren� Meyer" <meyr2@web.de> writes:
>
>> ! Undefined control sequence.
>> \beamer@firstminutepatches ...gdefDisableCommands
>
> My guess without looking is it is a typo for \gdef\DisableCommands
Probably not a typo. '\pdfstringdefDisableCommands{%' shows up
in beamer/beamerbasetitle.sty and is "bracketed" by
"\ifbeamer@autopdfinfo .... \fi". It looks that OP turns on a spurious
PDF processing. Most likely a buggy PDF check somewhere (instead
of a use of ifpdf.sty if really required?).
Michal
...
package enumitem: Undefined control sequence.Hi all,
When I compile this
\listfiles
\documentclass{article}
\usepackage{enumitem}
%\setlist[enumerate]{leftmargin=*} % run fine
\setlist[itemize]{leftmargin=*} % produces "! Undefined control sequence."
%\setlist[description]{leftmargin=*} % produces "! Undefined control
sequence."
\begin{document}
\begin{enumerate}
\item enumerate
\end{enumerate}
\begin{itemize}
\item itemize
\end{itemize}
\begin{description}
\item[first] description
\end{description}
\end{document}
I get
! Undefined control sequence.
<argument> enit@cw@\@enumctr
l.14 \item
itemize
! Undefined control sequence.
<argument> enit@cv@\@enumctr
l.14 \item
itemize
("D:\MiKTeX 2.9\tex\latex\base\omscmr.fd") [1] (d:\file.aux)
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
enumitem.sty 2011/07/09 v3.2 Customized lists
omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
***********
Any help would be appreciated.
Pedro Carneiro
Le 13/07/2011 15:47, Pedro Carneiro a �crit :
> Hi all,
>
> When I compile this
>
> \listfiles
> \documentclass{article}
> \usepackage{enumitem}
> %\setlist[enumerate]{leftmargin=*} % run fine
> \setlist[itemize]{leftmargin=*} % produces "! Undefined control sequence."
> %\setlist[description]{leftmargin=*} % produces "! Undefined control
> sequen...
Undefined control sequence because of mbox in captionHello all,
I'm having a problem when using mbox inside a figure caption. With
mbox I get an "undefined control sequence" on my macro. Without mbox,
everything is a-okay. I'm willing to drop the mbox, but I'm using it
because I don't want the text in the mbox to be split between two
lines. Is the \nobreakdash good enough to prevent breaking across two
lines?
Thanks very much.
Here is a pared-down working version of the code:
\documentclass[letterpaper,11pt]{article}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath, amsthm, amssymb}
\usepackage[pdftex]{graphicx}
\newcommand{\deltamethane}{\mbox{\ensuremath{\delta^{\text{13}}}C
\nobreakdash-CH\ensuremath{_{\text{4}}}}}
\newcommand{\methane}{CH\ensuremath{_{\text{4}}}}
\begin{document}
Some text with \methane\ and \deltamethane.
\begin{figure}[tbp]
\begin{center}
\includegraphics[scale=0.5]{test}
\end{center}
\caption{Plot of the \methane\ concentration and \deltamethane\
data.}
\label{fig:fig1}
\end{figure}
\end{document}
I'm not sure whether this is what you're looking for, but rather have
your commands defined by
\newcommand{\deltamethane}{\mbox{$\delta^{13}\mathrm{C}-
\mathrm{CH}_{4}$}}
\newcommand{\methane}{$\mathrm{CH}_{4}$}
Werner
On Jun 1, 12:12 pm, Werner <wgrundli...@gmail.com> wrote:
> I'm not sure whether this is what you're looking for, but rather have
> your commands defined by
> \newcommand{\deltamethane}{\mbox{$\delta^{13}\mathrm...
MacTeX and pstricks: Undefined control sequenceI have a LaTeX file which compiles and builds beautifully under MikTeX
on Windows, but when I try to build the same document via TeXShop,
MacTeX, etc. on my Mac, I get:
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.120 \pstree{\XX{Hierarchy}}
This uses pstricks to build a tree diagram. Note that \XX is defined
by:
\newcommand{\XX}[1]{%
\Tr{\psframebox{\rule{0pt}{9pt}#1}}}
Any clues? Are the packages implemented differently in these two
distributions?
Thanks very much!
-pd
In article
<037a69aa-c681-4112-abf5-17331426ae6e@z17g2000hsg.googlegroups.com>,
Peter Davis <pfdavis@gmail.com> wrote:
> I have a LaTeX file which compiles and builds beautifully under MikTeX
> on Windows, but when I try to build the same document via TeXShop,
> MacTeX, etc. on my Mac, I get:
>
> ! Undefined control sequence.
> <recently read> \c@lor@to@ps
>
> l.120 \pstree{\XX{Hierarchy}}
>
> This uses pstricks to build a tree diagram. Note that \XX is defined
> by:
>
> \newcommand{\XX}[1]{%
> \Tr{\psframebox{\rule{0pt}{9pt}#1}}}
>
> Any clues? Are the packages implemented differently in these two
> distributions?
>
> Thanks very much!
>
> -pd
Howdy,
You re probably trying to compile using pdflatex rather than ``TeX +
Ghostscript''. Pdflatex doesn't support pstricks (directly).
If you're using TeXShop put the line
%%!TEX TS-program = latex
as the first line i...
Control code sequence for boldface textHello! Trying to find the control code sequence for bolding then
unbolding a text string in a Windows application created file.
For example, Report Heading, on line 1 of the file needs to be bolded,
then turned off before the rest of the file is created.
For HTML it is <B> then </B> but not sure if that would also apply
here.
Would appreciate any help or recommendations concerning this. Thanks!
...
Hyperref error: undefined control sequence-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Back here after a long time quit, just wanted to ask a quick question, I
hope the customs here haven’t changed that much that I appear rude.
My problem: I have the following minimal document:
\documentclass
[ucs]
{beamer}
\author{
\url{http://tcl.sfs.uni-tuebingen.de/~um}
}
\begin{document}
\maketitle
\end{document}
I get the following errors on the line with \url:
====errors====
! Undefined control sequence.
\hyper@linkurl ...n/S/URI/URI(#2)>>}\Hy@colorlink
{\@urlcolor
}#1\close@pdfl...
l.7 }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
LaTeX Font Info: Try loading font information for PU+cmtt on input
line 7.
LaTeX Font Info: No file PUcmtt.fd. on input line 7.
LaTeX Font Warning: Font shape `PU/cmtt/m/n' undefined
(Font) using `PU/pdf/m/n' instead on input line 7.
LaTeX Font Info: Try loading font information for U+msa on input line 7.
(/usr/share/texmf/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Try loading font information for U+msb on input line 7.
(/usr/share/texmf/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2002/01/19 v2.2g AMS font defi...
\ifodd\pageno When i do the following i get an undefined controll sequence error:
\ifodd\c@page
\include{emptypage}
\else
\fi
I just tried the following:
\documentclass{article}
\makeatletter
\renewcommand\ps@plain{
\renewcommand\@oddhead{
This is a%
\ifodd\c@page%
n odd%
\fi%
\ page!
}
}
\makeatother
\pagestyle{plain}
\begin{document}
.... Put a multi-page text here ...
\end{document}
which gives "This is an odd page!" above every odd page and "This is a
page!" above every even page.
Did you confirm that @ is a letter (\makeatletter, inside a .sty file,
etc.)?
If so, perhaps you can provide a minimal example?
By the way, what's the use of : \else \fi ?
Regards
Michael.
"Gerwin" <g.h.vandoorn@gmail.com> schreef in bericht
news:1131900113.538821.263290@z14g2000cwz.googlegroups.com...
> When i do the following i get an undefined controll sequence error:
>
> \ifodd\c@page
> \include{emptypage}
> \else
> \fi
>
Gerwin <g.h.vandoorn@gmail.com> wrote:
> When i do the following i get an undefined controll sequence error:
>
> \ifodd\c@page
> \include{emptypage}
> \else
> \fi
No. You get
! Missing number, treated as zero.
<to be read again>
\unhbox
l.5 \ifodd\c@
page
If you put properly the commands between \makeatletter and \makeatother
you get no error.
Try with <http://www.tex.ac.uk/cgi-bin/texfaq2html?label=reallybl...
"Undefined control sequence" errorRight, so I haven't gotten anywhere in the LaTeX user group with this
question, so let's try the friendly folks here. =)
I'm using the following commands to place a floating boxedminipage in
the text of my report:
\begin{figure}[t]
\centering
\begin{boxedminipage}{.9\textwidth}
Text in a box \\
text in a box! \\
OMG!!
\end{boxedminipage}
\end{figure}
When I go to compile, I get the error:
! Undefinedcontrol sequence.
\@newbaseline -> \setnew@baselineskip
\baselineskip \baselinestretch \baseli...
1.417 \begin{figure}[t]
Utterly marvelous. So I understand that it has a problem with
\begin{figure}[t], I just don't understand why. The boxedminipage and
graphicx packages are all loaded, so am I missing anything in
particular?
-Ricardo-
Ricardo S. wrote:
> I'm using the following commands to place a floating boxedminipage in
> the text of my report:
>
> \begin{figure}[t]
> \centering
> \begin{boxedminipage}{.9\textwidth}
> Text in a box \\
> text in a box! \\
> OMG!!
> \end{boxedminipage}
> \end{figure}
>
> When I go to compile, I get the error:
>
> ! Undefinedcontrol sequence.
> \@newbaseline -> \setnew@baselineskip
>
>
> \baselineskip \baselinestretch \baseli...
>
> 1.417 \begin{figure}[t]
>
> Utterly marvelous. So I under...
plain + graphicx + bb = Undefined control sequence.I've been happily using graphicx with plain TeX for quite a while (by
first \input'ing miniltx). Thanks to all those involved.
Today I wanted to use the bb= option, and that crashes and burns (TL2011).
Here is a minimal non-working example:
pdftex this:
\input miniltx
\makeatletter
\def\Gin@driver{pdftex.def}
\input graphicx.sty
\makeatother
\includegraphics[bb=1 2 3 4]{a6p7-soln}
\bye
I get the following output
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
restricted \write18 enabled.
entering extended mode
(./a.tex (/usr/local/texlive/2011/texmf-dist/tex/plain/graphics-pln/miniltx.tex
) (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2011/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/local/texlive/2011/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)))) <use a6p7-soln.pdf>
! Undefined control sequence.
<argument> ...@base \Gin@ext image\GPT@AttrShort
\ifx \GPT@print \ltx@empty...
\Gs...
Dynamically defined control sequences (plain TeX)% Dynamically defined control sequences (plain TeX)
% I am trying to get control sequences whose
% name is defined at run-time. Page 40 of
% The TeXbook discusses (in the second double
% dangerous bend) going from a list of character
% tokens to a control sequence. So I tried the following:
\gdef\dynamicnamevalue#1#2{%
{\xdef\csname #1teller\endcsname{Value for:#1 is:#2\par}
}}
\dynamicnamevalue{first}{stuff for first}
\dynamicnamevalue{second}{stuff for second}
% The following works and generates the line:
% "Value for:second is:stuff for second"
\csname secondteller\endcsname...
Undefined control sequence error in the list of figuresHi, there
I got the "undefined control sequence" error in the list of figures
while using my own cls. I found it is related to the following
section.
\titlecontents{figure}
[0pt]
{}
{FIGURE \thecontentslabel:\enscape\enspace} % the error
will gone if leave this line blank {}
{}
{\hfill\contentspage}
[]
The outcome looks fine though. Thanks for help.
zl2k
zl2k wrote:
> Hi, there
> I got the "undefined control sequence" error in the list of figures
> while using my own cls. I found it is related to the following
> section.
>
> \titlecontents{figure}
> [0pt]
> {}
> {FIGURE \thecontentslabel:\enscape\enspace} % the error
^^^^^^^
Is this where the error is, perhaps?
--
Joseph Wright
On Mar 26, 5:23=A0pm, Joseph Wright <joseph.wri...@morningstar2.co.uk>
wrote:
> zl2k wrote:
> > Hi, there
> > I got the "undefined control sequence" error in the list of figures
> > while using my own cls. I found it is related to the following
> > section.
>
> > \titlecontents{figure}
> > =A0 =A0 =A0 =A0 =A0 =A0 [0pt]
> > =A0 =A0 =A0 =A0 =A0 =A0 {}
> > =A0 =A0 =A0 =A0 =A0 =A0 {FIGURE \thecontentslabel:\enscape\enspace} % t=
he error
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0^^^^^^^...
Undefined control sequenceFor the file manual.tex ( http://github.com/metaperl/ursala-doc )
when I run pdflatex manual.tex
I get an 'Undefined control sequence' error but I do not know exactly
what the problem is.
Clearly, LaTeX has started to read ./pics/rendemo.tex (http://
github.com/metaperl/ursala-doc/blob/master/pics/rendemo.tex) and it is
having an issue on line 4 which is:
\psline[linestyle=dotted,linewidth=0.9pt,linecolor=black,fillstyle=none]
{-}( 21.90, 91.38)(142.98,156.39)
and then if I look in the .log file I see
(./pics/rendemo.tex
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.4 ...th=0.9pt,linecolor=black,fillstyle=none]{-}
( 21.90, 91.38)
(142.98,156...
? Q
In article
<11ffbcb3-5104-42a2-ab45-f804bb9afcaa@s9g2000yqd.googlegroups.com>,
Terrence Brannon <metaperl@gmail.com> wrote:
> For the file manual.tex ( http://github.com/metaperl/ursala-doc )
>
> when I run pdflatex manual.tex
>
> I get an 'Undefined control sequence' error but I do not know exactly
> what the problem is.
>
> Clearly, LaTeX has started to read ./pics/rendemo.tex (http://
> github.com/metaperl/ursala-doc/blob/master/pics/rendemo.tex) and it is
> having an issue on line 4 which is:
>
> \psline[linestyle=dotted,linewidth=0.9pt,linecolor=black,fillstyle=none]
> {-}( 21.90, 91.38)(142.98,156.39)
>
> and then if I look in the .log file I see
>
> (./pics/r...
PassiveTeX and "Undefined control sequence."Hello,
I use Debian GNU/Linux 3.0r2 which contains teTeX 1.0.2+20011202. This
version seems to not include PassiveTeX. Is this true?
I downloaded the files from
http://www.tug.org/tex-archive/macros/xmltex/contrib/passivetex/
into my working directory. When I apply xmltex on an example FO file, I get
the message
! Undefined control sequence.
l.31 \XMLstringX
\prop@width<>proportional-column-width(1)</>.
Can anybody imagine what is going wrong here?
Wolfgang
...