commit 03d3f8b5f3d51697bb248a83409c0d6d624e53b4
Author: Uwe Stöhr <[email protected]>
Date: Sun Oct 26 14:21:11 2014 +0100
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
diff --git a/development/cmake/build.bat b/development/cmake/build.bat
index 383ba59..b76e105 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 d1830b3..56b57b9 100644
--- a/lib/layouts/revtex4-1.layout
+++ b/lib/layouts/revtex4-1.layout
@@ -8,9 +8,7 @@
# Author: Julien Rioux <[email protected]>
# 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 453c2a9..c42775a 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