Angel Amat wrote:
Still not working. This is the latex file generated from lyx:
%% 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.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{latexcad}
\usepackage{babel}
\makeatother
\begin{document}
blah blah blah
\placedrawing{/temp/lcadeg.lp}{\LaTeX-CAD objects}{fig:lcadeg}
\end{document}
The problem is de .sty file, because without adding any file to the document
(empty document with \usepackage{latexcad} in the preamble), the output
errors are shown in the capture i attached previously. Moreover, I exported
the file to latex code and try to complie from TeXnicCenter and the errors
are the same.
About the language, my Lyx interface is in spanish, but the default document
language is in english.
/Angel
Very mysterious. The .tex file above compiles just fine here. I
suppose the next step is to make sure the package is fully installed.
As I recall, you're using MikTeX, right? Did you unzip the entire
latexcad.zip archive into one folder <whatever>\tex\latex? There are
eight .sty files, and the latexcad.sty file loads five of them (rotate,
fancybox, epic, eepic and epsf). There's a note at the bottom of
latexcad.sty that "for some reason, the order of these \input's is
crucial (generates missing \begin{document} errors)". Perhaps if one of
them is not loaded, the same thing happens? To test, you can open a
command window and run 'kpsewhich rotate.sty', 'kpsewhich fancybox.sty'
etc. to verify that MikTeX is aware of all of them.
/Paul