Bo Peng a écrit :
Apparently they won't be set correctly as I need to reconfigure after an
initial startup. See my previous mail.
That was exactly what puzzled me. I do not have a windows machine
here. And I (or you) need to see the result of
1. clear Application Data/lyx
2. start lyx
I've done that.
3. DO WE SEE auto in $HOME/.lyx/lyxrc.default?
yes I think, there are "auto" "" see attached. Also attached the same
file after reconfigure.
One thing that may be important: I don't have sh in my path. Could it be
the reason why this file is not generated correctly? If yes, then we
should removed that dependency.
> If you do not like html menu, you can set its format to empty. This is
> why I introduce 'auto' rather than simply replying on an empty viewer
> entry.
It's not that I don't like it, it's just that it is broken with htlatex.
I know that. I mean, if the menu item is broken, you can disable it that
way.
OK thanks.
Abdel.
# This file has been automatically generated by LyX' lib/configure.py
# script. It contains default settings that have been determined by
# examining your system. PLEASE DO NOT MODIFY ANYTHING HERE! If you
# want to customize LyX, make a copy of the file LYXDIR/lyxrc as
# ~/.lyx/lyxrc and edit this file instead. Any setting in lyxrc will
# override the values given here.
\converter latex dvi "latex $$i" "latex"
\Format tgif obj Tgif "" "auto" "auto"
\Format fig fig FIG "" "auto" "auto"
\Format agr agr Grace "" "auto" "auto"
\Format fen fen FEN "" "auto" "auto"
\Format bmp bmp BMP "" "auto" "auto"
\Format gif gif GIF "" "auto" "auto"
\Format jpg jpg JPEG "" "auto" "auto"
\Format pbm pbm PBM "" "auto" "auto"
\Format pgm pgm PGM "" "auto" "auto"
\Format png png PNG "" "auto" "auto"
\Format ppm ppm PPM "" "auto" "auto"
\Format tiff tif TIFF "" "auto" "auto"
\Format xbm xbm XBM "" "auto" "auto"
\Format xpm xpm XPM "" "auto" "auto"
\Format asciichess asc "Plain text (chess output)" "" "" "auto"
\Format asciiimage asc "Plain text (image)" "" "" "auto"
\Format asciixfig asc "Plain text (Xfig output)" "" "" "auto"
\Format dateout tmp "date (output)" "" "" "auto"
\Format docbook sgml DocBook B "" "auto"
\Format docbook-xml xml "Docbook (XML)" "" "" "auto"
\Format literate nw NoWeb N "" "auto"
\Format latex tex "LaTeX (plain)" L "" "auto"
\Format linuxdoc sgml LinuxDoc x "" "auto"
\Format pdflatex tex "LaTeX (pdflatex)" "" "" "auto"
\Format text txt "Plain text" a "" "auto"
\Format textparagraph txt "Plain text (paragraphs)" "" "" "auto"
\Format eps eps EPS "" "auto" ""
\Format ps ps Postscript t "auto" ""
\Format pdf pdf "PDF (ps2pdf)" P "auto" ""
\Format pdf2 pdf "PDF (pdflatex)" F "auto" ""
\Format pdf3 pdf "PDF (dvipdfm)" m "auto" ""
\Format dvi dvi DVI D "auto" ""
\Format html html HTML H "auto" ""
\Format date "" "date command" "" "" ""
\Format fax "" Fax "" "" ""
\Format lyx lyx LyX "" "" ""
\Format lyx13x lyx13 "LyX 1.3.x" "" "" ""
\Format lyxpreview lyxpreview "LyX Preview" "" "" ""
\Format pdftex pdftex_t PDFTEX "" "" ""
\Format program "" Program "" "" ""
\Format pstex pstex_t PSTEX "" "" ""
\Format sxw sxw "OpenOffice.Org Writer" O "" ""
\Format word doc "MS Word" W "" ""
\Format wordhtml html "MS Word (HTML)" "" "" ""
\converter pdflatex pdf2 "pdflatex $$i" "latex"
\converter latex lyx "tex2lyx -f $$i $$o" ""
\converter literate lyx "none" ""
\converter literate latex "none" ""
\converter html latex "none" ""
\converter word latex "none" ""
\converter latex wordhtml "htlatex $$i 'html,word' 'symbol/!'
'-cvalidate'" ""
\converter sxw latex "none" ""
\converter latex sxw "oolatex $$i" "latex"
\converter ps pdf "ps2pdf13 $$i" ""
\converter dvi ps "dvips -o $$o $$i" ""
\converter dvi pdf3 "dvipdfm $$i" ""
\converter lyxpreview png "python $$s/scripts/lyxpreview2bitmap.py"
""
\converter ps fax "none" ""
\converter eps pdf "epstopdf --outfile=$$o $$i" ""
\converter latex html "htlatex $$i" "originaldir,needaux"
\converter lyxpreview ppm "python $$s/scripts/lyxpreview2bitmap.py"
""
\converter date dateout "date +%d-%m-%Y > $$o" ""
\converter docbook docbook-xml "cp $$i $$o" "xml"
\converter fen asciichess "python $$s/scripts/fen2ascii.py $$i $$o"
""
\converter fig pdftex "sh $$s/scripts/fig2pdftex.sh $$i $$o" ""
\converter fig pstex "sh $$s/scripts/fig2pstex.sh $$i $$o" ""
\converter lyx lyx13x "python $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o"
""
\converter linuxdoc lyx "none" ""
\converter linuxdoc latex "none" ""
\converter linuxdoc dvi "none" ""
\converter linuxdoc html "none" ""
\converter docbook dvi "none" ""
\converter docbook html "none" ""
\tex_allows_spaces true
\ascii_roff_command "none"
\chktex_command "none"
\spell_command "none"
\print_spool_printerprefix "-P",
\print_spool_command "lpr"
\copier fig "sh $$s/scripts/fig_copy.sh $$i $$o"
\copier pstex "python $$s/scripts/tex_copy.py $$i $$o $$l"
\copier pdftex "python $$s/scripts/tex_copy.py $$i $$o $$l"
\font_encoding "T1"
# This file has been automatically generated by LyX' lib/configure.py
# script. It contains default settings that have been determined by
# examining your system. PLEASE DO NOT MODIFY ANYTHING HERE! If you
# want to customize LyX, make a copy of the file LYXDIR/lyxrc as
# ~/.lyx/lyxrc and edit this file instead. Any setting in lyxrc will
# override the values given here.
\converter latex dvi "latex $$i" "latex"
\Format tgif obj Tgif "" "auto" "auto"
\Format fig fig FIG "" "auto" "auto"
\Format agr agr Grace "" "auto" "auto"
\Format fen fen FEN "" "auto" "auto"
\Format bmp bmp BMP "" "auto" "auto"
\Format gif gif GIF "" "auto" "auto"
\Format jpg jpg JPEG "" "auto" "auto"
\Format pbm pbm PBM "" "auto" "auto"
\Format pgm pgm PGM "" "auto" "auto"
\Format png png PNG "" "auto" "auto"
\Format ppm ppm PPM "" "auto" "auto"
\Format tiff tif TIFF "" "auto" "auto"
\Format xbm xbm XBM "" "auto" "auto"
\Format xpm xpm XPM "" "auto" "auto"
\Format asciichess asc "Plain text (chess output)" "" "" "auto"
\Format asciiimage asc "Plain text (image)" "" "" "auto"
\Format asciixfig asc "Plain text (Xfig output)" "" "" "auto"
\Format dateout tmp "date (output)" "" "" "auto"
\Format docbook sgml DocBook B "" "auto"
\Format docbook-xml xml "Docbook (XML)" "" "" "auto"
\Format literate nw NoWeb N "" "auto"
\Format latex tex "LaTeX (plain)" L "" "auto"
\Format linuxdoc sgml LinuxDoc x "" "auto"
\Format pdflatex tex "LaTeX (pdflatex)" "" "" "auto"
\Format text txt "Plain text" a "" "auto"
\Format textparagraph txt "Plain text (paragraphs)" "" "" "auto"
\Format eps eps EPS "" "auto" ""
\Format ps ps Postscript t "auto" ""
\Format pdf pdf "PDF (ps2pdf)" P "auto" ""
\Format pdf2 pdf "PDF (pdflatex)" F "auto" ""
\Format pdf3 pdf "PDF (dvipdfm)" m "auto" ""
\Format dvi dvi DVI D "auto" ""
\Format html html HTML H "auto" ""
\Format date "" "date command" "" "" ""
\Format fax "" Fax "" "" ""
\Format lyx lyx LyX "" "" ""
\Format lyx13x lyx13 "LyX 1.3.x" "" "" ""
\Format lyxpreview lyxpreview "LyX Preview" "" "" ""
\Format pdftex pdftex_t PDFTEX "" "" ""
\Format program "" Program "" "" ""
\Format pstex pstex_t PSTEX "" "" ""
\Format sxw sxw "OpenOffice.Org Writer" O "" ""
\Format word doc "MS Word" W "" ""
\Format wordhtml html "MS Word (HTML)" "" "" ""
\converter pdflatex pdf2 "pdflatex $$i" "latex"
\converter latex lyx "tex2lyx -f $$i $$o" ""
\converter literate lyx "none" ""
\converter literate latex "none" ""
\converter html latex "none" ""
\converter word latex "none" ""
\converter latex wordhtml "htlatex $$i 'html,word' 'symbol/!'
'-cvalidate'" ""
\converter sxw latex "none" ""
\converter latex sxw "oolatex $$i" "latex"
\converter ps pdf "ps2pdf13 $$i" ""
\converter dvi ps "dvips -o $$o $$i" ""
\converter dvi pdf3 "dvipdfm $$i" ""
\converter lyxpreview png "python $$s/scripts/lyxpreview2bitmap.py"
""
\converter ps fax "none" ""
\converter eps pdf "epstopdf --outfile=$$o $$i" ""
\converter latex html "htlatex $$i" "originaldir,needaux"
\converter lyxpreview ppm "python $$s/scripts/lyxpreview2bitmap.py"
""
\converter date dateout "date +%d-%m-%Y > $$o" ""
\converter docbook docbook-xml "cp $$i $$o" "xml"
\converter fen asciichess "python $$s/scripts/fen2ascii.py $$i $$o"
""
\converter fig pdftex "sh $$s/scripts/fig2pdftex.sh $$i $$o" ""
\converter fig pstex "sh $$s/scripts/fig2pstex.sh $$i $$o" ""
\converter lyx lyx13x "python $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o"
""
\converter linuxdoc lyx "none" ""
\converter linuxdoc latex "none" ""
\converter linuxdoc dvi "none" ""
\converter linuxdoc html "none" ""
\converter docbook dvi "none" ""
\converter docbook html "none" ""
\tex_allows_spaces true
\ascii_roff_command "none"
\chktex_command "none"
\spell_command "none"
\print_spool_printerprefix "-P",
\print_spool_command "lpr"
\copier fig "sh $$s/scripts/fig_copy.sh $$i $$o"
\copier pstex "python $$s/scripts/tex_copy.py $$i $$o $$l"
\copier pdftex "python $$s/scripts/tex_copy.py $$i $$o $$l"
\font_encoding "T1"