Add printing of list of languages for which hyphenation is enabled

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9354 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2004-12-07 09:38:57 +00:00
parent 3a79aaab3f
commit 38bba4b649
4 changed files with 475 additions and 421 deletions

View File

@ -1,3 +1,8 @@
2004-12-07 Martin Vermeer <martin.vermeer@hut.fi>
* configure.m4: add printout of language list for which
hyphenation is enabled
2004-11-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de> 2004-11-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* layouts/memoir.layout: allow 2 optional arguments * layouts/memoir.layout: allow 2 optional arguments

View File

@ -219,6 +219,19 @@ else
LATEX= LATEX=
ac_result="not useable" ac_result="not useable"
fi fi
# Grab the list of languages avaliable to LaTeX by parsing the LaTeX log file, chklatex.log.
LANGUAGES=`sed -n '/hyphenation patterns/{
:loop
/loaded\.$/!{
$!{
N
s/\n//
s/^.*for\ //
tloop
}
}
/loaded\.$/p
}' chklatex.log`
rm -f chklatex.ltx chklatex.log])dnl rm -f chklatex.ltx chklatex.log])dnl
dnl dnl
# Search LaTeX2e # Search LaTeX2e
@ -523,6 +536,11 @@ changequote(,)dnl
echo "creating doc/LaTeXConfig.lyx" echo "creating doc/LaTeXConfig.lyx"
echo "s/@chk_linuxdoc@/$chk_linuxdoc/g" >> chkconfig.sed echo "s/@chk_linuxdoc@/$chk_linuxdoc/g" >> chkconfig.sed
echo "s/@chk_docbook@/$chk_docbook/g" >> chkconfig.sed echo "s/@chk_docbook@/$chk_docbook/g" >> chkconfig.sed
# Add a line to chkconfig.sed so that the placeholder in
# LaTeXConfig.lyx.in will be replaced by the list of available
# languages.
test "${LANGUAGES}" != "" && \
echo "s/@chk_languages@/${LANGUAGES}/g" >> chkconfig.sed
sed -f chkconfig.sed "${srcdir}"/doc/LaTeXConfig.lyx.in >doc/LaTeXConfig.lyx sed -f chkconfig.sed "${srcdir}"/doc/LaTeXConfig.lyx.in >doc/LaTeXConfig.lyx
echo "creating $outfile" echo "creating $outfile"

View File

@ -1,3 +1,8 @@
2004-12-07 Martin Vermeer <martin.vermeer@hut.fi>
* LaTeXConfig.lyx.in: add printout of language list for which
hyphenation is enabled
2004-12-02 Martin Vermeer <martin.vermeer@hut.fi> 2004-12-02 Martin Vermeer <martin.vermeer@hut.fi>
* UserGuide.lyx: document use of texconfig for * UserGuide.lyx: document use of texconfig for

File diff suppressed because it is too large Load Diff