summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/tabl-tab.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/tabl-tab.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/tabl-tab.mkiv11
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/tabl-tab.mkiv b/Master/texmf-dist/tex/context/base/mkiv/tabl-tab.mkiv
index 631f29bc084..3799964c9f8 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/tabl-tab.mkiv
+++ b/Master/texmf-dist/tex/context/base/mkiv/tabl-tab.mkiv
@@ -666,7 +666,7 @@
\ifx\tempstring\empty
\!taDimenC\zeropoint
\else
- \setbox\scratchbox=\hbox{\mathsurround\zeropoint #1.#3#1}%
+ \setbox\scratchbox\hbox{\mathsurround\zeropoint #1.#3#1}%
\!taDimenC\wd\scratchbox
\fi
\setbox\scratchbox\hbox{\mathsurround\zeropoint #1#2#1}%
@@ -864,8 +864,13 @@
\lineskip \zeropoint
\tabskip \zeropoint
\edef\p_tabl_table_textwidth{\directtablesparameter\c!textwidth}%
- \halign \ifx\p_tabl_table_textwidth\empty \else to \ifx\p_tabl_table_textwidth\v!max \hsize \else \p_tabl_table_textwidth \fi\fi
-% \the\!taTableSpread
+ % we are not in sync so:
+ \synchronizedisplaydirection
+ \synchronizeinlinedirection
+ \halign
+ \usedirectionparameterreverse\directtablesparameter
+ \ifx\p_tabl_table_textwidth\empty \else to \ifx\p_tabl_table_textwidth\v!max \hsize \else \p_tabl_table_textwidth \fi\fi
+ %\the\!taTableSpread
\bgroup
\span
\the\!taPreamble