Skip to content

software-system-lab/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docs

Install pdflatex

reference: https://www.latex-project.org/get

Convert to PDF

  1. Use makefile
$ make
  1. Output
├── build
│   ├── usecase.aux
│   ├── usecase.log
│   ├── usecase.pdf
│   └── usecase.toc

Add tex file

Add the new file name(without .tex) to TEX tag in makefile, splitting with a space.

sample: Adding a hello.tex

LATEX=pdflatex
OUTPUT_DIR=build
TEX=usecase hello   # Adding hello here, splitting with a space.

all: dirs $(TEX)

%: %.tex
	$(LATEX) -output-directory=$(OUTPUT_DIR) $<

dirs:
	mkdir -p $(OUTPUT_DIR)

clean:
	rm -rf $(OUTPUT_DIR)
	rm -rf *.gz **/*.gz *.pdf **/*.pdf **/*.log **/*.fdb_latexmk **/*.fls **/*.aux

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published