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.

Reply via email to