Skip to content
Permalink
Browse files

Move some macros to macros.tex.

  • Loading branch information
Eelis committed Aug 5, 2019
1 parent 54ee3a7 commit e449c83e58dc29cf3bf3d82d023439642a6750c2
Showing with 6 additions and 6 deletions.
  1. +6 −0 source/macros.tex
  2. +0 −6 source/utilities.tex
@@ -631,6 +631,12 @@
\newenvironment{defnote}{\addtocounter{termnote}{1}\noteintro{Note \thetermnote{} to entry}}{\noteoutro{note}\space}


% FIXME: For now, keep the format grammar productions out of the index, since
% they conflict with the main grammar.
% Consider renaming these en masse (to fmt-* ?) to avoid this problem.
\newcommand{\fmtnontermdef}[1]{{\BnfNontermshape#1\itcorr}\textnormal{:}}
\newcommand{\fmtgrammarterm}[1]{\gterm{#1}}

%%-------------------------------------------------
%% cxxdraft-htmlgen macros


\rSec3[format.string.general]{In general}

% FIXME: For now, keep the format grammar productions out of the index, since
% they conflict with the main grammar.
% Consider renaming these en masse (to fmt-* ?) to avoid this problem.
\newcommand{\fmtnontermdef}[1]{{\BnfNontermshape#1\itcorr}\textnormal{:}}
\newcommand{\fmtgrammarterm}[1]{\gterm{#1}}

\pnum
A \defn{format string} is a (possibly empty) sequence of
\defnx{replacement fields}{replacement field!format string},

0 comments on commit e449c83

Please sign in to comment.
You can’t perform that action at this time.