]> git.lyx.org Git - lyx.git/commitdiff
Improve output pane, as discussed in #12372
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 18 Aug 2024 16:18:07 +0000 (18:18 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 18 Aug 2024 16:32:03 +0000 (18:32 +0200)
* The image scale param is shared by XHTML and DocBook
* It does not only apply to math
* Get rid of redundant group headers (#12902)

(cherry picked from commit 1429552063dfe9909dd5789b9fb1715ddee7d77d)

lib/doc/UserGuide.lyx
lib/doc/de/UserGuide.lyx
src/frontends/qt/ui/OutputUi.ui

index ebfaa8c078baf143f3e76cd99ca2727349020faf..ce20fb05e794325f942ef8c8987fe9a0aa1c2c20 100644 (file)
@@ -9611,12 +9611,14 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim
+
 This is Verbatim.
 \end_layout
 
 \begin_layout Verbatim
 \noindent
 \align block
+
 The following 2 lines are empty:
 \end_layout
 
@@ -9629,6 +9631,7 @@ The following 2 lines are empty:
 \end_layout
 
 \begin_layout Verbatim
+
 Almost everything is allowed in Verbatim:"%&$§#~'`
 \backslash
 }][{|
@@ -9652,6 +9655,7 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim*
+
 This is Verbatim*.
 \end_layout
 
@@ -52602,19 +52606,6 @@ Additional
 Features
 \emph default
  manual.
-\family sans
-Math
-\begin_inset space ~
-\end_inset
-
-image
-\begin_inset space ~
-\end_inset
-
-scaling
-\family default
- is used for the size of equations in the output.
 \end_layout
 
 \begin_layout Description
@@ -52641,7 +52632,40 @@ Additional Features
 \end_layout
 
 \begin_layout Description
-.
+
+\family sans
+Scaling
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+generated
+\begin_inset space ~
+\end_inset
+
+images
+\family default
+ is the scaling factor used for images that are generated to represent some \SpecialChar LaTeX
+ constructs (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.,
+ math,
+ linguistics structure trees) in non-\SpecialChar LaTeX
+ output (XHTML,
+ DocBook) graphically.
+ The factor multiplies with 72
+\begin_inset space \thinspace{}
+\end_inset
+
+dpi.
+ The higher the value,
+ thus,
+ the better the image quality (and the bigger the file size).
 \end_layout
 
 \begin_layout Description
index 0bbe7ca8e83eb1e36ea191df9e4cc631d228b765..04942e312af81f8b3f2a0ab74828e696f19a885d 100644 (file)
@@ -51561,7 +51561,6 @@ Mathe-Ausgabe in XHTML
 Handbuchergänzungen
 \emph default
  beschrieben.
- Die Skalierung wird für die Größe von Gleichungen in der Ausgabe verwendet.
 \end_layout
 
 \begin_layout Description
@@ -51573,6 +51572,32 @@ DocBook-Ausgabe
  in den Handbuchergänzungen.
 \end_layout
 
+\begin_layout Description
+Skalierung
+\begin_inset space ~
+\end_inset
+
+generierter
+\begin_inset space ~
+\end_inset
+
+Grafiken ist ein Faktor,
+ der bestimmt,
+ in welcher Auflösung Grafiken erzeugt werden,
+ sie in einigen Nicht-\SpecialChar LaTeX
+-Ausgaben verwendet werden,
+ um bestimmte \SpecialChar LaTeX
+-Konstrukte (bspw.
+ mathematische Formeln oder linguistische Strukturbäume) grafisch darzustellen.
+ Der Faktor wird mit 72
+\begin_inset space \thinspace{}
+\end_inset
+
+dpi multipliziert.
+ Je größer der Wert,
+ desto besser also die Qualität der Grafiken (desto größer aber auch die Datei).
+\end_layout
+
 \begin_layout Description
 Erlaube
 \begin_inset space ~
index 7bc75c1552d5d25bc3ac71766aec3adf52c01c59..e18dc118fe8be4195ff4292b29f60bdc16514866 100644 (file)
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>589</width>
-    <height>460</height>
+    <width>702</width>
+    <height>501</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Form</string>
   </property>
-  <layout class="QGridLayout" name="gridLayout_7">
-   <item row="5" column="0">
-    <spacer name="verticalSpacer_4">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>20</width>
-       <height>40</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="3" column="0">
-    <widget class="QTabWidget" name="tabWidget">
-     <property name="currentIndex">
-      <number>0</number>
-     </property>
-     <widget class="QWidget" name="tab">
-      <attribute name="title">
-       <string>&amp;LaTeX</string>
-      </attribute>
-      <layout class="QGridLayout" name="gridLayout_2">
-       <item row="0" column="0">
-        <widget class="QGroupBox" name="latexOutputGB">
-         <property name="title">
-          <string>LaTeX Output Options</string>
-         </property>
-         <layout class="QGridLayout" name="gridLayout">
-          <item row="0" column="0">
-           <layout class="QHBoxLayout" name="horizontalLayout_2">
-            <item>
-             <widget class="QCheckBox" name="outputsyncCB">
-              <property name="toolTip">
-               <string>Enable forward/reverse search between editor and output (e.g., SyncTeX)</string>
-              </property>
-              <property name="text">
-               <string>S&amp;ynchronize with output</string>
-              </property>
-             </widget>
-            </item>
-            <item>
-             <spacer name="horizontalSpacer_4">
-              <property name="orientation">
-               <enum>Qt::Horizontal</enum>
-              </property>
-              <property name="sizeType">
-               <enum>QSizePolicy::Fixed</enum>
-              </property>
-              <property name="sizeHint" stdset="0">
-               <size>
-                <width>20</width>
-                <height>20</height>
-               </size>
-              </property>
-             </spacer>
-            </item>
-            <item>
-             <layout class="QHBoxLayout" name="horizontalLayout">
-              <item>
-               <widget class="QLabel" name="synccustomLA">
-                <property name="sizePolicy">
-                 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
-                  <horstretch>0</horstretch>
-                  <verstretch>0</verstretch>
-                 </sizepolicy>
-                </property>
-                <property name="text">
-                 <string>C&amp;ustom macro:</string>
-                </property>
-                <property name="buddy">
-                 <cstring>synccustomCB</cstring>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QComboBox" name="synccustomCB">
-                <property name="toolTip">
-                 <string>Custom LaTeX preamble macro</string>
-                </property>
-                <property name="editable">
-                 <bool>true</bool>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <spacer name="horizontalSpacer_2">
-                <property name="orientation">
-                 <enum>Qt::Horizontal</enum>
-                </property>
-                <property name="sizeHint" stdset="0">
-                 <size>
-                  <width>40</width>
-                  <height>20</height>
-                 </size>
-                </property>
-               </spacer>
-              </item>
-             </layout>
-            </item>
-           </layout>
-          </item>
-          <item row="1" column="0">
-           <widget class="QCheckBox" name="postponeFragileCB">
+  <layout class="QGridLayout" name="gridLayout_5">
+   <item row="0" column="0">
+    <layout class="QVBoxLayout" name="verticalLayout">
+     <item>
+      <widget class="QGroupBox" name="savingGB">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="title">
+        <string>LyX Format</string>
+       </property>
+       <property name="flat">
+        <bool>true</bool>
+       </property>
+       <property name="checkable">
+        <bool>false</bool>
+       </property>
+       <layout class="QGridLayout" name="gridLayout7">
+        <item row="0" column="0">
+         <widget class="QCheckBox" name="saveTransientPropertiesCB">
+          <property name="toolTip">
+           <string>Save all parameters in the LyX file, including ones that are frequently switched or that are specific to the user (such as the output of the tracked changes, or the document directory path). Disabling this option plays nicer in collaborative settings and with version control systems.</string>
+          </property>
+          <property name="text">
+           <string>Save &amp;transient properties</string>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </widget>
+     </item>
+     <item>
+      <widget class="QGroupBox" name="outputFormatGB">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="title">
+        <string>Output Format</string>
+       </property>
+       <property name="flat">
+        <bool>true</bool>
+       </property>
+       <layout class="QGridLayout" name="gridlayout8">
+        <property name="leftMargin">
+         <number>9</number>
+        </property>
+        <property name="topMargin">
+         <number>9</number>
+        </property>
+        <property name="rightMargin">
+         <number>9</number>
+        </property>
+        <property name="bottomMargin">
+         <number>9</number>
+        </property>
+        <property name="spacing">
+         <number>6</number>
+        </property>
+        <item row="0" column="0">
+         <layout class="QHBoxLayout">
+          <property name="spacing">
+           <number>6</number>
+          </property>
+          <property name="leftMargin">
+           <number>0</number>
+          </property>
+          <property name="topMargin">
+           <number>0</number>
+          </property>
+          <property name="rightMargin">
+           <number>0</number>
+          </property>
+          <property name="bottomMargin">
+           <number>0</number>
+          </property>
+          <item>
+           <widget class="QLabel" name="defaultFormatLA">
             <property name="toolTip">
-             <string>If this is checked, fragile items such as labels and index entries are moved out of moving arguments such as sections and captions. This prevents LaTeX errors that can happen in such cases. It is recommended to keep this on.</string>
+             <string>Specify the default output format (for view/update)</string>
             </property>
             <property name="text">
-             <string>Put fra&amp;gile content out of moving arguments</string>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="0">
-           <spacer name="verticalSpacer">
-            <property name="orientation">
-             <enum>Qt::Vertical</enum>
-            </property>
-            <property name="sizeHint" stdset="0">
-             <size>
-              <width>20</width>
-              <height>40</height>
-             </size>
-            </property>
-           </spacer>
-          </item>
-         </layout>
-        </widget>
-       </item>
-      </layout>
-     </widget>
-     <widget class="QWidget" name="tab_2">
-      <attribute name="title">
-       <string>&amp;XHTML</string>
-      </attribute>
-      <layout class="QGridLayout" name="gridLayout_6">
-       <item row="0" column="0">
-        <widget class="QGroupBox" name="xhtmlGB">
-         <property name="title">
-          <string>XHTML Output Options</string>
-         </property>
-         <property name="flat">
-          <bool>true</bool>
-         </property>
-         <layout class="QGridLayout" name="gridLayout_3">
-          <item row="0" column="1">
-           <widget class="QCheckBox" name="cssCB">
-            <property name="text">
-             <string>Write CSS to file</string>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="1">
-           <widget class="QDoubleSpinBox" name="mathimgSB">
-            <property name="font">
-             <font>
-              <bold>false</bold>
-             </font>
-            </property>
-            <property name="toolTip">
-             <string>Scaling factor for images used for math output.</string>
-            </property>
-            <property name="minimum">
-             <double>0.100000000000000</double>
-            </property>
-            <property name="maximum">
-             <double>10.000000000000000</double>
+             <string>De&amp;fault output format:</string>
             </property>
-            <property name="singleStep">
-             <double>0.100000000000000</double>
-            </property>
-            <property name="value">
-             <double>1.000000000000000</double>
+            <property name="buddy">
+             <cstring>defaultFormatCO</cstring>
             </property>
            </widget>
           </item>
-          <item row="1" column="1">
-           <widget class="QComboBox" name="mathoutCB">
-            <property name="font">
-             <font>
-              <bold>false</bold>
-             </font>
-            </property>
+          <item>
+           <widget class="QComboBox" name="defaultFormatCO">
             <property name="toolTip">
-             <string>Format to use for math output.</string>
+             <string>Specify the default output format (for view/update)</string>
             </property>
-            <item>
-             <property name="text">
-              <string>MathML</string>
-             </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>HTML</string>
-             </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>Images</string>
-             </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>LaTeX</string>
-             </property>
-            </item>
            </widget>
           </item>
-          <item row="2" column="0">
-           <widget class="QLabel" name="mathimgLA">
-            <property name="font">
-             <font>
-              <bold>false</bold>
-             </font>
-            </property>
-            <property name="text">
-             <string>Math &amp;image scaling:</string>
-            </property>
-            <property name="buddy">
-             <cstring>mathimgSB</cstring>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="2">
-           <spacer name="horizontalSpacer_3">
+          <item>
+           <spacer name="horizontalSpacer">
             <property name="orientation">
-             <enum>Qt::Horizontal</enum>
+             <enum>Qt::Orientation::Horizontal</enum>
             </property>
             <property name="sizeHint" stdset="0">
              <size>
             </property>
            </spacer>
           </item>
-          <item row="0" column="0">
-           <widget class="QCheckBox" name="strictCB">
-            <property name="toolTip">
-             <string>Whether to comply strictly with XHTML 1.1.</string>
-            </property>
-            <property name="text">
-             <string>&amp;Strict XHTML 1.1</string>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="0">
-           <widget class="QLabel" name="mathoutLA">
-            <property name="font">
-             <font>
-              <bold>false</bold>
-             </font>
-            </property>
-            <property name="text">
-             <string>&amp;Math output:</string>
-            </property>
-            <property name="buddy">
-             <cstring>tableoutCB</cstring>
-            </property>
-           </widget>
-          </item>
-          <item row="3" column="1">
-           <spacer name="verticalSpacer_2">
-            <property name="orientation">
-             <enum>Qt::Vertical</enum>
-            </property>
-            <property name="sizeHint" stdset="0">
-             <size>
-              <width>20</width>
-              <height>40</height>
-             </size>
-            </property>
-           </spacer>
-          </item>
          </layout>
-        </widget>
-       </item>
-      </layout>
-     </widget>
-     <widget class="QWidget" name="tab_3">
-      <attribute name="title">
-       <string>&amp;DocBook</string>
-      </attribute>
-      <layout class="QGridLayout" name="gridLayout_5">
-       <item row="0" column="0">
-        <widget class="QGroupBox" name="docbookGB">
-         <property name="title">
-          <string>DocBook Output Options</string>
-         </property>
-         <property name="flat">
-          <bool>true</bool>
-         </property>
-         <layout class="QGridLayout" name="gridLayout_4">
-          <item row="1" column="1" colspan="2">
-           <widget class="QComboBox" name="mathmlprefixCB">
-            <property name="sizePolicy">
-             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
+        </item>
+       </layout>
+      </widget>
+     </item>
+     <item>
+      <widget class="QGroupBox" name="outputOptionsGB">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="title">
+        <string>Output Options</string>
+       </property>
+       <layout class="QGridLayout" name="gridLayout_4">
+        <item row="1" column="0">
+         <layout class="QHBoxLayout" name="horizontalLayout_3">
+          <item>
+           <widget class="QLabel" name="mathimgLA">
             <property name="font">
              <font>
               <bold>false</bold>
              </font>
             </property>
             <property name="toolTip">
-             <string>Namespace prefix to use for MathML formulae. For instance, with the &lt;code&gt;m&lt;/code&gt; prefix, the MathML tags will be output like &lt;code&gt;m:math&lt;/code&gt;.</string>
-            </property>
-            <item>
-             <property name="text">
-              <string>No prefix (namespace defined inline for each tag)</string>
-             </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>m (default)</string>
-             </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>mml</string>
-             </property>
-            </item>
-           </widget>
-          </item>
-          <item row="0" column="2">
-           <spacer name="horizontalSpacer_5">
-            <property name="orientation">
-             <enum>Qt::Horizontal</enum>
-            </property>
-            <property name="sizeHint" stdset="0">
-             <size>
-              <width>40</width>
-              <height>20</height>
-             </size>
-            </property>
-           </spacer>
-          </item>
-          <item row="1" column="3">
-           <spacer name="horizontalSpacer_6">
-            <property name="orientation">
-             <enum>Qt::Horizontal</enum>
-            </property>
-            <property name="sizeHint" stdset="0">
-             <size>
-              <width>172</width>
-              <height>20</height>
-             </size>
-            </property>
-           </spacer>
-          </item>
-          <item row="0" column="0">
-           <widget class="QLabel" name="tableoutLA">
-            <property name="font">
-             <font>
-              <bold>false</bold>
-             </font>
+             <string>Scaling factor for images that are generated for some LaTeX constructs (e.g., math formulae) in non-LaTeX output.</string>
             </property>
             <property name="text">
-             <string>&amp;Table output:</string>
+             <string>Scaling of generated &amp;images:</string>
             </property>
             <property name="buddy">
-             <cstring>tableoutCB</cstring>
+             <cstring>mathimgSB</cstring>
             </property>
            </widget>
           </item>
-          <item row="0" column="1">
-           <widget class="QComboBox" name="tableoutCB">
-            <property name="sizePolicy">
-             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
+          <item>
+           <widget class="QDoubleSpinBox" name="mathimgSB">
             <property name="font">
              <font>
               <bold>false</bold>
              </font>
             </property>
             <property name="toolTip">
-             <string>Format to use for math output.</string>
+             <string>Scaling factor for images that are generated for some LaTeX constructs (e.g., math formulae) in non-LaTeX output.</string>
             </property>
-            <item>
-             <property name="text">
-              <string>HTML</string>
-             </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>CALS</string>
-             </property>
-            </item>
-           </widget>
-          </item>
-          <item row="1" column="0">
-           <widget class="QLabel" name="mathmlprefixLA">
-            <property name="font">
-             <font>
-              <bold>false</bold>
-             </font>
+            <property name="minimum">
+             <double>0.100000000000000</double>
             </property>
-            <property name="text">
-             <string>&amp;MathML namespace prefix:</string>
+            <property name="maximum">
+             <double>10.000000000000000</double>
             </property>
-            <property name="buddy">
-             <cstring>mathmlprefixCB</cstring>
+            <property name="singleStep">
+             <double>0.100000000000000</double>
+            </property>
+            <property name="value">
+             <double>1.000000000000000</double>
             </property>
            </widget>
           </item>
-          <item row="2" column="1">
-           <spacer name="verticalSpacer_3">
+          <item>
+           <spacer name="horizontalSpacer_7">
             <property name="orientation">
-             <enum>Qt::Vertical</enum>
+             <enum>Qt::Orientation::Horizontal</enum>
             </property>
             <property name="sizeHint" stdset="0">
              <size>
-              <width>20</width>
-              <height>40</height>
+              <width>40</width>
+              <height>20</height>
              </size>
             </property>
            </spacer>
           </item>
          </layout>
-        </widget>
-       </item>
-      </layout>
-     </widget>
-    </widget>
-   </item>
-   <item row="0" column="0">
-    <widget class="QGroupBox" name="savingGB">
-     <property name="title">
-      <string>LyX Format</string>
-     </property>
-     <property name="flat">
-      <bool>true</bool>
-     </property>
-     <property name="checkable">
-      <bool>false</bool>
-     </property>
-     <layout class="QGridLayout" name="gridLayout7">
-      <item row="0" column="0">
-       <widget class="QCheckBox" name="saveTransientPropertiesCB">
-        <property name="toolTip">
-         <string>Save all parameters in the LyX file, including ones that are frequently switched or that are specific to the user (such as the output of the tracked changes, or the document directory path). Disabling this option plays nicer in collaborative settings and with version control systems.</string>
-        </property>
-        <property name="text">
-         <string>Save &amp;transient properties</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="1" column="0">
-    <widget class="QGroupBox" name="outputFormatGB">
-     <property name="title">
-      <string>Output Format</string>
-     </property>
-     <property name="flat">
-      <bool>true</bool>
-     </property>
-     <layout class="QGridLayout" name="gridlayout8">
-      <property name="leftMargin">
-       <number>9</number>
-      </property>
-      <property name="topMargin">
-       <number>9</number>
-      </property>
-      <property name="rightMargin">
-       <number>9</number>
-      </property>
-      <property name="bottomMargin">
-       <number>9</number>
-      </property>
-      <property name="spacing">
-       <number>6</number>
-      </property>
-      <item row="0" column="0">
-       <layout class="QHBoxLayout">
-        <property name="spacing">
-         <number>6</number>
-        </property>
-        <property name="leftMargin">
-         <number>0</number>
-        </property>
-        <property name="topMargin">
-         <number>0</number>
-        </property>
-        <property name="rightMargin">
-         <number>0</number>
-        </property>
-        <property name="bottomMargin">
-         <number>0</number>
-        </property>
-        <item>
-         <widget class="QLabel" name="defaultFormatLA">
-          <property name="toolTip">
-           <string>Specify the default output format (for view/update)</string>
-          </property>
-          <property name="text">
-           <string>De&amp;fault output format:</string>
-          </property>
-          <property name="buddy">
-           <cstring>defaultFormatCO</cstring>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QComboBox" name="defaultFormatCO">
-          <property name="toolTip">
-           <string>Specify the default output format (for view/update)</string>
-          </property>
-         </widget>
         </item>
-        <item>
-         <spacer name="horizontalSpacer">
-          <property name="orientation">
-           <enum>Qt::Horizontal</enum>
+        <item row="0" column="0">
+         <widget class="QTabWidget" name="tabWidget">
+          <property name="sizePolicy">
+           <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+           </sizepolicy>
           </property>
-          <property name="sizeHint" stdset="0">
-           <size>
-            <width>40</width>
-            <height>20</height>
-           </size>
+          <property name="currentIndex">
+           <number>0</number>
           </property>
-         </spacer>
+          <widget class="QWidget" name="tab">
+           <attribute name="title">
+            <string>&amp;LaTeX</string>
+           </attribute>
+           <layout class="QGridLayout" name="gridLayout_2">
+            <item row="1" column="0">
+             <widget class="QCheckBox" name="postponeFragileCB">
+              <property name="toolTip">
+               <string>If this is checked, fragile items such as labels and index entries are moved out of moving arguments such as sections and captions. This prevents LaTeX errors that can happen in such cases. It is recommended to keep this on.</string>
+              </property>
+              <property name="text">
+               <string>Put fra&amp;gile content out of moving arguments</string>
+              </property>
+             </widget>
+            </item>
+            <item row="0" column="0">
+             <layout class="QHBoxLayout" name="horizontalLayout_2">
+              <item>
+               <widget class="QCheckBox" name="outputsyncCB">
+                <property name="toolTip">
+                 <string>Enable forward/reverse search between editor and output (e.g., SyncTeX)</string>
+                </property>
+                <property name="text">
+                 <string>S&amp;ynchronize with output</string>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <spacer name="horizontalSpacer_4">
+                <property name="orientation">
+                 <enum>Qt::Orientation::Horizontal</enum>
+                </property>
+                <property name="sizeType">
+                 <enum>QSizePolicy::Policy::Fixed</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>20</width>
+                  <height>20</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
+              <item>
+               <layout class="QHBoxLayout" name="horizontalLayout">
+                <item>
+                 <widget class="QLabel" name="synccustomLA">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="text">
+                   <string>C&amp;ustom macro:</string>
+                  </property>
+                  <property name="buddy">
+                   <cstring>synccustomCB</cstring>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QComboBox" name="synccustomCB">
+                  <property name="toolTip">
+                   <string>Custom LaTeX preamble macro</string>
+                  </property>
+                  <property name="editable">
+                   <bool>true</bool>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <spacer name="horizontalSpacer_2">
+                  <property name="orientation">
+                   <enum>Qt::Orientation::Horizontal</enum>
+                  </property>
+                  <property name="sizeHint" stdset="0">
+                   <size>
+                    <width>40</width>
+                    <height>20</height>
+                   </size>
+                  </property>
+                 </spacer>
+                </item>
+               </layout>
+              </item>
+             </layout>
+            </item>
+           </layout>
+          </widget>
+          <widget class="QWidget" name="tab_2">
+           <attribute name="title">
+            <string>&amp;XHTML</string>
+           </attribute>
+           <layout class="QGridLayout" name="gridLayout_3">
+            <item row="0" column="0">
+             <layout class="QHBoxLayout" name="horizontalLayout_4">
+              <item>
+               <widget class="QCheckBox" name="strictCB">
+                <property name="toolTip">
+                 <string>Whether to comply strictly with XHTML 1.1.</string>
+                </property>
+                <property name="text">
+                 <string>&amp;Strict XHTML 1.1</string>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QCheckBox" name="cssCB">
+                <property name="text">
+                 <string>Write CSS to file</string>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <spacer name="horizontalSpacer_8">
+                <property name="orientation">
+                 <enum>Qt::Orientation::Horizontal</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>40</width>
+                  <height>20</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
+             </layout>
+            </item>
+            <item row="1" column="0">
+             <layout class="QHBoxLayout" name="horizontalLayout_5">
+              <item>
+               <widget class="QLabel" name="mathoutLA">
+                <property name="font">
+                 <font>
+                  <bold>false</bold>
+                 </font>
+                </property>
+                <property name="text">
+                 <string>&amp;Math output:</string>
+                </property>
+                <property name="buddy">
+                 <cstring>tableoutCB</cstring>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QComboBox" name="mathoutCB">
+                <property name="font">
+                 <font>
+                  <bold>false</bold>
+                 </font>
+                </property>
+                <property name="toolTip">
+                 <string>Format to use for math output.</string>
+                </property>
+                <item>
+                 <property name="text">
+                  <string>MathML</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>HTML</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>Images</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>LaTeX</string>
+                 </property>
+                </item>
+               </widget>
+              </item>
+              <item>
+               <spacer name="horizontalSpacer_3">
+                <property name="orientation">
+                 <enum>Qt::Orientation::Horizontal</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>40</width>
+                  <height>20</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
+             </layout>
+            </item>
+           </layout>
+          </widget>
+          <widget class="QWidget" name="tab_3">
+           <attribute name="title">
+            <string>&amp;DocBook</string>
+           </attribute>
+           <layout class="QGridLayout" name="gridLayout">
+            <item row="0" column="0">
+             <layout class="QHBoxLayout" name="horizontalLayout_6">
+              <item>
+               <widget class="QLabel" name="tableoutLA">
+                <property name="font">
+                 <font>
+                  <bold>false</bold>
+                 </font>
+                </property>
+                <property name="text">
+                 <string>&amp;Table output:</string>
+                </property>
+                <property name="buddy">
+                 <cstring>tableoutCB</cstring>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QComboBox" name="tableoutCB">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="font">
+                 <font>
+                  <bold>false</bold>
+                 </font>
+                </property>
+                <property name="toolTip">
+                 <string>Format to use for math output.</string>
+                </property>
+                <item>
+                 <property name="text">
+                  <string>HTML</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>CALS</string>
+                 </property>
+                </item>
+               </widget>
+              </item>
+              <item>
+               <spacer name="horizontalSpacer_5">
+                <property name="orientation">
+                 <enum>Qt::Orientation::Horizontal</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>178</width>
+                  <height>38</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
+             </layout>
+            </item>
+            <item row="1" column="0">
+             <layout class="QHBoxLayout" name="horizontalLayout_7">
+              <item>
+               <widget class="QLabel" name="mathmlprefixLA">
+                <property name="font">
+                 <font>
+                  <bold>false</bold>
+                 </font>
+                </property>
+                <property name="text">
+                 <string>&amp;MathML namespace prefix:</string>
+                </property>
+                <property name="buddy">
+                 <cstring>mathmlprefixCB</cstring>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QComboBox" name="mathmlprefixCB">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="font">
+                 <font>
+                  <bold>false</bold>
+                 </font>
+                </property>
+                <property name="toolTip">
+                 <string>Namespace prefix to use for MathML formulae. For instance, with the &lt;code&gt;m&lt;/code&gt; prefix, the MathML tags will be output like &lt;code&gt;m:math&lt;/code&gt;.</string>
+                </property>
+                <item>
+                 <property name="text">
+                  <string>No prefix (namespace defined inline for each tag)</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>m (default)</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>mml</string>
+                 </property>
+                </item>
+               </widget>
+              </item>
+              <item>
+               <spacer name="horizontalSpacer_6">
+                <property name="orientation">
+                 <enum>Qt::Orientation::Horizontal</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>148</width>
+                  <height>28</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
+             </layout>
+            </item>
+           </layout>
+          </widget>
+         </widget>
         </item>
        </layout>
-      </item>
-     </layout>
-    </widget>
+      </widget>
+     </item>
+     <item>
+      <widget class="QCheckBox" name="shellescapeCB">
+       <property name="toolTip">
+        <string>Runs the LaTeX backend with the -shell-escape option (Warning: use only when really necessary)</string>
+       </property>
+       <property name="text">
+        <string>&amp;Allow running external programs</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
    </item>
-   <item row="4" column="0">
-    <widget class="QCheckBox" name="shellescapeCB">
-     <property name="toolTip">
-      <string>Runs the LaTeX backend with the -shell-escape option (Warning: use only when really necessary)</string>
+   <item row="1" column="0">
+    <spacer name="verticalSpacer_4">
+     <property name="orientation">
+      <enum>Qt::Orientation::Vertical</enum>
+     </property>
+     <property name="sizeType">
+      <enum>QSizePolicy::Policy::Expanding</enum>
      </property>
-     <property name="text">
-      <string>&amp;Allow running external programs</string>
+     <property name="sizeHint" stdset="0">
+      <size>
+       <width>20</width>
+       <height>40</height>
+      </size>
      </property>
-    </widget>
+    </spacer>
    </item>
   </layout>
  </widget>