Re: Reverse search with xdvi

2013-09-09 Thread Fabio S.
direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx starts a new

Re: Reverse search with xdvi

2013-09-09 Thread Pavel Sanda
Fabio S. wrote: direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx starts a

Re: Reverse search with xdvi

2013-09-09 Thread Fabio S.
direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx starts a new

Re: Reverse search with xdvi

2013-09-09 Thread Pavel Sanda
Fabio S. wrote: direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx starts a

Re: Reverse search with xdvi

2013-09-09 Thread Fabio S.
direct search: Tools->Preferences->Output->General xdvi -nofork -sourceposition "$$n $$t" $$o -editor "lyxeditor.sh %f %l" "-nofork" part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx

Re: Reverse search with xdvi

2013-09-09 Thread Pavel Sanda
Fabio S. wrote: > direct search: > Tools->Preferences->Output->General >xdvi -nofork -sourceposition "$$n $$t" $$o -editor > "lyxeditor.sh %f > %l" "-nofork" part is needed because of the pipe? >>> >>> I guess: the point is that without

Re: Reverse search with xdvi

2013-09-07 Thread Pavel Sanda
Fabio S. wrote: direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx

Re: Reverse search with xdvi

2013-09-07 Thread Pavel Sanda
Fabio S. wrote: direct search: Tools-Preferences-Output-General xdvi -nofork -sourceposition $$n $$t $$o -editor lyxeditor.sh %f %l -nofork part is needed because of the pipe? I guess: the point is that without -nofork if you have xdvi already open, lyx

Re: Reverse search with xdvi

2013-09-07 Thread Pavel Sanda
Fabio S. wrote: >>> direct search: >>> Tools->Preferences->Output->General >>> xdvi -nofork -sourceposition "$$n $$t" $$o -editor >>> "lyxeditor.sh %f >>> %l" >> >> "-nofork" part is needed because of the pipe? > > I guess: the point is that without -nofork if you

Re: Reverse search with xdvi

2013-09-06 Thread Fabio S.
If you can comment what and why was changed I can include it into docs as well. ok. xdvi: inverse search: Tools-Preferences-File Handling-File formats xdvi -editor lyxeditor.sh %f %l In the docs: xdvi -editor 'lyxeditor.sh %f %l' With single quotes

Re: Reverse search with xdvi

2013-09-06 Thread Fabio S.
If you can comment what and why was changed I can include it into docs as well. ok. xdvi: inverse search: Tools-Preferences-File Handling-File formats xdvi -editor lyxeditor.sh %f %l In the docs: xdvi -editor 'lyxeditor.sh %f %l' With single quotes

Re: Reverse search with xdvi

2013-09-06 Thread Fabio S.
If you can comment what and why was changed I can include it into docs as well. ok. xdvi: inverse search: Tools->Preferences->File Handling->File formats xdvi -editor "lyxeditor.sh %f %l" In the docs: xdvi -editor 'lyxeditor.sh %f %l' With single

Re: Reverse search with xdvi

2013-09-05 Thread Fabio Stumbo
Anyway does changing the line read ${LYXPIPE}.out || exit into read TMP ${LYXPIPE}.out || exit work for you? Pavel Yes this works. Thanks. But is there any difference with regards to simply comment it? To answer your previous question: yes, there is a reason for I want to use named pipe.

Re: Reverse search with xdvi

2013-09-05 Thread Pavel Sanda
Fabio Stumbo wrote: Anyway does changing the line read ${LYXPIPE}.out || exit into read TMP ${LYXPIPE}.out || exit work for you? Pavel Yes this works. Thanks. Ok, I committed this to 2.1 docs. But is there any difference with regards to simply comment it? I didn't write this script

Re: Reverse search with xdvi

2013-09-05 Thread Fabio Stumbo
Anyway does changing the line read ${LYXPIPE}.out || exit into read TMP ${LYXPIPE}.out || exit work for you? Pavel Yes this works. Thanks. But is there any difference with regards to simply comment it? To answer your previous question: yes, there is a reason for I want to use named pipe.

Re: Reverse search with xdvi

2013-09-05 Thread Pavel Sanda
Fabio Stumbo wrote: Anyway does changing the line read ${LYXPIPE}.out || exit into read TMP ${LYXPIPE}.out || exit work for you? Pavel Yes this works. Thanks. Ok, I committed this to 2.1 docs. But is there any difference with regards to simply comment it? I didn't write this script

Re: Reverse search with xdvi

2013-09-05 Thread Fabio Stumbo
Anyway does changing the line read < "${LYXPIPE}".out || exit into read TMP < "${LYXPIPE}".out || exit work for you? Pavel Yes this works. Thanks. But is there any difference with regards to simply comment it? To answer your previous question: yes, there is a reason for I want to use named

Re: Reverse search with xdvi

2013-09-05 Thread Pavel Sanda
Fabio Stumbo wrote: >> Anyway does changing the line >> read < "${LYXPIPE}".out || exit >> into >> read TMP < "${LYXPIPE}".out || exit >> >> work for you? >> Pavel > > Yes this works. Thanks. Ok, I committed this to 2.1 docs. > But is there any difference with regards to simply comment it? I

Reverse search with xdvi

2013-09-04 Thread Fabio Stumbo
Hi all, I configured reverse search as explained in section 5.6.3 of the Additional features manual. In particular, I setted Preferences-File Handling-File formats to xdvi -editor lyxeditor.sh %f %l and I created, as suggested, a lyxeditor.sh executable file in my $HOME/bin which contains

Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote: and I created, as suggested, a lyxeditor.sh Is there reason why you want to use named pipe? xdvi should work via sockets out of the box (almost:) Pavel

Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote: Anyway does changing the line read ${LYXPIPE}.out || exit into read TMP ${LYXPIPE}.out || exit work for you? Pavel

Reverse search with xdvi

2013-09-04 Thread Fabio Stumbo
Hi all, I configured reverse search as explained in section 5.6.3 of the Additional features manual. In particular, I setted Preferences-File Handling-File formats to xdvi -editor lyxeditor.sh %f %l and I created, as suggested, a lyxeditor.sh executable file in my $HOME/bin which contains

Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote: and I created, as suggested, a lyxeditor.sh Is there reason why you want to use named pipe? xdvi should work via sockets out of the box (almost:) Pavel

Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote: Anyway does changing the line read ${LYXPIPE}.out || exit into read TMP ${LYXPIPE}.out || exit work for you? Pavel

Reverse search with xdvi

2013-09-04 Thread Fabio Stumbo
Hi all, I configured reverse search as explained in section 5.6.3 of the "Additional features manual". In particular, I setted Preferences->File Handling->File formats to xdvi -editor "lyxeditor.sh %f %l" and I created, as suggested, a lyxeditor.sh executable file in my $HOME/bin which

Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote: > and I created, as suggested, a lyxeditor.sh Is there reason why you want to use named pipe? xdvi should work via sockets out of the box (almost:) Pavel

Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote: Anyway does changing the line read < "${LYXPIPE}".out || exit into read TMP < "${LYXPIPE}".out || exit work for you? Pavel