Epslatex 独立不添加 \end{document}
Epslatex stand alone does not add \end{document}
我正在尝试使用 epslatex 创建独立文件,但创建的文件 .tex 无法编译,因为缺少 \end{document} 和 \end{picture},这是为什么?
示例代码
set terminal epslatex standalone
set output "sample.tex"
plot "data.txt" using 1:2 pointtype 1 pointsize 1
我正在绘制文本文件中的数据,这可能是问题所在吗?
无论如何,图是创建的,只有 .tex 文件不起作用
添加
unset output
到最后得到一个完整的TeX文件。否则,文件没有完全写入磁盘。
终端 pdfcairo
允许有多个绘图命令,每个命令在 pdf 文件中生成一个自己的页面。我首先想到 epslatex 可能会做类似的事情,但它不会
我正在尝试使用 epslatex 创建独立文件,但创建的文件 .tex 无法编译,因为缺少 \end{document} 和 \end{picture},这是为什么? 示例代码
set terminal epslatex standalone
set output "sample.tex"
plot "data.txt" using 1:2 pointtype 1 pointsize 1
我正在绘制文本文件中的数据,这可能是问题所在吗? 无论如何,图是创建的,只有 .tex 文件不起作用
添加
unset output
到最后得到一个完整的TeX文件。否则,文件没有完全写入磁盘。
终端 pdfcairo
允许有多个绘图命令,每个命令在 pdf 文件中生成一个自己的页面。我首先想到 epslatex 可能会做类似的事情,但它不会