From 03d3f8b5f3d51697bb248a83409c0d6d624e53b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sun, 26 Oct 2014 14:21:11 +0100 Subject: [PATCH] revtex4-1.layout: remove unnecessary preamble code - \lovname was already added to REVTeX 4.1 in 2010 - REVTeX does purposely not allow to color text, see the discussion in bug #4625 --- development/cmake/build.bat | 2 +- lib/layouts/revtex4-1.layout | 19 ------------------- status.21x | 3 +++ 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/development/cmake/build.bat b/development/cmake/build.bat index 383ba59a87..b76e1056d1 100755 --- a/development/cmake/build.bat +++ b/development/cmake/build.bat @@ -85,7 +85,7 @@ if "%1%" == "devel" ( if "%1%" == "install" ( REM Build solution to develop LyX REM set -DLYX_MERGE_REBUILD and -DLYX_MERGE_FILES to 1 for a version released with an installer - cmake %LYX_SOURCE% -G%USED_STUDIO% -DLYX_MERGE_REBUILD=1 -DLYX_MERGE_FILES=1 -DLYX_NLS=1 -DLYX_INSTALL=1 -DLYX_RELEASE=1 -DLYX_CONSOLE=OFF %DEPENDENCIES_DOWNLOAD% + cmake %LYX_SOURCE% -G%USED_STUDIO% -DLYX_MERGE_REBUILD=0 -DLYX_MERGE_FILES=0 -DLYX_NLS=1 -DLYX_INSTALL=1 -DLYX_RELEASE=1 -DLYX_CONSOLE=OFF %DEPENDENCIES_DOWNLOAD% msbuild lyx.sln /p:Configuration=Release /t:ALL_BUILD msbuild INSTALL.vcxproj /p:Configuration=Release ) diff --git a/lib/layouts/revtex4-1.layout b/lib/layouts/revtex4-1.layout index d1830b3a61..56b57b90c5 100644 --- a/lib/layouts/revtex4-1.layout +++ b/lib/layouts/revtex4-1.layout @@ -8,9 +8,7 @@ # Author: Julien Rioux # Some notes: -# - The \definecolor's are there to avoid LyX bug #4625. # - We provide natbib-internal according to LyX bug #5182. -# - The command \lovname is missing from the class file. Format 49 @@ -26,23 +24,6 @@ ClassOptions Other "aps,manuscript" End -Preamble - % Fix a couple of bugs in REVTeX 4.1 - \def\lovname{List of Videos} - \@ifundefined{textcolor}{} - {% - \definecolor{BLACK}{gray}{0} - \definecolor{WHITE}{gray}{1} - \definecolor{RED}{rgb}{1,0,0} - \definecolor{GREEN}{rgb}{0,1,0} - \definecolor{BLUE}{rgb}{0,0,1} - \definecolor{CYAN}{cmyk}{1,0,0,0} - \definecolor{MAGENTA}{cmyk}{0,1,0,0} - \definecolor{YELLOW}{cmyk}{0,0,1,0} - } -EndPreamble - - Style Section Align Center Font diff --git a/status.21x b/status.21x index 453c2a930b..c42775a5db 100644 --- a/status.21x +++ b/status.21x @@ -67,6 +67,9 @@ What's new - Fix export of documents that use the LaTeX-packages mhchem and wasysym (bug 9266). + +- Remove unnecessary preamble code in LaTeX export + of documents using the class REVTeX 4.1 file (bug 4625). * LYX2LYX -- 2.39.5