From 9c477c64271086cc307e15d59f210f61d148647c Mon Sep 17 00:00:00 2001 From: John Spray Date: Sat, 21 Jan 2006 20:30:26 +0000 Subject: [PATCH] more work on GTK document dialog git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10762 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/gtk/ChangeLog | 2 + src/frontends/gtk/GDocument.C | 319 +++++- src/frontends/gtk/GDocument.h | 56 + src/frontends/gtk/glade/document.glade | 1414 +++++++++++++++++++----- 4 files changed, 1507 insertions(+), 284 deletions(-) diff --git a/src/frontends/gtk/ChangeLog b/src/frontends/gtk/ChangeLog index 5a5ecf9f86..092567ab95 100644 --- a/src/frontends/gtk/ChangeLog +++ b/src/frontends/gtk/ChangeLog @@ -2,6 +2,8 @@ * GBibItem.[Ch], glade/bibitem.glade: Add the bibitem dialog * Dialogs.C, Makefile.am, glade/Makefile.am: Use GBibItem + * GDocument.[Ch], glade/document.glade: Add more functionality + to the still-incomplete document dialog. 2006-01-20 Bernhard Reiter diff --git a/src/frontends/gtk/GDocument.C b/src/frontends/gtk/GDocument.C index 424e6348c3..8b090a276d 100644 --- a/src/frontends/gtk/GDocument.C +++ b/src/frontends/gtk/GDocument.C @@ -40,6 +40,7 @@ namespace lyx { using support::bformat; using support::token; +using support::contains; namespace frontend { @@ -208,7 +209,7 @@ void GDocument::doBuild() // *** Begin "Margins" Page *** xml_->get_widget("DefaultMargins", defaultmargins_); - defaultmargins_->signal_clicked().connect( + defaultmargins_->signal_toggled().connect( sigc::mem_fun(*this, &GDocument::marginsChanged)); xml_->get_widget("MarginTop", mtopspin_); @@ -273,6 +274,94 @@ void GDocument::doBuild() xml_->get_widget("FrenchQuote", qfrenchradio_); xml_->get_widget("DanishQuote", qdanishradio_); // *** End "Language" Page *** + + // *** Start "Numbering" Page *** + Gtk::HScale * scale; + xml_->get_widget("Numbering", scale); + numberingadj_ = scale->get_adjustment(); + numberingadj_->signal_value_changed().connect( + sigc::mem_fun(*this, &GDocument::numberingChanged)); + xml_->get_widget("NumberingLabel", numberinglabel_); + + xml_->get_widget("TOC", scale); + TOCadj_ = scale->get_adjustment(); + TOCadj_->signal_value_changed().connect( + sigc::mem_fun(*this, &GDocument::TOCChanged)); + xml_->get_widget("TOCLabel", TOClabel_); + // *** End "Numbering" Page *** + + // *** Start "Bibliography" Page *** + xml_->get_widget("BasicNumerical", basicnumericalradio_); + xml_->get_widget("NatbibNumerical", natbibnumericalradio_); + xml_->get_widget("NatbibAuthorYear", natbibauthoryearradio_); + xml_->get_widget("Jurabib", jurabibradio_); + xml_->get_widget("SectionedBibliography", sectionedbibliographytoggle_); + // *** End "Bibliography" Page *** + + // *** Start "Math" Page *** + xml_->get_widget("AMSAutomatically", AMSautomaticallyradio_); + xml_->get_widget("AMSAlways", AMSalwaysradio_); + xml_->get_widget("AMSNever", AMSneverradio_); + // *** End "Math" Page *** + + // *** Start "Floats" Page *** + xml_->get_widget("DocumentDefault", defaultradio_); + xml_->get_widget("HereDefinitely", heredefinitelyradio_); + xml_->get_widget("Alternative", alternativeradio_); + alternativeradio_->signal_toggled().connect( + sigc::mem_fun(*this, &GDocument::alternativeChanged)); + xml_->get_widget("TopOfPage", topcheck_); + xml_->get_widget("BottomOfPage", bottomcheck_); + xml_->get_widget("PageOfFloats", pageoffloatscheck_); + xml_->get_widget("HereIfPossible", hereifpossiblecheck_); + xml_->get_widget("IgnoreRules", ignorerulescheck_); + // Initial sensitivity + GDocument::alternativeChanged(); + + // *** End "Floats" Page *** + + // *** Start "Bullets" Page *** + // *** End "Bullets" Page *** + + // *** Start "Branches" Page *** + xml_->get_widget("Branches", branchesview_); + xml_->get_widget("AddBranch", addbranchbutton_); + addbranchbutton_->signal_clicked().connect( + sigc::mem_fun(*this, &GDocument::addBranch)); + xml_->get_widget("RemoveBranch", removebranchbutton_); + branchCols_.add(branchColName_); + branchCols_.add(branchColActivated_); + branchCols_.add(branchColColor_); + + branchliststore_ = Gtk::ListStore::create(branchCols_); + branchesview_->set_model(branchliststore_); + branchesview_->append_column_editable(_("Name"), branchColName_); + branchesview_->append_column_editable(_("Activated"), branchColActivated_); + branchesview_->append_column_editable(_("Color"), branchColColor_); + branchsel_ = branchesview_->get_selection(); + + branchsel_->signal_changed().connect( + sigc::mem_fun(*this, &GDocument::branchSelChanged)); + + /* + ErrorList::const_iterator cit = errors.begin(); + ErrorList::const_iterator end = errors.end(); + for (int rowindex = 0; cit != end; ++cit, ++rowindex) { + Gtk::ListStore::Row row = *errliststore_->append(); + if (rowindex == 0) + errlistsel_->select(*row); + + (*row)[listCol_] = cit->error; + (*row)[listColIndex_] = rowindex; + } + */ + Gtk::ListStore::Row row = *branchliststore_->append(); + (*row)[branchColName_] = "Munch"; + (*row)[branchColActivated_] = false; + row = *branchliststore_->append(); + (*row)[branchColName_] = "Hunch"; + (*row)[branchColActivated_] = true; + // *** End "Branches" Page *** } @@ -418,6 +507,86 @@ void GDocument::update() // *** End "Language" Page *** + // *** Start "Numbering" Page *** + numberingadj_->set_value(params.secnumdepth + 2); + TOCadj_->set_value(params.tocdepth + 1); + // *** End "Numbering" Page *** + + // *** Start "Bibliography" Page *** + switch (params.cite_engine) { + case biblio::ENGINE_BASIC: + basicnumericalradio_->set_active(); + break; + case biblio::ENGINE_NATBIB_NUMERICAL: + natbibnumericalradio_->set_active(); + break; + case biblio::ENGINE_NATBIB_AUTHORYEAR: + natbibauthoryearradio_->set_active(); + break; + case biblio::ENGINE_JURABIB: + jurabibradio_->set_active(); + break; + } + + sectionedbibliographytoggle_->set_active(params.use_bibtopic); + // *** End "Bibliography" Page *** + + // *** Start "Math" Page *** + switch (params.use_amsmath) { + case BufferParams::AMS_AUTO: + AMSautomaticallyradio_->set_active(); + break; + case BufferParams::AMS_ON: + AMSalwaysradio_->set_active(); + break; + case BufferParams::AMS_OFF: + AMSneverradio_->set_active(); + break; + } + // *** End "Math" Page *** + + // *** Start "Floats" Page *** + string const placement = params.float_placement; + bool const here_definitely = contains(placement, 'H'); + bool const top = contains(placement, 't'); + bool const bottom = contains(placement, 'b'); + bool const page = contains(placement, 'p'); + bool const here = contains(placement, 'h'); + bool const force = contains(placement, '!'); + bool const alternatives = top || bottom || page || here; + + if (alternatives) { + alternativeradio_->set_active(true); + } else if (here_definitely) { + heredefinitelyradio_->set_active(true); + } else { + defaultradio_->set_active(true); + } + ignorerulescheck_->set_active(force); + topcheck_->set_active(top); + bottomcheck_->set_active(bottom); + pageoffloatscheck_->set_active(page); + hereifpossiblecheck_->set_active(here); + + // *** End "Floats" Page *** + + // *** Start "Bullets" Page *** + // *** End "Bullets" Page *** + + // *** Start "Branches" Page *** + branchliststore_->clear(); + + BranchList::const_iterator it = params.branchlist().begin(); + BranchList::const_iterator const end = params.branchlist().end(); + for (; it != end; ++it) { + Gtk::ListStore::Row row = *branchliststore_->append(); + (*row)[branchColName_] = (*it).getBranch(); + std::cerr << "update: loading '" << (*it).getBranch() << "'\n"; + (*row)[branchColActivated_] = (*it).getSelected(); + (*row)[branchColColor_] = (*it).getColor(); + } + // *** End "Branches" Page *** + // Be a cheesy bastard, for the moment bc().valid(); } @@ -546,6 +715,88 @@ void GDocument::apply() params.quotes_language = InsetQuotes::DanishQ; // *** End "Language" Page *** + // *** Start "Numbering" Page *** + params.secnumdepth = (int)(numberingadj_->get_value()) - 2; + params.tocdepth = (int)(TOCadj_->get_value()) - 1; + // *** End "Numbering" Page *** + + // *** Start "Bibliography" Page *** + if (basicnumericalradio_->get_active()) + params.cite_engine = biblio::ENGINE_BASIC; + else if (natbibnumericalradio_->get_active()) + params.cite_engine = biblio::ENGINE_NATBIB_NUMERICAL; + else if (natbibauthoryearradio_->get_active()) + params.cite_engine = biblio::ENGINE_NATBIB_AUTHORYEAR; + else if (jurabibradio_->get_active()) + params.cite_engine = biblio::ENGINE_JURABIB; + + params.use_bibtopic = sectionedbibliographytoggle_->get_active(); + // *** End "Bibliography" Page *** + + // *** Start "Math" Page *** + if (AMSautomaticallyradio_->get_active()) + params.use_amsmath = BufferParams::AMS_AUTO; + else if (AMSalwaysradio_->get_active()) + params.use_amsmath = BufferParams::AMS_ON; + else if (AMSneverradio_->get_active()) + params.use_amsmath = BufferParams::AMS_OFF; + // *** End "Math" Page *** + + // *** Start "Floats" Page *** + string placement; + if (alternativeradio_->get_active()) { + if (ignorerulescheck_->get_active()) + placement += '!'; + if (topcheck_->get_active()) + placement += 't'; + if (bottomcheck_->get_active()) + placement += 'b'; + if (pageoffloatscheck_->get_active()) + placement += 'p'; + if (hereifpossiblecheck_->get_active()) + placement += 'h'; + if (placement == "!") + placement.erase(); + } else if (heredefinitelyradio_->get_active()) + placement = "H"; + + params.float_placement = placement; + // *** End "Floats" Page *** + + // *** Start "Bullets" Page *** + // *** End "Bullets" Page *** + + // *** Start "Branches" Page *** + /*branchliststore_->clear(); + + BranchList::const_iterator it = params.branchlist().begin(); + BranchList::const_iterator const end = params.branchlist().end(); + for (; it != end; ++it) { + Gtk::ListStore::Row row = *branchliststore_->append(); + (*row)[branchColName_] = (*it).getBranch(); + (*row)[branchColActivated_] = (*it).getSelected(); + (*row)[branchColColor_] = (*it).getColor(); + }*/ + + BranchList branchlist; + + Gtk::ListStore::iterator it = branchliststore_->children().begin(); + Gtk::ListStore::iterator const end = branchliststore_->children().end(); + for (; it != end; ++it) { + Gtk::ListStore::Row row = *it; + Glib::ustring const name = (*row)[branchColName_]; + if (branchlist.add(name)) { + std::cerr << "apply: adding '" << name << "'\n"; + Branch * newbranch = branchlist.find(name); + newbranch->setSelected((*row)[branchColActivated_]); + Glib::ustring const color = (*row)[branchColColor_]; + newbranch->setColor(color); + } + } + + params.branchlist() = branchlist; + + // *** End "Branches" Page *** } @@ -606,12 +857,10 @@ void GDocument::classChanged() pagestylecombo_.append_text("default"); string const pagestyleitems = ctrl.textClass().opt_pagestyle(); - std::cerr << "pagestyleitems=" << pagestyleitems << "\n"; for (int n=0; !token(pagestyleitems,'|',n).empty(); ++n) pagestylecombo_.append_text(token(pagestyleitems,'|',n)); comboBoxTextSet(pagestylecombo_, params.pagestyle); - std::cerr << "params.pagestyle=" << params.pagestyle << "\n"; } } else { classcombo_.set_active(params.textclass); @@ -652,5 +901,69 @@ void GDocument::marginsChanged() mfootskipunitcombo_.set_sensitive(custom); } + +void GDocument::numberingChanged() +{ + string const numberinglabels[] = { + _("No headings numbered"), + _("Only parts numbered"), + _("Chapters and above numbered"), + _("Sections and above numbered"), + _("Subsections and above numbered"), + _("Subsubsections and above numbered"), + _("Paragraphs and above numbered"), + _("All headings numbered") + }; + + int const value = (int)(numberingadj_->get_value()); + numberinglabel_->set_label("" + numberinglabels[value] + ""); +} + + +void GDocument::TOCChanged() +{ + string const TOClabels[] = { + _("Only Parts appear in TOC"), + _("Chapters and above appear in TOC"), + _("Sections and above appear in TOC"), + _("Subsections and above appear in TOC"), + _("Subsubsections and above appear in TOC"), + _("Paragraphs and above appear in TOC"), + _("TOC contains all headings") + }; + + int const value = (int)(TOCadj_->get_value()); + TOClabel_->set_label("" + TOClabels[value] + ""); +} + + +void GDocument::alternativeChanged() +{ + bool const sens = alternativeradio_->get_active(); + topcheck_->set_sensitive(sens); + bottomcheck_->set_sensitive(sens); + pageoffloatscheck_->set_sensitive(sens); + hereifpossiblecheck_->set_sensitive(sens); + ignorerulescheck_->set_sensitive(sens); +} + + +void GDocument::addBranch() +{ + Gtk::ListStore::Row row = *branchliststore_->append(); + (*row)[branchColName_] = "New Branch"; + (*row)[branchColActivated_] = false; + (*row)[branchColColor_] = "#000000"; +} + + +void GDocument::branchSelChanged() +{ + if (branchsel_->get_selected() == branchliststore_->children().end()) + removebranchbutton_->set_sensitive(false); + else + removebranchbutton_->set_sensitive(true); +} + } // namespace frontend } // namespace lyx diff --git a/src/frontends/gtk/GDocument.h b/src/frontends/gtk/GDocument.h index d19365d413..ad53c424a2 100644 --- a/src/frontends/gtk/GDocument.h +++ b/src/frontends/gtk/GDocument.h @@ -15,6 +15,8 @@ #include "GViewBase.h" #include "vspace.h" +#include "BranchList.h" + #include #include @@ -103,6 +105,60 @@ private: Gtk::RadioButton * qdanishradio_; std::vector lang_; // *** End "Language" Page *** + + // *** Start "Numbering" Page *** + Gtk::Adjustment * numberingadj_; + Gtk::Adjustment * TOCadj_; + Gtk::Label * numberinglabel_; + Gtk::Label * TOClabel_; + void numberingChanged(); + void TOCChanged(); + // *** End "Numbering" Page *** + + // *** Start "Bibliography" Page *** + Gtk::RadioButton * basicnumericalradio_; + Gtk::RadioButton * natbibnumericalradio_; + Gtk::RadioButton * natbibauthoryearradio_; + Gtk::RadioButton * jurabibradio_; + Gtk::ToggleButton * sectionedbibliographytoggle_; + // *** End "Bibliography" Page *** + + // *** Start "Math" Page *** + Gtk::RadioButton * AMSautomaticallyradio_; + Gtk::RadioButton * AMSalwaysradio_; + Gtk::RadioButton * AMSneverradio_; + // *** End "Math" Page *** + + // *** Start "Floats" Page *** + Gtk::RadioButton * defaultradio_; + Gtk::RadioButton * heredefinitelyradio_; + Gtk::RadioButton * alternativeradio_; + Gtk::CheckButton * topcheck_; + Gtk::CheckButton * bottomcheck_; + Gtk::CheckButton * pageoffloatscheck_; + Gtk::CheckButton * hereifpossiblecheck_; + Gtk::CheckButton * ignorerulescheck_; + void alternativeChanged(); + // *** End "Floats" Page *** + + // *** Start "Bullets" Page *** + // *** End "Bullets" Page *** + + // *** Start "Branches" Page *** + //BranchList branchlist_; + Gtk::TreeView * branchesview_; + Gtk::Button * addbranchbutton_; + Gtk::Button * removebranchbutton_; + Gtk::TreeModelColumn branchColName_; + Gtk::TreeModelColumn branchColActivated_; + Gtk::TreeModelColumn branchColColor_; + Gtk::TreeModel::ColumnRecord branchCols_; + + Glib::RefPtr branchliststore_; + Glib::RefPtr branchsel_; + void addBranch(); + void branchSelChanged(); + // *** End "Branches" Page *** }; } // namespace frontend diff --git a/src/frontends/gtk/glade/document.glade b/src/frontends/gtk/glade/document.glade index 4b548c771e..fc151be3fc 100644 --- a/src/frontends/gtk/glade/document.glade +++ b/src/frontends/gtk/glade/document.glade @@ -15,6 +15,7 @@ False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST + True False @@ -165,6 +166,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -241,6 +246,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -263,8 +272,8 @@ 0 - True - True + False + False GTK_PACK_END @@ -276,7 +285,7 @@ True True True - GTK_POS_TOP + GTK_POS_LEFT True False @@ -310,6 +319,10 @@ 0 0 PostscriptDriver + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -349,7 +362,7 @@ 0 True - * + * False @@ -375,6 +388,10 @@ 0 0 Font + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -440,6 +457,10 @@ 0 0 LineSpacing + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -633,6 +654,10 @@ 0 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -670,6 +695,10 @@ 0 0 ExtraOptions + PANGO_ELLIPSIZE_NONE + -1 + False + 0 @@ -696,6 +725,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -720,6 +753,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -744,6 +781,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -769,6 +810,10 @@ 0 0 DocumentClass + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -794,6 +839,10 @@ 0 0 FontSize + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -818,6 +867,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -842,6 +895,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -866,6 +923,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -923,6 +984,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 tab @@ -949,6 +1014,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -991,6 +1060,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1016,6 +1089,10 @@ 0 0 PageWidth + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1041,6 +1118,10 @@ 0 0 PageHeight + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1158,7 +1239,7 @@ 0 - True + False True @@ -1176,6 +1257,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1245,7 +1330,7 @@ 0 - True + False True @@ -1263,6 +1348,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1309,6 +1398,10 @@ 0 0 PageStyle + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1383,14 +1476,14 @@ 0 - True + False True False - True + False @@ -1407,6 +1500,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 tab @@ -1437,6 +1534,10 @@ 0 0 MarginTop + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1462,6 +1563,10 @@ 0 0 MarginBottom + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1487,6 +1592,10 @@ 0 0 MarginInner + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1512,6 +1621,10 @@ 0 0 MarginOuter + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1537,6 +1650,10 @@ 0 0 MarginHeadSep + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1562,6 +1679,10 @@ 0 0 MarginHeadHeight + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1587,6 +1708,10 @@ 0 0 MarginFootSkip + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1745,28 +1870,6 @@ - - - True - True - Ma_rgins: - True - GTK_RELIEF_NORMAL - True - True - False - True - - - 0 - 1 - 0 - 1 - fill - - - - True @@ -1906,6 +2009,28 @@ fill + + + + True + True + Use _default margins + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + 1 + 0 + 1 + fill + + + False @@ -1926,6 +2051,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 tab @@ -1955,6 +2084,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1998,6 +2131,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -2177,6 +2314,10 @@ 0 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -2207,6 +2348,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 tab @@ -2223,10 +2368,10 @@ True - 2 + 4 2 False - 0 + 6 12 @@ -2242,6 +2387,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -2266,27 +2415,31 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 1 - 1 - 2 + 2 + 3 fill - + True True - True + False GTK_POS_TOP 0 GTK_UPDATE_CONTINUOUS False - 0 0 0 0 0 0 + 1.1358490566 0 7 1 0 0 1 @@ -2298,70 +2451,9 @@ - - True - True - True - GTK_POS_TOP - 0 - GTK_UPDATE_CONTINUOUS - False - 0 0 0 0 0 0 - - - 1 - 2 - 1 - 2 - fill - fill - - - - - 0 - True - True - - - - - - True - 8 - 3 - False - 6 - 12 - - - - True - <b>Item</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - 1 - 0 - 1 - fill - - - - - - + True - <b>Numbered</b> + <i>Chapters and above are numbered</i> False True GTK_JUSTIFY_LEFT @@ -2371,21 +2463,25 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 2 - 0 - 1 + 1 + 2 fill - + True - <b>Show in TOC</b> + <i>Sections and above appear in the T.O.C.</i> False True GTK_JUSTIFY_LEFT @@ -2395,233 +2491,985 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 - 2 - 3 - 0 - 1 - fill - - - - - - - True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - checkbutton1 - - - 0 - 1 - 1 - 2 + 1 + 2 + 3 + 4 fill - + True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 + True + False + GTK_POS_TOP + 0 + GTK_UPDATE_CONTINUOUS + False + 1.17322838306 0 6 1 0 0 - 0 - 1 + 1 + 2 2 3 fill - + fill + + + 0 + False + True + + + + + False + True + + - - - True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - 1 - 3 - 4 - fill - - - + + + True + _Numbering + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + tab + + + + + + 12 + True + False + 6 + + + + True + Citation style: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + True + + + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 - + True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 + False + 6 + + + + True + True + Basic N_umerical + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Natbib (Numerical) + True + GTK_RELIEF_NORMAL + True + False + False + True + BasicNumerical + + + 0 + False + False + + + + + + True + True + Natbib (Author-Year) + True + GTK_RELIEF_NORMAL + True + False + False + True + BasicNumerical + + + 0 + False + False + + + + + + True + True + Jurabib + True + GTK_RELIEF_NORMAL + True + False + False + True + BasicNumerical + + + 0 + False + False + + + + + + + 0 + False + True + + + + + + True + True + S_ectioned Bibliography + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + False + True + + + + + + True + Bibliography + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + tab + + + + + + 12 + True + False + 0 + + + + True + Use AMS math package: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + 0.5 + 0.5 + 1 + 1 + 6 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Automatically + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Always + True + GTK_RELIEF_NORMAL + True + False + False + True + AMSAutomatically + + + 0 + False + False + + + + + + True + True + Never + True + GTK_RELIEF_NORMAL + True + False + False + True + AMSAutomatically + + + 0 + False + False + + + + + + + 0 + True + True + + + + + False + True + + + + + + True + Math + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + tab + + + + + + 12 + True + False + 0 + + + + True + Float placement: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + 0.5 + 0.5 + 1 + 1 + 6 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Document default + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Here, definitely + True + GTK_RELIEF_NORMAL + True + False + False + True + DocumentDefault + + + 0 + False + False + + + + + + True + True + Alternative: + True + GTK_RELIEF_NORMAL + True + False + False + True + DocumentDefault + + + 0 + False + False + + + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Top of page + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Bottom of page + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Page of floats + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Here, if possible + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Ignore LaTeX rules + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + + 0 + True + True + + - - 0 - 1 - 4 - 5 - fill - - + + + 0 + False + True + + + + + False + True + + + + + + True + Floats + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + tab + + + + + + 12 + True + 10 + 3 + False + 0 + 0 + + + + True + <b>First Level</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 2 + 0 + 1 + fill + + + - - - True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - 1 - 5 - 6 - fill - - - + + + True + Type: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 1 + 2 + fill + + + - - - True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - 1 - 6 - 7 - fill - - - + + + True + Size: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 2 + 3 + fill + + + + + + + True + <b>Second Level</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 2 + 3 + 4 + fill + + + + + + + True + <b>Third Level</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 2 + 6 + 7 + fill + + + + + + + True + <b>Fourth Level</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 2 + 8 + 9 + fill + + + + + + + True + False + True + + + 2 + 3 + 1 + 2 + fill + + + + + False + True + + + + + + True + _Bullets + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + tab + + + + + + 12 + True + False + 12 + + + + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT - + True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 + True + True + True + False + True + False + False + False - - 0 - 1 - 7 - 8 - fill - - + + + 0 + True + True + + + + + + True + False + 12 - + True True - Numbered - True + gtk-add + True GTK_RELIEF_NORMAL True - False - False - False - 1 - 2 - 1 - 2 - fill - + 0 + False + False - + True + False True - Show in TOC - True + gtk-remove + True GTK_RELIEF_NORMAL True - False - False - False - 2 - 3 - 1 - 2 - fill - + 0 + False + False + + + + 0 - True + False True @@ -2633,9 +3481,9 @@ - + True - _Numbering + Branc_hes True False GTK_JUSTIFY_LEFT @@ -2645,6 +3493,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 tab -- 2.39.2