Skip to content

Commit

Permalink
remove spaces in math
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Feb 25, 2024
1 parent 2ace054 commit 4a68dc2
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 30 deletions.
13 changes: 2 additions & 11 deletions grammar.peggy
Original file line number Diff line number Diff line change
Expand Up @@ -452,21 +452,12 @@ StringValue
//---------------------- Value Kinds

Text
= v:_ {
= v:$[^\^_${}\\]+ {
return basicTextConversions({
kind: 'Text',
loc: location(),
source: text(),
value: math.on ? '' : v,
mode: math.on ? 'math' : 'text',
})
}
/ v:$[^\^_${}\\]+ {
return basicTextConversions({
kind: 'Text',
loc: location(),
source: text(),
value: v,
value: math.on ? v.replace(/[ \r\n\t]/g, '') : v,
mode: math.on ? 'math' : 'text',
})
}
Expand Down
2 changes: 1 addition & 1 deletion snap.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
TAP_SNAPSHOT=1 npm_config_test=541 npm_config_all=true npm test
TAP_SNAPSHOT=0 npm_config_test=apa-test npm_config_all=true npm test
Original file line number Diff line number Diff line change
Expand Up @@ -28856,7 +28856,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28856,7 +28856,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28856,7 +28856,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28856,7 +28856,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28856,7 +28856,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence <span class=\\"nocase\\">◇p ≡¬□¬p</span> doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some <span class=\\"nocase\\">p</span> in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence <span class=\\"nocase\\">◇p≡¬□¬p</span> doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some <span class=\\"nocase\\">p</span> in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28856,7 +28856,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence <span class=\\"nocase\\">◇p ≡¬□¬p</span> doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some <span class=\\"nocase\\">p</span> in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence <span class=\\"nocase\\">◇p≡¬□¬p</span> doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some <span class=\\"nocase\\">p</span> in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29322,7 +29322,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29322,7 +29322,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29324,7 +29324,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29324,7 +29324,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29322,7 +29322,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence <span class=\\"nocase\\">◇p ≡¬□¬p</span> doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some <span class=\\"nocase\\">p</span> in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence <span class=\\"nocase\\">◇p≡¬□¬p</span> doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some <span class=\\"nocase\\">p</span> in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29322,7 +29322,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence <span class=\\"nocase\\">◇p ≡¬□¬p</span> doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some <span class=\\"nocase\\">p</span> in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence <span class=\\"nocase\\">◇p≡¬□¬p</span> doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some <span class=\\"nocase\\">p</span> in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29348,7 +29348,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29348,7 +29348,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29352,7 +29352,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29352,7 +29352,7 @@ Object {
},
"fields": Object {
"annote": Array [
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p ≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
"The authors review Chapman's Modal Truth Criterion (MTC) from his paper “Planning for Conjunctive Goals.” They show a bug in Chapman's arguments — in particular that the equivalence ◇p≡¬□¬p doesn't hold for truth in partially-ordered plans. The reason for this is that the excluded middle does not hold in the logic of partial plans — the truth value of some p in some completion of a partial plan may not be defined, because the completion may be ill-formed.",
],
"author": Array [
"Subbarao Kambhampati",
Expand Down
Loading

0 comments on commit 4a68dc2

Please sign in to comment.