|
Lines 90-95
Link Here
|
| 90 |
# a book. This option may be an order of magnitude more |
90 |
# a book. This option may be an order of magnitude more |
| 91 |
# CPU intensive than the default build. |
91 |
# CPU intensive than the default build. |
| 92 |
# |
92 |
# |
|
|
93 |
# TEX_POSTPROCESS If defined, then the command contained in this variable |
| 94 |
# is evoked as a filter on the tex file produced |
| 95 |
# giving the caller a chance to post-process the |
| 96 |
# tex file before further use of it. |
| 93 |
|
97 |
|
| 94 |
# |
98 |
# |
| 95 |
# Documents should use the += format to access these. |
99 |
# Documents should use the += format to access these. |
|
Lines 408-413
Link Here
|
| 408 |
${DOC}.tex: ${SRCS} ${LOCAL_IMAGES_EPS} ${INDEX_SGML} ${PRINT_INDEX} |
412 |
${DOC}.tex: ${SRCS} ${LOCAL_IMAGES_EPS} ${INDEX_SGML} ${PRINT_INDEX} |
| 409 |
${JADE} -V tex-backend ${PRINTOPTS} \ |
413 |
${JADE} -V tex-backend ${PRINTOPTS} \ |
| 410 |
${JADEOPTS} -t tex -o ${.TARGET} ${MASTERDOC} |
414 |
${JADEOPTS} -t tex -o ${.TARGET} ${MASTERDOC} |
|
|
415 |
.if defined(TEX_POSTPROCESS) |
| 416 |
${TEX_POSTPROCESS} < ${DOC}.tex > ${DOC}.tmp |
| 417 |
mv ${DOC}.tmp ${DOC}.tex |
| 418 |
.endif |
| 411 |
|
419 |
|
| 412 |
${DOC}.tex-ps: ${DOC}.tex |
420 |
${DOC}.tex-ps: ${DOC}.tex |
| 413 |
${LN} -f ${.ALLSRC} ${.TARGET} |
421 |
${LN} -f ${.ALLSRC} ${.TARGET} |
|
Lines 416-421
Link Here
|
| 416 |
${CP} -p ${PDFTEX_DEF} ${.TARGET} |
424 |
${CP} -p ${PDFTEX_DEF} ${.TARGET} |
| 417 |
${JADE} -V tex-backend ${PRINTOPTS} -ioutput.print.pdf \ |
425 |
${JADE} -V tex-backend ${PRINTOPTS} -ioutput.print.pdf \ |
| 418 |
${JADEOPTS} -t tex -o /dev/stdout ${MASTERDOC} >> ${.TARGET} |
426 |
${JADEOPTS} -t tex -o /dev/stdout ${MASTERDOC} >> ${.TARGET} |
|
|
427 |
.if defined(TEX_POSTPROCESS) |
| 428 |
${TEX_POSTPROCESS} < ${DOC}.tex-pdf > ${DOC}.tmp |
| 429 |
mv ${DOC}.tmp ${DOC}.tex-pdf |
| 430 |
.endif |
| 419 |
|
431 |
|
| 420 |
${DOC}.dvi: ${DOC}.tex ${LOCAL_IMAGES_EPS} |
432 |
${DOC}.dvi: ${DOC}.tex ${LOCAL_IMAGES_EPS} |
| 421 |
@${ECHO} "==> TeX pass 1/3" |
433 |
@${ECHO} "==> TeX pass 1/3" |