On Sat, Apr 5, 2014 at 12:36 PM, Liviu Andronic <landronim...@gmail.com> wrote:
> On Sat, Apr 5, 2014 at 6:34 PM, Scott Kostyshak <skost...@lyx.org> wrote:
>> On Sat, Apr 5, 2014 at 12:24 PM, Liviu Andronic <landronim...@gmail.com> 
>> wrote:
>>
>>>> By the way, how did I find out that bmp will work?
>>>>
>>> Not smoothly. :) I ended up with a black box in LibO.
>>
>> Strange, works for me. I have version 4.1.3.
>> It actually appears that LibO prefers either the text/uri-list or text/html.
>> In any case, this is a LibO issue in my opinion. I'd be curious to see
>> what they say if you end up reporting this.
>>
> I now tried to set up a converter in LyX, but it didn't quite go to plan:
> #
> # FORMATS SECTION ##########################
> #
>
> \format "copyq1" "" "CopyQ (PDF)" "" "" "" "document,menu=export" ""
>
> #
> # CONVERTERS SECTION ##########################
> #
>
> \converter "pdf7" "copyq1" "copyq write application/pdf - < $$i &&
> copyq select 0" ""
>
> I'm not sure what's wrong. CopyQ (PDF) wouldn't appear in the menus,
> and seemed to fail when activated manually. I'm not sure that our
> converters are designed to deal with something like this.

For debugging converters I suggest creating a script and then putting
the commands in sequentially. This way in the script you can put
something like
echo "script ran with argument $1" > /home/liviu/Desktop/test.log
copyq write application/pdf - < $1 && echo "copyq write succeeded" >>
/home/liviu/Desktop/test.log
copyq select 0 && echo "copyq select succeeded" >> /home/liviu/Desktop/test.log

Scott

Reply via email to