Hi Matthew, 2014-11-18 21:50 GMT+01:00 Matthew Leach <matt...@mattleach.net>: > Hi folks, > > Here is v3 of the preview-merge patch. This should have taken care of > the bits that Mosè found (thanks!).
I'd like to review this patch, but I'm a bit busy for the time being. If someone anticipates me in doing this is really welcome! > I have tested most release makefile > targets except: > > * windows-package > - I don't have a windows machine to build and test with. You don't need Windows at all, only an Emacs package for Windows. The comments about the release-related rules detail the variables you need to set. > * www-doc > - I'm not sure what <patch-file> should be. It's a well-kept secret among the AUCTeX developers cabal, but for future reference I'm going to share it with you ;-) Anyway, this rule shouldn't be related to the structure of the preview stuff. Bye, Mosè
--- gendocs.sh.orig 2014-10-29 14:25:47.404620794 +0100 +++ gendocs.sh 2014-10-29 14:35:45.812600075 +0100 @@ -320,9 +320,9 @@ tar -czf "$abs_outdir/${PACKAGE}.html_$1.tar.gz" -- *.html ) eval html_$1_tgz_size=`calcsize "$outdir/${PACKAGE}.html_$1.tar.gz"` - rm -f "$outdir"/html_$1/*.html - mkdir -p "$outdir/html_$1/" - mv ${split_html_dir}/*.html "$outdir/html_$1/" + rm -f "$outdir"/${PACKAGE}/*.html + mkdir -p "$outdir/${PACKAGE}/" + mv ${split_html_dir}/*.html "$outdir/${PACKAGE}/" rmdir ${split_html_dir} } @@ -368,8 +368,8 @@ mv $PACKAGE.html "$outdir/" html_split node - html_split chapter - html_split section +# html_split chapter +# html_split section fi printf "\nMaking .tar.gz for sources...\n" @@ -421,13 +421,13 @@ fi printf "\nMaking index file...\n" -if test -z "$use_texi2html"; then +# if test -z "$use_texi2html"; then CONDS="/%%IF *HTML_SECTION%%/,/%%ENDIF *HTML_SECTION%%/d;\ /%%IF *HTML_CHAPTER%%/,/%%ENDIF *HTML_CHAPTER%%/d" -else - # should take account of --split here. - CONDS="/%%ENDIF.*%%/d;/%%IF *HTML_SECTION%%/d;/%%IF *HTML_CHAPTER%%/d" -fi +# else +# # should take account of --split here. +# CONDS="/%%ENDIF.*%%/d;/%%IF *HTML_SECTION%%/d;/%%IF *HTML_CHAPTER%%/d" +# fi curdate=`$SETLANG date '+%B %d, %Y'` sed \ @@ -454,7 +454,7 @@ -e "s,%%SCRIPTURL%%,$scripturl,g" \ -e "s!%%SCRIPTNAME%%!$prog!g" \ -e "$CONDS" \ -$GENDOCS_TEMPLATE_DIR/gendocs_template >"$outdir/index.html" +$GENDOCS_TEMPLATE_DIR/gendocs_template >"$outdir/${PACKAGE}.index.html" echo "Done, see $outdir/ subdirectory for new files."
_______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel