Hi Richard,

Would it be possible to add a new item in the layout syntax to require a specific document settings? Something like:

RequiredSetting    setting:value

In the case of the header and footer module that would give the attached. The goal is of course to automatically set the setting if the module is selected. Maybe a message box needs to be sown to the user stating that the parameter will be automatically set.

I can do the initial patch but I am not sure I would be able to finish it.

Abdel.

--- 
C:/Users/abdel/AppData/Local/Temp/customHeadersFooters.modul-revBASE.svn001.tmp.module
      mar. déc. 14 12:47:18 2010
+++ C:/devel/lyx/lyx-devel/lib/layouts/customHeadersFooters.module      mar. 
déc. 14 12:44:16 2010
@@ -15,6 +15,7 @@
   LabelSep             xx
   LatexName            lhead
   LabelString          "Left Header:"
+  RequiredSetting    paperpagestyle:fancy
   OptionalArgs         1
   KeepEmpty            1
   ParSkip              0

Reply via email to