Tony Mantler wrote: > > Previously, you (Herbert Voss) wrote: > > Tony Mantler wrote: > > > I read the web page and followed the directions. When I outputted the resulting >lyx file to postscript, I got a code listing just like I wanted. When I outputted the >same lyx file to ascii text, I got no code listing at all. > > > > export to text via pdf > > > > "print" lyx to ps-file > > ps2pdf yourfile.ps > > pdftoascii yourfile.pdf > > > > gives yourfile.txt > > That solution strikes me as being painfully inelegant. I think I'll just go back to >roff, thanks for your help. what's about this? eyport lyx as tex and than run the attached script (myTexFile without suffix tex!) tex2ascii myTexFile it produces the file myTexFile.txt Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
#!/bin/bash # # tex2ascii # latex $1 bibtex $1 makeindex -q -s $1 latex $1 latex $1 dvips $1 ps2pdf $1".ps" pdftotext $1".pdf"