From 6949b085ea3263648fb6e8852c8362bb2065038b Mon Sep 17 00:00:00 2001 From: Deepak Khatri <lorforlinux@beagleboard.org> Date: Wed, 27 Mar 2024 23:22:18 +0530 Subject: [PATCH] Add YouTube and Vimeo thumbnails in PDF --- _static/latex/preamble.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_static/latex/preamble.tex b/_static/latex/preamble.tex index e13368a5..5948e925 100644 --- a/_static/latex/preamble.tex +++ b/_static/latex/preamble.tex @@ -23,3 +23,6 @@ \let\oldtabular\tabular \renewcommand{\tabular}{\footnotesize\oldtabular} + +\newcommand{\sphinxcontribyoutube}[3]{\begin{figure}\sphinxincludegraphics{{#2}.jpg}\caption{\url{#1#2#3}}\end{figure}} +\newcommand{\sphinxcontribvimeo}[3]{\begin{figure}\sphinxincludegraphics{{#2}.jpg}\caption{\url{#1#2#3}}\end{figure}} -- GitLab