Here 's the original preamble of the imported tex file:
%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{natbib}
\def\newblock{\hskip .11em plus .33em minus .07em}
%
%%\usepackage(natbib}
%\usepackage{amssymb}
%\usepackage{amsbsy,natbib}
%\usepackage{amsthm}
%\usepackage{amsfonts,amsmath,bm}
\usepackage[dvipsone]{epsfig}
\RequirePackage{graphics,epsf}
%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%
-- Jeff
On 04 30, 08, at 10:18 AM, Jeff Sese wrote:
Thanks for the reply.
I'm looking at the packaged tex file and it includes an article.cls
file. I'm not familiar with LaTex tags but it seems that the
article.cls file included in package declares the control sequences
that I'm referring. Now the problem is, how can I make LyX use that
cls file instead of the one included in the LaTex distribution? (I
think LaTex uses the original article.cls and not the one that is
included in the package. Both files, the imported tex file and the
cls file are in the same folder).
Thanks,
Jeff
On 04 29, 08, at 8:44 PM, rgheck wrote:
Jeff Sese wrote:
Hi,
I'm getting multiple Undefined Control Sequence Error on an
imported LaTex document and the errors point to the following
control sequences:
\LRH
\RRH
\VOL
\authorA
\affA
etc.
All are some sort of metadata information about the article.
Probably these are being generated in \maketitle, but that's only
a guess. In any event, I suspect that the document class used in
the LaTeX file wasn't article but something else and that it got
set to article because LyX didn't know about whatever class that
was. You'd have to look at the original file to tell.
rh
If I open it in TeXnicCenter, it doesn't report any problem with
these control sequences, am I missing a package or something?
Here is the preamble of the imported file in LyX:
% Preview source code
%% LyX 1.5.4 created this file. For more info, see http://
www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\makeatletter
[EMAIL PROTECTED]"/Users/jeffsese/RND/LaTex to OOo/
originals/IJPD-07-12-Final-TexFiles/IJPDMattsonTexFiles/\string"/}}
\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{graphicx}
\usepackage[authoryear]{natbib}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Bold symbol macro for standard LaTeX users
\providecommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
% Please direction questions to Chris Mattson [EMAIL PROTECTED]
801.422.6544
%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%
\def\newblock{\hskip .11em plus .33em minus .07em}
%
%%\usepackage(natbib}
%\usepackage{amssymb}
%\usepackage{amsbsy,natbib}
%\usepackage{amsthm}
%\usepackage{amsfonts,amsmath,bm}
\usepackage[dvipsone]{epsfig}
\RequirePackage{graphics,epsf}
%%%%%%%%%%%%%%%%%
\usepackage{babel}
\makeatother
Thanks in advance,
-- Jeff
Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901
Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901
Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901