File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -223,8 +223,10 @@ \subsection{Moving paragraph tagging into sockets}
223
223
code into sockets. The \enquote {semantic paragraphs} can now be disabled by
224
224
assigning the \texttt {noop } plug to these sockets:
225
225
\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}
228
230
\end {verbatim }
229
231
230
232
\subsection {Hooks for \cs {includegraphics} keys }
@@ -238,8 +240,10 @@ \subsection{Hooks for \cs{includegraphics} keys}
238
240
The hooks are processed even if tagging is not activated.
239
241
With them it is, for example, possible to store the alternative text:
240
242
\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}
243
247
The alt text of the graphic was \myalttext.
244
248
\end {verbatim }
245
249
You can’t perform that action at this time.
0 commit comments