EmacsConf: Adding check-in instructions and a title PDF
| emacs, emacsconfBuilding on EmacsConf: recording and re-recording introductions, I decided to make some slides with check-in instructions and a title slide so that we have something to look at on screen before the speaker shares their window, instead of the default BigBlueButton slide.
It's just a PDF, so there's no dynamic time translation or count-down timer. Where we've noted the speaker's time zone, we can use that for local time translation. We'll just show the conference time zone and the speaker's time zone, and then everyone else can convert based on UTC.
The idea is that we'll go through the first slide with the speaker behind the scenes. Here's an example:
And then we'll move to the second slide when they're ready:
Here's the template file:
\documentclass[tikz, border=0pt]{standalone}
\usepackage[none]{hyphenat}
\usepackage{fancyqr}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{fontspec}
\setmainfont{Noto Sans}[Ligatures=TeX]
\definecolor{subtextgray}{HTML}{777777}
\definecolor{activetitle}{HTML}{5955A9}
\begin{document}
\begin{tikzpicture}
\fill[white] (0,0) rectangle (1280bp, 720bp);
\node[
anchor=north west,
text width=1200bp,
align=left,
font=\fontsize{24pt}{26pt}\selectfont,
text=activetitle
] (title) at (20bp, 700bp) {
\confName \confYear check-in (\talkSlug): \talkSpeakers
};
\node[
anchor=north west,
text width=480bp,
align=left,
font=\fontsize{20pt}{26pt}\selectfont,
text=subtextgray
] (timeline) at ([yshift=-0.2in]title.south west) {
\textbf{What to expect} \\
\begin{itemize}
\item Nobody here with you yet? Say hi in \#emacsconf-org. Someone will come and help you settle in, or you can get started with checking your setup.
\item \talkTiming Estimated go-live \textbf{\liveTime}
\item You can stay logged into this web conference room until then. Feel free to stretch, take a break, get some water, etc.
\item When it's time to start, the EmacsConf user will join this room. We'll let you know when you're on air.
\item You'll be on-stream until the start of the next talk. Even after you're off-stream, you can continue for as long as you like. When you're finished, feel free to end the meeting for everyone.
\end{itemize}
};
\node[
anchor=south east,
align=right,
font=\fontsize{20pt}{24pt}\selectfont
] (time) at (1260bp, 30bp) {
Pad: \padURL \\
IRC: \#\ircChannel (https://chat.emacsconf.org)
};
\node[
anchor=north west,
text width=400bp,
align=left,
font=\fontsize{20pt}{26pt}\selectfont,
text=subtextgray
] (checklist) at ([xshift=10bp]timeline.north east) {
\textbf{Checklist} \\
\begin{itemize}
\item \textbf{Audio:} Can we hear you clearly, with no echo? We recommend using earphones or a headset.
\item \textbf{Screen sharing:} Make your font big enough to read at 1280x720.
\item \textbf{Webcam (optional)}
\item \textbf{Pad (optional)} If you want, you can open the Etherpad/IRC for your talk and keep an eye on the questions yourself. Alternatively, the host or other participants can read them out for you.
\item \textbf{Other tabs:} Close any tabs or players streaming the conference before the Q\&A starts so that you don't get confused by a delayed echo of yourself.
\end{itemize}
};
\node[
anchor=north west,
text width=300bp,
align=left,
font=\fontsize{20pt}{26pt}\selectfont,
text=subtextgray
] (tips) at ([xshift=10bp]checklist.north east) {
\textbf{Tips} \\
\begin{itemize}
\item Feel free to answer questions in any order or skip some.
\item Please read the question out loud before answering it.
This helps us divide the transcript into chapters.
\item If you need help, or if you accidentally say/share something that needs to be removed from the recording, type ! and a short message into the text chat, or let us know in \#emacsconf-org (IRC) or sacha@sachachua.com.
\end{itemize}
};
\end{tikzpicture}
\begin{tikzpicture}
\fill[white] (0,0) rectangle (1280bp, 720bp);
\node[
anchor=north west,
text width=1240bp,
align=left,
font=\fontsize{32pt}{38pt}\selectfont,
] (title) at (20bp, 700bp) {
\confName \confYear\\
\par\vspace{1em}
{\fontsize{48pt}{50pt}\color{activetitle}\textbf{\talkTitle}} \\
\talkSpeakers \\
};
\node[
anchor=north west,
text width=800bp,
align=left,
font=\fontsize{32pt}{38pt}\selectfont
] (details) at ([yshift=-20bp]title.south west) {
Join via the BigBlueButton link at \\
\talkURL \\
\par\vspace{1em}
Pad: \padURL \\
IRC: \#\ircChannel on Libera.Chat
\par\vspace{1em}
Estimated start: \\
\liveTime
};
\node[
anchor=south east,
align=right,
text=subtextgray
] (qr) at (1250bp, 30bp) {
{\fancyqr[height=200bp, color=activetitle,
image={\includegraphics[width=30bp]{logo.png}}]{\talkURL}}
};
\end{tikzpicture}
\end{document}
I liked making the QR code in the conference color and with the conference logo embedded in it, which is handled by:
{\fancyqr[height=200bp, color=activetitle,
image={\includegraphics[width=30bp]{logo.png}}]{\talkURL}}
The values are substituted by this function in emacsconf-stream.el
emacsconf-stream-generate-checkin-pdf: Use LaTeX to generate the check-in PDF for TALK based on assets/checkin/_template.tex.
(defun emacsconf-stream-generate-checkin-pdf (talk &optional prev info force) "Use LaTeX to generate the check-in PDF for TALK based on assets/checkin/_template.tex." (interactive (list (let ((emacsconf-publishing-phase 'conference)) (emacsconf-complete-talk-info)))) (let* ((dir (expand-file-name "checkin" emacsconf-stream-asset-dir)) (emacsconf-publishing-phase 'conference) (template (with-temp-buffer (insert-file-contents (expand-file-name "_template.tex" dir)) (buffer-string))) (default-directory dir) (live-time (emacsconf-timezone-strings-combined (plist-get talk :live-time) (plist-get talk :timezone)))) (write-region (seq-reduce (lambda (prev val) (replace-regexp-in-string (regexp-quote (concat "\\" (car val))) (format "%s" (cdr val)) prev nil t)) `(("confName" . ,emacsconf-name) ("confYear" . ,emacsconf-year) ("talkSlug" . ,(plist-get talk :slug)) ("talkSpeakers" . ,(or (plist-get talk :speakers) "")) ("talkTiming" . ,(if (plist-get talk :video-file) "You have a recorded video, so we'll play it at the time scheduled for your talk. We'll give you a few minutes heads-up here before your live Q\\&A starts." "You're doing the talk live, so we'll give you a few minutes heads-up before you're on air.")) ("talkTitle" . ,(or (plist-get talk :title) "")) ("talkURL" . ,(plist-get talk :absolute-url)) ("padURL" . ,(plist-get talk :pad-url)) ("liveTime" . ,live-time) ("ircChannel" . ,(plist-get talk :channel))) template) nil (expand-file-name (concat (plist-get talk :slug) ".tex") dir)) (shell-command (format "lualatex -shell-escape %s" (expand-file-name (concat (plist-get talk :slug) ".tex") dir)))))