Index: c2man/html.c
diff -c c2man/html.c:1.3 c2man/html.c:1.4
*** c2man/html.c:1.3 Sun Jan 30 16:06:49 2000
--- c2man/html.c Thu Feb 24 16:24:47 2000
***************
*** 297,303 ****
else if (isspace(c) && state == PERIOD)
state = CAPITALISE;
else if (isalnum(c) || ispunct(c)) {
! if (islower(c) && state == CAPITALISE) c = toupper(c);
state = TEXT;
}
--- 297,303 ----
else if (isspace(c) && state == PERIOD)
state = CAPITALISE;
else if (isalnum(c) || ispunct(c)) {
! if (islower(c) && state == CAPITALISE && !html_in_code) c = toupper(c);
state = TEXT;
}
Index: c2man/latex.c
diff -c c2man/latex.c:1.4 c2man/latex.c:1.5
*** c2man/latex.c:1.4 Sun Jan 30 16:06:49 2000
--- c2man/latex.c Thu Feb 24 16:24:47 2000
***************
*** 210,216 ****
else if (isspace(c) && state == PERIOD)
state = CAPITALISE;
else if (isalnum(c) || ispunct(c)) {
! if (islower(c) && state == CAPITALISE) c = toupper(c);
state = TEXT;
}
--- 210,216 ----
else if (isspace(c) && state == PERIOD)
state = CAPITALISE;
else if (isalnum(c) || ispunct(c)) {
! if (islower(c) && state == CAPITALISE && !verbatim) c = toupper(c);
state = TEXT;
}
Index: c2man/nroff.c
diff -c c2man/nroff.c:1.5 c2man/nroff.c:1.6
*** c2man/nroff.c:1.5 Sun Jan 30 16:06:49 2000
--- c2man/nroff.c Thu Feb 24 16:24:47 2000
***************
*** 268,274 ****
else if (isspace(c) && state == PERIOD)
state = CAPITALISE;
else if (isalnum(c) || ispunct(c)) {
! if (islower(c) && state == CAPITALISE) c = toupper(c);
state = TEXT;
}
--- 268,274 ----
else if (isspace(c) && state == PERIOD)
state = CAPITALISE;
else if (isalnum(c) || ispunct(c)) {
! if (islower(c) && state == CAPITALISE && !verbatim) c = toupper(c);
state = TEXT;
}