Paul,

thanks for your reply.

Am Dienstag, 25. Januar 2011 schrieb Paul Rubin:
> You might also grep the preferences file in that folder; entries in
> preferences override those in lyxrc.defaults.

There is a match, but that seems ok to me:

rd@blackbox:~/.lyx$ grep pdf2 *|grep -v pdf2ps
lyxrc.defaults:\Format pdf2       pdf    "PDF (pdflatex)"        F  "xdg-open"  
""      "document,vector"
lyxrc.defaults:\converter pdflatex   pdf2       "pdflatex $$i"  "latex"
lyxrc.defaults~:\Format pdf2       pdf    "PDF (pdflatex)"        F  "gv"       
""
lyxrc.defaults~:\converter latex      pdf2       "pdflatex $$i" "latex"
preferences:\format "pdf2" "pdf" "PDF (pdflatex)" "F" "okular" "" ""
rd@blackbox:~/.lyx$ 


> If that also looks reasonable, you might rename the entire .lyx directory
> to something else (for safekeeping) and then restart LyX.  It should
> create a new .lyx directory.  I've seen reports of odd or inexplicable
> problems that persisted until the user directory was regenerated (although
> I think those were mainly if not exclusively on Windows).

Indeed that fixes the problem.

I diff'ed .lyx and .lyx.bak in case somebody wants to investigate in more 
detail (I could provide the entire .lyx and .lyx.bak directories if somebody 
wants them):

rd@blackbox:~$ diff -r .lyx/lyxrc.defaults .lyx.bak/lyxrc.defaults
rd@blackbox:~$ ls .lyx/preferences
ls: cannot access .lyx/preferences: No such file or directory
rd@blackbox:~$ cat .lyx.bak/preferences 
# This file is written by LyX, if you want to make your own
# modifications you should do them from inside LyX and save


#
# MISC SECTION ######################################
#

\user_name "Rainer Dorsch"
\user_email ""
\preview on

#
# SCREEN & FONTS SECTION ############################
#

\screen_dpi 83

#
# COLOR SECTION ###################################
#

\set_color "cursor" "#000000"
\set_color "background" "#faf0e6"
\set_color "foreground" "#000000"
\set_color "selection" "#add8e6"
\set_color "latex" "#8b0000"
\set_color "preview" "#000000"
\set_color "note" "#ffff00"
\set_color "notebg" "#ffff00"
\set_color "depthbar" "#cd5c5c"
\set_color "language" "#0000ff"
\set_color "command" "#000000"
\set_color "commandbg" "#f0ffff"
\set_color "commandframe" "#000000"
\set_color "special" "#4169e1"
\set_color "graphicsbg" "#faf0e6"
\set_color "math" "#00008b"
\set_color "mathbg" "#faf0e6"
\set_color "mathmacrobg" "#faf0e6"
\set_color "mathframe" "#ff00ff"
\set_color "mathline" "#0000ff"
\set_color "captionframe" "#8b0000"
\set_color "collapsable" "#8b0000"
\set_color "collapsableframe" "#cd5c5c"
\set_color "insetframe" "#cd5c5c"
\set_color "error" "#ff0000"
\set_color "eolmarker" "#a52a2a"
\set_color "added_space" "#a52a2a"
\set_color "topline" "#a52a2a"
\set_color "tabularline" "#000000"
\set_color "tabularonoffline" "#b0c4de"
\set_color "pagebreak" "#4169e1"
\set_color "buttonbg" "#cccccc"

#
# PRINTER SECTION ###################################
#


#
# EXPORT SECTION ####################################
#


#
# TEX SECTION #######################################
#


#
# FILE SECTION ######################################
#


#
# PLAIN TEXT EXPORT SECTION ##############################
#


#
# SPELLCHECKER SECTION ##############################
#


#
# LANGUAGE SUPPORT SECTION ##########################
#


#
# 2nd MISC SUPPORT SECTION ##########################
#


#
# FORMATS SECTION ##########################
#

\format "pdf2" "pdf" "PDF (pdflatex)" "F" "okular" "" ""
\format "pdf4" "pdf" "PDF (tex2pdf)" "" "acroread" "" ""

#
# CONVERTERS SECTION ##########################
#

\converter "latex" "pdf4" "tex2pdf $$i" "latex"

#
# COPIERS SECTION ##########################
#

rd@blackbox:~$ 



Thanks,
Rainer


-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: rdor...@web.de
jabber: rdor...@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to