mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
spec.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2449 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
af4c2598a1
commit
b1fb4b15f2
@ -1,3 +1,7 @@
|
||||
2001-08-05 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
|
||||
|
||||
* lyx.spec.in: More cleanups and wording changes.
|
||||
|
||||
2001-08-03 Kayvan Sylvan <kayvan@sylvan.com>
|
||||
|
||||
* lyx.spec.in: Integrate tetex-lyx into main RPM.
|
||||
|
@ -1,4 +1,4 @@
|
||||
Summary: A WYSYWIG frontend to LaTeX
|
||||
Summary: A WYSIWYM (What You See Is What You Mean) frontend to LaTeX
|
||||
Name: @PACKAGE@
|
||||
Version: @VERSION@
|
||||
Release: 1
|
||||
@ -14,24 +14,21 @@ Requires: xforms >= 0.88, tetex-xdvi, tetex, tetex-latex
|
||||
Obsoletes: tetex-lyx
|
||||
|
||||
%description
|
||||
LyX is a modern approach of writing documents with a computer
|
||||
which breaks with the tradition of the obsolete typewriter
|
||||
concept. It is designed for people who want a professional
|
||||
output with a minimum of time and effort, without becoming specia-
|
||||
lists in typesetting. Compared to common word processors LyX
|
||||
will increase the productivity a lot, since most of the type-
|
||||
setting will be done by the computer, not the author. With LyX
|
||||
the author can concentrate on the contents of his writing,
|
||||
since the computer will take care of the look.
|
||||
LyX is a modern approach to writing documents which breaks with the
|
||||
obsolete "typewriter paradigm" of most other document preparation
|
||||
systems.
|
||||
|
||||
%package -n tetex-lyx
|
||||
Summary: Files for LyX packaged for tetex
|
||||
Requires: lyx
|
||||
Group: Applications/Publishing
|
||||
It is designed for people who want professional quality output
|
||||
with a minimum of time and effort, without becoming specialists in
|
||||
typesetting.
|
||||
|
||||
%description -n tetex-lyx
|
||||
This package contains the LaTeX files for LyX installed in the normal
|
||||
place that the Redhat tetex package is installed and would see it.
|
||||
The major innovation in LyX is WYSIWYM (What You See Is What You Mean).
|
||||
That is, the author focuses on content, not on the details of formatting.
|
||||
This allows for greater productivity, and leaves the final typesetting
|
||||
to the backends (like LaTeX) that are specifically designed for the task.
|
||||
|
||||
With LyX, the author can concentrate on the contents of his writing,
|
||||
and let the computer take care of the rest.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
@ -107,7 +104,6 @@ texhash
|
||||
%attr(-,root,root) %doc ABOUT-NLS ANNOUNCE COPYING
|
||||
%attr(-,root,root) %doc README UPGRADING ChangeLog NEWS
|
||||
%attr(-,root,root) %doc lib/CREDITS README.reLyX
|
||||
|
||||
%attr(-,root,root) /usr/bin/*
|
||||
%attr(-,root,root) /usr/man/*
|
||||
%attr(-,root,root) /usr/share/locale/*/LC_MESSAGES/*
|
||||
|
@ -129,7 +129,8 @@ LyX::LyX(int * argc, char * argv[])
|
||||
}
|
||||
|
||||
if (first_start) {
|
||||
string splash = i18nLibFileSearch("examples", "splash.lyx");
|
||||
string const splash =
|
||||
i18nLibFileSearch("examples", "splash.lyx");
|
||||
lyxerr[Debug::INIT] << "Opening splash document "
|
||||
<< splash << "..." << endl;
|
||||
Buffer * loadb = bufferlist.loadLyXFile(splash);
|
||||
@ -286,7 +287,7 @@ void LyX::init(bool gui)
|
||||
<< searchpath << endl;
|
||||
|
||||
string const filename = "chkconfig.ltx";
|
||||
string temp = FileOpenSearch(searchpath, filename, string());
|
||||
string const temp = FileOpenSearch(searchpath, filename, string());
|
||||
system_lyxdir = OnlyPath(temp);
|
||||
|
||||
// Reduce "path/../path" stuff out of system directory
|
||||
@ -362,11 +363,12 @@ void LyX::init(bool gui)
|
||||
|
||||
// Check that user LyX directory is ok. We don't do that if
|
||||
// running in batch mode.
|
||||
if (gui)
|
||||
if (gui) {
|
||||
queryUserLyXDir(explicit_userdir);
|
||||
else
|
||||
} else {
|
||||
first_start = false;
|
||||
|
||||
}
|
||||
|
||||
//
|
||||
// Shine up lyxrc defaults
|
||||
//
|
||||
@ -587,7 +589,7 @@ bool LyX::readRcFile(string const & name)
|
||||
{
|
||||
lyxerr[Debug::INIT] << "About to read " << name << "..." << endl;
|
||||
|
||||
string lyxrc_path = LibFileSearch(string(), name);
|
||||
string const lyxrc_path = LibFileSearch(string(), name);
|
||||
if (!lyxrc_path.empty()){
|
||||
lyxerr[Debug::INIT] << "Found " << name
|
||||
<< " in " << lyxrc_path << endl;
|
||||
@ -598,8 +600,10 @@ bool LyX::readRcFile(string const & name)
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
} else
|
||||
} else {
|
||||
lyxerr[Debug::INIT] << "Could not find " << name << endl;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -620,7 +624,7 @@ void LyX::readUIFile(string const & name)
|
||||
|
||||
lyxerr[Debug::INIT] << "About to read " << name << "..." << endl;
|
||||
|
||||
string ui_path = LibFileSearch("ui", name, "ui");
|
||||
string const ui_path = LibFileSearch("ui", name, "ui");
|
||||
|
||||
if (ui_path.empty()) {
|
||||
lyxerr[Debug::INIT] << "Could not find " << name << endl;
|
||||
@ -665,7 +669,7 @@ void LyX::readLanguagesFile(string const & name)
|
||||
{
|
||||
lyxerr[Debug::INIT] << "About to read " << name << "..." << endl;
|
||||
|
||||
string lang_path = LibFileSearch(string(), name);
|
||||
string const lang_path = LibFileSearch(string(), name);
|
||||
if (lang_path.empty()) {
|
||||
lyxerr[Debug::INIT] << "Could not find " << name << endl;
|
||||
languages.setDefaults();
|
||||
@ -680,7 +684,7 @@ void LyX::readEncodingsFile(string const & name)
|
||||
{
|
||||
lyxerr[Debug::INIT] << "About to read " << name << "..." << endl;
|
||||
|
||||
string enc_path = LibFileSearch(string(), name);
|
||||
string const enc_path = LibFileSearch(string(), name);
|
||||
if (enc_path.empty()) {
|
||||
lyxerr[Debug::INIT] << "Could not find " << name << endl;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user