On Saturday 25 January 2014 22:52:50 Andrew Parsloe wrote:
Andrew recommended to use plyx for eg exchanging globally in a lyx 
document the location of the figure paths (e.g. from something to ./)

I have tried to install the plyx/qlyx
and have this problem:
I followed
Chapter 2 Putting the pieces in their places
1.Specifically: (a-e)
2.File formats (a)
in trying to do (b):
Similarly create a new file format qLyX, short name qlyx, extension lyx; 
none of the other check boxes or slots need to be filled. Click Apply.

I was asked to reconfigure, which I did. However, I had lyx in the 
left/right view with the instructions what to do on the left and the new 
pLyX.lyx to the right. I probably made a mistake in not closing the left 
side before reconfiguring. When I restarted lyx, I got at the left upper 
menu line just below Datei (File ) and Bearbeiten two wheels with a 
black bar going through them.
This happens with each new start of lyx with this warning on the terminal 

we@wolfgang:~$ Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-
fonts.conf", line 103: Having multiple values in <test> isn't supported 
and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 138: 
Having multiple values in <test> isn't supported and may not work as 
expected
LyXComm: Pipe /home/we/.lyx/lyxpipe.in already exists.
If no other LyX program is active, please delete the pipe by hand and try 
again.

However, there is no 
Pipe /home/we/.lyx/lyxpipe
which I could delete. 

Note that the Fontconfig warnings I had before and didn't bother about 
them, because they do not seem to affect the working with LyX.

How do I get rid of this? Do I have to install lyx anew?

Andrew, perhaps a note about the reconfigure after the plyx creation 
before the qlyx creation would be good and a warning, to close first the 
second lyx file before reconfiguring, if this is indeed the reason for the 
error.

Wolfgang 

> 
> Hullo Wolfgang,
> 
> This is the kind of thing that can be done with the find-&-replace
> script of the pLyX scripting system (on the wiki under Examples/pLyX
> system) which allows you to work from within the LyX gui. In fact I was
> faced with a similar task a couple of weeks ago (and found a bug in the
> script which I've since corrected). The system takes a little setting up
> (two file formats and two converters to be defined, plus some files to
> be distributed around your personal LyX folders), and some practice to
> get a feel for how it works.
> 
> If you do go this way, then you would need to insert a .find-&-replace
> inset containing
> 
> -i -r
> 
> to specify a regular expression inset search, followed by two  
.argument
> insets, the first (the find regular expression) containing
> 
> filename .+/([\w\d\-]+)\.jpg
> 
> and the second (the replace expression) containing
> 
> filename ./\1.jpg
> 
> Then click the View other formats button and select pLyX.
> 
> This assumes that all your graphics are .jpg format, and that the 
names
> of your images (like 'Kalanchoe-closed') are made up only from letters,
> digits, hyphens and underscores.
> 
> Andrew

Reply via email to