mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 10:11:21 +00:00
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
This commit is contained in:
parent
515a4f0fee
commit
03d3f8b5f3
@ -85,7 +85,7 @@ if "%1%" == "devel" (
|
|||||||
if "%1%" == "install" (
|
if "%1%" == "install" (
|
||||||
REM Build solution to develop LyX
|
REM Build solution to develop LyX
|
||||||
REM set -DLYX_MERGE_REBUILD and -DLYX_MERGE_FILES to 1 for a version released with an installer
|
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 lyx.sln /p:Configuration=Release /t:ALL_BUILD
|
||||||
msbuild INSTALL.vcxproj /p:Configuration=Release
|
msbuild INSTALL.vcxproj /p:Configuration=Release
|
||||||
)
|
)
|
||||||
|
@ -8,9 +8,7 @@
|
|||||||
# Author: Julien Rioux <jrioux@lyx.org>
|
# Author: Julien Rioux <jrioux@lyx.org>
|
||||||
|
|
||||||
# Some notes:
|
# Some notes:
|
||||||
# - The \definecolor's are there to avoid LyX bug #4625.
|
|
||||||
# - We provide natbib-internal according to LyX bug #5182.
|
# - We provide natbib-internal according to LyX bug #5182.
|
||||||
# - The command \lovname is missing from the class file.
|
|
||||||
|
|
||||||
Format 49
|
Format 49
|
||||||
|
|
||||||
@ -26,23 +24,6 @@ ClassOptions
|
|||||||
Other "aps,manuscript"
|
Other "aps,manuscript"
|
||||||
End
|
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
|
Style Section
|
||||||
Align Center
|
Align Center
|
||||||
Font
|
Font
|
||||||
|
@ -68,6 +68,9 @@ What's new
|
|||||||
- Fix export of documents that use the LaTeX-packages mhchem and wasysym
|
- Fix export of documents that use the LaTeX-packages mhchem and wasysym
|
||||||
(bug 9266).
|
(bug 9266).
|
||||||
|
|
||||||
|
- Remove unnecessary preamble code in LaTeX export
|
||||||
|
of documents using the class REVTeX 4.1 file (bug 4625).
|
||||||
|
|
||||||
|
|
||||||
* LYX2LYX
|
* LYX2LYX
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user