From c3399ce5c6a0c348a84fe26673f6f132da3477ea Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 14 May 2011 16:14:00 +0200 Subject: beta 2011.05.14 16:14 --- tex/context/base/java-imp-fld.mkiv | 21 +++++++++++---------- tex/context/base/status-files.pdf | Bin 23572 -> 23595 bytes tex/context/base/status-lua.pdf | Bin 154368 -> 154366 bytes tex/context/fonts/px-math.lfg | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) (limited to 'tex') diff --git a/tex/context/base/java-imp-fld.mkiv b/tex/context/base/java-imp-fld.mkiv index 2186368bb..9eb7d7ed5 100644 --- a/tex/context/base/java-imp-fld.mkiv +++ b/tex/context/base/java-imp-fld.mkiv @@ -27,7 +27,8 @@ %D different escaping of \type {\\}. %D %D Watch out: cf. the latest pdf specification we've changed -%D On into Yes. +%D On into Yes. Also, we've changed the test for the on value +%D into !Off as we dón't know what value it gets in the reader. \startluasetups javascript:pdfencoding local verbatim = context.verbatim @@ -222,7 +223,7 @@ function Field_Off(Name) { function Toggle_Value(Name) { var v = this.getField(Name) ; if (v) { - if (v.value == "Yes") { + if (v.value != "Off") { v.value = "Off" ; } else { v.value = "Yes" ; @@ -310,15 +311,15 @@ function Reset_Field(FieldSet, FieldName) { function Walk_Field(FieldSet) { var i = 1 ; while (true) { - v = this.getField(FieldSet+":"+i) ; + v = this.getField(FieldSet + ":" + i) ; if (v) { - if (v.value=="Yes") { + if (v.value != "Off") { v.value = "Off" ; var ii = i ; ii++ ; - v = this.getField(FieldSet+":"+ii) ; - if (!v) { - v = this.getField(FieldSet+":"+1) ; + v = this.getField(FieldSet + ":" + ii) ; + if (! v) { + v = this.getField(FieldSet + ":" + 1) ; } if (v) { v.value = "Yes" ; @@ -354,7 +355,7 @@ function Do_Next_Auto_Walk_Field(FieldSet) { if (fieldset) { var v = this.getField(FieldSet + ":" + fieldset.number) ; if (v) { - if (v.value == "Yes") { + if (v.value != "Off") { v.value = "Off" ; } } @@ -447,7 +448,7 @@ function Previous_Walk_Field(FieldSet) { if (fieldset.number>0) { var v = this.getField(FieldSet + ":" + fieldset.number) ; if (v) { - if (v.value == "Yes") { + if (v.value != "Off") { v.value = "Off" ; } } @@ -471,7 +472,7 @@ function Next_Walk_Field(FieldSet) { if (v) { var v = this.getField(FieldSet + ":" + fieldset.number) ; if (v) { - if (v.value == "Yes") { + if (v.value != "Off") { v.value = "Off" ; } } diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf index c7a303319..27d2d5975 100644 Binary files a/tex/context/base/status-files.pdf and b/tex/context/base/status-files.pdf differ diff --git a/tex/context/base/status-lua.pdf b/tex/context/base/status-lua.pdf index c167a9c52..a45b4ff0a 100644 Binary files a/tex/context/base/status-lua.pdf and b/tex/context/base/status-lua.pdf differ diff --git a/tex/context/fonts/px-math.lfg b/tex/context/fonts/px-math.lfg index 6beb83bfd..1d18bad36 100644 --- a/tex/context/fonts/px-math.lfg +++ b/tex/context/fonts/px-math.lfg @@ -18,7 +18,7 @@ return { { name = "pxex.tfm", vector = "tex-ex", extension = true } , { name = "pxsya.tfm", vector = "tex-ma" }, { name = "pxsyb.tfm", vector = "tex-mb" }, - { name = "texgyrepagella-bold.otf", vector = "tex-bf", skewchar=0x7F } , + { name = "texgyrepagella-bold.otf", vector = "tex-bf" } , { name = "texgyrepagella-bolditalic.otf", vector = "tex-bi" } , { name = "lmsans10-regular.otf", vector = "tex-ss", optional=true }, { name = "lmmono10-regular.otf", vector = "tex-tt", optional=true }, -- cgit v1.2.3