diff options
author | Marius <mariausol@gmail.com> | 2010-12-02 20:00:14 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-12-02 20:00:14 +0200 |
commit | a7f5f74dddd5ac70198b0504c82ed105fff71ef3 (patch) | |
tree | f8a1ce7506819e984212439663b1d3158d61e812 /tex/context/base/anch-pgr.mkiv | |
parent | 47b26772f6e0d8fa43414325cb68c34c45645b9f (diff) | |
download | context-a7f5f74dddd5ac70198b0504c82ed105fff71ef3.tar.gz |
beta 2010.12.02 18:37
Diffstat (limited to 'tex/context/base/anch-pgr.mkiv')
-rw-r--r-- | tex/context/base/anch-pgr.mkiv | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/tex/context/base/anch-pgr.mkiv b/tex/context/base/anch-pgr.mkiv index 35f2191bf..957fd25af 100644 --- a/tex/context/base/anch-pgr.mkiv +++ b/tex/context/base/anch-pgr.mkiv @@ -631,6 +631,7 @@ \appendtoks % a position can be mid paragraph in which case we're behind + % this will change when we move positions to lua \initializeparbackgrounds \to \everystarttext @@ -846,42 +847,6 @@ \def\calculatenexttextpardimensions {\docalculatetextpardimensions\nextbtbanchor\nextetbanchor\relax} -% \def\docalculatetextpardimensions#1#2#3% #1=\btbanchor #2=\etbanchor -% {\scratchcounter\numexpr\MPp#2-\MPp#1\relax -% \edef\textparpages{\the\scratchcounter}% -% \ifcase\scratchcounter -% % one page -% \scratchdimen\dimexpr\MPy#1-\MPy#2\relax -% \else -% % two or more pages -% \ifnum\scratchcounter>2 -% \ifnum\scratchcounter<5 -% % more pages -% \scratchdimen\textheight -% \advance\scratchcounter \minusone -% \multiply\scratchdimen \scratchcounter -% \else -% % keep'm small -% \scratchdimen5\textheight -% \fi -% \else -% \scratchdimen\dimexpr\MPy#1-\MPy#2-\MPy\textanchor+\MPy\textanchor+\MPh\textanchor\relax -% \fi -% \fi -% \edef\textparheight{\the\scratchdimen}% -% \ifcase\scratchcounter -% % one page -% \scratchdimen\dimexpr\MPx#2-\MPx#1\relax -% \else -% % two or more pages / maybe also hang -% \ifx#3\relax -% \scratchdimen\makeupwidth % \textwidth -% \else -% \scratchdimen\dimexpr\MPw\MPparanchor-\MPl\MPparanchor-\MPr\MPparanchor\relax -% \fi -% \fi -% \edef\textparwidth{\the\scratchdimen}} - \def\docalculatetextpardimensions#1#2#3% #1=\btbanchor #2=\etbanchor (adapted 8/6/2009) {\scratchcounter\numexpr\MPp#2-\MPp#1\relax \edef\textparpages @@ -1021,8 +986,6 @@ \ifx\basegrid\undefined \else \letvalue\v!grid=\basegrid \fi -% lelijk, aanpassen, opties - \setupMPvariables [mpos:connect] [linecolor=red, |