Lyx compilation error

Hi I have the following code written in lyx preamble. It does not compile anymore and the following error messages are produced.

  1. \documentclass[titlepage]{csetr-notr} The document may only declare one class.
  2. \trnumber{0701} 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.
  3. \trnumber{0 701} You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X <return> to quit.
  4. \trdate{\reportDate} 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.

Does someone have any answers for why this is happening ?

\documentclass[titlepage]{csetr-notr} \usepackage{graphicx} \usepackage{amsmath,amsfonts,amsthm,amssymb} \usepackage{setspace} \usepackage{url} \usepackage{fancyhdr} \usepackage{lastpage} \usepackage[font={small,it},belowskip=-10pt,aboveskip=5pt]{caption} \usepackage{multicol} \renewcommand{\and}{\hspace{.5cm}} \newcommand{\zz}{\hspace{.5cm}} \trnumber{0701} \trdate{\reportDate} \newcommand{\SupervisorName}{Prof. Sanjay Jha} \newcommand{\StudentName}{Mohsen\ Rezvani} \newcommand{\StudentID}{3387679} \newcommand{\StudentEmail}{[email protected]} \newcommand{\reportDate}{August\ 15,\ 2012} \newcommand{\researchTitle}{Thesis Proposal \\ \vspace{.8in}\textbf{Anomaly Based Intrusion Detection System in Cloud Computing}} \newcommand{\assignmentTitle}{GSOE9400\ Assignment\ 3} \title{% \researchTitle } \author{% \StudentName\ (\StudentID)\\%[2em] \email{\StudentEmail} } \date{} \pagestyle{fancy} \pagestyle{fancy} \lhead{\StudentName} \chead{} \rhead{\assignmentTitle} \lfoot{\reportDate} \cfoot{} \rfoot{Page\ \thepage\ of\ \pageref{LastPage}} %\renewcommand\headrulewidth{0.4pt} %\renewcommand\footrulewidth{0.4pt} %\fancypagestyle{plain}{ % \fancyhf{} %clear all header and footer fields on pagestyle plain for chapter titles % \lhead{\StudentName} % \chead{} % \rhead{\assignmentTitle} % \lfoot{\reportDate} % \cfoot{} %\rfoot{Page\ \thepage\ of\ \pageref{LastPage}} % \renewcommand\headrulewidth{0.4pt} % \renewcommand\footrulewidth{0.4pt} %} %\setcounter{tocdepth}{4} %\setcounter{secnumdepth}{4} %\let\stdsection\section %\renewcommand\section{\newpage\stdsection} %% Hack by Heiko Oberdiek (on de.comp.text.tex) \usepackage{tabularx} %% Redefine the standard table \let\ORIGtabular\tabular \let\ORIGendtabular\endtabular \let\ORIGtabularx\tabularx \renewcommand*{\tabularx}{% \def\tabular{% \let\endtabular\ORIGendtabular \ORIGtabular }% \ORIGtabularx } \renewcommand{\tabular}{% %% The width of the table. Adjust if needed \tabularx{\linewidth}% } \renewcommand{\endtabular}{\endtabularx}

Your thoughts will be much appreciated.


Category:compiler errors Views:1 Time:2018-05-16

