Skip to content

Commit 5c01278

Browse files
committed
docs: building documents without repository (form-dev#497)
Avoid typesetting errors even when there is no revision information from the repository. The absence of revision information is indicated by "???" appended to the version number shown on the title page of the documents.
1 parent d587b03 commit 5c01278

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/devref/devref.tex.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
\def\formversiondesc{\repoversiondesc}
33
\def\formdate{\repodate}
44
%begin{latexonly} % To avoid latex2html/latex2html#37
5-
\providecommand{\formversiondesc}{@VERSION@}
5+
\providecommand{\repoversiondesc}{@VERSION@???}
66
\providecommand{\repodate}{\today}
77
%end{latexonly}
88

doc/manual/manual.tex.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
\def\formversiondesc{\repoversiondesc}
55
\def\formdate{\repodate}
66
%begin{latexonly} % To avoid latex2html/latex2html#37
7-
\providecommand{\formversiondesc}{@VERSION@}
7+
\providecommand{\repoversiondesc}{@VERSION@???}
88
\providecommand{\repodate}{\today}
99
%end{latexonly}
1010

0 commit comments

Comments
 (0)