windows batch file 实现 tex 文件 的双档、单档(double column, single column)分别编译
来源:互联网 发布:51单片机isp下载 编辑:程序博客网 时间:2024/04/30 15:47
提交论文的时候有时需要同时提交double column跟single column的pdf文件,而同时编辑同一篇论文的两个版本实在是一件很讨厌的事情,而且没有必要。可以通过开关tex 文件开关的documentclass 来实现分别编译,但用windows batch就更方便了。
准备
首先tex 文件开关的两个documentclass (单档和双档的)都要注释掉。tex 文件中实现单双档分支可以用条件编译语句
\ifCLASSOPTIONtwocolumn...\else...\fi
编译双档
ECHO Compiling double column version...@ECHO OFF( ECHO \documentclass[journal,twocolumn,10pt]{IEEEtran} type SPL.tex )> temp.textexify -p temp.texmove /y temp.pdf SPL_double.pdfdel temp.*
编译单档
ECHO Compiling double column version...@ECHO OFF( ECHO \documentclass[journal,onecolumn,draftclsnofoot,11pt]{IEEEtran} type SPL.tex )> temp.textexify -p temp.texmove /y temp.pdf SPL_single.pdfdel temp.*
参考文献
Batch: insert lines from a .txt file into a .txt file
0 0
- windows batch file 实现 tex 文件 的双档、单档(double column, single column)分别编译
- windows下RMagick与File-Column的安装
- @Column
- @Column
- @Column
- @Column
- @Column
- @Column
- @Column
- @Column
- column
- @Column
- @Column
- SpringMVC利用Column 注解约束double/float类型的精度
- SpringMVC利用Column 注解约束double类型的精度
- CSS3的column实现瀑布流效果
- HBase在单Column和多Column情况下批量Put的性能对比分析
- Trevni: A Column File Format
- Eclipse
- Android学习记录(5)—在java中学习多线程下载之断点续传②
- HDU4821
- JVM常用分析命令与工具
- iframe 包含高度长度100%
- windows batch file 实现 tex 文件 的双档、单档(double column, single column)分别编译
- linux查找文件命令find
- 【原】解决PS1的显示问题,busybox的/u /h特殊字符解析问题
- Native开发与JNI机制详解
- android 开发环境搭建
- JS 将select和text表单项替换为普通文本
- 设备驱动开发详解总结
- 机器学习课程笔记-andrew ng 多参数线性回归
- unity3d shader中RenderType的所有类型