Skip to content

Commit

Permalink
Fixes to get html generation to work
Browse files Browse the repository at this point in the history
* Rename @anchoridx{Data} to @anchoridx{DateTypes} in section 13 (duplicate
  with the same index in section 7)
* Remove @validatemenus not available after version 6.8 of texinfo
* Rename section "cobc - The GnuCOBOL Compiler - Runtime options" to
  "cobc - The GnuCOBOL Compiler"
* Add @Iftex around menu of section 7.8, as it makes makeinfo segfault and
  is not useful for HTML
* Small additional fixes for info generation to work
  • Loading branch information
lefessan committed Jan 13, 2024
1 parent a1ecb01 commit d9b6fe3
Show file tree
Hide file tree
Showing 13 changed files with 913 additions and 910 deletions.
2 changes: 1 addition & 1 deletion guide/10.texi
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ These are dynamically-loadable object code files ready to be invoked from other
@comment *********************************************************************
@comment ** 10.1.1 cobc - The GnuCOBOL Compiler - runtime options **
@comment *********************************************************************
@newsubsection{10.1.1,cobc - The GnuCOBOL Compiler - Runtime options}
@newsubsection{10.1.1,cobc - The GnuCOBOL Compiler}
The GnuCOBOL compiler is named @command{cobc} (@command{cobc.exe} on a Windows system).

The following describes the syntax and option switches of the cobc command. This information may be displayed by entering the command @command{cobc --help} or @command{cobc -h}.
Expand Down
2 changes: 1 addition & 1 deletion guide/13.texi
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ If the day is defined like DDD (3 Ds) then it is taken to be the day of the year
$XFD DATE "YYYYDDD"
@end verbatim
@anchoridx{Data}
@anchoridx{DataTypes}
@multitable @columnfractions .15 .85
@headitem Name @tab Data Description
@item F @tab Define data Field
Expand Down
2 changes: 1 addition & 1 deletion guide/6.texi
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ Executing the statement @code{SET @var{condition-name-1} TO FALSE} will cause @v
* 6.9.38: RENAMES.
* 6.9.39: REQUIRED.
* 6.9.40: REVERSE-VIDEO.
* 6.9.41: SAME.
* 6.9.41: SAME AS.
* 6.9.41B: SCROLL DOWN.
* 6.9.41C: SCROLL UP.
* 6.9.42: SECURE.
Expand Down
9 changes: 7 additions & 2 deletions guide/7.texi
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,10 @@ As part of the @code{TIMES} clause of a @statementref{PERFORM}.
@comment *********************************************************************
@page
@newsection{7.8,GnuCOBOL Statements}
@comment The following menu is hidden in html mode because it makes
@comment makeinfo segfault on some Linux distributions, and it is not
@comment actually necessary in html mode.
@iftex
@menu
* 7.8.1: ACCEPT
@detailmenu
Expand Down Expand Up @@ -785,6 +789,7 @@ As part of the @code{TIMES} clause of a @statementref{PERFORM}.
* 7.8.50: UNSTRING
* 7.8.51: WRITE
@end menu
@end iftex
@comment *********************************************************************
@comment ** 7.8.1 ACCEPT **
@comment *********************************************************************
Expand Down Expand Up @@ -1801,7 +1806,7 @@ No @code{INVALID KEY} or @code{NOT INVALID KEY} clause may be specified for a fi
* 7.8.12.2: DISPLAY UPON COMMAND-LINE
* 7.8.12.3: DISPLAY UPON ENVIRONMENT-NAME
* 7.8.12.4: DISPLAY data-item
* 7.8.12.5: DISPLAY data-item (Microsoft v1, 2)
* 7.8.12.5: DISPLAY data-item (Microsoft)
@end menu
@comment *********************************************************************
@comment ** 7.8.12.1 DISPLAY UPON device **
Expand Down Expand Up @@ -1973,7 +1978,7 @@ If this is needed then the use of @code{CONCATENATE} to built more than one elem
When @code{DISPLAY} is used without line or column controls only one variable or literal may will appear on a line, so the use of the above example should also be employed.

@comment *************************************************************
@comment ** 7.8.12.5 DISPLAY data-item (Microsoft v1, 2) **
@comment ** 7.8.12.5 DISPLAY data-item (Microsoft) **
@comment *************************************************************
@page
@newunit{7.8.12.5,DISPLAY data-item (Microsoft)}
Expand Down
2 changes: 1 addition & 1 deletion guide/8.texi
Original file line number Diff line number Diff line change
Expand Up @@ -1506,7 +1506,7 @@ When the @code{LOCALE} keyword is not specified, the returning value is negative
@comment ** 8.1.70B NUMVAL-C **
@comment *********************************************************************
@page
@newsubsection{8.1.70B,NUMVAL-C-V2}
@newsubsection{8.1.70B,NUMVAL-C-2}
@diagram{NUMVAL-C Function,FN-NUMVAL-C-2,FN-NUMVAL-C-2,None}
This function
returns the numeric value represented by the character string specified by @var{argument-1} and defined as alphanumeric.
Expand Down
2 changes: 1 addition & 1 deletion guide/B.texi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@comment *********************************************************************
@comment ** B. Reserved Word Lists **
@comment *********************************************************************
@newappendix{B,Reserved Word Lists}
@newappendix{B,Reserved Word List}
See Appendix C for the complete lists of ALL reserved words of all types.
@iftex
@sp 3
Expand Down
Binary file modified guide/PDFs/gnucobpg-letter.pdf
Binary file not shown.
Binary file modified guide/PDFs/gnucobpr-letter.pdf
Binary file not shown.
Binary file modified guide/PDFs/gnucobqr-letter.pdf
Binary file not shown.
Binary file modified guide/PDFs/gnucobsp-letter.pdf
Binary file not shown.
Loading

0 comments on commit d9b6fe3

Please sign in to comment.