Skip to content

Commit

Permalink
Move edition number to subtitle (#352)
Browse files Browse the repository at this point in the history
Move to ED
  • Loading branch information
palemieux committed May 10, 2018
1 parent 02f0b31 commit 03bc79d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions spec/entities.dtd
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@

<!-- comment / uncomment the appropriate entity -->
<!-- <!ENTITY % sub.entities SYSTEM "entitiesedcopy.dtd" > -->
<!ENTITY % sub.entities SYSTEM "entitiesedcopy.dtd" >
<!-- <!ENTITY % sub.entities SYSTEM "entitieswd.dtd" > -->
<!ENTITY % sub.entities SYSTEM "entitiescr.dtd" >
<!-- <!ENTITY % sub.entities SYSTEM "entitiescr.dtd" > -->
<!-- <!ENTITY % sub.entities SYSTEM "entitiesper.dtd" > -->
<!-- <!ENTITY % sub.entities SYSTEM "entitiesrec.dtd" > -->
%sub.entities;

<!-- Titles -->
<!ENTITY title "Timed Text Markup Language 1 (TTML1) (Third Edition)" >
<!ENTITY title "Timed Text Markup Language 1 (TTML1)" >
<!ENTITY subtitle "Third Edition" >

<!-- XML Namespaces used in the drafts -->
<!ENTITY nsuri "http://www.w3.org/ns/ttml" >
Expand Down
2 changes: 2 additions & 0 deletions spec/ttml1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<!ENTITY status SYSTEM "status.xml">
<!ENTITY document.status "W3C Editors' Draft">
<!ENTITY title "&title;">
<!ENTITY subtitle "&subtitle;">
<!ENTITY prevloc "http://www.w3.org/TR/2013/REC-ttml1-20130924/">
<!ENTITY latestedloc "https://w3c.github.io/ttml1/index.html">
<!ENTITY versionOfTT "1">
Expand Down Expand Up @@ -51,6 +52,7 @@
<spec w3c-doctype="&doctype;" role="&document.role;">
<header>
<title>&title;</title>
<subtitle>&subtitle;</subtitle>
<w3c-designation>&w3c-designation;</w3c-designation>
<w3c-doctype>&document.status;</w3c-doctype>
<pubdate>
Expand Down
2 changes: 1 addition & 1 deletion spec/xmlspec-ttml1.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ width: 100%;
<xsl:with-param name="conditional" select="0"/>
<xsl:with-param name="default.id" select="'subtitle'"/>
</xsl:call-template>
<xsl:apply-templates select="subtitle"/>
<xsl:value-of select="subtitle"/>
</h2>
</xsl:if>
<xsl:text>&#10;</xsl:text>
Expand Down

0 comments on commit 03bc79d

Please sign in to comment.