>>>>> "Joacim" == Joacim Persson <[EMAIL PROTECTED]> writes:
Joacim> It's supposed to work with "dvips -f1 -pp3-4 | lpr" too, but
Joacim> there's a small bug in in LyXSendto.C, near line 82 that I've
Joacim> just discovered.
Joacim> The command is issued (when $$FName is not used in <command>)
Joacim> as "cat $$FName | <command> &"
Joacim> if (!command.contains("$$FName")) command = "cat $$FName |
Joacim> " + command; command.subst("$$FName",fname); command += " &";
Joacim> // execute in background
Joacim> Unfortunately dvips can't read from a pipe (it need to seek on
Joacim> the file). It could be invoked as "(<command>) < $$FName &",
Joacim> to have the command read from a seekable file instead. (And
Joacim> get rid of an extra process) Like this:
I tried it, and it works. However, it also seems to work without the
parenthesis. Is there a reason why you add them? It seems to me that
it adds an unnecessary subshell.
JMarc
--
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to
[EMAIL PROTECTED]
with the **Subject** unsubscribe.