makegallery
Differences
This shows you the differences between two versions of the page.
makegallery [2008/02/12 15:39] – created kleiner | makegallery [2008/02/12 15:42] (current) – Corrected errors in code snippets kleiner | ||
---|---|---|---|
Line 12: | Line 12: | ||
In case you don't use latexmk, or if you want to make your Makefile usable for people who don't, the following, slightly more complex Makefile should do the job. | In case you don't use latexmk, or if you want to make your Makefile usable for people who don't, the following, slightly more complex Makefile should do the job. | ||
- | | + | < |
- | PDFLATEX = pdflatex | + | LATEX = latex |
- | BIBTEX = bibtex | + | PDFLATEX = pdflatex |
- | EGREP = egrep | + | BIBTEX = bibtex |
- | EGFLAGS = " | + | EGREP = egrep |
- | + | EGFLAGS = " | |
- | RERUN = " | + | |
- | RERUNBIB = "No file.*.bbl|Citation.*undefined" | + | RERUN = "Label\(s\) may have changed" |
- | + | RERUNBIB = "No file.*\.bbl|Citation.*undefined" | |
- | %.pdf: %.tex | + | |
- | | + | %.pdf: %.tex |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | # Display relevant warnings, including the following line |
+ | egrep -i -A 1 " | ||
+ | </ | ||
To generate '' | To generate '' | ||
Line 42: | Line 44: | ||
===== XFig to PDF/LaTeX combined | ===== XFig to PDF/LaTeX combined | ||
This requires the '' | This requires the '' | ||
- | | + | < |
- | fig2dev -L pdftex $< $@ | + | %.pdf : %.fig |
- | + | fig2dev -L pdftex $< $@ | |
- | %_t : %.fig | + | |
- | echo -e " | + | %_t : %.fig |
- | | + | echo -e "\\\\begin{picture}(0, |
- | fig2dev -L pdftex_t $< >> $@ | + | |
+ | fig2dev -L pdftex_t $< >> $@ | ||
+ | </ | ||
The line starting with '' | The line starting with '' | ||
\input{file_t} | \input{file_t} | ||
Line 60: | Line 64: | ||
There are two rules involved. The first rule converts the '' | There are two rules involved. The first rule converts the '' | ||
- | | + | < |
- | fig2dev -L pstex $< $@ | + | %.ps : %.fig |
- | + | fig2dev -L pstex $< $@ | |
- | %_t : %.fig | + | |
- | echo -e " | + | %_t : %.fig |
- | | + | echo -e "\\\\begin{picture}(0, |
- | fig2dev -L pstex_t $< >> $@ | + | |
+ | fig2dev -L pstex_t $< >> $@ | ||
+ | </ | ||
The line starting with '' | The line starting with '' | ||
\input{file_t} | \input{file_t} |
makegallery.1202827178.txt.gz · Last modified: 2008/02/12 15:39 by kleiner