]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.C
mathed31.diff
[lyx.git] / src / LaTeXFeatures.C
index b49d820fe6a9a014492dcf1c430a7e1fca0abfe7..0bfa934613caf5473d67e72812203ea0f8c6c3df 100644 (file)
@@ -346,6 +346,13 @@ string const LaTeXFeatures::getMacros()
                }
        }
 
+       for (LanguageList::const_iterator cit = UsedLanguages.begin();
+            cit != UsedLanguages.end(); ++cit)
+               if (!(*cit)->latex_options().empty())
+                       macros += (*cit)->latex_options() + '\n';
+       if (!params.language->latex_options().empty())
+               macros += params.language->latex_options() + '\n';
+
        return macros;
 }