LyX ⇒ How to remove Undefined control sequence error in LYX 2.0
How to remove Undefined control sequence error in LYX 2.0
I am using LYX 2.0 to my work. When I opened the existing template IEEE Transction and typed as I desire and run view. I found the following error
Undefined Control sequence error.
How to remove the above error.
Undefined Control sequence error.
How to remove the above error.
Last edited by Johannes_B on Sun Mar 08, 2015 9:11 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
How to remove Undefined control sequence error in LYX 2.0
It would be very helpful to tell us where the template is coming from.
Every command you are using with LaTeX has to be defined first. Some commands are available loading packages. One package i know, that defines something like that is hologo (
There are more undefined control sequences in your document. It might be easier using the simpler LaTeX-level to debug first.
Every command you are using with LaTeX has to be defined first. Some commands are available loading packages. One package i know, that defines something like that is hologo (
\hologo{BibTeX}
).There are more undefined control sequences in your document. It might be easier using the simpler LaTeX-level to debug first.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
How to remove Undefined control sequence error in LYX 2.0
Dear Sir,
I have installed the LYX 2.0, MIKTEX, JABREF, GHOST,2gsv to my system.
I have taken the template from LYX 2.0 > FILE > New from Template > IEEE Tran.
I have shown the screen shot, how I have taken template from LYX 2.0.
I have installed the LYX 2.0, MIKTEX, JABREF, GHOST,2gsv to my system.
I have taken the template from LYX 2.0 > FILE > New from Template > IEEE Tran.
I have shown the screen shot, how I have taken template from LYX 2.0.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
How to remove Undefined control sequence error in LYX 2.0
Oh, the direct LyX template. I am not a LyX user, so i cannot be of real help here. It is strange though, that the unmodified template gives errors like that.
We are a bit short on LyX users right now, so we have to wait.
ANother possibility would be to ask on the LyX users mailing list.
We are a bit short on LyX users right now, so we have to wait.
ANother possibility would be to ask on the LyX users mailing list.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
How to remove Undefined control sequence error in LYX 2.0
You could define the missing command in your document preamble (LyX menu, Document settings, preamble), for example:
Auch schon gesehen in
Stefan
Code: Select all
\newcommand*{\BibTeX}{\textsc{Bib}\TeX}
bibtex.web
:Code: Select all
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
LaTeX.org admin
Re: How to remove Undefined control sequence error in LYX 2.
Dear Sir,
As you told change the code also, I am getting the error. O.K. I will re install it once again LYX. I have following LYX 2.0 installing files.
(a) 1 MikTex 2.9 setup
(b) 2 gsv
(c) 3 LyX-2.0.0.3- Installer
(d) JabRef-2.6-seyup
While installing, which sequence I have to use. Which one I have to install first, next second, next third, next fourth. First one, which one I have to install first MikTex 2.9 setup or gsv or lyx or JabRef.
Can you advice me, which one I have to install first, second, third, fourth above mentioned (a), (b), (c) and (d).
I am getting following error after entering the as you said code
https://drive.google.com/file/d/0BwF-am ... sp=sharing
As you told change the code also, I am getting the error. O.K. I will re install it once again LYX. I have following LYX 2.0 installing files.
(a) 1 MikTex 2.9 setup
(b) 2 gsv
(c) 3 LyX-2.0.0.3- Installer
(d) JabRef-2.6-seyup
While installing, which sequence I have to use. Which one I have to install first, next second, next third, next fourth. First one, which one I have to install first MikTex 2.9 setup or gsv or lyx or JabRef.
Can you advice me, which one I have to install first, second, third, fourth above mentioned (a), (b), (c) and (d).
I am getting following error after entering the as you said code
https://drive.google.com/file/d/0BwF-am ... sp=sharing
-
- Posts: 89
- Joined: Fri Jan 24, 2014 12:42 am
Re: How to remove Undefined control sequence error in LYX 2.
I'm using LyX 2.1.3 and I just opened up the Ieee-TransMag template and clicked ViewPDFLatex and it compiled without errors. Try updating your LyX software and using the new template.