head	1.7;
access;
symbols
	release-2-12:1.7
	release-2-12-beta-1:1.7
	release-2-11:1.7
	release-2-11-beta-2:1.7
	release-2-11-beta-1:1.7
	release-2-10:1.7
	release-2-10-beta-2:1.7
	release-2-10-beta-1:1.6
	release-2-9:1.5
	release-2-9-beta-3:1.5
	release-2-9-beta-2:1.5
	release-2-9-beta-1:1.5
	release-2-8:1.5
	release-2-8-beta-3:1.5
	release-2-8-beta-2:1.5
	release-2-8-beta-1:1.5
	release-2-7:1.5
	release-2-7-beta-4:1.5
	release-2-7-beta-3:1.5
	release-2-7-beta-2:1.5
	release-2-7-beta-1:1.5
	release-2-6:1.4
	release-2-6-beta-2:1.4
	release-2-6-beta-1:1.4
	release-2-5:1.3
	release-2-5-beta-3:1.3
	release-2-5-beta-2:1.3
	release-2-5-beta-1:1.3
	release-2-4:1.3
	release-2-4-beta-2:1.3
	release-2-4-beta-1:1.3
	release-2-3:1.3
	release-2-3-beta-2:1.3
	release-2-3-beta-1:1.3
	release-2-2:1.3
	release-2-2-beta-3:1.3
	release-2-2-beta-2:1.3
	release-2-2-beta-1:1.3;
locks; strict;
comment	@# @;


1.7
date	2014.09.04.21.09.48;	author jim;	state Exp;
branches;
next	1.6;

1.6
date	2013.06.10.16.09.25;	author jim;	state Exp;
branches;
next	1.5;

1.5
date	2009.03.25.05.01.07;	author jim;	state Exp;
branches;
next	1.4;

1.4
date	2005.07.22.21.03.31;	author jim;	state Exp;
branches;
next	1.3;

1.3
date	99.12.01.20.05.05;	author jim;	state Exp;
branches;
next	1.2;

1.2
date	99.11.30.20.03.31;	author jim;	state dead;
branches;
next	1.1;

1.1
date	99.11.29.21.30.19;	author jim;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Add "NAMD $VERSION User's Guide" to HTML titles.
@
text
@
$BODYTEXT = 'BGCOLOR="WHITE"';
$WHITE_BACKGROUND = 1;
$LATEX_COLOR = "\\pagecolor{white}";

sub pre_pre_process {
    s/\\begin\s*{cvnamd}\s*\n?//gom;
    s/\\end\s*{cvnamd}\s*\n?//gom;
    s/\n[^%\n]*\\end\s*{cvlammps}\s*\n?/\001/gom;
    s/((^|\n)[^%\n]*)\\begin\s*{cvlammps}([^\001]*)\001/$1/gom;
    s/\n[^%\n]*\\end\s*{cvrefman}\s*\n?/\001/gom;
    s/((^|\n)[^%\n]*)\\begin\s*{cvrefman}([^\001]*)\001/$1/gom;
}

sub custom_TITLE_hook {
    local($title, $toc_sec_title) = @@_;
    if ( $DOCUMENT_TITLE ) {
      return($title." (".$DOCUMENT_TITLE.")");
    } else {
      $DOCUMENT_TITLE = $title unless ($title eq "Footnotes");
      return($title);
    }
}

1;  # this must be the last line
@


1.6
log
@Add pre_pre_process proc to do work of unsupported comment package.
This proc needs to be modified when new comment types are added.
@
text
@d15 10
@


1.5
log
@white background for figures works again
@
text
@d6 9
@


1.4
log
@white background option
@
text
@d4 1
d6 1
@


1.3
log
@Now using -toc_stars workaround until latex2html is fixed.
@
text
@d3 1
@


1.2
log
@Using CSS to change background color as workaround to LaTeX2HTML bug.
@
text
@d1 3
a3 1
$BODYTEXT = "bgcolor=\"white\""
@


1.1
log
@LaTeX2HTML now works correctly and gives a white background.
@
text
@@

