Pass the TEXCMDS variable to pdftex when generating a PDF file, so

that optional features such as two-sided output and justification work
for PDF files, not just PostScript.

PR:		docs/32849
Submitted by:	Peter Johnson <freebsd@bilogic.org>
This commit is contained in:
Murray Stokely 2002-01-01 08:41:19 +00:00
parent 79c09bbbdf
commit 1246adb2b2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11549

View file

@ -426,11 +426,11 @@ ${DOC}.dvi: ${DOC}.tex ${LOCAL_IMAGES_EPS}
${DOC}.pdf: ${DOC}.tex-pdf ${IMAGES_PDF}
@${ECHO} "==> PDFTeX pass 1/3"
-${PDFTEX} "&pdfjadetex" '\nonstopmode\input{${DOC}.tex-pdf}'
-${PDFTEX} "&pdfjadetex" '${TEXCMDS} \nonstopmode\input{${DOC}.tex-pdf}'
@${ECHO} "==> PDFTeX pass 2/3"
-${PDFTEX} "&pdfjadetex" '\nonstopmode\input{${DOC}.tex-pdf}'
-${PDFTEX} "&pdfjadetex" '${TEXCMDS} \nonstopmode\input{${DOC}.tex-pdf}'
@${ECHO} "==> PDFTeX pass 3/3"
${PDFTEX} "&pdfjadetex" '\nonstopmode\input{${DOC}.tex-pdf}'
${PDFTEX} "&pdfjadetex" '${TEXCMDS} \nonstopmode\input{${DOC}.tex-pdf}'
${DOC}.ps: ${DOC}.dvi
${DVIPS} ${DVIPSOPTS} -o ${.TARGET} ${.ALLSRC}