Related post

  • Compiler Error C2143 when using a struct 2008-08-29

    I'm compiling a simple .c in visual c++ with Compile as C Code (/TC) and i get this compiler error error C2143: syntax error : missing ';' before 'type' on a line that calls for a simple struct struct foo test; same goes for using the typedef of the

  • C++ Compiler Error C2371 - Redefinition of WCHAR 2008-09-03

    I am getting C++ Compiler error C2371 when I include a header file that itself includes odbcss.h. My project is set to MBCS. C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\odbcss.h(430) : error C2371: 'WCHAR' : redefinition; different basic ty

  • .NET property generating "must declare a body because it is not marked abstract or extern" compilation error 2008-09-18

    I have a .NET 3.5 (target framework) web application. I have some code that looks like this: public string LogPath { get; private set; } public string ErrorMsg { get; private set; } It's giving me this compilation error for these lines: "must declare

  • Compile errors in mshtml.h compiling with VS2008 2008-09-23

    I'm in the process of moving one of our projects from VS6 to VS2008 and I've hit the following compile error with mshtml.h: 1>c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(5272) : error C2143: syntax error : missing '}' before 'co

  • Automatically stop Visual C++ 2008 build at first compile error? 2008-09-25

    I know I can compile individual source files, but sometimes -- say, when editing a header file used by many .cpp files -- multiple source files need to be recompiled. That's what Build is for. Default behavior of the "Build" command in VC9 (Visual C+

  • Fast compiler error messages in Eclipse 2008-10-03

    As a new Eclipse user, I am constantly annoyed by how long it takes compiler error messages to display. This is mostly only a problem for long errors that don't fit in the status bar or the "Problems" tab. But I get enough long errors in Java—especia

  • Delphi 7 compile error - "Duplicate resource(s)" between .res and .dfm 2008-10-08

    I got a very similar error to the one below: However, the error I got is this: [Error] WARNING. Duplicate resource(s): [Error] Type 10 (RCDATA), ID

  • C#: Force Compiler error on use of myObj.ToString() 2008-10-20

    I have a class that contains a bunch of properties. It is a mistake by a programmer if they call ToString() on an object of that type. Take this example code: using System; public class Foo { public int ID = 123; public string Name = "SomeName"; priv

  • Compile errors after converting to a Web Application Project from a Web Site 2008-11-21

    I'm trying to convert a Web Site to the Web Application project model and I'm running into compile errors that do not seem to be covered by the guidance I found at Converting a Web Site Project to a Web Application Project. The issue is that standard

  • C++ array size dependent on function parameter causes compile errors 2008-11-23

    I have a simple function in which an array is declared with size depending on the parameter which is int. void f(int n){ char a[n]; }; int main() { return 0; } This piece of code compiles fine on GNU C++, but not on MSVC 2005. I get the following com

  • Show all compile errors in FlexBuilder? 2008-12-10

    Is it possible to make FlexBuilder show all compile errors in all files? FlexBuilder does not show errors in Action Script files, that are not referenced. Also very often I fix a problem just to see new problems pop up after compiling the whole proje

  • Compile Error With Generic Method in C# 2008-12-11

    EDIT: I found out that I can get it to compile if I cast the IMetadataType object to the TMetadata type. Why do I need to do this? EDIT #2: The "Values" property is a .NET dictionary of type <TMetadata, TData>. I have this generic method: priva

  • Force compile error if function argument out of range 2008-12-13

    I am restricted to C (cannot use C++). I wish C had stricter type checking. Is there a way to get compile errors on the commented lines? If it helps, the enum values cannot overlap. enum hundred { VALUE_HUNDRED_A = 100, VALUE_HUNDRED_B }; enum thousa

  • Why will expressions as property values on a server-controls lead to a compile errors? 2008-12-16

    This question is a result of what i noticed while trying to answer another question. And now im curious to know why <asp:TextBox runat="server" Visible="<%= true %>" /> leads to a compile error, and not to a visible TextBox as i would hav

  • A new expression requires () or [] after type compilation error - C# 2008-12-23

    The following code for a co-worker throws the following error when he tries to compile it using VS 2008: Error: A new expression requires () or [] after type Code: MyClass Structure: public class MyClass { public MyClass() {} public string Property1

  • Is Refactoring by Compilation Errors Bad? 2009-01-01

    I have been used to do some refactorings by introducing compilation errors. For example, if I want to remove a field from my class and make it a parameter to some methods, I usually remove the field first, which causes a compilation error for the cla

  • VC++ compile errors when including gl.h 2009-01-10

    Compiling a file that uses OpenGL with Visual C++, when I try to include the gl.h header file I get about 150 unhelpful compile errors: error C2144: syntax error : 'void' should be preceded by ';' error C4430: missing type specifier - int assumed. No

  • Compile Error CS0433 on pre-compiled ASP.NET 2.0 site 2009-01-13

    I keep getting this error ever so often when I launch the debugger to debug my site. I'm using the Telerik controls, and usually the error is in my tab strip. Here is an example of the error I'm looking at right now: Compiler Error Message: CS0433: T

  • Returning Arrays from .net web service to Java ME web service results in compile error of stub? 2009-01-16

    So, I'm getting some compile errors on netbeans 6.5 generated web service code for a java ME client to a c# (vs2005) web service. I've trimmed my example significantly, and it still shows the problem, and not being able to return a collection of thin

  • Compiler Error when adding dll reference to managed c++ project 2009-01-22

    I am using VS 2008 and get compiler errors sporadically when adding a dll reference to a managed c++ file in my C++ project. I am trying to add a reference to the dll so as to be able to use smart pointers. ex: #import items.tlb The problem is that t

  • Why no compiler error for main() without a return at the end? 2009-01-29

    I'm working on a C-brain teaser: Write the standard Hello-World program, without semi-colons. My best answer so far is: int main(void) { if (printf("Hello World!\n"), exit(0), 0) { /* do nothing */ } } But I don't understand why I don't get compiler

  • C++ Visual Studio Compilation error 2009-01-30

    I get the following compilation error fatal error C1189: #error : ERROR: Use of C runtime library internal header file. I absolutely have no idea about it. can anyone throw some light on it? The complete error: C:\Program Files\Microsoft Visual Studi

  • C# compile error: "Invoke or BeginInvoke cannot be called on a control until the window handle has been created." 2009-02-04

    I just posted a question about how to get a delegate to update a textbox on another form. Just when I thought I had the answer using Invoke...this happens. Here is my code: Main Form Code: using System; using System.Drawing; using System.Collections;

  • Compiler Error with const function 2009-02-09

    I am not sure whether I am missing something basic. But I am unable to understand why the compiler is generating the error for this code: class A { }; class B { public: B(); A* get() const; private: A* m_p; }; B::B() { m_p = new A; } A* B::get() cons

  • boost:thread - compiler error 2009-02-13

    I wanted to use boost::thread in my program, but get the following compiler error (Visual Studio 2005): Error 1 **error C2064**: term does not evaluate to a function taking 0 arguments d:\...\boost_1_37_0\boost\thread\detail\thread.hpp 56 Therefore I

Copyright (C), All Rights Reserved.

processed in 0.154 (s). 11 q(s)