Skip to content

Commit 0eb36b0

Browse files
authored
Merge pull request #167 from r12a/matrix_code
Matrix code & home page update
2 parents a15826c + cb4952d commit 0eb36b0

File tree

2 files changed

+69
-10
lines changed

2 files changed

+69
-10
lines changed

gap-analysis/index.html

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
//publishDate: "2015-07-21",
1515
//previousPublishDate: "2014-12-16",
1616
//previousMaturity: "FPWD",
17+
18+
// langs array lists languages addressed by this document, in order of speaker (highest first)
19+
// it is used to generate the javascript needed for the matrix
20+
langs: ['Arabic', 'Persian'],
21+
gapDocPath: 'https://w3c.github.io/alreq/gap-analysis/',
1722

1823
noRecTrack: true,
1924
shortName: "alreq-gap",
@@ -448,6 +453,63 @@ <h3>What else?</h3>
448453

449454

450455

456+
<details>
457+
<summary style="margin-top:4em; cursor: pointer;">Show summary</summary>
458+
<pre id="summaryPlaceholder" style="white-space: pre-wrap;"></pre>
459+
</details>
460+
<script>
461+
var out = ''
462+
for (let i=0;i<respecConfig.langs.length;i++) {
463+
out += '{lang: "'+respecConfig.langs[i]+'"'
464+
out += ', url:"'+respecConfig.gapDocPath+'"'
465+
out += ', tentative:' + true
466+
out += ', encoding:"'+document.getElementById('encoding').className+'"'
467+
out += ', fonts:"'+document.getElementById('fonts').className+'"'
468+
out += ', fontstyle:"'+document.getElementById('fontstyle').className+'"'
469+
out += ', glyphcontrol:"'+document.getElementById('glyphs').className+'"'
470+
out += ', cursive:"'+document.getElementById('cursive').className+'"'
471+
out += ', transforms:"'+document.getElementById('transforms').className+'"'
472+
out += ', digits:"'+document.getElementById('numbers').className+'"'
473+
out += ', boundaries:"'+document.getElementById('boundaries').className+'"'
474+
out += ', quotations:"'+document.getElementById('quotations').className+'"'
475+
out += ', spacing:"'+document.getElementById('spacing').className+'"'
476+
out += ', ruby:"'+document.getElementById('ruby').className+'"'
477+
out += ', textdecor:"'+document.getElementById('textdecoration').className+'"'
478+
out += ', emphasis:"'+document.getElementById('emphasis').className+'"'
479+
out += ', bidi:"'+document.getElementById('bidi').className+'"'
480+
out += ', otherinline:"'+document.getElementById('otherinline').className+'"'
481+
out += ', linebreak:"'+document.getElementById('linebreak').className+'"'
482+
out += ', hyphenation:"'+document.getElementById('hyphenation').className+'"'
483+
out += ', justification:"'+document.getElementById('justification').className+'"'
484+
out += ', counters:"'+document.getElementById('counters').className+'"'
485+
out += ', initialletter:"'+document.getElementById('initialletter').className+'"'
486+
out += ', baselines:"'+document.getElementById('baselines').className+'"'
487+
out += ', otherpara:"'+document.getElementById('otherpara').className+'"'
488+
out += ', bidilayout:"'+document.getElementById('bidilayout').className+'"'
489+
out += ', vertical:"'+document.getElementById('vertical').className+'"'
490+
out += ', notes:"'+document.getElementById('notes').className+'"'
491+
out += ', pagehead:"'+document.getElementById('pageheaders').className+'"'
492+
out += ', otherpage:"'+document.getElementById('morepage').className+'"'
493+
out += '},\n'
494+
495+
out = out.replace(/tbd/g,'')
496+
out = out.replace(/ok/g,'3')
497+
out = out.replace(/advanced/g,'2')
498+
out = out.replace(/basic/g,'1')
499+
out = out.replace(/broken/g,'0')
500+
out = out.replace(/"na/g,'"-')
501+
}
502+
document.getElementById('summaryPlaceholder').textContent = out
503+
504+
var temp = document.querySelectorAll('section')
505+
for (let x=0;x<temp.length;x++) {
506+
console.log(temp[x].id)
507+
}
508+
</script>
509+
510+
511+
512+
451513
<section class="appendix" id="acknowledgements">
452514
<h2>Acknowledgements</h2>
453515

homepage/index.html

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,9 @@ <h2 id="join"> <a href="#join">How to Join</a> </h2>
9090
contributor. See the <a href="https://github.com/w3c/alreq">github home page</a> for details</li>
9191
</ol>
9292
<h2 id="admin"><a href="#admin">Organisation of the task force</a> </h2>
93-
<p>The Arabic Layout Task Force is part of <a href="http://www.w3.org/International/">W3C <span class="activity">Internationalization Activity</span></a> and the <a href="http://www.w3.org/International/">W3C
94-
Internationalization Interest Group</a>. </p>
95-
<p>The task force is part of the W3C Internationalization Interest Group (i18n IG). The Internationalization Working Group (i18n WG) oversees the work of the task force, and publishes the task force's document to the TR space.
96-
<!--p>For more details, see the
97-
<a href="/International/its/ig/ITSIGCharter.html" rel="charter">Interest Group Charter</a>.</p-->
98-
</p>
99-
<p>The co-chairs of the task force are Shervin Afshar (Netflix) and Behnam Esfahbod.
93+
<p>The Arabic Layout Task Force is part of the W3C <a href="http://w3c.github.io/i18n-activity/i18n-ig/">W3C
94+
Internationalization Interest Group</a> (i18n IG). The <a href="http://w3c.github.io/i18n-activity/i18n-wg/">Internationalization Working Group</a> (i18n WG) oversees the work of the task force, and publishes the task force's document to the TR space. </p>
95+
<p>The co-chairs of the task force are Shervin Afshar and Behnam Esfahbod.
10096
The chair of the Interest Group is <a href="mailto:duerst@it.aoyama.ac.jp">Martin
10197
Dürst</a>.</p>
10298
<h2 id="activity"> <a href="#activity">Internationalization at W3C</a></h2>
@@ -112,12 +108,13 @@ <h2 id="docs" style="margin-top: 0"> <a href="#docs">Work aims</a> </h2>
112108
Recommendation-track deliverables but expects to produce Working
113109
Group Notes, published by the <a href="https://www.w3.org/International/core/">Internationalization
114110
Working Group</a>. </p>
115-
<p>To find and follow progress on deliverables, see the <a href="https://github.com/w3c/hlreq">GitHub repo</a>.</p>
111+
<p>To find and follow progress on deliverables, see the <a href="https://github.com/w3c/hlreq" style="font-size:120%;">GitHub repo</a>.</p>
116112
<p>The main deliverables include the following:</p>
117113
<ul>
118-
<li><strong>Arabic &amp; Persian gap analysis</strong></li>
114+
<li><strong>Arabic &amp; Persian gap analysis</strong><br>
115+
<a href="https://w3c.github.io/tlreq/gap-analysis">Editor's draft</a></li>
119116
<li><strong>Text Layout Requirements for the Arabic Script</strong><br/>
120-
<a href="https://w3c.github.io/alreq/">Editor's draft</a><a href="https://github.com/w3c/alreq/">GitHub</a></li>
117+
<a href="https://w3c.github.io/alreq/">Editor's draft</a></li>
121118
</ul>
122119
<p>The group <a href="https://www.w3.org/International/groups/arabic-layout/charter">charter</a> also allows review of draft specifications
123120
produced by other working groups, and provision of translations of

0 commit comments

Comments
 (0)