On Saturday 28 August 2004 11:37, Eric Delevaux wrote:
> Hello
> is there any interaction between lyx and eukleides?
> I use eukleides to draw a figure then save my doc, then open a xterm, then
> 'eukleides mydoc' then copy the result then use the paste in lyx...ouf! Any
> fatser way?

Something like this might work:

In the file .lyx/external_templates
add

Template Euklides
  GuiName "[Euklides : $$Basename]"
  HelpText
    Euklides
  HelpTextEnd
  FileFilter "*.eu" 
  ViewCommand "nedit $$FName"
  EditCommand "nedit $$FName" 
  AutomaticProduction true
  Format LaTeX 
    Product "\\input{$$FName.tex}" 
    UpdateCommand "eukleides $$FName" 
    UpdateResult "$$FName.tex"  
  FormatEnd 
TemplateEnd 


Then you can use in the menues
Insert -> External material

I'm sure you will have to modify the above code, but something like this might 
work.
Good luck!
-- 
If you keep anything long enough, you can throw it away.

Reply via email to