2 个版本
0.1.1 | 2023年6月15日 |
---|---|
0.1.0 | 2023年6月15日 |
#1837 in 文本处理
76KB
123 行
Scenic
利用 LaTex Beamer 包的演示工具。
安装
% cargo install scenic
用法
准备输入文件如下
% Sample page
{% page 2
\setbeamercolor{background canvas}{bg=black}
\frame{
\frametitle{A sample frame title}
\framesubtitle{Hello, world!}
\begin{itemize}
\item \textsf{Car} % Sans-Serif
\item \texttt{Cdr} % Typewriter (Teletype)
\item \textrm{Cadr} % Roman (Serif)
\item \textit{Cdar}% Italic
\item \textbf{Cddr} % Bold
\end{itemize}
}
}
# write stdout into a file for now :)
% scenic input.latex > /path/to/output.pdf
# eg. zathura
% zathura --mode=presentation /path/to/output.pdf
构建
% make build
测试
% make test
需求
许可
GPL-3.0-或-更新的
Scenic
Copyright (C) 2023 Yasuhiro Яша Asaka
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
依赖
~36–73MB
~1M SLoC