#include <config.h>
#include "Layout.h"
-#include "FontInfo.h"
-#include "Language.h"
#include "Lexer.h"
#include "output_xhtml.h"
#include "TextClass.h"
#include "support/docstream.h"
#include "support/lassert.h"
#include "support/lstrings.h"
-#include "support/Messages.h"
#include "support/textutils.h"
latexargs_));
latexarg & arg = lam[id];
+ if (listpreamble)
+ // list preamble has no delimiters by default
+ arg.nodelims = true;
+
bool error = false;
bool finished = false;
while (!finished && lex.isOK() && !error) {