Re: [dev-context] scrp-ini.mkiv: Global attributes for \setscript command

2018-07-09 Thread Wolfgang Schuster
Hans Hagen 9. Juli 2018 um 23:12 ok, another attempt ... see typo-dir file It works for my small test file, Idris can check it with a real document. Thank you very much, Wolfgang ___ dev-context mailing list

Re: [dev-context] scrp-ini.mkiv: Global attributes for \setscript command

2018-07-09 Thread Hans Hagen
On 7/9/2018 7:38 PM, Wolfgang Schuster wrote: There is a typo in typo-dir.mkiv (missing "s" in directions) \unexpanded\def\setglobaldirection[#1]% todo: symbolic names   {\clf_setdirection#1\relax -  \pickupdirectionattribute} +  \pickupdirectionsattribute} Another problem is that you can’t

Re: [dev-context] scrp-ini.mkiv: Global attributes for \setscript command

2018-07-09 Thread Wolfgang Schuster
There is a typo in typo-dir.mkiv (missing "s" in directions) \unexpanded\def\setglobaldirection[#1]% todo: symbolic names {\clf_setdirection#1\relax - \pickupdirectionattribute} + \pickupdirectionsattribute} Another problem is that you can’t set a global direction because the command is

Re: [dev-context] scrp-ini.mkiv: Global attributes for \setscript command

2018-07-09 Thread Hans Hagen
On 7/9/2018 4:24 PM, Wolfgang Schuster wrote: Here is the missing example. \definefontfamily [meiryo] [rm] [Meiryo] \setupbodyfont[meiryo] \setlocalscript[nihongo] %\setglobalscript[nihongo] \setuplayout[leftmargin=6cm,backspace=7cm,width=middle] \starttext \startbuffer[udhr] All human

Re: [dev-context] scrp-ini.mkiv: Global attributes for \setscript command

2018-07-09 Thread Wolfgang Schuster
Hans Hagen 9. Juli 2018 um 15:01 how about this (a bit like languages and bodyfonts) \unprotect \newconstant\c_scripts_injection \c_scripts_injection\attributeunsetvalue \newconstant\c_scripts_splitting \c_scripts_splitting\attributeunsetvalue

Re: [dev-context] scrp-ini.mkiv: Global attributes for \setscript command

2018-07-09 Thread Hans Hagen
On 7/9/2018 8:57 AM, Wolfgang Schuster wrote: Hans Hagen 8. Juli 2018 um 23:02 it needs a bit of thinking (even bidi) ... it compares to global and local bodyfonts what if a page break occurs in the middle of japanese local text while the global script is

Re: [dev-context] scrp-ini.mkiv: Global attributes for \setscript command

2018-07-09 Thread Wolfgang Schuster
Hans Hagen 8. Juli 2018 um 23:02 it needs a bit of thinking (even bidi) ... it compares to global and local bodyfonts what if a page break occurs in the middle of japanese local text while the global script is chinese I can understand your concerns. Another

Re: [dev-context] scrp-ini.mkiv: Global attributes for \setscript command

2018-07-08 Thread Hans Hagen
On 7/8/2018 8:28 PM, Wolfgang Schuster wrote: Hi Hans, the \setscript command has the same problem with local attributes as the bidi mechanism. Some of the following attributes in scrp-ini.mkiv have to be global: \definesystemattribute[scriptinjection][public]

[dev-context] scrp-ini.mkiv: Global attributes for \setscript command

2018-07-08 Thread Wolfgang Schuster
Hi Hans, the \setscript command has the same problem with local attributes as the bidi mechanism. Some of the following attributes in scrp-ini.mkiv have to be global: \definesystemattribute[scriptinjection][public] \definesystemattribute[scriptsplitting][public]