The patch was incomplete, the missing bit is attached.

Georg
diff -p -r -U 4 -X excl.tmp lyx-1.4-clean/src/outputparams.h lyx-1.4-cvs/src/outputparams.h
--- lyx-1.4-clean/src/outputparams.h	2004-05-14 19:53:31.000000000 +0200
+++ lyx-1.4-cvs/src/outputparams.h	2004-05-14 18:27:49.000000000 +0200
@@ -14,8 +14,11 @@
 
 #include "support/types.h"
 
 
+class ExportData;
+
+
 struct OutputParams {
 	//
 	enum FLAVOR {
 		LATEX,
@@ -25,9 +28,9 @@ struct OutputParams {
 
 	OutputParams()
 		: flavor(LATEX), nice(false), moving_arg(false),
 		  free_spacing(false), use_babel(false),
-		  mixed_content(false), linelen(0)
+		  mixed_content(false), linelen(0), exportdata(0)
 	{}
 
 	/** The latex that we export depends occasionally on what is to
 	    compile the file.
@@ -64,7 +67,13 @@ struct OutputParams {
 
 	/** Line length to use with ascii export.
 	*/
 	lyx::size_type linelen;
+
+	/** Export data filled in by the latex() methods.
+	    This is a hack: Make it possible to add stuff to constant
+	    OutputParams instances.
+	*/
+	ExportData *exportdata;
 };
 
 #endif // LATEXRUNPARAMS_H

Reply via email to