summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/page-brk.mkiv
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-08 00:43:40 +0000
committerKarl Berry <karl@freefriends.org>2013-04-08 00:43:40 +0000
commit824f7b0903de8ad7f6ee3d7656005e4c59155e06 (patch)
treeabfc8673ef9916f3ab7074e811207384c301492b /Master/texmf-dist/tex/context/base/page-brk.mkiv
parent689aefb0727676ed3cddf331337b4be226495e72 (diff)
context import for TL13, from www.pragma-ade.com/context/beta/cont-tmf.zip
git-svn-id: svn://tug.org/texlive/trunk@29731 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/page-brk.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/page-brk.mkiv14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/context/base/page-brk.mkiv b/Master/texmf-dist/tex/context/base/page-brk.mkiv
index 72255676097..ac1fffd6b1c 100644
--- a/Master/texmf-dist/tex/context/base/page-brk.mkiv
+++ b/Master/texmf-dist/tex/context/base/page-brk.mkiv
@@ -53,9 +53,9 @@
\def\page_breaks_handle#1%
{\edef\page_breaks_current_options{#1}% handy for tracing
- \processcommacommand[\page_breaks_current_options]\page_breaks_handle_indeed}
+ \processcommacommand[\page_breaks_current_options]\page_breaks_handle_step}
-\def\page_breaks_handle_indeed#1%
+\def\page_breaks_handle_step#1%
{\edef\page_breaks_current_option{#1}% can be used in handler
\ifcsname\??pagebreakmethod\page_breaks_current_option\endcsname
\csname\??pagebreakmethod\page_breaks_current_option\endcsname
@@ -80,7 +80,8 @@
{\setvalue{\??pagebreaks#1}{#2}}
\unexpanded\def\pagebreak
- {\dosingleempty\page_breaks_process}
+ {\par % else no vertical penalties
+ \dosingleempty\page_breaks_process}
\let\page\pagebreak
@@ -269,9 +270,9 @@
\def\page_breaks_columns_handle#1%
{\edef\page_breaks_columns_current_options{#1}%
- \processcommacommand[#1]\page_breaks_columns_handle_indeed}
+ \processcommacommand[#1]\page_breaks_columns_handle_step}
-\def\page_breaks_columns_handle_indeed#1%
+\def\page_breaks_columns_handle_step#1%
{\edef\page_breaks_columns_current_option{#1}%
\ifcsname\??columnbreakmethod\currentoutputroutine:\page_breaks_columns_current_option\endcsname
\csname\??columnbreakmethod\currentoutputroutine:\page_breaks_columns_current_option\endcsname
@@ -296,7 +297,8 @@
{\setvalue{\??columnbreaks#1}{#2}}
\unexpanded\def\columnbreak
- {\dosingleempty\page_breaks_columns_process}
+ {\par % else no vertical penalties
+ \dosingleempty\page_breaks_columns_process}
\let\column\columnbreak