10657 |
\# The main macros that handle footnote processing. |
\# The main macros that handle footnote processing. |
10658 |
\# ----------------------------------------------- |
\# ----------------------------------------------- |
10659 |
\# |
\# |
10660 |
\# Sometimes, #VARIABLE_FOOTER_POS sets FOOTER at a location so |
\# Sometimes, #VARIABLE_FOOTER_POS sets FOOTER at a location that |
10661 |
\# close to the next legal baseline that, visually, one has the |
\# gives the impression another line of running text could fit on |
10662 |
\# impression another line of running text would fit on the page. |
\# the page. VFP_CHECK is always set to the line just above the |
10663 |
\# VFP_CHECK is always set to the line just above the one where |
\# one where FOOTER will be sprung, and checks for this condition. |
10664 |
\# FOOTER will be sprung, and checks for this condition. If it |
\# If it exists, FOOTER is set one line lower on the page, thus |
10665 |
\# exists, FOOTER is set one line lower on the page, thus squeezing |
\# squeezing in an extra line of running text. This is a judgment |
10666 |
\# in an extra line of running text. This is a judgment call on |
\# call on my part, but seems to work well. If there are problems |
10667 |
\# my part, but seems to work well. If there are problems (e.g. |
\# (e.g. footnotes really do look jammed), the user should probably |
10668 |
\# footnotes really do look jammed), the user should probably adjust |
\# adjust FOOTNOTE_AUTOLEAD and/or FOOTNOTE_RULE_ADJ. |
|
\# FOOTNOTE_AUTOLEAD and/or FOOTNOTE_RULE_ADJ. |
|
10669 |
\# |
\# |
10670 |
|
\# The macro has to be run in its own environment, otherwise the |
10671 |
|
\# first word of the last line before the footnotes gets chopped. |
10672 |
|
\# |
10673 |
.MAC VFP_CHECK END |
.MAC VFP_CHECK END |
10674 |
|
. ev VFP_CHECK |
10675 |
\# The trap also has to be removed each time VFP_CHECK is run |
\# The trap also has to be removed each time VFP_CHECK is run |
10676 |
. if \\n[#PRINT_STYLE]=2 \{\ |
. if \\n[#PRINT_STYLE]=2 \{\ |
10677 |
. ch VFP_CHECK |
. ch VFP_CHECK |
10698 |
. \} |
. \} |
10699 |
. \} |
. \} |
10700 |
. \} |
. \} |
10701 |
|
. ev |
10702 |
.END |
.END |
10703 |
\# |
\# |
10704 |
\# FN_OVERFLOW_TRAP starts off "underneath" FOOTER, but is revealed as |
\# FN_OVERFLOW_TRAP starts off "underneath" FOOTER, but is revealed as |