Anyone interested in a preview latex checkbox in preferences? I think LnF -> Misc is the right place. I have not tested it, because I don't have preview-latex, but it should work.
Jürgen. BTW: the fonts in current CVS (after Porto) are HUGE.
Index: src/frontends/xforms/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.440 diff -u -r1.440 ChangeLog --- src/frontends/xforms/ChangeLog 2002/06/26 14:15:07 1.440 +++ src/frontends/xforms/ChangeLog 2002/06/27 17:11:02 @@ -1,3 +1,8 @@ +2002-06-27 Juergen Spitzmueller <[EMAIL PROTECTED]> + + * FormPreferences.C + * forms/formPreferences.fd: Add a checkbox for Andrés new toy (preview) + 2002-06-26 Angus Leeming <[EMAIL PROTECTED]> * xformsGImage.C (load, setPixmap): changes aassociated with moving Index: src/frontends/xforms/FormPreferences.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/FormPreferences.C,v retrieving revision 1.120 diff -u -r1.120 FormPreferences.C --- src/frontends/xforms/FormPreferences.C 2002/06/25 15:59:09 1.120 +++ src/frontends/xforms/FormPreferences.C 2002/06/27 17:11:07 @@ -1827,6 +1827,7 @@ fl_get_button(dialog_->check_cursor_follows_scrollbar); lyxrc.dialogs_iconify_with_main = fl_get_button(dialog_->check_dialogs_iconify_with_main); + lyxrc.preview = fl_get_button(dialog_->check_preview_latex); lyxrc.autosave = static_cast<unsigned int> (fl_get_counter_value(dialog_->counter_autosave)); lyxrc.wheel_jump = static_cast<unsigned int> @@ -1872,6 +1873,7 @@ setPrehandler(dialog_->check_ask_new_file); setPrehandler(dialog_->check_cursor_follows_scrollbar); setPrehandler(dialog_->check_dialogs_iconify_with_main); + setPrehandler(dialog_->check_preview_latex); setPrehandler(dialog_->counter_wm_jump); setPrehandler(dialog_->radio_display_monochrome); setPrehandler(dialog_->radio_display_grayscale); @@ -1895,6 +1897,8 @@ str = lyxrc.getDescription(LyXRC::RC_CURSOR_FOLLOWS_SCROLLBAR); else if (ob == dialog_->check_dialogs_iconify_with_main) str = lyxrc.getDescription(LyXRC::RC_DIALOGS_ICONIFY_WITH_MAIN); + else if (ob == dialog_->check_preview_latex) + str = lyxrc.getDescription(LyXRC::RC_PREVIEW); else if (ob == dialog_->counter_autosave) str = lyxrc.getDescription(LyXRC::RC_AUTOSAVE); else if (ob == dialog_->counter_wm_jump) @@ -1919,6 +1923,8 @@ lyxrc.cursor_follows_scrollbar); fl_set_button(dialog_->check_dialogs_iconify_with_main, lyxrc.dialogs_iconify_with_main); + fl_set_button(dialog_->check_preview_latex, + lyxrc.preview); fl_set_counter_value(dialog_->counter_autosave, lyxrc.autosave); fl_set_counter_value(dialog_->counter_wm_jump, lyxrc.wheel_jump); Index: src/frontends/xforms/forms/form_preferences.fd =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/forms/form_preferences.fd,v retrieving revision 1.49 diff -u -r1.49 form_preferences.fd --- src/frontends/xforms/forms/form_preferences.fd 2002/06/21 11:35:41 1.49 +++ src/frontends/xforms/forms/form_preferences.fd 2002/06/27 17:11:12 @@ -973,7 +973,7 @@ -------------------- class: FL_BEGIN_GROUP type: 0 -box: 0 10 10 0 +box: 0 0 0 0 boxtype: FL_NO_BOX colors: FL_COL1 FL_MCOL alignment: FL_ALIGN_CENTER @@ -1101,7 +1101,7 @@ Name: form_preferences_lnf_misc Width: 450 Height: 350 -Number of Objects: 17 +Number of Objects: 18 -------------------- class: FL_BOX @@ -1281,7 +1281,7 @@ -------------------- class: FL_BEGIN_GROUP type: 0 -box: 0 10 10 0 +box: 0 0 0 0 boxtype: FL_NO_BOX colors: FL_COL1 FL_MCOL alignment: FL_ALIGN_CENTER @@ -1422,6 +1422,25 @@ name: callback: argument: + +-------------------- +class: FL_CHECKBUTTON +type: PUSH_BUTTON +box: 15 170 30 30 +boxtype: FL_NO_BOX +colors: FL_COL1 FL_YELLOW +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Preview LaTeX|#P +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: check_preview_latex +callback: C_FormBaseDeprecatedInputCB +argument: 0 + value: 1 =============== FORM =============== Name: form_preferences_spelloptions