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
* Replace references to "cobc - The GnuCOBOL Compiler" by references to
  "cobc - The GnuCOBOL Compiler - Runtime options"
* Add @iftex around menu of section 7.8, as it makes makeinfo segfault and
  is not useful for HTML
  • Loading branch information
lefessan committed Jan 13, 2024
1 parent caf0214 commit b8ad229
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
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/3.texi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CDF directives, denoted by the presence of a @code{>>} character sequence as par

Compiler directives are @i{never} terminated with a period.

The compiler command-line option @option{-D} offers additional control (@pxref{cobc - The GnuCOBOL Compiler}).
The compiler command-line option @option{-D} offers additional control (@pxref{cobc - The GnuCOBOL Compiler - Runtime options}).
@menu
* 3.1 : >>CALL-CONVENTION.
* 3.2 : COPY.
Expand Down
4 changes: 3 additions & 1 deletion guide/7.texi
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ As part of the @code{TIMES} clause of a @statementref{PERFORM}.
@comment *********************************************************************
@page
@newsection{7.8,GnuCOBOL Statements}
@iftex
@menu
* 7.8.1: ACCEPT
@detailmenu
Expand Down Expand Up @@ -785,6 +786,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 @@ -1015,7 +1017,7 @@ The

@item
The
@syntaxidx{UPDATE} option will enable the supplied data field to be updated having been displayed on screen prior to data being entered by overwriting, if needed. When this option is @i{not} used the input field is cleared prior to input and this is the default but can be changed by the use of compiler steering command -faccept-with-update that can be input when starting the compiler or included in the configuration file e.g., default.conf used when selected by default @option{-std=default}. For more information see @ref{cobc - The GnuCOBOL Compiler} option switches) and @ref{Compiler Configuration Files}.
@syntaxidx{UPDATE} option will enable the supplied data field to be updated having been displayed on screen prior to data being entered by overwriting, if needed. When this option is @i{not} used the input field is cleared prior to input and this is the default but can be changed by the use of compiler steering command -faccept-with-update that can be input when starting the compiler or included in the configuration file e.g., default.conf used when selected by default @option{-std=default}. For more information see @ref{cobc - The GnuCOBOL Compiler - Runtime options} option switches) and @ref{Compiler Configuration Files}.

@item
This format of the @code{ACCEPT} statement will be terminated by any of the following events:
Expand Down
2 changes: 1 addition & 1 deletion guide/cbrese.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
@item @code{ALTER} @tab Yes @tab
@item @code{ALTERNATE} @tab Yes @tab
@item @code{AND} @tab Yes @tab
@item @code{ANUM} @tab No @tab (C/S) @tab
@item @code{ANUM} @tab No (C/S) @tab
@item @code{ANY} @tab Yes @tab
@item @code{ANYCASE} @tab No @tab
@item @code{APPLY} @tab Yes (C/S) @tab
Expand Down
6 changes: 3 additions & 3 deletions guide/gnucobpg.texi
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ Permission is granted to copy and distribute translations of this manual into an
@comment *********************************************************************
@comment ** TOP NODE POINT (Ignore if running TeX) **
@comment *********************************************************************
@ifnottex
@validatemenus off
@end ifnottex
@comment @ifnottex
@comment @validatemenus off
@comment @end ifnottex
@c jkl @ifinfo
@node Top
@top GnuCOBOL Programmer's Guide
Expand Down
3 changes: 0 additions & 3 deletions guide/gnucobpr.texi
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ Permission is granted to copy and distribute translations of this manual into an
@comment *********************************************************************
@comment ** TOP NODE POINT (Ignore if running TeX) **
@comment *********************************************************************
@ifnottex
@validatemenus off
@end ifnottex
@c jkl @ifinfo
@node Top
@top GnuCOBOL Programmer's Reference
Expand Down

0 comments on commit b8ad229

Please sign in to comment.