hello, i need some help setting up my lyxrc
file (i think) and have searched documentation
and i just thought this might be easier, will
keep searching -

goal: use menu in lyx to export to dvi

problem: lyx can not find the .tex file generated in /tmp folder

approach:
    use command line -e option as well;
    output from lyx runs on command line;
    add comments ( use // );


// 1. use the export flag!

ddupas@ddd:~/lyx$ lyx resume.lyx -e dvi
About to handle -x 'buffer-export dvi'
Converting from  latex to dvi
Running  
LaTeX run number 1
sh: resume.tex: command not found
Document exported as DVI to file `~/lyx/resume.dvi'
We are done!

// says can not find the tex file!
// ls shows that dvi is not there (btw -e text works great)

ddupas@ddd:~/lyx$ ls   
chars.lyx  mess.ps  resume.lyx  resume.txt

// try from lyx gui, see what happens

ddupas@ddd:~/lyx$ lyx resume.lyx

//at this point i am in X gui and select export dvi

Converting from  latex to dvi
Running  
sh: resume.tex: command not found

[3]+  Stopped                 lyx resume.lyx
ddupas@ddd:~/lyx$ cd /tmp
ddupas@ddd:/tmp$ find | grep \\.tex
./lyx_tmpdir612fYUO0X/lyx_tmpbuf612kacIp2/resume.tex
./lyx_tmpdir612fYUO0X/lyx_tmpbuf612kacIp2/resume.tex.dep

// ahha, you little bugger, i know your out there
// ( the tex file in tmp is generated only from the
// gui command, not when i use -e at shell )

ddupas@ddd:/tmp$ cd ~/lyx
ddupas@ddd:~/lyx$ lyx resume.lyx -e dvi
About to handle -x 'buffer-export dvi'
Converting from  latex to dvi
Running  
LaTeX run number 1
sh: resume.tex: command not found
Document exported as DVI to file `~/lyx/resume.dvi'
We are done!

//( that is wishfull thinking, perhaps the export module should check
//the return code from the tex script )

//NOTE - i am using Debian GNU Linux - and would be happy
//to pass along config information to the package maintainer

// also i have noticed a lot of dated docs on converting to
// diff file formats - am i trying to hit a homerun here,
// should i be using some scripts as i seen on
// http://www.lyx.org/help/LaTeX/docs.php  ??

thank you - darrell
please cc me at [EMAIL PROTECTED] - i am not on your list - yet :)


Reply via email to