Pavel Sanda <[EMAIL PROTECTED]> writes:

> 
> > goodrich <at> X41Laptop:~$ cat ~/.lyx/preferences |grep pdflatex
> > \format "pdf2" "pdf" "PDF (pdflatex)" "F" "acroread" "" "document,vector"
> > \format "pdflatex" "tex" "LaTeX (pdflatex)" "" "editor" "editor"
> > \converter "literate" "pdflatex" "R CMD Sweave $$i"  ""
> > 
> > Did I break it by adding the Sweave thing? I followed the links from
> 
> i dont think so.
> 
> > > also - what happens if you remove the whole ~/.lyx directory,
> > > reconfigure and then launch lyx again?
> > 
> > The missing export options come back. All good now.
> 
> ouch! :)) now i wont gain you old preferences to test.
> 
> btw do i understand correctly, that reconfiguration didnt helped to you?
> 
> pavel

The initial reconfigurations did not help or hurt with the export options,
evidently because I followed the upgrade path from 1.4.x to 1.5.x . Then, I did

mv .lyx/ .lyxOLD

at which point a reconfiguration generated a new .lyx/ and fixed the missing
export options. So I still have the old preferences file but I have not yet done
anything in LyX to trigger the generation a new preferences file. Here is the
old preferences file. -- Thanks, Ben

### This file is part of
### ========================================================
###          LyX, The Document Processor
###
###          Copyright 1995 Matthias Ettrich
###          Copyright 1995-2001 The LyX Team.
###
### ========================================================

# 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 ######################################
#

# The default papersize to use.
\default_papersize "usletter"
\user_name "goodrich"
\user_email ""
\preview on

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

\screen_font_roman "Liberation Serif"
\screen_font_sans "Liberation Sans"
\screen_font_typewriter "Liberation Mono"

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


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


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


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


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


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


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

\use_spell_lib false

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


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

\default_language american

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

\format "pdf2" "pdf" "PDF (pdflatex)" "F" "acroread" "" "document,vector"
\format "pdf" "pdf" "PDF (ps2pdf)" "P" "kpdf" "" "document,vector"

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


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

# What: LyX (>=1.4.4) preferences file with Sweave tweaks
# $Id: preferences 137 2007-07-29 15:24:42Z ggorjan $
#
# FORMATS SECTION #############################
#

\format "literate" "Rnw" "Sweave"           "" "editor" "editor"
\format "r"        "R"   "R/S code"         "" "editor" "editor"
\format "latex"    "tex" "LaTeX (plain)"    "" "editor" "editor"
\format "pdflatex" "tex" "LaTeX (pdflatex)" "" "editor" "editor"

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

\converter "literate" "r"        "R CMD Stangle $$i" ""
\converter "literate" "latex"    "R CMD Sweave $$i"  ""
\converter "literate" "pdflatex" "R CMD Sweave $$i"  ""






Reply via email to