在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):JasonHiebel/latex.makefile开源软件地址(OpenSource Url):https://github.com/JasonHiebel/latex.makefile开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):A Makefile for LaTeX DocumentsThis is a makefile for LaTeX documents which seeks to provide a general purpose, easily extendable tool for compiling documents. MotivationThere are a couple of popular makefiles for LaTeX in existence (1, 2); feel free to search yourself and you'll find many more of various quality. Its been my impression that these makefiles are constructed with the goal of providing a holistic and singularly complete experience. That is, this is the one and only makefile you will ever need for your LaTeX documents. The result of this motivation is, predictably, complexity. Here I take an alternative approach. Here we seek to provide the cleanest approach to compiling documents which fall under a vast majority of possible use cases. Beyond that, the makefile should be amenable to alteration so that an author can quickly digest and alter the makefile to account for whatever workflow they need for that particular document. UsageThe makefile makes only the following assumptions about the structure of your project:
Place a copy of the makefile in the root directory of your project. Feel free to rename the file to suit your needs; if you rename it to be "Makefile" or "makefile" so that it will automatically be recognized by make. Alternatively you are free to use make with the -f or --file flags to specify latex.makefile as your makefile. Next we must specify the name of the main .tex file. This will serve as the project name for the purposes of compilation. Let consider a hypothetical resume document which uses resume.tex as the primary .tex file. At the beginning of the makefile you would add the line
informing the makefile to use resume.tex when compiling the document and will then generate obj/resume.dvi, obj/resume.ps, and obj/resume.pdf. There are three primary targets defined.
CustomizationThe options for each program are defined using environment variables which are aptly named. By default the flags are constructed to favor graphical quality over file size (going far beyond the reasonable, some might say). |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论