enum FLAVOR {
LATEX,
PDFLATEX,
+ XETEX,
XML
};
+ enum TableCell {
+ NO,
+ PLAIN,
+ ALIGNED
+ };
+
+ enum Float {
+ NONFLOAT,
+ MAINFLOAT,
+ SUBFLOAT
+ };
+
OutputParams(Encoding const *);
~OutputParams();
*/
bool use_babel;
+ /** Are we generating multiple indices?
+ */
+ bool use_indices;
+
+ /** Are we using japanese (pLaTeX)?
+ */
+ bool use_japanese;
+
/** Line length to use with plaintext export.
*/
size_type linelen;
*/
bool inComment;
+ /** Whether we are in a table cell.
+ * For newline, it matters whether its content is aligned or not.
+ */
+ TableCell inTableCell;
+
+ /** Whether we are inside a float or subfloat.
+ * Needed for subfloat detection on the command line.
+ */
+ Float inFloat;
+
/** Whether we are inside an inset that is logically deleted.
* A value > 0 indicates a deleted inset.
*/
*/
pit_type par_end;
+ /// is this the last paragraph in the current buffer/inset?
+ bool isLastPar;
+
/** whether or not do actual file copying and image conversion
* This mode will be used to preview the source code
*/