[texhax] Regarding errors with use of longtable in thesis

Arvind Marathe bahuroopi at gmail.com
Sat Apr 17 21:51:18 CEST 2010


Hello,

I am trying to use package longtable to get a really long table in my
thesis. However, at the final stage of converting ps to pdf, i get the
following error:

--------------------------------------------------
Error: /undefined in nd
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   1878
1   3   %oparray_pop   1877   1   3   %oparray_pop   1861   1   3
%oparray_pop   1755   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1158/1684(ro)(G)--   --dict:0/20(G)--   --dict:85/200(L)--
--dict:200/300(L)--   --dict:50/200(L)--   --dict:85/200(L)--
Current allocation mode is local
Current file position is 15197197
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
--------------------------------------------------


I tried checking with longtable examples given on net, and the error
persists, so it is not a problem with the syntax i used. If i put the
table in a test.tex file, and try to get pdf, i can get test.pdf. So
it is probably clashing with something else i defined in my main.tex?
Here is the header of my main.tex file:


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt,oneside]{report}

\usepackage{longtable}
\usepackage{cite} % Make references as [1-4], not [1,2,3,4]
\usepackage{url}  % Formatting web addresses
\usepackage{ifthen}  % Conditional
%\usepackage[applemac]{inputenc} %applemac support if unicode package fails
%\usepackage[latin1]{inputenc} %UNIX support if unicode package fails
%\urlstyle{rm}
\usepackage{float}
\usepackage{metre}
\usepackage{subfloat}
%\usepackage{lscape}
%\usepackage[usenames]{color}
%\usepackage[labelsep=none]{caption}

\usepackage{graphicx}
\usepackage{a4wide}
\usepackage{fancyhdr}
\pagestyle{fancy}
%%%%%%%%%%%%%%%%%%%%%%%%%%
\oddsidemargin -10 pt      %   Left margin on odd-numbered pages.
    \evensidemargin 10 pt      %   Left margin on even-numbered pages.
    \marginparwidth 1 in       %   Width of marginal notes.
    \oddsidemargin 0.25 in      %   Note that \oddsidemargin = \evensidemargin
    \evensidemargin 0 in
    \marginparwidth 0.75 in
    \textwidth 6.375 true in % Width of text line.
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{fancy}
\usepackage{amsmath,amssymb}
\usepackage{bm}
\usepackage{color}
\usepackage{subfigure}
\usepackage{epsfig}
\usepackage{url}
\usepackage{xcolor}
\usepackage[sort&compress]{natbib}
%\usepackage[toc,header]{appendix}
\usepackage[titletoc]{appendix}
\renewcommand{\headrulewidth}{.1pt}
\fancyhead[LE,RO]{{\thepage}}
\fancyhead[RE]{\nouppercase{{\leftmark}}}
\fancyhead[LO]{\nouppercase{{\rightmark}}}
\fancyfoot{}
\def\baselinestretch{1.1}
\usepackage{multicol}
\usepackage{multirow}
%\usepackage{here}
\usepackage{newcent}
\pagenumbering{roman}
\clubpenalty=10000
\widowpenalty=10000
%\tolerance=1
%\emergencystretch=\maxdimen
%\hyphenpenalty=10000
%\hbadness=10000
\sloppy
\definecolor{darkgreen}{rgb}{0,0.625,0}

\makeatletter
\newcommand{\rmnum}[1]{\romannumeral #1}
\newcommand{\Rmnum}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Is there something in the above definitions that is causing the error
mentioned? Any help appreciated.

Regards,
arvind


More information about the texhax mailing list