From bf22b22f1e5742c3997cadce125a8c18efad8bdc Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Mar 30 2011 21:35:25 +0000 Subject: Update help_updateOutputFileHtml.sh. --- diff --git a/Scripts/Functions/Help/help_updateOutputFileHtml.sh b/Scripts/Functions/Help/help_updateOutputFileHtml.sh index 1f11db6..e11a824 100755 --- a/Scripts/Functions/Help/help_updateOutputFileHtml.sh +++ b/Scripts/Functions/Help/help_updateOutputFileHtml.sh @@ -26,22 +26,21 @@ function help_updateOutputFileHtml { # Output action message. - cli_printMessage "${MANUAL_BASEFILE}-html" 'AsUpdatingLine' + cli_printMessage "${MANUAL_BASEFILE}-xhtml" 'AsUpdatingLine' # Check html output directory - [[ ! -d ${MANUAL_BASEFILE}-html ]] && mkdir -p ${MANUAL_BASEFILE}-html + [[ ! -d ${MANUAL_BASEFILE}-xhtml ]] && mkdir -p ${MANUAL_BASEFILE}-xhtml # Add html output directory into directory stack to make it the # current working directory. Otherwise texi2html may produce # incorrect paths to images included. - pushd ${MANUAL_BASEFILE}-html > /dev/null + pushd ${MANUAL_BASEFILE}-xhtml > /dev/null # Update html files. Use texi2html to export from texinfo file # format to html using CentOS Web default visual style. - texi2html ${MANUAL_BASEFILE}.texi --output=${MANUAL_BASEFILE}-html --split section \ - --nosec-nav \ - --css-include=${HOME}/artwork/trunk/Identity/Manual/repository-html/stylesheet.css \ - -I=${HOME}/artwork + texi2html --init-file=${MANUAL_BASEDIR}/repository.init \ + --output=${MANUAL_BASEDIR}/repository-xhtml \ + ${MANUAL_BASEFILE}.texi # Apply html transformations. Html transformations rely on # Texi2html default html output. The main goal of these html @@ -50,7 +49,7 @@ function help_updateOutputFileHtml { # Texi2html default html output. sed -r -i \ -f ${HOME}/artwork/trunk/Identity/Manual/repository.sed \ - ${MANUAL_BASEFILE}-html/*.html + ${MANUAL_BASEFILE}-xhtml/*.xhtml # Remove html output directory from directory stack. popd > /dev/null