mpi-forum / mpi-issues

Tickets for the MPI Forum
http://www.mpi-forum.org/
67 stars 8 forks source link

Ensure all symbols have a corresponding \*main macro #825

Open devreal opened 10 months ago

devreal commented 10 months ago

Problem

When working on https://github.com/mpi-forum/mpi-standard/pull/954 I noticed that not all symbols used in \mpi*{} macros (e.g., \mpidtype, \error, etc) have a corresponding main definition (e.g., \mpidtypemain, \errormain, etc). Some usages of \mpifunc appear to include argument lists (boo!) and there is at least one typo (MPI_FNIALIZE) somewhere in the text. Some of the symbols are no longer part of the standard (C++ types) or are a combination of several symbols (MPI_(I)RSEND), so they should probably be set using the corresponding skip macros. That way they do not end up in the index.

This cleanup is needed to ensure proper use of hyperref as otherwise some links will point to the first page of the document.

Here is the list of symbols reported by hyperref to be without a corresponding *main macro:

Proposal

Chapter committees should check their chapter for missing *main macros for the symbols above and either define them or replace the used macros with the corresponding skip macros.

Changes to the Text

No changes to the semantics.

Impact on Implementations

None.

Impact on Users

Cleaner index, happier users.

References and Pull Requests

An attempt to extend the relevant macros to include hyperrefs: https://github.com/mpi-forum/mpi-standard/pull/954