Skip to content

Commit c33c0ec

Browse files
committed
Wrap more lines
1 parent f1912a5 commit c33c0ec

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

base/doc/ltnews42.tex

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,10 @@ \subsection{Moving paragraph tagging into sockets}
223223
code into sockets. The \enquote{semantic paragraphs} can now be disabled by
224224
assigning the \texttt{noop} plug to these sockets:
225225
\begin{verbatim}
226-
\AssignTaggingSocketPlug{para/semantic/begin}{noop}
227-
\AssignTaggingSocketPlug{para/semantic/end}{noop}
226+
\AssignTaggingSocketPlug{para/semantic/begin}
227+
{noop}
228+
\AssignTaggingSocketPlug{para/semantic/end}
229+
{noop}
228230
\end{verbatim}
229231

230232
\subsection{Hooks for \cs{includegraphics} keys}
@@ -238,8 +240,10 @@ \subsection{Hooks for \cs{includegraphics} keys}
238240
The hooks are processed even if tagging is not activated.
239241
With them it is, for example, possible to store the alternative text:
240242
\begin{verbatim}
241-
\AddToHookWithArguments{Gin/alt}{\gdef\myalttext{#2}}
242-
\includegraphics[alt=Hello World]{example-image}
243+
\AddToHookWithArguments{Gin/alt}
244+
{\gdef\myalttext{#2}}
245+
\includegraphics[alt=Hello World]
246+
{example-image}
243247
The alt text of the graphic was \myalttext.
244248
\end{verbatim}
245249

0 commit comments

Comments
 (0)