Re: Latexcad help Again

2008-05-24 Thread Angel Amat

Ok, first, what i have detected is that the latexcad.sty file has to be
C:\Archivos de programa\MiKTeX 2.7\tex\latex if not the error
latexcad.sty not found appears. Once copied there and the latexcad.zip
descompresed in C:\Archivos de programa\MiKTeX 2.7\tex\latex\latexcad and
also in C:\Archivos de programa\MiKTeX 2.7\tex\latex, the .sty file is
detected but is when appears the missing \begin{document} errors.

The kpsewhich command generate this:
http://www.nabble.com/file/p17447166/Image.jpg 

Other thing is that my latexcad only have 7 .sty files:
eepic.sty
epic.sty
epsf.sty
fancybox.sty
latexcad.sty
lgrind.sty
rotate.sty

/Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17447166.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-24 Thread Paul A. Rubin

Angel Amat wrote:

Ok, first, what i have detected is that the latexcad.sty file has to be
C:\Archivos de programa\MiKTeX 2.7\tex\latex if not the error
latexcad.sty not found appears. Once copied there and the latexcad.zip
descompresed in C:\Archivos de programa\MiKTeX 2.7\tex\latex\latexcad and
also in C:\Archivos de programa\MiKTeX 2.7\tex\latex, the .sty file is
detected but is when appears the missing \begin{document} errors.

The kpsewhich command generate this:
http://www.nabble.com/file/p17447166/Image.jpg 


That shows that MikTeX knows where all the files are, which is good.


Other thing is that my latexcad only have 7 .sty files:
eepic.sty
epic.sty
epsf.sty
fancybox.sty
latexcad.sty
lgrind.sty
rotate.sty


Sorry, I must have counted wrong.  I have the same seven files.

I wonder if there is any significance to the fact that I have MikTeX 2.6 
rather than 2.7?  I know that 2.7 went through some teething pains, 
but I did not see any messages relating to latexcad.  I don't have 
MikTeX 2.7 here, so I cannot test this hypothesis.  Do you by any chance 
have access to MikTeX 2.6?


/Paul



Re: Latexcad help Again

2008-05-24 Thread Angel Amat

Ok, I will install MikTex 2.6 and see what happens. Anyway, the diagrams I
needed I did with MS Word, then printed as PDF file and then included in the
Lyx file, and the quality is good enough. I will post again if I can fixe
the problem with the 2.6 version.

Thank you

/Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17451525.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-24 Thread Angel Amat

Ok, first, what i have detected is that the latexcad.sty file has to be
C:\Archivos de programa\MiKTeX 2.7\tex\latex if not the error
latexcad.sty not found appears. Once copied there and the latexcad.zip
descompresed in C:\Archivos de programa\MiKTeX 2.7\tex\latex\latexcad and
also in C:\Archivos de programa\MiKTeX 2.7\tex\latex, the .sty file is
detected but is when appears the missing \begin{document} errors.

The kpsewhich command generate this:
http://www.nabble.com/file/p17447166/Image.jpg 

Other thing is that my latexcad only have 7 .sty files:
eepic.sty
epic.sty
epsf.sty
fancybox.sty
latexcad.sty
lgrind.sty
rotate.sty

/Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17447166.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-24 Thread Paul A. Rubin

Angel Amat wrote:

Ok, first, what i have detected is that the latexcad.sty file has to be
C:\Archivos de programa\MiKTeX 2.7\tex\latex if not the error
latexcad.sty not found appears. Once copied there and the latexcad.zip
descompresed in C:\Archivos de programa\MiKTeX 2.7\tex\latex\latexcad and
also in C:\Archivos de programa\MiKTeX 2.7\tex\latex, the .sty file is
detected but is when appears the missing \begin{document} errors.

The kpsewhich command generate this:
http://www.nabble.com/file/p17447166/Image.jpg 


That shows that MikTeX knows where all the files are, which is good.


Other thing is that my latexcad only have 7 .sty files:
eepic.sty
epic.sty
epsf.sty
fancybox.sty
latexcad.sty
lgrind.sty
rotate.sty


Sorry, I must have counted wrong.  I have the same seven files.

