On Fri, Oct 15 2021,Denis Bitouzé wrote:
[snipped 12 lines]
> only-slides:
> latexmk only-slides
> both:
> latexmk both
> only-notes:
> latexmk only-notes
Thank you. This is what I modified it to, which seems to work.
--8<---------------cut here---------------start------------->8---
DOC=ML_CNF
only_slides: clean
latexmk -pdf only_slides
mv only_slides.pdf ${DOC}_only_slides.pdf 2>/dev/null
both: clean
latexmk -pdf both
mv both.pdf ${DOC}_both_slides_notes.pdf 2>/dev/null
only_notes: clean
latexmk -pdf only_notes
mv only_notes.pdf ${DOC}_only_notes.pdf 2>/dev/null
all: clean only_slides both only_notes
clean:
rm -f *.log *.aux *.snm *.nav *.out *.toc *.fls *.fdb_latexmk *.dvi
--8<---------------cut here---------------end--------------->8---
though now I have a new issue that I don't know where to look
The only_notes deck has numbering which is going 2 of 1, 3 of 1 etc
instead of 1 of 4, 2 of 4, 3 of 4. The makefile output is below and I
have no idea where the error is. I have no idea why .nav is not
generated.
--8<---------------cut here---------------start------------->8---
Output written on only_notes.pdf (4 pages, 39489 bytes).
Transcript written on only_notes.log.
Latexmk: Examining 'only_notes.log'
=== TeX engine is 'pdfTeX'
Latexmk: Missing input file: 'only_notes.nav' from line
'No file only_notes.nav.'
Latexmk: Log file says output to 'only_notes.pdf'
Latexmk: All targets (only_notes.pdf) are up-to-date
mv only_notes.pdf ML_CNF_only_notes.pdf 2>/dev/null
--8<---------------cut here---------------end--------------->8---
sivaram
--