+2001-10-10 Herbert Voss <voss@perce.de>
+
+ * scripts/TeXFiles.sh: new script for [cls,sty,bst]Files.lst
+
2001-10-09 Herbert Voss <voss@perce.de>
* default.ui: help-Texinfo
DOCDIST = doc/LyXConfig.lyx*
DOCINST = doc/*.lyx doc/*.eps doc/*.lyx.in
EXAMPLES = examples/*.lyx
+HELP = help/*.hlp
IMAGES = images/*.xpm
KBD = kbd/*.kmap kbd/*.cdef
LAYOUT = layouts/*.layout layouts/*.inc
$(M4) $< > $@
$(CHMOD) 755 $@
-LIBINSTFILES = $(BIND) $(CLIPART) $(DOCINST) $(EXAMPLES) $(IMAGES) $(KBD) \
- $(LAYOUT) $(TEMPL) $(TEXSUPPORT) $(UI)
+LIBINSTFILES = $(BIND) $(CLIPART) $(DOCINST) $(EXAMPLES) $(HELP) $(IMAGES) \
+ $(KBD) $(LAYOUT) $(TEMPL) $(TEXSUPPORT) $(UI)
-LIBDISTFILES = $(BIND) $(CLIPART) $(DOCDIST) $(EXAMPLES) $(IMAGES) $(KBD) \
- $(LAYOUT) $(TEMPL) $(UI) $(TEXSUPPORT) $(LYXSCRIPTS)
+LIBDISTFILES = $(BIND) $(CLIPART) $(DOCDIST) $(EXAMPLES) $(HELP) $(IMAGES) \
+ $(KBD) $(LAYOUT) $(TEMPL) $(UI) $(TEXSUPPORT) $(LYXSCRIPTS)
pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \
textclass.lst packages.lst external_templates \
encodings languages symbols
-LYXLIBDIRS = bind clipart doc examples images kbd layouts scripts \
+LYXLIBDIRS = bind clipart doc examples help images kbd layouts scripts \
templates tex ui
EXTRA_DIST = CREDITS chkconfig.ltx configure.cmd lyxrc.example \
+++ /dev/null
-#!/bin/sh
-# file: ~/bin/TeXFiles.sh
-# all files -> without option
-# TeX class files -> option cls
-# TeX style files -> option sty
-# bibtex style files -> option bst
-#
-# with the help
-# of kpsewhich and creates a
-# bstFiles.lst, clsFiles.lst, styFiles.lst
-# without any parameter all files are created.
-#
-# Herbert Voss <voss@perce.org>
-#
-CLS_STYLEFILE=clsFiles.lst
-STY_STYLEFILE=styFiles.lst
-BST_STYLEFILE=bstFiles.lst
-version='$Id: TeXFiles.sh,v 0.1 2001-10-01'
-progname=`echo $0 | sed 's%.*/%%'`
-echo "$version"
-usage="Usage: TeXFiles.sh [-version | cls | sty | bst]
- Default is without any Parameters,
- so that all files will be created"
-
-#
-# MS-DOS and MS-Windows define $COMSPEC or $ComSpec and use ';' to separate
-# directories in path lists whereas Unixes uses ':'.
-# $SEP holds the right character to be used by the scripts.
-#
-#???????????????
-# never used this one with windows and what happens with mac??
-#???????????????
-#
-if test -z "$COMSPEC" && test -z "$ComSpec"; then SEP=':'; else SEP=';'; fi
-#
-# Add the location of the script to the PATH if necessary. This must
-# be done before kpsewhich can be called, and thus cannot be put into
-# mktex.opt
-#
-dirname=`echo $0 | sed 's%/*[^/][^/]*$%%'`
-echo "Actual Dir: $dirname"
-case $dirname in # $dirname correct?
- "") # Do nothing
- ;;
- /* | [A-z]:/*) # / -> Absolute name
- PATH="$dirname$SEP$PATH" ;;
- *) # other -> Relative name
- PATH="`pwd`/$dirname$SEP$PATH" ;;
-esac # end of case
-#
-# A copy of some stuff from mktex.opt, so we can run in the presence of
-# terminally damaged ls-R files.
-#
-if test "x$1" = x--help || test "x$1" = x-help; then
- echo "$usage"
- exit 0
-elif test "x$1" = x--version || test "x$1" = x-version; then
- echo "`basename $0` $version"
- kpsewhich --version
- exit 0
-fi
-#
-# find the directories with kpsewhich. TeX has files ls-R to hold
-# the tex-tree
-#
-test $# = 0 && {
- OIFS=$IFS; IFS=$SEP; set x `kpsewhich --show-path=ls-R 2>/dev/null`; shift; IFS=$OIFS
-}
-echo 'Delete old *files.lst, if present'
-case "$1" in
- "cls")
- rm -f $CLS_STYLEFILE
- touch $CLS_STYLEFILE # create new file
- ;;
- "sty")
- rm -f $STY_STYLEFILE
- touch $STY_STYLEFILE # create new file
- ;;
- "bst")
- rm -f $BST_STYLEFILE
- touch $BST_STYLEFILE # create new file
- ;;
- *) # all other
- rm -f $CLS_STYLEFILE $STY_STYLEFILE $BST_STYLEFILE
- touch $CLS_STYLEFILE $STY_STYLEFILE $BST_STYLEFILE
- ;;
-esac
-echo "looking for all bst-style files in the latex tree";
-for TEXMFLSR in "$@"; do # go through the dirs
- case "$TEXMFLSR" in # Prepend cwd if the directory was relative.
- "") continue ;; # it is an error if this case is taken.
- /* | [A-z]:/*) ;; # leading /
- *) TEXMFLSR="`pwd`/$TEXMFLS_R" # all other
- esac
- echo "Dir: <$TEXMFLSR>"
-case "$1" in # list all files with suffix bst
- "cls")
- find $TEXMFLSR -name *.cls >> $CLS_STYLEFILE
- ;;
- "sty")
- find $TEXMFLSR -name *.sty >> $STY_STYLEFILE
- ;;
- "bst")
- find $TEXMFLSR -name *.bst >> $BST_STYLEFILE
- ;;
- *)
- find $TEXMFLSR -name *.cls >> $CLS_STYLEFILE
- find $TEXMFLSR -name *.sty >> $STY_STYLEFILE
- find $TEXMFLSR -name *.bst >> $BST_STYLEFILE
- ;;
-esac
-
- echo "done!"
-done
-#echo "list saved in $STYLEFILE"
-#echo `wc -l $CLS_STYLEFILE` # only for information
-#
-# this is the end my friends ... Jim Morrison and the Doors in "The End"
fi
#### Create the build directories if necessary
-for dir in bind clipart doc examples images kbd layouts reLyX \
+for dir in bind clipart doc examples help images kbd layouts reLyX \
scripts templates ui ; do
test ! -d $dir && mkdir $dir
done
fi
#### Create the build directories if necessary
-for dir in bind clipart doc examples images kbd layouts reLyX \
+for dir in bind clipart doc examples help images kbd layouts reLyX \
scripts templates ui ; do
test ! -d $dir && mkdir $dir
done
-** This file is part of LyX, The Document Processor
-** Copyright 2001 The LyX Team. Bibtex.hlp
----------------------------------------------------
+ Bibtex.hlp
-Database:
+@bDatabase:
Insert the Bibtex-database without the default extension
".bib". If you insert it with the browser, LyX strips
the extension. More than one databases must be separated
by a comma: natbib, books
-Bibstyle:
+@bBibstyle:
Insert the Bibstyle without the default extension ".bst".
Most of the bibstyles are stored in $TEXMF/bibtex/bst.
$TEXMF is the root dir of the local TeX-tree.
available styles on your local TeX-System. It's available
at http://www.perce.de/lyx/bstFiles.sh
-Option bibtotoc:
+@bOption bibtotoc:
By default the Bibliography doesn't appears in the table
of contents. Activate this option if you want an entry
like
right name Bibliography/References, which depends to your
chosen document-class.
-2001-08-27 / Herbert Voss <voss@perce.de>
\ No newline at end of file
+2001-08-27 / Herbert Voss <voss@perce.de>
-** This file is part of LyX, The Document Processor
-** Copyright 2001 The LyX Team. Texinfo.hlp
----------------------------------------------------
+ Texinfo.hlp
-Class Files: shows the installed TeX Document classes.
+@bClass Files:
+ shows the installed TeX Document classes.
Remember, that these classes are only available
in LyX if a corresponding LyX-Layout file exists!
-Style Files: shows the installed TeX Style files, which are
+@bStyle Files:
+ shows the installed TeX Style files, which are
available in LyX by default, like "babel" or through
- "\usepackage{<the stylefile>}
+@i \usepackage{<the stylefile>}
in LaTeX-preamble (Layout->preamble)
-BibTeX Stylefiles: shows the installed stylefiles for BibTeX.
+@bBibTeX Stylefiles:
+ shows the installed stylefiles for BibTeX.
They can be load through
- insert->Lists&Toc->BibTeX Reference->Style
+@i insert->Lists&Toc->BibTeX Reference->Style
-Rescan: Runs the script TexFiles.sh to build new file lists.
+@bRescan:
+ Runs the script TexFiles.sh to build new file lists.
-Path yes/no: toggles view of the file lists
+@bwith full Path:
+ toggles view of the file lists
-View: shows the contents of the marked file. Only
+@bView:
+ shows the contents of the marked file. Only
possible when the files are shown with path.
-Run TeXhash: runs the script texhash which builds the a new LaTeX tree.
+@bRun TeXhash:
+ runs the script texhash which builds the a new LaTeX tree.
Needed if you install a new TeX class or style! It runs only
- with user-rights! Therefore you need the right-permissions
+ with user-rights! Therefore you need the write-permissions
for the tex-dirs, often /var/lib/texmf and other.
-Help: shows this file
+@bHelp:
+ shows this file
-2001-10-01 / Herbert Voss <voss@perce.de>
\ No newline at end of file
+2001-10-01 / Herbert Voss <voss@perce.de>
--- /dev/null
+#!/bin/sh
+# file: ~/bin/TeXFiles.sh
+# all files -> without option
+# TeX class files -> option cls
+# TeX style files -> option sty
+# bibtex style files -> option bst
+#
+# with the help
+# of kpsewhich and creates a
+# bstFiles.lst, clsFiles.lst, styFiles.lst
+# without any parameter all files are created.
+#
+# Herbert Voss <voss@perce.org>
+#
+CLS_STYLEFILE=clsFiles.lst
+STY_STYLEFILE=styFiles.lst
+BST_STYLEFILE=bstFiles.lst
+version='$Id: TeXFiles.sh,v 0.1 2001-10-01'
+progname=`echo $0 | sed 's%.*/%%'`
+echo "$version"
+usage="Usage: TeXFiles.sh [-version | cls | sty | bst]
+ Default is without any Parameters,
+ so that all files will be created"
+
+#
+# MS-DOS and MS-Windows define $COMSPEC or $ComSpec and use ';' to separate
+# directories in path lists whereas Unixes uses ':'.
+# $SEP holds the right character to be used by the scripts.
+#
+#???????????????
+# never used this one with windows and what happens with mac??
+#???????????????
+#
+if test -z "$COMSPEC" && test -z "$ComSpec"; then SEP=':'; else SEP=';'; fi
+#
+# Add the location of the script to the PATH if necessary. This must
+# be done before kpsewhich can be called, and thus cannot be put into
+# mktex.opt
+#
+dirname=`echo $0 | sed 's%/*[^/][^/]*$%%'`
+echo "Actual Dir: $dirname"
+case $dirname in # $dirname correct?
+ "") # Do nothing
+ ;;
+ /* | [A-z]:/*) # / -> Absolute name
+ PATH="$dirname$SEP$PATH" ;;
+ *) # other -> Relative name
+ PATH="`pwd`/$dirname$SEP$PATH" ;;
+esac # end of case
+#
+# A copy of some stuff from mktex.opt, so we can run in the presence of
+# terminally damaged ls-R files.
+#
+if test "x$1" = x--help || test "x$1" = x-help; then
+ echo "$usage"
+ exit 0
+elif test "x$1" = x--version || test "x$1" = x-version; then
+ echo "`basename $0` $version"
+ kpsewhich --version
+ exit 0
+fi
+#
+# find the directories with kpsewhich. TeX has files ls-R to hold
+# the tex-tree
+#
+test $# = 0 && {
+ OIFS=$IFS; IFS=$SEP; set x `kpsewhich --show-path=ls-R 2>/dev/null`; shift; IFS=$OIFS
+}
+echo 'Delete old *files.lst, if present'
+case "$1" in
+ "cls")
+ rm -f $CLS_STYLEFILE
+ touch $CLS_STYLEFILE # create new file
+ ;;
+ "sty")
+ rm -f $STY_STYLEFILE
+ touch $STY_STYLEFILE # create new file
+ ;;
+ "bst")
+ rm -f $BST_STYLEFILE
+ touch $BST_STYLEFILE # create new file
+ ;;
+ *) # all other
+ rm -f $CLS_STYLEFILE $STY_STYLEFILE $BST_STYLEFILE
+ touch $CLS_STYLEFILE $STY_STYLEFILE $BST_STYLEFILE
+ ;;
+esac
+echo "looking for all bst-style files in the latex tree";
+for TEXMFLSR in "$@"; do # go through the dirs
+ case "$TEXMFLSR" in # Prepend cwd if the directory was relative.
+ "") continue ;; # it is an error if this case is taken.
+ /* | [A-z]:/*) ;; # leading /
+ *) TEXMFLSR="`pwd`/$TEXMFLS_R" # all other
+ esac
+ echo "Dir: <$TEXMFLSR>"
+case "$1" in # list all files with suffix bst
+ "cls")
+ find $TEXMFLSR -name *.cls >> $CLS_STYLEFILE
+ ;;
+ "sty")
+ find $TEXMFLSR -name *.sty >> $STY_STYLEFILE
+ ;;
+ "bst")
+ find $TEXMFLSR -name *.bst >> $BST_STYLEFILE
+ ;;
+ *)
+ find $TEXMFLSR -name *.cls >> $CLS_STYLEFILE
+ find $TEXMFLSR -name *.sty >> $STY_STYLEFILE
+ find $TEXMFLSR -name *.bst >> $BST_STYLEFILE
+ ;;
+esac
+
+ echo "done!"
+done
+#echo "list saved in $STYLEFILE"
+#echo `wc -l $CLS_STYLEFILE` # only for information
+#
+# this is the end my friends ... Jim Morrison and the Doors in "The End"
* lyxfunc.C: removed greek_kb_flag.
+2001-10-10 Herbert Voss <voss@perce.de>
+
+ * lyx_main.C: delete global string help_lyxdir.
+
2001-10-09 Herbert Voss <voss@perce.de>
* commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
+2001-10-10 Herbert Voss <voss@perce.de>
+
+ * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
+ and some more stuff from FormTexinfo.C
+
+ * ControlShowFile.C: hiding the update-button
+
2001-10-09 Herbert Voss <voss@perce.de>
* ControlTexinfo.[Ch]: new files. Display information about the
#include "ControlTexinfo.h"
#include "Dialogs.h"
#include "LyXView.h"
-#include "Lsstream.h"
#include "BufferView.h"
#include "gettext.h"
#include "support/filetools.h" // FileSearch
-#include "version.h"
#include "support/syscall.h"
#include "support/path.h"
-#include "lyx_gui_misc.h"
+#include "helper_funcs.h"
+#include "support/lstrings.h"
-extern string system_lyxdir;
-extern string user_lyxdir;
-extern string help_lyxdir;
-
-using SigC::slot;
+extern string user_lyxdir; // home of *Files.lst
ControlTexinfo::ControlTexinfo(LyXView & lv, Dialogs & d)
: ControlDialog<ControlConnectBI>(lv, d)
// build filelists of all availabe bst/cls/sty-files. done through
// kpsewhich and an external script, saved in *Files.lst
-void ControlTexinfo::rescanStyles()
+void ControlTexinfo::rescanStyles() const
{
// Run rescan in user lyx directory
Path p(user_lyxdir);
Systemcalls one(Systemcalls::System,
- AddName(system_lyxdir,"TeXFiles.sh"));
+ LibFileSearch("scripts", "TeXFiles.sh"));
p.pop();
}
-void ControlTexinfo::runTexhash()
+
+void ControlTexinfo::runTexhash() const
{
// Run texhash in user lyx directory
Path p(user_lyxdir);
}
-void ControlTexinfo::viewFile(string const filename)
+namespace {
+
+string const sortEntries(string & str_in)
+{
+ std::vector<string> dbase = getVectorFromString(str_in,"\n");
+ std::sort(dbase.begin(), dbase.end()); // sort entries
+ return getStringFromVector(dbase,"\n");
+}
+
+} //namespace anon
+
+
+string const
+ControlTexinfo::getContents(texFileSuffix type, bool withFullPath) const
+{
+ static string const bstFilename("bstFiles.lst");
+ static string const clsFilename("clsFiles.lst");
+ static string const styFilename("styFiles.lst");
+
+ string filename;
+ switch (type) {
+ case bst:
+ filename = bstFilename;
+ break;
+ case cls:
+ filename = clsFilename;
+ break;
+ case sty:
+ filename = clsFilename;
+ break;
+ }
+
+ string fileContents = GetFileContents(LibFileSearch(string(),filename));
+ // everything ok?
+ if (!fileContents.empty()) {
+ if (withFullPath)
+ return(sortEntries(fileContents));
+ else {
+ int Entries = 1;
+ string dummy = OnlyFilename(token(fileContents,'\n',1));
+ string contents = dummy;
+ do {
+ dummy = OnlyFilename(token(fileContents,'\n',++Entries));
+ contents += ("\n"+dummy);
+ } while (!dummy.empty());
+ return(sortEntries(contents));
+ }
+ } else
+ return _("Missing filelist. try Rescan");
+}
+
+void ControlTexinfo::viewFile(string const filename) const
{
lv_.getDialogs()->showFile(filename);
}
-void ControlTexinfo::help()
+
+void ControlTexinfo::help() const
{
- lv_.getDialogs()->showFile(help_lyxdir+"Texinfo.hlp");
+ lv_.getDialogs()->showFile(i18nLibFileSearch("help","Texinfo.hlp"));
}
class ControlTexinfo : public ControlDialog<ControlConnectBI> {
public:
+ /// the file extensions
+ enum texFileSuffix {cls, sty, bst};
///
ControlTexinfo(LyXView &, Dialogs &);
///
- void viewFile(string const filename);
+ void viewFile(string const filename) const;
///
- void help();
+ void help() const;
///
- void rescanStyles();
+ void rescanStyles() const;
///
- void runTexhash();
+ void runTexhash() const;
+ ///
+ string const getContents(texFileSuffix type, bool withPath) const;
+
private:
///
+2001-10-10 Herbert Voss <voss@perce.de>
+
+ * FormTexinfo.[Ch]: some changes to the code
+
2001-10-10 André Pönitz <poenitz@htwm.de>
* FormsMathMatrix.C: add missing space between v- and h-alignment
void FormShowFile::update()
{
+ fl_hide_object(dialog_->button_update);
fl_clear_browser(dialog_->browser);
// courier medium
fl_set_browser_fontstyle(dialog_->browser,FL_FIXED_STYLE);
#endif
#include "xformsBC.h"
-#include "ControlTexinfo.h"
#include "FormTexinfo.h"
#include "form_texinfo.h"
#include "gettext.h"
#include "debug.h"
-#include "helper_funcs.h"
#include "xforms_helpers.h"
-#include "support/lstrings.h"
-#include "support/filetools.h"
#include "support/LAssert.h"
-
-extern string user_lyxdir; // home of *Files.lst
namespace {
-string const bstFilename("bstFiles.lst");
-string const clsFilename("clsFiles.lst");
-string const styFilename("styFiles.lst");
-string const errorMessage =_("Missing filelist. try Rescan");
-
// C function wrapper, required by xforms.
extern "C"
int C_FormTexinfoFeedbackCB(FL_OBJECT * ob, int event,
typedef FormCB<ControlTexinfo, FormDB<FD_form_texinfo> > base_class;
FormTexinfo::FormTexinfo(ControlTexinfo & c)
: base_class(c, _("TeX Infos")),
- warningPosted(false), activeStyle(FormTexinfo::cls)
+ warningPosted(false), activeStyle(ControlTexinfo::cls)
{}
fl_set_browser_fontstyle(dialog_->browser,FL_FIXED_STYLE);
// with Path is default
fl_set_button(dialog_->button_fullPath, 1);
- updateStyles(FormTexinfo::cls);
+ updateStyles(ControlTexinfo::cls);
setPreHandler(dialog_->button_rescan);
setPreHandler(dialog_->button_view);
controller().help();
} else if (ob == dialog_->radio_cls) {
- updateStyles(FormTexinfo::cls);
+ updateStyles(ControlTexinfo::cls);
} else if (ob == dialog_->radio_sty) {
- updateStyles(FormTexinfo::sty);
+ updateStyles(ControlTexinfo::sty);
} else if (ob == dialog_->radio_bst) {
- updateStyles(FormTexinfo::bst);
+ updateStyles(ControlTexinfo::bst);
} else if (ob == dialog_->button_rescan) {
// build new *Files.lst
return ButtonPolicy::SMI_VALID;
}
-
-namespace {
-
-string const sortEntries(string & str_in)
-{
- std::vector<string> dbase = getVectorFromString(str_in,"\n");
- std::sort(dbase.begin(), dbase.end()); // sort entries
- return getStringFromVector(dbase,"\n");
-}
-
-string const getContents(string const filename, bool withFullPath)
-{
- string fileContents = GetFileContents(AddName(user_lyxdir,filename));
- // everything ok?
- if (!fileContents.empty()) {
- if (withFullPath)
- return(sortEntries(fileContents));
- else {
- int Entries = 1;
- string dummy = OnlyFilename(token(fileContents,'\n',1));
- string contents = dummy;
- do {
- dummy = OnlyFilename(token(fileContents,'\n',++Entries));
- contents += ("\n"+dummy);
- } while (!dummy.empty());
- return(sortEntries(contents));
- }
- } else
- return errorMessage;
-}
-
-} // namespace anon
-
-
-void FormTexinfo::updateStyles(FormTexinfo::texFileSuffix whichStyle)
+void FormTexinfo::updateStyles(ControlTexinfo::texFileSuffix whichStyle)
{
fl_clear_browser(dialog_->browser);
bool const withFullPath = fl_get_button(dialog_->button_fullPath);
- switch (whichStyle) {
- case FormTexinfo::bst:
- {
- string const str = getContents(bstFilename, withFullPath);
- fl_add_browser_line(dialog_->browser, str.c_str());
- break;
-
- }
- case FormTexinfo::cls:
- {
- string const str = getContents(clsFilename, withFullPath);
- fl_add_browser_line(dialog_->browser, str.c_str());
- break;
- }
- case FormTexinfo::sty:
- {
- string const str = getContents(styFilename, withFullPath);
- fl_add_browser_line(dialog_->browser, str.c_str());
- break;
- }
- }
+ string const str =
+ controller().getContents(whichStyle, withFullPath);
+ fl_add_browser_line(dialog_->browser, str.c_str());
activeStyle = whichStyle;
}
string str;
if (ob == dialog_->button_rescan) {
- str = _("run rescan ...");
+ str = _("starts rescan ...");
} else if (ob == dialog_->button_fullPath) {
str = _("View full path or only file name");
} else if (ob == dialog_->button_texhash) {
- str = _("run texhash and rescan...");
+ str = _("starts texhash and rescan...");
} else if (ob == dialog_->button_view) {
- str = _("select a file to view");
+ str = _("views a selected file");
}
#endif
#include "FormBase.h"
+#include "ControlTexinfo.h"
-class ControlTexinfo;
struct FD_form_texinfo;
class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_form_texinfo> > {
public:
///
FormTexinfo(ControlTexinfo &);
- /// the file extensions
- enum texFileSuffix {cls, sty, bst};
/// preemptive handler for feedback messages
void feedbackCB(FL_OBJECT *, int);
///
void feedback(FL_OBJECT *);
///
- void updateStyles(texFileSuffix);
+ void updateStyles(ControlTexinfo::texFileSuffix);
/// Fdesign generated method
FD_form_texinfo * build_texinfo();
///
bool warningPosted;
///
- texFileSuffix activeStyle;
+ ControlTexinfo::texFileSuffix activeStyle;
};
#endif // FORMTEXINFO_H
string build_lyxdir;
string system_tempdir;
string user_lyxdir; // Default $HOME/.lyx
-string help_lyxdir; // Default system_lyxdir/help
// Should this be kept global? Asger says Yes.
DebugStream lyxerr;
system_lyxdir = LYX_DIR;
path_shown = true;
}
- help_lyxdir = system_lyxdir+"help/";
// Report the system directory if debugging is on
if (!path_shown)
lyxerr[Debug::INIT] << "System directory: '"