Remove all traces of this #define.
htmldefaultstyle_ += from_ascii(tmp);
}
-// tex2lyx does not see output_xhtml.cpp
-#ifndef NO_LAYOUT_CSS
// alignment
string where = alignmentToCSS(align);
if (!where.empty()) {
htmldefaultstyle_ += from_ascii("text-align: " + where + ";\n");
}
-#endif
// wrap up what we have, if anything
if (!htmldefaultstyle_.empty())
ADD_FRAMEWORKS = -framework QtGui -framework QtCore -framework AppKit -framework ApplicationServices
endif
-check_layout_CPPFLAGS = $(AM_CPPFLAGS) -DNO_LAYOUT_CSS
+check_layout_CPPFLAGS = $(AM_CPPFLAGS)
check_layout_LDADD = support/liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) @LIBS@ $(QT4_CORE_LIBS) $(LIBSHLWAPI)
check_layout_LDFLAGS = $(QT4_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
check_layout_SOURCES = \
// Dummy LyXRC support
class LyXRC { string icon_set; } lyxrc;
+ // Dummy LyXAlignment support
+ enum LyXAlignment {
+ DUMMY
+ };
+
// Keep the linker happy on Windows
void lyx_exit(int) {}
return lyx_messages;
}
+
+ string alignmentToCSS(LyXAlignment)
+ {
+ return string();
+ }
+
}
list(APPEND check_layout_SOURCES "${TOP_SRC_DIR}/src/${_f}")
endforeach()
-add_definitions(-DNO_LAYOUT_CSS)
add_executable(check_layout ${check_layout_SOURCES})
target_link_libraries(check_layout support
${ZLIB_INCLUDE_DIR})
add_definitions(-DTEX2LYX)
-add_definitions(-DNO_LAYOUT_CSS)
if(WIN32)
set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc)
DEFAULT_INCLUDES =
-AM_CPPFLAGS += -DTEX2LYX -DNO_LAYOUT_CSS $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \
+AM_CPPFLAGS += -DTEX2LYX $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \
-I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
TEST_FILES = \
#include "Format.h"
#include "LaTeXFeatures.h"
#include "LyXRC.h"
+#include "output_xhtml.h"
#include "support/Messages.h"
}
+string alignmentToCSS(LyXAlignment)
+{
+ return string();
+}
+
//
// Keep the linker happy on Windows
//