I wonder if there is any significance to the fact that I have MikTeX 2.6 
rather than 2.7?  I know that 2.7 went through some teething pains, 
but I did not see any messages relating to latexcad.  I don't have 
MikTeX 2.7 here, so I cannot test this hypothesis.  Do you by any chance 
have access to MikTeX 2.6?


/Paul



Re: Latexcad help Again

2008-05-24 Thread Angel Amat

Ok, I will install MikTex 2.6 and see what happens. Anyway, the diagrams I
needed I did with MS Word, then printed as PDF file and then included in the
Lyx file, and the quality is good enough. I will post again if I can fixe
the problem with the 2.6 version.

Thank you

/Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17451525.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-24 Thread Angel Amat

Ok, first, what i have detected is that the latexcad.sty file has to be
"C:\Archivos de programa\MiKTeX 2.7\tex\latex" if not the error
"latexcad.sty not found appears". Once copied there and the latexcad.zip
descompresed in "C:\Archivos de programa\MiKTeX 2.7\tex\latex\latexcad" and
also in "C:\Archivos de programa\MiKTeX 2.7\tex\latex", the .sty file is
detected but is when appears the "missing \begin{document} errors".

The kpsewhich command generate this:
http://www.nabble.com/file/p17447166/Image.jpg 

Other thing is that my latexcad only have 7 .sty files:
eepic.sty
epic.sty
epsf.sty
fancybox.sty
latexcad.sty
lgrind.sty
rotate.sty

/Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17447166.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-24 Thread Paul A. Rubin

Angel Amat wrote:

Ok, first, what i have detected is that the latexcad.sty file has to be
"C:\Archivos de programa\MiKTeX 2.7\tex\latex" if not the error
"latexcad.sty not found appears". Once copied there and the latexcad.zip
descompresed in "C:\Archivos de programa\MiKTeX 2.7\tex\latex\latexcad" and
also in "C:\Archivos de programa\MiKTeX 2.7\tex\latex", the .sty file is
detected but is when appears the "missing \begin{document} errors".

The kpsewhich command generate this:
http://www.nabble.com/file/p17447166/Image.jpg 


That shows that MikTeX knows where all the files are, which is good.


Other thing is that my latexcad only have 7 .sty files:
eepic.sty
epic.sty
epsf.sty
fancybox.sty
latexcad.sty
lgrind.sty
rotate.sty


Sorry, I must have counted wrong.  I have the same seven files.

I wonder if there is any significance to the fact that I have MikTeX 2.6 
rather than 2.7?  I know that 2.7 went through some "teething pains", 
but I did not see any messages relating to latexcad.  I don't have 
MikTeX 2.7 here, so I cannot test this hypothesis.  Do you by any chance 
have access to MikTeX 2.6?


/Paul



Re: Latexcad help Again

2008-05-24 Thread Angel Amat

Ok, I will install MikTex 2.6 and see what happens. Anyway, the diagrams I
needed I did with MS Word, then printed as PDF file and then included in the
Lyx file, and the quality is good enough. I will post again if I can fixe
the problem with the 2.6 version.

Thank you

/Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17451525.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-23 Thread Angel Amat

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
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17422292.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-23 Thread Paul A. Rubin

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




Re: Latexcad help Again

2008-05-23 Thread Angel Amat

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
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17422292.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-23 Thread Paul A. Rubin

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




Re: Latexcad help Again

2008-05-23 Thread Angel Amat

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
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17422292.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-23 Thread Paul A. Rubin

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 \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




Latexcad help Again

2008-05-22 Thread Angel Amat

A week a go I posted a message looking for help with latexcad- Sorry but it
is still not working. I am usign Windows and I don't know where to write the
thing you have said:

