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



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



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



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 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 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: Help with latexcad

2008-05-21 Thread Angel Amat



G. Milde-3 wrote:
 
 On 15.05.08, Rich Shepard wrote:
 On Thu, 15 May 2008, Angel Amat wrote:
 
 Hello, I am using latexcad to draw some diagrams with equations. The
 problem is that i can not insert this diagrams in the lyx document. I
 have
 copy the LATEXCAD.STY to the folder in which is the lyx document and I
 have written in the preamble of the documment \usepackage{latexcad}. The
 next is thousand errors.
 
 LyX usually does the latex run in a temp dir, but does not know that
 latexcad.sty should be moved there.
 
   First, the style file needs to be placed with all the other LyX style
 files, not in your document directory. 
 
 LaTeX style files (LyX has *.layout files).
 
 'locate *.sty' or 'whereis *.sty' will show you the path to those
 files. 
 
 The documentation of your latex distribution will also tell you the
 latex search path.
 
 Move latexcad.sty there.
 
 If it is locally installed, preferabely use a local path (like
 /usr/local/share/texmf/tex/latex/...)
 
 On Unix systems with TeXLive, you can also use ~/texmf/tex/latex
 
   Second, as root run 'texhash'.
 (not needed with ~/texmf/)
 
   Third, from within LyX, run 'reconfigure'.
 
 Not needed for styles that are only specified in the latex preamble.
 
 Günter
 
 
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/Help-with-latexcad-tp17258868p17364323.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Help with latexcad

2008-05-21 Thread Angel Amat



G. Milde-3 wrote:
 
 On 15.05.08, Rich Shepard wrote:
 On Thu, 15 May 2008, Angel Amat wrote:
 
 Hello, I am using latexcad to draw some diagrams with equations. The
 problem is that i can not insert this diagrams in the lyx document. I
 have
 copy the LATEXCAD.STY to the folder in which is the lyx document and I
 have written in the preamble of the documment \usepackage{latexcad}. The
 next is thousand errors.
 
 LyX usually does the latex run in a temp dir, but does not know that
 latexcad.sty should be moved there.
 
   First, the style file needs to be placed with all the other LyX style
 files, not in your document directory. 
 
 LaTeX style files (LyX has *.layout files).
 
 'locate *.sty' or 'whereis *.sty' will show you the path to those
 files. 
 
 The documentation of your latex distribution will also tell you the
 latex search path.
 
 Move latexcad.sty there.
 
 If it is locally installed, preferabely use a local path (like
 /usr/local/share/texmf/tex/latex/...)
 
 On Unix systems with TeXLive, you can also use ~/texmf/tex/latex
 
   Second, as root run 'texhash'.
 (not needed with ~/texmf/)
 
   Third, from within LyX, run 'reconfigure'.
 
 Not needed for styles that are only specified in the latex preamble.
 
 Günter
 
 
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/Help-with-latexcad-tp17258868p17364323.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Help with latexcad

2008-05-21 Thread Angel Amat



G. Milde-3 wrote:
> 
> On 15.05.08, Rich Shepard wrote:
>> On Thu, 15 May 2008, Angel Amat wrote:
> 
>>> Hello, I am using latexcad to draw some diagrams with equations. The
>>> problem is that i can not insert this diagrams in the lyx document. I
>>> have
>>> copy the LATEXCAD.STY to the folder in which is the lyx document and I
>>> have written in the preamble of the documment \usepackage{latexcad}. The
>>> next is thousand errors.
> 
> LyX usually does the latex run in a temp dir, but does not know that
> latexcad.sty should be moved there.
> 
>>   First, the style file needs to be placed with all the other LyX style
>> files, not in your document directory. 
> 
> LaTeX style files (LyX has *.layout files).
> 
>> 'locate *.sty' or 'whereis *.sty' will show you the path to those
>> files. 
> 
> The documentation of your latex distribution will also tell you the
> latex search path.
> 
>> Move latexcad.sty there.
> 
> If it is locally installed, preferabely use a local path (like
> /usr/local/share/texmf/tex/latex/...)
> 
> On Unix systems with TeXLive, you can also use ~/texmf/tex/latex
> 
>>   Second, as root run 'texhash'.
> (not needed with ~/texmf/)
> 
>>   Third, from within LyX, run 'reconfigure'.
> 
> Not needed for styles that are only specified in the latex preamble.
> 
> Günter
> 
> 
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/Help-with-latexcad-tp17258868p17364323.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Help with latexcad

2008-05-15 Thread Angel Amat

Hello, I am using latexcad to draw some diagrams with equations. The problem
is that i can not insert this diagrams in the lyx document. I have copy the
LATEXCAD.STY to the folder in which is the lyx document and I have written
in the preamble of the documment \usepackage{latexcad}. The next is thousand
errors.

Can anyone help me?

Thank you very much
-- 
View this message in context: 
http://www.nabble.com/Help-with-latexcad-tp17258868p17258868.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Help with latexcad

2008-05-15 Thread Angel Amat

Hello, I am using latexcad to draw some diagrams with equations. The problem
is that i can not insert this diagrams in the lyx document. I have copy the
LATEXCAD.STY to the folder in which is the lyx document and I have written
in the preamble of the documment \usepackage{latexcad}. The next is thousand
errors.

Can anyone help me?

Thank you very much
-- 
View this message in context: 
http://www.nabble.com/Help-with-latexcad-tp17258868p17258868.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Help with latexcad

2008-05-15 Thread Angel Amat

Hello, I am using latexcad to draw some diagrams with equations. The problem
is that i can not insert this diagrams in the lyx document. I have copy the
LATEXCAD.STY to the folder in which is the lyx document and I have written
in the preamble of the documment \usepackage{latexcad}. The next is thousand
errors.

Can anyone help me?

Thank you very much
-- 
View this message in context: 
http://www.nabble.com/Help-with-latexcad-tp17258868p17258868.html
Sent from the LyX - Users mailing list archive at Nabble.com.