Skip to content

Commit

Permalink
fixup delcode for .
Browse files Browse the repository at this point in the history
closes #344
closes #351
closes #420
  • Loading branch information
wspr committed Jan 3, 2018
1 parent 1c04ad1 commit 3147086
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions um-code-main.dtx
Expand Up @@ -54,13 +54,15 @@

% \end{macrocode}
% \begin{itemize}
% \item the `once-off' setup that doesn't need to be per-font
% \item remap symbols that don't take their natural mathcode;
% \item activate any symbols that need to be math-active;
% \item assign delimiter codes for symbols that need to grow;
% \item setup the maths alphabets (\cs{symbf} etc.) ---
% this is an extensive part of the code; see Section~\ref{sec:mathmap};
% \end{itemize}
% \begin{macrocode}
\bool_if:NT \l_@@_init_bool \@@_onceoff_setup:
\@@_remap_symbols:
\@@_setup_mathactives:
\@@_setup_delcodes:
Expand Down Expand Up @@ -364,6 +366,14 @@
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@@_onceoff_setup:}
% \begin{macrocode}
\cs_new:Nn \@@_onceoff_setup:
{
\@@_set_delcode:nnn {operators} {`\.} {\c_zero}
}
% \end{macrocode}
% \end{macro}
%
% \subsection{Functions for setting up symbols with mathcodes}
% \seclabel{mathsymbol}
Expand Down Expand Up @@ -507,10 +517,6 @@
% \begin{macrocode}
\cs_new:Npn \@@_setup_delcodes:
{
% ensure \left. and \right. work:
\@@_set_delcode:nnn \l_@@_symfont_label_tl {`\.} {\c_zero}
% this is forcefully done to fix a bug -- indicates a larger problem!

\@@_assign_delcode:nn {`\/} {\g_@@_slash_delimiter_usv}
\@@_assign_delcode:nn {"2044} {\g_@@_slash_delimiter_usv} % fracslash
\@@_assign_delcode:nn {"2215} {\g_@@_slash_delimiter_usv} % divslash
Expand Down

0 comments on commit 3147086

Please sign in to comment.