Skip to content

Commit

Permalink
jltxdoc.dtx: \verb definition sync with plcore.dtx (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Sep 23, 2017
1 parent 6cd0985 commit 256c0f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions jltxdoc.cls
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%%
%% File: jltxdoc.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jltxdoc}[2016/07/25 v1.0c Standard pLaTeX file]
\ProvidesClass{jltxdoc}[2017/09/24 v1.0d Standard pLaTeX file]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ltxdoc}}
\ProcessOptions
\LoadClass{ltxdoc}
Expand Down Expand Up @@ -59,7 +59,7 @@
\def\DisableCrossrefs{\@bsphack\scan@allowedfalse\@esphack}
\def\EnableCrossrefs{\@bsphack\scan@allowedtrue
\def\DisableCrossrefs{\@bsphack\scan@allowedfalse\@esphack}\@esphack}
\def\verb{\relax\ifmmode\hbox\else\leavevmode\fi
\def\verb{\relax\ifmmode\hbox\else\leavevmode\vadjust{}\fi
\bgroup \let\do\do@noligs \verbatim@nolig@list
\ttfamily \verb@eol@error \let\do\@makeother \dospecials
\@ifstar{\@sverb}{\@vobeyspaces \frenchspacing \@sverb}}
Expand Down
11 changes: 7 additions & 4 deletions jltxdoc.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%
% Copyright 1995,1996,1997 ASCII Corporation.
% Copyright (c) 2010 ASCII MEDIA WORKS
% Copyright (c) 2016 Japanese TeX Development Community
% Copyright (c) 2016-2017 Japanese TeX Development Community
%
% This file is part of the pLaTeX2e system (community edition).
% -------------------------------------------------------------
Expand All @@ -19,11 +19,12 @@
% $B9g$o$;$F=$@5(B}
% \changes{v1.0b}{1997/07/29}{\cs{}$B$H(B\texttt{"}$B$N(B\cs{xspcode}$B$rJQ99(B}
% \changes{v1.0c}{2016/07/25}{doc$B%Q%C%1!<%8$,>e=q$-$9$k(B\cs{verb}$B$r:F!9Dj5A(B}
% \changes{v1.0d}{2017/09/24}{\cs{vadjust\{\}}$B$rDI2C(B}
% \fi
%
% \iffalse
%<class>\NeedsTeXFormat{pLaTeX2e}
%<class>\ProvidesClass{jltxdoc}[2016/07/25 v1.0c Standard pLaTeX file]
%<class>\ProvidesClass{jltxdoc}[2017/09/24 v1.0d Standard pLaTeX file]
%<*driver>
\documentclass{jltxdoc}
\GetFileInfo{jltxdoc.cls}
Expand Down Expand Up @@ -176,10 +177,12 @@
% \ttfamily \verb@eol@error \let\do\@makeother \dospecials
% \@ifstar{\@sverb}{\@vobeyspaces \frenchspacing \@sverb}}
%\end{verbatim}
% $B$H$J$C$F$$$^$9$N$G!"(B|\null|$B$r30$7$^$9!#(B
% $B$H$J$C$F$$$^$9$N$G!"(B\file{plcore.dtx}$B$HF1MM$K(B|\null|$B$r30$7$F(B|\vadjust{}|$B$r(B
% $BF~$l$^$9!#(B
% \changes{v1.0c}{2016/07/25}{doc$B%Q%C%1!<%8$,>e=q$-$9$k(B\cs{verb}$B$r:F!9Dj5A(B}
% \changes{v1.0d}{2017/09/24}{\cs{vadjust\{\}}$B$rDI2C(B}
% \begin{macrocode}
\def\verb{\relax\ifmmode\hbox\else\leavevmode\fi
\def\verb{\relax\ifmmode\hbox\else\leavevmode\vadjust{}\fi
\bgroup \let\do\do@noligs \verbatim@nolig@list
\ttfamily \verb@eol@error \let\do\@makeother \dospecials
\@ifstar{\@sverb}{\@vobeyspaces \frenchspacing \@sverb}}
Expand Down

0 comments on commit 256c0f0

Please sign in to comment.