<!--
     When modifying this GSettings schema, don't forget to update the list of
     keys in latexila_utils_migrate_latexila_to_gnome_latex().
-->

<schemalist>
  <schema id="org.gnome.gnome-latex" path="/org/gnome/gnome-latex/">
    <child schema="org.gnome.gnome-latex.preferences" name="preferences" />
    <child schema="org.gnome.gnome-latex.state" name="state" />

    <key name="latexila-to-gnome-latex-migration-done" type="b">
      <default>false</default>
    </key>
  </schema>

  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnome-latex.preferences" path="/org/gnome/gnome-latex/preferences/">
    <child schema="org.gnome.gnome-latex.preferences.editor" name="editor" />
    <child schema="org.gnome.gnome-latex.preferences.ui" name="ui" />
    <child schema="org.gnome.gnome-latex.preferences.latex" name="latex" />
    <child schema="org.gnome.gnome-latex.preferences.file-browser" name="file-browser" />
  </schema>

  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnome-latex.preferences.editor" path="/org/gnome/gnome-latex/preferences/editor/">
    <key name="use-default-font" type="b">
      <default>true</default>
      <summary>Use Default Font</summary>
      <description>Whether to use the system's default fixed width font for editing text instead of a font specific to GNOME LaTeX. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font.</description>
    </key>
    <key name="editor-font" type="s">
      <default>'Monospace 10'</default>
      <summary>Editor Font</summary>
      <description>A custom font that will be used for the editing area. This will only take effect if the "Use Default Font" option is turned off.</description>
    </key>
    <key name="scheme" type="s">
      <default>'tango'</default>
      <summary>Style Scheme</summary>
      <description>The ID of a GtkSourceView Style Scheme used to color the text.</description>
    </key>
    <key name="create-backup-copy" type="b">
      <default>true</default>
      <summary>Create Backup Copies</summary>
      <description>Whether GNOME LaTeX should create backup copies for the files it saves.</description>
    </key>
    <key name="auto-save" type="b">
      <default>false</default>
      <summary>Autosave</summary>
      <description>Whether GNOME LaTeX should automatically save modified files after a time interval. You can set the time interval with the "Autosave Interval" option.</description>
    </key>
    <key name="auto-save-interval" type="u">
      <range min="1" max="100" />
      <default>10</default>
      <summary>Autosave Interval</summary>
      <description>Number of minutes after which GNOME LaTeX will automatically save modified files. This will only take effect if the "Autosave" option is turned on.</description>
    </key>
    <key name="reopen-files" type="b">
      <default>true</default>
      <summary>Reopen files on startup</summary>
      <description>Whether GNOME LaTeX should reopen the files that was opened the last time.</description>
    </key>
    <key name="tabs-size" type="u">
      <range min="1" max="24" />
      <default>2</default>
      <summary>Tab Size</summary>
      <description>Specifies the number of spaces that should be displayed instead of Tab characters.</description>
    </key>
    <key name="insert-spaces" type="b">
      <default>true</default>
      <summary>Insert spaces</summary>
      <description>Whether GNOME LaTeX should insert spaces instead of tabs.</description>
    </key>
    <key name="forget-no-tabs" type="b">
      <default>true</default>
      <summary>Forget lack of tabulations</summary>
      <description>Forget you are not using tabulations.</description>
    </key>
    <key name="display-line-numbers" type="b">
      <default>true</default>
      <summary>Display Line Numbers</summary>
      <description>Whether GNOME LaTeX should display line numbers in the editing area.</description>
    </key>
    <key name="highlight-current-line" type="b">
      <default>true</default>
      <summary>Highlight Current Line</summary>
      <description>Whether GNOME LaTeX should highlight the current line.</description>
    </key>
    <key name="bracket-matching" type="b">
      <default>true</default>
      <summary>Highlight Matching Brackets</summary>
      <description>Whether GNOME LaTeX should highlight matching brackets.</description>
    </key>
    <key name="highlight-misspelled-words" type="b">
      <default>false</default>
      <summary>Highlight Misspelled Words</summary>
      <description>Whether misspelled words are highlighted by default.</description>
    </key>
    <key name="spell-checking-language" type="s">
      <default>''</default>
      <summary>Spell-Checking Language</summary>
      <description>The default language used for the spell-checking. Set to the empty string to take the best language available based on the environment.</description>
    </key>
  </schema>

  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnome-latex.preferences.ui" path="/org/gnome/gnome-latex/preferences/ui/">
    <key name="main-toolbar-visible" type="b">
      <default>true</default>
      <summary>Main toolbar is visible</summary>
      <description>Whether the main toolbar (file open, close, build, ...) should be visible.</description>
    </key>
    <key name="edit-toolbar-visible" type="b">
      <default>true</default>
      <summary>Edit toolbar is visible</summary>
      <description>Whether the edit toolbar (bold, italic, character sizes, ...) should be visible.</description>
    </key>
    <key name="side-panel-visible" type="b">
      <default>true</default>
      <summary>Side panel is Visible</summary>
      <description>Whether the side panel at the left of editing windows should be visible.</description>
    </key>
    <key name="bottom-panel-visible" type="b">
      <default>true</default>
      <summary>Bottom panel is Visible</summary>
      <description>Whether the bottom panel containing the build view should be visible.</description>
    </key>
    <key name="side-panel-component" type="i">
      <default>0</default>
      <summary>Side panel component</summary>
      <description>Side panel's active component. 0: Symbols. 1: File browser. 2: Structure.</description>
    </key>
    <key name="show-build-warnings" type="b">
      <default>true</default>
      <summary>Show build output warnings</summary>
    </key>
    <key name="show-build-badboxes" type="b">
      <default>true</default>
      <summary>Show build output badboxes</summary>
    </key>
  </schema>

  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnome-latex.preferences.latex" path="/org/gnome/gnome-latex/preferences/latex/">
    <key name="interactive-completion" type="b">
      <default>true</default>
      <summary>Interactive completion</summary>
      <description>Automatically show LaTeX commands proposals</description>
    </key>
    <key name="interactive-completion-num" type="u">
      <range min="0" max="8" />
      <default>2</default>
      <summary>Minimum number of characters for interactive completion</summary>
      <description>Minimum number of characters after "\" for the interactive completion of LaTeX commands</description>
    </key>
    <key name="no-confirm-clean" type="b">
      <default>false</default>
      <summary>No confirmation when cleaning-up</summary>
    </key>
    <key name="automatic-clean" type="b">
      <default>false</default>
      <summary>Automatic clean-up</summary>
      <description>Automatically clean-up files after close. no-confirm-clean must be true.</description>
    </key>
    <key name="clean-extensions" type="s">
      <default>'.aux .blg .bbl .fdb_latexmk .fls .idx .ilg .ind .log .nav .out .snm .synctex.gz .toc'</default>
      <summary>File extensions for the clean-up</summary>
      <description>The list of file extensions for the clean-up, separated by spaces</description>
    </key>
    <key name="enabled-default-build-tools" type="ai">
      <default>[]</default>
      <summary>Enabled default build tools</summary>
      <description>The list of the default build tools that are enabled</description>
    </key>
    <key name="disabled-default-build-tools" type="ai">
      <default>[]</default>
      <summary>Disabled default build tools</summary>
      <description>The list of the default build tools that are disabled</description>
    </key>
  </schema>

  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gnome-latex.preferences.file-browser" path="/org/gnome/gnome-latex/preferences/file-browser/">
    <key name="current-directory" type="s">
      <default>''</default>
      <summary>Current directory</summary>
      <description>URI of the file browser current directory</description>
    </key>
    <key name="show-build-files" type="b">
      <default>false</default>
      <summary>Show build files</summary>
      <description>Show files with an extension present in preferences.latex.clean-extensions.</description>
    </key>
    <key name="show-hidden-files" type="b">
      <default>false</default>
      <summary>Show hidden files</summary>
      <description>Show files beginning with a dot.</description>
    </key>
  </schema>

  <schema id="org.gnome.gnome-latex.state" path="/org/gnome/gnome-latex/state/">
    <child schema="org.gnome.gnome-latex.state.window" name="window" />
    <child schema="org.gnome.gnome-latex.state.dialogs" name="dialogs" />
  </schema>

  <schema id="org.gnome.gnome-latex.state.window" path="/org/gnome/gnome-latex/state/window/">
    <key name="state" type="i">
      <default>0</default>
    </key>
    <key name="size" type="(ii)">
      <default>(950, 660)</default>
    </key>
    <key name="documents" type="as">
      <default>['']</default>
    </key>
    <key name="side-panel-size" type="i">
      <default>256</default>
    </key>
    <key name="vertical-paned-position" type="i">
      <default>375</default>
    </key>
    <key name="structure-paned-position" type="i">
      <default>100</default>
    </key>
  </schema>

  <schema id="org.gnome.gnome-latex.state.dialogs" path="/org/gnome/gnome-latex/state/dialogs/">
    <child schema="org.gnome.gnome-latex.state.dialogs.finance" name="finance" />
  </schema>

  <schema id="org.gnome.gnome-latex.state.dialogs.finance" path="/org/gnome/gnome-latex/state/dialogs/finance/">
    <key name="last-shown-date" type="s">
      <default>''</default>
    </key>
    <key name="remind-later" type="b">
      <default>false</default>
    </key>
  </schema>
</schemalist>
