diff options
Diffstat (limited to 'tex')
-rw-r--r-- | tex/context/base/mkii/cont-new.mkii | 2 | ||||
-rw-r--r-- | tex/context/base/mkii/context.mkii | 2 | ||||
-rw-r--r-- | tex/context/base/mkiv/cont-new.mkiv | 2 | ||||
-rw-r--r-- | tex/context/base/mkiv/context.mkiv | 2 | ||||
-rw-r--r-- | tex/context/base/mkiv/context.mkxl | 2 | ||||
-rw-r--r-- | tex/context/base/mkiv/grph-trf.mkiv | 38 | ||||
-rw-r--r-- | tex/context/base/mkiv/meta-imp-symbols.mkxl | 2 | ||||
-rw-r--r-- | tex/context/base/mkiv/mult-ini.mkiv | 1 | ||||
-rw-r--r-- | tex/context/base/mkiv/spac-ali.mkiv | 42 | ||||
-rw-r--r-- | tex/context/base/mkiv/status-files.pdf | bin | 26608 -> 26566 bytes | |||
-rw-r--r-- | tex/context/base/mkiv/status-lua.pdf | bin | 269667 -> 269667 bytes | |||
-rw-r--r-- | tex/context/base/mkiv/tabl-ntb.mkiv | 9 | ||||
-rw-r--r-- | tex/context/base/mkiv/tabl-tab.mkiv | 9 | ||||
-rw-r--r-- | tex/context/base/mkiv/tabl-tbl.mkiv | 29 | ||||
-rw-r--r-- | tex/context/interface/mkiv/i-context.pdf | bin | 894023 -> 893985 bytes | |||
-rw-r--r-- | tex/context/interface/mkiv/i-readme.pdf | bin | 61165 -> 61165 bytes | |||
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-merged.lua | 2 |
17 files changed, 72 insertions, 70 deletions
diff --git a/tex/context/base/mkii/cont-new.mkii b/tex/context/base/mkii/cont-new.mkii index 8b4260470..5fbeafaf0 100644 --- a/tex/context/base/mkii/cont-new.mkii +++ b/tex/context/base/mkii/cont-new.mkii @@ -11,7 +11,7 @@ %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. -\newcontextversion{2019.12.27 16:34} +\newcontextversion{2019.12.30 19:06} %D This file is loaded at runtime, thereby providing an %D excellent place for hacks, patches, extensions and new diff --git a/tex/context/base/mkii/context.mkii b/tex/context/base/mkii/context.mkii index 882e7ccf0..35aefcf48 100644 --- a/tex/context/base/mkii/context.mkii +++ b/tex/context/base/mkii/context.mkii @@ -20,7 +20,7 @@ %D your styles an modules. \edef\contextformat {\jobname} -\edef\contextversion{2019.12.27 16:34} +\edef\contextversion{2019.12.30 19:06} %D For those who want to use this: diff --git a/tex/context/base/mkiv/cont-new.mkiv b/tex/context/base/mkiv/cont-new.mkiv index a315210ca..16c966d45 100644 --- a/tex/context/base/mkiv/cont-new.mkiv +++ b/tex/context/base/mkiv/cont-new.mkiv @@ -13,7 +13,7 @@ % \normalend % uncomment this to get the real base runtime -\newcontextversion{2019.12.27 16:34} +\newcontextversion{2019.12.30 19:06} %D This file is loaded at runtime, thereby providing an excellent place for %D hacks, patches, extensions and new features. diff --git a/tex/context/base/mkiv/context.mkiv b/tex/context/base/mkiv/context.mkiv index 72c920101..6b290ae2b 100644 --- a/tex/context/base/mkiv/context.mkiv +++ b/tex/context/base/mkiv/context.mkiv @@ -45,7 +45,7 @@ %D {YYYY.MM.DD HH:MM} format. \edef\contextformat {\jobname} -\edef\contextversion{2019.12.27 16:34} +\edef\contextversion{2019.12.30 19:06} \edef\contextkind {beta} %D Kind of special: diff --git a/tex/context/base/mkiv/context.mkxl b/tex/context/base/mkiv/context.mkxl index ee9d0b344..c4eb9a610 100644 --- a/tex/context/base/mkiv/context.mkxl +++ b/tex/context/base/mkiv/context.mkxl @@ -29,7 +29,7 @@ %D {YYYY.MM.DD HH:MM} format. \edef\contextformat {\jobname} -\edef\contextversion{2019.12.27 16:34} +\edef\contextversion{2019.12.30 19:06} \edef\contextkind {beta} %D Kind of special: diff --git a/tex/context/base/mkiv/grph-trf.mkiv b/tex/context/base/mkiv/grph-trf.mkiv index 274b2f8ef..18f988470 100644 --- a/tex/context/base/mkiv/grph-trf.mkiv +++ b/tex/context/base/mkiv/grph-trf.mkiv @@ -139,7 +139,7 @@ % \d_grph_scale_dp\dp\nextbox \ifx\p_depth\v!no \ifzeropt\d_grph_scale_dp \else - \setbox\nextbox\hpack{\raise\d_grph_scale_dp\box\nextbox}% new + \setbox\nextbox\naturalhpack{\raise\d_grph_scale_dp\box\nextbox}% new \d_grph_scale_dp\dp\nextbox \fi \fi \d_grph_scale_wd\wd\nextbox @@ -168,7 +168,7 @@ % {\d_grph_scale_wd\finalscaleboxxscale\d_grph_scale_wd % \d_grph_scale_ht\finalscaleboxyscale\d_grph_scale_ht % \d_grph_scale_dp\finalscaleboxyscale\d_grph_scale_dp -% \setbox\nextbox\hpack +% \setbox\nextbox\naturalhpack % {\dostartscaling \finalscaleboxxscale \finalscaleboxyscale % \smashedbox\nextbox % \dostopscaling}% @@ -195,7 +195,7 @@ \fi} \def\grph_scale_apply_yes - {\setbox\nextbox\hpack + {\setbox\nextbox\naturalhpack {\dostartscaling \finalscaleboxxscale \finalscaleboxyscale \smashedbox\nextbox \dostopscaling}% @@ -567,13 +567,13 @@ {\ifx\p_equalwidth\empty \else \scratchdimen\p_equalwidth\relax \ifdim\d_grph_scale_wd<\scratchdimen - \setbox\nextbox\hpack to \scratchdimen{\hss\box\nextbox\hss}% + \setbox\nextbox\naturalhpack to \scratchdimen{\hss\box\nextbox\hss}% \fi \fi \ifx\p_equalheight\empty \else \scratchdimen\p_equalheight\relax \ifdim\d_grph_scale_ht<\scratchdimen - \setbox\nextbox\vpack to \scratchdimen{\vss\box\nextbox\vss}% + \setbox\nextbox\naturalvpack to \scratchdimen{\vss\box\nextbox\vss}% \fi \fi} @@ -687,7 +687,7 @@ \scratchheight\clippingparameter\c!sy\scratchheight \advance\scratchyoffset \ht\nextbox \fi - \setbox\nextbox\hpack + \setbox\nextbox\naturalhpack {\advance\scratchxoffset -\clippingparameter\c!leftoffset \relax \advance\scratchyoffset -\clippingparameter\c!bottomoffset\relax \hskip-\scratchxoffset @@ -696,13 +696,13 @@ \wd\nextbox\zeropoint \ht\nextbox\zeropoint \dp\nextbox\zeropoint - \setbox\nextbox\hpack + \setbox\nextbox\naturalhpack {\advance\scratchwidth \dimexpr\clippingparameter\c!leftoffset +\clippingparameter\c!rightoffset\relax \advance\scratchheight\dimexpr\clippingparameter\c!bottomoffset+\clippingparameter\c!topoffset \relax \dostartclipping{\clippingparameter\c!mp}\scratchwidth\scratchheight \box\nextbox \dostopclipping}% - \setbox\nextbox\hpack + \setbox\nextbox\naturalhpack {\hskip-\clippingparameter\c!leftoffset \lower \clippingparameter\c!bottomoffset \box\nextbox}% @@ -760,7 +760,11 @@ {\scratchdimen\wd\nextbox % better use an hbox (if no \forgetall, leftskip etc may creep in) %\setbox\nextbox\vbox{\forgetall\dostartmirroring\hskip-\wd\nextbox\box\nextbox\dostopmirroring}% - \setbox\nextbox\hpack{\dostartmirroring\hskip-\wd\nextbox\box\nextbox\dostopmirroring}% + \setbox\nextbox\naturalhpack + {\dostartmirroring + \hskip-\wd\nextbox + \box\nextbox + \dostopmirroring}% \wd\nextbox\scratchdimen \box\nextbox \egroup} @@ -908,7 +912,7 @@ \egroup} \def\grph_rotate_finish_indeed - {\hpack\bgroup + {\naturalhpack\bgroup \ifx\p_rotation_rotation\empty \grph_rotate_finish_nop \else @@ -938,19 +942,19 @@ \def\grph_rotate_finish_yes {\begincsname\??rotatepreset\p_rotation_rotation\endcsname - \setbox\nextbox\vpack{\box\nextbox}% not really needed + \setbox\nextbox\naturalvpack{\box\nextbox}% not really needed \dontcomplain \ifconditional\c_grph_rotate_center \d_grph_rotate_saved_width \wd\nextbox \d_grph_rotate_saved_height\ht\nextbox \d_grph_rotate_saved_depth \dp\nextbox - \setbox\nextbox\vpack{\vskip.5\ht\nextbox\hskip-.5\wd\nextbox\box\nextbox}% + \setbox\nextbox\naturalvpack{\vskip.5\ht\nextbox\hskip-.5\wd\nextbox\box\nextbox}% \smashbox\nextbox \fi \d_grph_rotate_width \wd\nextbox \d_grph_rotate_height\ht\nextbox \d_grph_rotate_depth \dp\nextbox - \setbox\nextbox\vpack{\hpack{\raise\dp\nextbox\box\nextbox}}% + \setbox\nextbox\naturalvpack{\naturalhpack{\raise\dp\nextbox\box\nextbox}}% \d_grph_rotate_used_height \ht\nextbox % much of the next happens in lua (all the sin and cos) so we can do that in % one go if needed @@ -981,7 +985,7 @@ \fi\fi \fi \ifconditional\c_grph_rotate_center - \setbox\nextbox\vpack{\vskip-.5\d_grph_rotate_saved_height\hskip.5\d_grph_rotate_saved_height\box\nextbox}% + \setbox\nextbox\naturalvpack{\vskip-.5\d_grph_rotate_saved_height\hskip.5\d_grph_rotate_saved_height\box\nextbox}% \wd\nextbox\d_grph_rotate_saved_width \ht\nextbox\d_grph_rotate_saved_height \dp\nextbox\d_grph_rotate_saved_depth @@ -1047,9 +1051,9 @@ \fi} \def\grph_rotate_apply - {\setbox\nextbox\vpack to \d_grph_rotate_y_size + {\setbox\nextbox\naturalvpack to \d_grph_rotate_y_size {\vfill - \hpack to \d_grph_rotate_x_size + \naturalhpack to \d_grph_rotate_x_size {\dostartrotation\p_rotation_rotation \wd\nextbox\zeropoint \ht\nextbox\zeropoint @@ -1057,7 +1061,7 @@ \dostoprotation \hfill}% \kern\d_grph_rotate_y_position}% - \setbox\nextbox\hpack + \setbox\nextbox\naturalhpack {\kern\dimexpr\d_grph_rotate_x_position+\d_grph_rotate_x_offset\relax \lower\d_grph_rotate_y_offset\box\nextbox}} diff --git a/tex/context/base/mkiv/meta-imp-symbols.mkxl b/tex/context/base/mkiv/meta-imp-symbols.mkxl index 7d4cb4005..f88fd6f87 100644 --- a/tex/context/base/mkiv/meta-imp-symbols.mkxl +++ b/tex/context/base/mkiv/meta-imp-symbols.mkxl @@ -79,7 +79,7 @@ \starttext -\definefontfeature[metasymbols][mps=symbols] +\definefontfeature[metasymbols][metapost=symbols] \definefont[MyFont] [Serif*default,metasymbols sa 1] diff --git a/tex/context/base/mkiv/mult-ini.mkiv b/tex/context/base/mkiv/mult-ini.mkiv index 76a5bc09b..641c8a4f5 100644 --- a/tex/context/base/mkiv/mult-ini.mkiv +++ b/tex/context/base/mkiv/mult-ini.mkiv @@ -124,6 +124,7 @@ \def\s!top {top} \def\s!both {both} +\def\s!reverse {reverse} \def\s!orientation{orientation} \def\s!xoffset {xoffset} \def\s!xmove {xmove} diff --git a/tex/context/base/mkiv/spac-ali.mkiv b/tex/context/base/mkiv/spac-ali.mkiv index f80b1a192..8451e2494 100644 --- a/tex/context/base/mkiv/spac-ali.mkiv +++ b/tex/context/base/mkiv/spac-ali.mkiv @@ -1153,26 +1153,6 @@ \letvalue{\??alignsimplereverse\v!flushright}\spac_align_simple_left \letvalue{\??alignsimplereverse\v!middle }\spac_align_simple_middle -% \unexpanded\def\simplealignedbox#1#2% -% {\hbox \ifdim#1>\zeropoint to #1 -% \csname\??alignsimple\ifcsname\??alignsimple#2\endcsname#2\else\v!right\fi\expandafter\endcsname -% \fi} - -% \unexpanded\def\simplealignedboxplus#1#2#3% -% {\hbox #3 \ifdim#1>\zeropoint to #1 -% \csname\??alignsimple\ifcsname\??alignsimple#2\endcsname#2\else\v!right\fi\expandafter\endcsname -% \fi} - -% \unexpanded\def\simplealignedbox#1#2% -% {\hbox \ifdim#1>\zeropoint to #1 -% \csname\??alignsimple\ifcsname\??alignsimple#2\endcsname#2\else\v!right\fi\expandafter\endcsname -% \fi} -% -% \unexpanded\def\simplealignedboxplus#1#2#3% -% {\hbox #3 \ifdim#1>\zeropoint to #1 -% \csname\??alignsimple\ifcsname\??alignsimple#2\endcsname#2\else\v!right\fi\expandafter\endcsname -% \fi} - \unexpanded\def\simplealignedbox#1#2% {\hbox \ifdim#1>\zeropoint to #1 \ifcsname\??alignsimple#2\endcsname @@ -1202,16 +1182,6 @@ \newconditional\alignsimplelefttoright \settrue\alignsimplelefttoright -% \unexpanded\def\simplereversealignedbox#1#2% -% {\hbox \ifdim#1>\zeropoint to #1 -% \csname\??alignsimplereverse\ifcsname\??alignsimplereverse#2\endcsname#2\else\v!left\fi\expandafter\endcsname -% \fi} -% -% \unexpanded\def\simplereversealignedboxplus#1#2#3% -% {\hbox #3 \ifdim#1>\zeropoint to #1 -% \csname\??alignsimplereverse\ifcsname\??alignsimplereverse#2\endcsname#2\else\v!left\fi\expandafter\endcsname -% \fi} - \unexpanded\def\simplereversealignedbox#1#2% {\hbox \ifdim#1>\zeropoint to #1 \ifcsname\??alignsimplereverse#2\endcsname @@ -1253,5 +1223,17 @@ \def\spac_align_definehbox[#1][#2]% {\setvalue{hbox#1}##1{\hbox to #2{\begstrut##1\endstrut\hss}}} +%D Some direction related helpers: + +\installcorenamespace {reverse} + +\setvalue{\??reverse\v!normal }{\ifconditional\inlinelefttoright\else\s!reverse\fi} +\setvalue{\??reverse\v!reverse}{\ifconditional\inlinelefttoright \s!reverse\fi} + +\ifcase\contextlmtxmode + \let\usedirectionparameterreverse\gobbleoneargument +\else + \def\usedirectionparameterreverse#1{\begincsname\??reverse#1\c!direction\endcsname} +\fi \protect \endinput diff --git a/tex/context/base/mkiv/status-files.pdf b/tex/context/base/mkiv/status-files.pdf Binary files differindex a3b5ea975..7353957fb 100644 --- a/tex/context/base/mkiv/status-files.pdf +++ b/tex/context/base/mkiv/status-files.pdf diff --git a/tex/context/base/mkiv/status-lua.pdf b/tex/context/base/mkiv/status-lua.pdf Binary files differindex 368a539cd..49f5b9660 100644 --- a/tex/context/base/mkiv/status-lua.pdf +++ b/tex/context/base/mkiv/status-lua.pdf diff --git a/tex/context/base/mkiv/tabl-ntb.mkiv b/tex/context/base/mkiv/tabl-ntb.mkiv index 8162f3964..8ff02330a 100644 --- a/tex/context/base/mkiv/tabl-ntb.mkiv +++ b/tex/context/base/mkiv/tabl-ntb.mkiv @@ -1303,8 +1303,13 @@ \ifconditional\c_strc_tags_enabled \tabl_ntb_start_tagged \fi - \hbox\bgroup - \kern\dimexpr\d_tabl_ntb_leftmargindistance\relax} + % we are in sync but just to be sure: + \synchronizedisplaydirection + \synchronizeinlinedirection + \hbox + \usedirectionparameterreverse\naturaltablelocalparameter + \bgroup + \kern\dimexpr\d_tabl_ntb_leftmargindistance\relax} \unexpanded\def\tabl_ntb_row_align_stop {\kern\dimexpr\d_tabl_ntb_rightmargindistance-\d_tabl_ntb_columndistance\relax diff --git a/tex/context/base/mkiv/tabl-tab.mkiv b/tex/context/base/mkiv/tabl-tab.mkiv index b137ac16c..3799964c9 100644 --- a/tex/context/base/mkiv/tabl-tab.mkiv +++ b/tex/context/base/mkiv/tabl-tab.mkiv @@ -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 diff --git a/tex/context/base/mkiv/tabl-tbl.mkiv b/tex/context/base/mkiv/tabl-tbl.mkiv index b6f8a684c..6e87d1863 100644 --- a/tex/context/base/mkiv/tabl-tbl.mkiv +++ b/tex/context/base/mkiv/tabl-tbl.mkiv @@ -2300,7 +2300,6 @@ \t_tabl_tabulate_preamble {\aligntab \tabl_tabulate_flush_indent -% \global\advance\c_tabl_tabulate_noflines\plusone \strut \alignmark\alignmark \tabskip\d_tabl_tabulate_margin @@ -2312,7 +2311,6 @@ \t_tabl_tabulate_preamble {\aligntab \tabl_tabulate_flush_indent -% \global\advance\c_tabl_tabulate_noflines\plusone \strut \alignmark\alignmark \aligntab @@ -2326,7 +2324,6 @@ \c_tabl_tabulate_has_rule_spec_last \zerocount \clf_presettabulate{\detokenizedtabulationparameter\c!format}% % - % \edef\totaltabulatecolumns{\the\numexpr3*\c_tabl_tabulate_columns+\plusfour}% \d_tabl_tabulate_width\zeropoint \tabl_tabulate_initialize_boxes\c_tabl_tabulate_columns \toksapp\t_tabl_tabulate_preamble{% @@ -2355,12 +2352,12 @@ {\notesenabledfalse \d_tabl_tabulate_indent\zeropoint \settrialtypesetting % very important -\anch_backgrounds_text_level_start + \anch_backgrounds_text_level_start \expandafter\halign\expandafter{\the\t_tabl_tabulate_preamble\crcr\tabl_tabulate_insert_content\crcr}}% -\anch_backgrounds_text_level_stop -\ifcase\c_anch_backgrounds_text_state\else - \global\settrue\tablehaspositions -\fi + \anch_backgrounds_text_level_stop + \ifcase\c_anch_backgrounds_text_state\else + \global\settrue\tablehaspositions + \fi \ifnum\c_tabl_tabulate_nofauto>\zerocount % so, even if the natural size is larger, in the final run, we force the calculated width \d_tabl_tabulate_width\dimexpr\hsize-\wd\scratchbox-\d_tabl_tabulate_width_p-\d_tabl_tabulate_width_w\relax @@ -2400,12 +2397,20 @@ \dostarttaggedchained\t!tabulate\empty\??tabulation \dostarttagged\t!tabulaterow\empty \setfalse\inhibitmargindata % new per 2012.06.13 ... really needed - % \everycr\expandafter{\the\everycr\noalign{\the\t_tabl_tabulate_every_real_row}\dostoptagged\dostarttagged\t!tabulaterow\empty}% - \toksapp\everycr{\noalign{\the\t_tabl_tabulate_every_real_row}\dostoptagged\dostarttagged\t!tabulaterow\empty}% - \expandafter\halign\expandafter{\the\t_tabl_tabulate_preamble\crcr\tabl_tabulate_insert_content\crcr}% + \toksapp\everycr{% + \noalign{\the\t_tabl_tabulate_every_real_row}% + \dostoptagged + \dostarttagged\t!tabulaterow\empty + }% + % we are in sync but just to be sure: + \synchronizedisplaydirection + \synchronizeinlinedirection + \halign + \usedirectionparameterreverse\tabulateparameter + \expandafter{\the\t_tabl_tabulate_preamble\crcr\tabl_tabulate_insert_content\crcr}% \dostoptagged \dostoptagged - \ifhmode\par\prevdepth\strutdp\fi % nog eens beter, temporary hack + \ifhmode\par\prevdepth\strutdp\fi % temporary hack \ifx\p_distance\v!grid \vskip-\strutdp % experimental tm-prikkels \fi diff --git a/tex/context/interface/mkiv/i-context.pdf b/tex/context/interface/mkiv/i-context.pdf Binary files differindex 3ae23f53b..d67072314 100644 --- a/tex/context/interface/mkiv/i-context.pdf +++ b/tex/context/interface/mkiv/i-context.pdf diff --git a/tex/context/interface/mkiv/i-readme.pdf b/tex/context/interface/mkiv/i-readme.pdf Binary files differindex 41f2d5ab8..fae19b600 100644 --- a/tex/context/interface/mkiv/i-readme.pdf +++ b/tex/context/interface/mkiv/i-readme.pdf diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index 5ed7e29d4..fc4f2205d 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : c:/data/develop/context/sources/luatex-fonts-merged.lua -- parent file : c:/data/develop/context/sources/luatex-fonts.lua --- merge date : 12/27/19 16:34:49 +-- merge date : 12/30/19 19:06:56 do -- begin closure to overcome local limits and interference |