Skip to content

Commit

Permalink
yocto-recipe-advanced: render percentage sign properly
Browse files Browse the repository at this point in the history
Escaping the percentage sign inside code{} was not working as expected,
since the backslash was rendered as well.

Replace code{} by path{}, using the same foreground color as code{}.
This way, there is no need for an actual escape sequence.

Signed-off-by: Joao Marcos Costa <[email protected]>
  • Loading branch information
jmarcoscosta committed Nov 29, 2023
1 parent 1d660d8 commit 4bd9015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ \subsection{Extending a recipe}
\item {\usebeamercolor[fg]{code} \path{example_0.%.bbappend}} applies
to \code{example_0.1.bb} and \code{example_0.2.bb} but not
\code{example_1.0.bb}
\item The \code{\%} works only just before the \code{.bbappend}
\item The {\usebeamercolor[fg]{code} \path{%}} works only just before the \code{.bbappend}
suffix
\end{itemize}
\item Append files should be {\bf version specific}. If the recipe
Expand Down

0 comments on commit 4bd9015

Please sign in to comment.