You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to produce a PDF, the front matter `title`, `shortname`, `version`, and `date` are **mandatory**. If generating a final annual edition, date should reflect the date of the Ecma GA which will ratify the Standard. For example:
4
+
5
+
```
6
+
title: ECMAScript® 2024 Internationalization API Specification
7
+
shortname: ECMA-402
8
+
version: 11th Edition
9
+
date: 2024-06-25
10
+
```
11
+
12
+
To generate markup for use in PDF conversion, make sure to include the options `--assets`, `--assets-dir`, and `--old-toc`. If you have images and styles to include, make sure to move them into your assets directory before running `ecmarkup`. For example:
13
+
14
+
```shell
15
+
mkdir -p out &&
16
+
mv images out &&
17
+
mv print.css out &&
18
+
ecmarkup --assets external --assets-dir out --old-toc spec.html out/index.html
19
+
```
20
+
21
+
Then, from your spec's working directory, run [`prince`](https://www.princexml.com/) to generate your PDF.
22
+
23
+
```shell
24
+
cd path/to/spec
25
+
prince --script ./node_modules/ecmarkup/js/print.js out/index.html -o path/to/output.pdf
26
+
```
27
+
28
+
This has been extensively tested with Prince 15. Earlier and later editions not guaranteed.
Copy file name to clipboardexpand all lines: spec/annexes.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@ <h1>Additions and Changes That Introduce Incompatibilities with Prior Editions</
183
183
<emu-xrefhref="#sec-intl.datetimeformat.prototype.format"></emu-xref> In ECMA-402, 1<sup>st</sup> Edition, the *"length"* property of the function object _F_ was set to *+0*<sub>𝔽</sub>. In 2nd Edition, *"length"* is set to *1*<sub>𝔽</sub>.
184
184
</li>
185
185
<li>
186
-
<emu-xrefhref="#sec-intl.collator.prototype-@@tostringtag"></emu-xref> In ECMA-402, 7<sup></sup>th</sup> Edition, the @@toStringTag property of `Intl.Collator.prototype` was set to *"Object"*. In 8<sup>th</sup> Edition, @@toStringTag is set to *"Intl.Collator"*.
186
+
<emu-xrefhref="#sec-intl.collator.prototype-@@tostringtag"></emu-xref> In ECMA-402, 7<sup>th</sup> Edition, the @@toStringTag property of `Intl.Collator.prototype` was set to *"Object"*. In 8<sup>th</sup> Edition, @@toStringTag is set to *"Intl.Collator"*.
187
187
</li>
188
188
<li>
189
189
<emu-xrefhref="#sec-intl.datetimeformat.prototype-@@tostringtag"></emu-xref> In ECMA-402, 7<sup>th</sup> Edition, the @@toStringTag property of `Intl.DateTimeFormat.prototype` was set to *"Object"*. In 8<sup>th</sup> Edition, @@toStringTag is set to *"Intl.DateTimeFormat"*.
<p>This specification is authored on <ahref="https://github.com/tc39/ecma402">GitHub</a> in a plaintext source format called <ahref="https://github.com/bterlson/ecmarkup">Ecmarkup</a>. Ecmarkup is an HTML and Markdown dialect that provides a framework and toolset for authoring ECMAScript specifications in plaintext and processing the specification into a full-featured HTML rendering that follows the editorial conventions for this document. Ecmarkup builds on and integrates a number of other formats and technologies including <ahref="https://github.com/rbuckton/grammarkdown">Grammarkdown</a> for defining syntax and <ahref="https://github.com/domenic/ecmarkdown">Ecmarkdown</a> for authoring algorithm steps. PDF renderings of this specification are produced by printing the HTML rendering to a PDF.</p>
3
+
<p>This specification is authored on <ahref="https://github.com/tc39/ecma402">GitHub</a> in a plaintext source format called <ahref="https://github.com/bterlson/ecmarkup">Ecmarkup</a>. Ecmarkup is an HTML and Markdown dialect that provides a framework and toolset for authoring ECMAScript specifications in plaintext and processing the specification into a full-featured HTML rendering that follows the editorial conventions for this document. Ecmarkup builds on and integrates a number of other formats and technologies including <ahref="https://github.com/rbuckton/grammarkdown">Grammarkdown</a> for defining syntax and <ahref="https://github.com/domenic/ecmarkdown">Ecmarkdown</a> for authoring algorithm steps. PDF renderings of this specification are produced using <ahref="https://www.princexml.com/">PrinceXML</a>.</p>
4
4
<p>Prior editions of this specification were authored using Word—the Ecmarkup source text that formed the basis of this edition was produced by converting the ECMAScript 2015 Word document to Ecmarkup using an automated conversion tool.</p>
0 commit comments