我正在尝试制作一个包含嵌入式音频文件的长表。每当我尝试使用 media9 添加文件时,LaTeX 都不会创建 pdf。关于如何制作一个包含嵌入式音频文件和可点击图标的长表(可在相应的列中播放)有什么建议吗?
这是我目前拥有的代码:
\documentclass[10pt,oneside]{article}
\usepackage{media9}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{longtable}
\begin{document}
\newcommand{\rr}{\raggedright} %allows for left alignment
\newcommand{\tn}{\tabularnewline}
\begin{center}
\begin{longtable}{@{}p{.5cm} p{1cm} p{2cm} p{2cm} p{1cm} p{2cm} p{3cm}@{}}
\caption{Swadesh List}\\
\toprule
& Audio & Gloss & \rr Phonemic Transcription & Tonemes & \rr Phonetic Transcription & \rr Notes on translation\tn
\midrule
\endfirsthead
\multicolumn{4}{c}%
{\tablename\ \thetable\ -- \textit{Continued from previous page}} \\
\toprule
& Audio & Gloss & \rr Phonemic Transcription & Tonemes & \rr Phonetic Transcription & \rr Notes on translation\tn
\midrule
\endhead
\toprule \multicolumn{4}{r}{\textit{Continued on next page}} \\
\endfoot
\bottomrule
\endlastfoot
1. & \includemedia[
width=1cm,
height=1cm,
activate=onclick,
addresource=1.mp3,
transparent=false,
flashvars={source=1.mp3}
]{}{VPlayer.swf} & big & \textipa{/\!b\'e\t{tS}:/} & H & \textipa{[\!b\'E\t{tC}:]} & \rr also: `respected'; `important'\tn
\end{longtable}
\end{center}
\end{document}