From b1fb4b15f27655c71fe817778b11829bd546110c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Wed, 8 Aug 2001 08:26:09 +0000 Subject: [PATCH] spec.diff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2449 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/ChangeLog | 4 ++++ development/lyx.spec.in | 36 ++++++++++++++++-------------------- src/lyx_main.C | 24 ++++++++++++++---------- 3 files changed, 34 insertions(+), 30 deletions(-) diff --git a/development/ChangeLog b/development/ChangeLog index 56ce415c77..c71f4c5908 100644 --- a/development/ChangeLog +++ b/development/ChangeLog @@ -1,3 +1,7 @@ +2001-08-05 Kayvan A. Sylvan + + * lyx.spec.in: More cleanups and wording changes. + 2001-08-03 Kayvan Sylvan * lyx.spec.in: Integrate tetex-lyx into main RPM. diff --git a/development/lyx.spec.in b/development/lyx.spec.in index e3e5a85284..d9f6a1dd64 100644 --- a/development/lyx.spec.in +++ b/development/lyx.spec.in @@ -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. - -%package -n tetex-lyx -Summary: Files for LyX packaged for tetex -Requires: lyx -Group: Applications/Publishing - -%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. +LyX is a modern approach to writing documents which breaks with the +obsolete "typewriter paradigm" of most other document preparation +systems. + +It is designed for people who want professional quality output +with a minimum of time and effort, without becoming specialists in +typesetting. + +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/* diff --git a/src/lyx_main.C b/src/lyx_main.C index 5d8bbffbaf..0197a8a4b3 100644 --- a/src/lyx_main.C +++ b/src/lyx_main.C @@ -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; -- 2.39.5