('locate *.sty' or 'whereis *.sty'
as root run 'texhash'.

I have copied the latexcad.sty in the folder indicated in the documentation
(...MiKTeX 2.7\tex\latex) and still appears the error ('latexcad.sty not
found').

Thank you again 
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17411764.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-22 Thread Paul A. Rubin

Angel Amat wrote:

A week a go I posted a message looking for help with latexcad- Sorry but it
is still not working. I am usign Windows and I don't know where to write the
thing you have said:


('locate *.sty' or 'whereis *.sty'
as root run 'texhash'.


I have copied the latexcad.sty in the folder indicated in the documentation
(...MiKTeX 2.7\tex\latex) and still appears the error ('latexcad.sty not
found').

Thank you again 


Run the MikTeX settings application, click 'Refresh FNDB', then try again.

/Paul



Re: Latexcad help Again

2008-05-22 Thread Angel Amat

Run the MikTeX settings application, click 'Refresh FNDB', then try again.

/Paul

I did this and still not working. The first error that apperars when
compling with Lyx is LaTeX Error: Missing \begin{document}. That doesn't
happen without using \usepackage{latexcad}.

Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17413399.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-22 Thread Paul A. Rubin

Angel Amat wrote:

Run the MikTeX settings application, click 'Refresh FNDB', then try again.



/Paul


I did this and still not working. The first error that apperars when
compling with Lyx is LaTeX Error: Missing \begin{document}. That doesn't
happen without using \usepackage{latexcad}.

Angel


That error message means that either something is mucked up in the 
preamble (or maybe early in the document?) or else latexcad is 
conflicting with some other package.  Does the documentation for 
latexcad warn about any conflicts?  If not, you may have to post a small 
file that blows up on you.


/Paul



Re: Latexcad help Again

2008-05-22 Thread Angel Amat

Ok, I have created a new blank Lyx document, and  I have only added the
latexcad package and this is the result:

http://www.nabble.com/file/p17414959/Image.jpg 
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17414959.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-22 Thread Paul A. Rubin

Angel Amat wrote:

Ok, I have created a new blank Lyx document, and  I have only added the
latexcad package and this is the result:

http://www.nabble.com/file/p17414959/Image.jpg 


Strange.  The attached LyX document works fine for me.  I took one of 
the drawings supplied with the package (lcadeg.lp) and moved it to /temp 
because I needed to specify an absolute path for it (containing no 
spaces -- I'm on Windows, where paths routinely have spaces).  Try it on 
your system (you'll have to adjust the path to the .lp file).  If it 
works, try changing the language and encoding settings to match your 
defaults (i.e., the settings in the document that did not work).  If you 
can't get my document to display properly, export it to LaTeX and post 
the .tex file here.  Best guess is that something in another package, 
perhaps babel, is colliding with the latexcad package on your system but 
not on mine (because a setting, such as language, is different on mine).


/Paul



latexcad.lyx
Description: application/lyx


Latexcad help Again

2008-05-22 Thread Angel Amat

A week a go I posted a message looking for help with latexcad- Sorry but it
is still not working. I am usign Windows and I don't know where to write the
thing you have said:

('locate *.sty' or 'whereis *.sty'
as root run 'texhash'.

I have copied the latexcad.sty in the folder indicated in the documentation
(...MiKTeX 2.7\tex\latex) and still appears the error ('latexcad.sty not
found').

Thank you again 
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17411764.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-22 Thread Paul A. Rubin

Angel Amat wrote:

A week a go I posted a message looking for help with latexcad- Sorry but it
is still not working. I am usign Windows and I don't know where to write the
thing you have said:


('locate *.sty' or 'whereis *.sty'
as root run 'texhash'.


I have copied the latexcad.sty in the folder indicated in the documentation
(...MiKTeX 2.7\tex\latex) and still appears the error ('latexcad.sty not
found').

Thank you again 


Run the MikTeX settings application, click 'Refresh FNDB', then try again.

/Paul



Re: Latexcad help Again

2008-05-22 Thread Angel Amat

Run the MikTeX settings application, click 'Refresh FNDB', then try again.

/Paul

I did this and still not working. The first error that apperars when
compling with Lyx is LaTeX Error: Missing \begin{document}. That doesn't
happen without using \usepackage{latexcad}.

Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17413399.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-22 Thread Paul A. Rubin

Angel Amat wrote:

Run the MikTeX settings application, click 'Refresh FNDB', then try again.



/Paul


I did this and still not working. The first error that apperars when
compling with Lyx is LaTeX Error: Missing \begin{document}. That doesn't
happen without using \usepackage{latexcad}.

Angel


That error message means that either something is mucked up in the 
preamble (or maybe early in the document?) or else latexcad is 
conflicting with some other package.  Does the documentation for 
latexcad warn about any conflicts?  If not, you may have to post a small 
file that blows up on you.


/Paul



Re: Latexcad help Again

2008-05-22 Thread Angel Amat

Ok, I have created a new blank Lyx document, and  I have only added the
latexcad package and this is the result:

http://www.nabble.com/file/p17414959/Image.jpg 
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17414959.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-22 Thread Paul A. Rubin

Angel Amat wrote:

Ok, I have created a new blank Lyx document, and  I have only added the
latexcad package and this is the result:

http://www.nabble.com/file/p17414959/Image.jpg 


Strange.  The attached LyX document works fine for me.  I took one of 
the drawings supplied with the package (lcadeg.lp) and moved it to /temp 
because I needed to specify an absolute path for it (containing no 
spaces -- I'm on Windows, where paths routinely have spaces).  Try it on 
your system (you'll have to adjust the path to the .lp file).  If it 
works, try changing the language and encoding settings to match your 
defaults (i.e., the settings in the document that did not work).  If you 
can't get my document to display properly, export it to LaTeX and post 
the .tex file here.  Best guess is that something in another package, 
perhaps babel, is colliding with the latexcad package on your system but 
not on mine (because a setting, such as language, is different on mine).


/Paul



latexcad.lyx
Description: application/lyx


Latexcad help Again

2008-05-22 Thread Angel Amat

A week a go I posted a message looking for help with latexcad- Sorry but it
is still not working. I am usign Windows and I don't know where to write the
thing you have said:

>('locate *.sty' or 'whereis *.sty'
>as root run 'texhash'.

I have copied the latexcad.sty in the folder indicated in the documentation
(...MiKTeX 2.7\tex\latex) and still appears the error ('latexcad.sty not
found').

Thank you again 
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17411764.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-22 Thread Paul A. Rubin

Angel Amat wrote:

A week a go I posted a message looking for help with latexcad- Sorry but it
is still not working. I am usign Windows and I don't know where to write the
thing you have said:


('locate *.sty' or 'whereis *.sty'
as root run 'texhash'.


I have copied the latexcad.sty in the folder indicated in the documentation
(...MiKTeX 2.7\tex\latex) and still appears the error ('latexcad.sty not
found').

Thank you again 


Run the MikTeX settings application, click 'Refresh FNDB', then try again.

/Paul



Re: Latexcad help Again

2008-05-22 Thread Angel Amat

>Run the MikTeX settings application, click 'Refresh FNDB', then try again.

>/Paul

I did this and still not working. The first error that apperars when
compling with Lyx is "LaTeX Error: Missing \begin{document}". That doesn't
happen without using "\usepackage{latexcad}".

Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17413399.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-22 Thread Paul A. Rubin

Angel Amat wrote:

Run the MikTeX settings application, click 'Refresh FNDB', then try again.



/Paul


I did this and still not working. The first error that apperars when
compling with Lyx is "LaTeX Error: Missing \begin{document}". That doesn't
happen without using "\usepackage{latexcad}".

Angel


That error message means that either something is mucked up in the 
preamble (or maybe early in the document?) or else latexcad is 
conflicting with some other package.  Does the documentation for 
latexcad warn about any conflicts?  If not, you may have to post a small 
file that blows up on you.


/Paul



Re: Latexcad help Again

2008-05-22 Thread Angel Amat

Ok, I have created a new blank Lyx document, and  I have only added the
latexcad package and this is the result:

http://www.nabble.com/file/p17414959/Image.jpg 
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17414959.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Latexcad help Again

2008-05-22 Thread Paul A. Rubin

Angel Amat wrote:

Ok, I have created a new blank Lyx document, and  I have only added the
latexcad package and this is the result:

http://www.nabble.com/file/p17414959/Image.jpg 


Strange.  The attached LyX document works fine for me.  I took one of 
the drawings supplied with the package (lcadeg.lp) and moved it to /temp 
because I needed to specify an absolute path for it (containing no 
spaces -- I'm on Windows, where paths routinely have spaces).  Try it on 
your system (you'll have to adjust the path to the .lp file).  If it 
works, try changing the language and encoding settings to match your 
defaults (i.e., the settings in the document that did not work).  If you 
can't get my document to display properly, export it to LaTeX and post 
the .tex file here.  Best guess is that something in another package, 
perhaps babel, is colliding with the latexcad package on your system but 
not on mine (because a setting, such as language, is different on mine).


/Paul



latexcad.lyx
Description: application/lyx