In lyxrc there's a section for Export with this example:

#\custom_export_command "ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf"

I want to make a pdf file, and having epstopdf on my system, I've been
printing to ps, then doing:

  epstopdf --filter <xxx.ps >xxx.pdf

Following the lyxrc example, I tried making the custom command as:

\custom_export_command "epstopdf -f -o=`basename '$$FName'`.pdf"

and several other variations on that form, but no pdf file results.
I do get a .ps_tmp file and a very small .ps_tmp.pdf file in
/tmp/lyx_tmp.../lyx_buf... but I was hoping for a pdf file in my
working directory.  Since I don't have ".ps_tmp" in my custom_export
definition, I guess the suffix must be wired in somewhere.

Can someone translate that example?  I'm assuming

  "`basename '$$FName'`"

means

  "xxx"

in my little example above, but since I get no output, I'm probably
assuming wrong. FWIW, I'm using lyx1.1.5.

TIA,

Jim

Reply via email to