Hi, we've still two patches in the Debian package for LyX 1.5.2 you might be interested in.
05.configure.py_prog_prefer is mostly about adding xdg-open/sensible-editor as the first option in configure.py. Documentation for xdg-open: http://jbot.de/BdoaD Patch in the pkg-lyx svn: http://jbot.de/gvHFw lyxclient-man-nonascii-char is just a small character conversion in the manpage. Patch in the pkg-lyx svn: http://jbot.de/ifnbv I've attached both patches for your convenience. Thanks for considering. Sven -- There's no need for tears, cause there's no need to cry. That love that you leave will never be denied. [ Flogging Molly - Laura ] Gebuehrenboykott 2008 BU WTAL http://www.boykott-wuppertal.de
Index: lyx/lib/configure.py =================================================================== --- lyx.orig/lib/configure.py 2007-09-26 17:58:48.000000000 +0200 +++ lyx/lib/configure.py 2007-10-21 15:41:29.000000000 +0200 @@ -239,7 +239,7 @@ checkViewer('a FEN viewer and editor', ['xboard -lpf $$i -mode EditPosition'], rc_entry = [r'\Format fen fen FEN "" "%%" "%%" ""']) # - path, iv = checkViewer('a raster image viewer', ['xv', 'kview', 'gimp-remote', 'gimp']) + path, iv = checkViewer('a raster image viewer', ['xdg-open', 'xv', 'kview', 'gimp-remote', 'gimp']) path, ie = checkViewer('a raster image editor', ['gimp-remote', 'gimp']) addToRC(r'''\Format bmp bmp BMP "" "%s" "%s" "" \Format gif gif GIF "" "%s" "%s" "" @@ -253,7 +253,7 @@ \Format xpm xpm XPM "" "%s" "%s" ""''' % \ (iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie) ) # - checkViewer('a text editor', ['xemacs', 'gvim', 'kedit', 'kwrite', 'kate', \ + checkViewer('a text editor', ['sensible-editor', 'xemacs', 'gvim', 'kedit', 'kwrite', 'kate', \ 'nedit', 'gedit', 'notepad'], rc_entry = [r'''\Format asciichess asc "Plain text (chess output)" "" "" "%%" "" \Format asciiimage asc "Plain text (image)" "" "" "%%" "" @@ -274,23 +274,23 @@ # #checkProg('a Postscript interpreter', ['gs'], # rc_entry = [ r'\ps_command "%%"' ]) - checkViewer('a Postscript previewer', ['kghostview', 'evince', 'gv', 'ghostview -swap'], + checkViewer('a Postscript previewer', ['xdg-open', 'kghostview', 'evince', 'gv', 'ghostview -swap'], rc_entry = [r'''\Format eps eps EPS "" "%%" "" "vector" \Format ps ps Postscript t "%%" "" "document,vector"''']) # - checkViewer('a PDF previewer', ['kpdf', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \ + checkViewer('a PDF previewer', ['xdg-open', 'kpdf', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \ 'gv', 'ghostview'], rc_entry = [r'''\Format pdf pdf "PDF (ps2pdf)" P "%%" "" "document,vector" \Format pdf2 pdf "PDF (pdflatex)" F "%%" "" "document,vector" \Format pdf3 pdf "PDF (dvipdfm)" m "%%" "" "document,vector"''']) # - checkViewer('a DVI previewer', ['xdvi', 'kdvi'], + checkViewer('a DVI previewer', ['xdg-open', 'xdvi', 'kdvi'], rc_entry = [r'\Format dvi dvi DVI D "%%" "" "document,vector"']) if dtl_tools: # Windows only: DraftDVI addToRC(r'\Format dvi2 dvi DraftDVI "" "" "document,vector"') # - checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'], + checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://$$p$$i', 'netscape'], rc_entry = [r'\Format html html HTML H "%%" "" "document"']) # checkViewer('Noteedit', ['noteedit'],
Index: lyx-1.5/src/client/lyxclient.man =================================================================== --- lyx-1.5.orig/src/client/lyxclient.man 2007-09-15 21:41:56.000000000 +0200 +++ lyx-1.5/src/client/lyxclient.man 2007-09-15 21:42:26.000000000 +0200 @@ -79,5 +79,5 @@ .SH SEE ALSO lyx(1), xdvi(1), lyx functions <fixme>. .SH AUTHORS -Jo�o Luis M. Assirati <[EMAIL PROTECTED]> is the principal author +Jo\[~a]o Luis M. Assirati <[EMAIL PROTECTED]> is the principal author of lyxclient.