summaryrefslogtreecommitdiff
path: root/tex/context/base/page-lay.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-01-12 11:03:00 +0100
committerHans Hagen <pragma@wxs.nl>2012-01-12 11:03:00 +0100
commit5b13bdfca0e081ef26d49ba405b7fb62d7724c24 (patch)
treecb06a152ec6e646742d3720f27c77eb9eab790e6 /tex/context/base/page-lay.mkiv
parentb637380706513940464b0fa3b2b309b79140ac12 (diff)
downloadcontext-5b13bdfca0e081ef26d49ba405b7fb62d7724c24.tar.gz
beta 2012.01.12 11:03
Diffstat (limited to 'tex/context/base/page-lay.mkiv')
-rw-r--r--tex/context/base/page-lay.mkiv14
1 files changed, 9 insertions, 5 deletions
diff --git a/tex/context/base/page-lay.mkiv b/tex/context/base/page-lay.mkiv
index 525017954..d00de2c31 100644
--- a/tex/context/base/page-lay.mkiv
+++ b/tex/context/base/page-lay.mkiv
@@ -814,20 +814,24 @@
\newconditional\c_page_layouts_location_is_set
-\def\page_layouts_location_reset
+\def\page_layouts_location_reset % we start in the left top and mirror right pages
{\setfalse\c_page_layouts_location_is_set
\let\v_page_target_left_fill \relax
- \let\v_page_target_right_fill \relax
+ \let\v_page_target_right_fill \hss % ? \relax
\let\v_page_target_top_fill \relax
- \let\v_page_target_bottom_fill\relax}
+ \let\v_page_target_bottom_fill\vss} % \relax}
\setvalue{\??layoutlocation\v!right }{\settrue\c_page_layouts_location_is_set
- \let\v_page_target_left_fill \hss}
+ \let\v_page_target_left_fill \hss
+ \let\v_page_target_right_fill \relax}
\setvalue{\??layoutlocation\v!left }{\settrue\c_page_layouts_location_is_set
+ \let\v_page_target_left_fill \relax
\let\v_page_target_right_fill \hss}
\setvalue{\??layoutlocation\v!bottom }{\settrue\c_page_layouts_location_is_set
- \let\v_page_target_top_fill \vss}
+ \let\v_page_target_top_fill \vss
+ \let\v_page_target_bottom_fill\relax}
\setvalue{\??layoutlocation\v!top }{\settrue\c_page_layouts_location_is_set
+ \let\v_page_target_top_fill \relax
\let\v_page_target_bottom_fill\vss}
\setvalue{\??layoutlocation\v!middle }{\settrue\c_page_layouts_location_is_set
\let\v_page_target_left_fill \hss