From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1139426-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 03FB6138350
	for <garchives@archives.gentoo.org>; Tue, 21 Jan 2020 21:53:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7ABDEE085A;
	Tue, 21 Jan 2020 21:53:06 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 6200EE085A
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Jan 2020 21:53:06 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7491B34E38B
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Jan 2020 21:53:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D039235
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Jan 2020 21:53:03 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1579642527.264672ddb6857313b7ba9426853d58e3b61b6590.ulm@gentoo>
Subject: [gentoo-commits] proj/devmanual:master commit in: /
X-VCS-Repository: proj/devmanual
X-VCS-Files: devbook.dtd devbook.xsl
X-VCS-Directories: /
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 264672ddb6857313b7ba9426853d58e3b61b6590
X-VCS-Branch: master
Date: Tue, 21 Jan 2020 21:53:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 4e30ca96-fca2-4dd9-bb87-6dc2e7b0fe88
X-Archives-Hash: cdc2a55c8f6bbc43be3b403c0206b78c

commit:     264672ddb6857313b7ba9426853d58e3b61b6590
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 21 21:35:27 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jan 21 21:35:27 2020 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=264672dd

devbook.xsl: Remove tcolumn element.

Not clear what the original intention of this was, but:
- <tcolumn> was never used in the devmanual.
- The generated HTML would have been invalid, because it contained
  <col> without an enclosing <colgroup>.
- The width attribute is deprecated in HTML 4 and obsolete in HTML 5.

Remove for now from devbook.xsl; update devbook.dtd accordingly.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 devbook.dtd | 7 ++-----
 devbook.xsl | 4 ----
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/devbook.dtd b/devbook.dtd
index 455397b..d213d0c 100644
--- a/devbook.dtd
+++ b/devbook.dtd
@@ -1,4 +1,4 @@
-<!-- Copyright 2019 Gentoo Authors -->
+<!-- Copyright 2019-2020 Gentoo Authors -->
 <!-- Distributed under the terms of the MIT/X11 license -->
 
 <!-- Document Type Definition for the Gentoo Devmanual -->
@@ -55,10 +55,7 @@
                         short CDATA #IMPLIED
                         caption CDATA #IMPLIED>
 
-<!ELEMENT table         (tcolumn*, tr+)>
-
-<!ELEMENT tcolumn       EMPTY>
-<!ATTLIST tcolumn       width CDATA #REQUIRED>
+<!ELEMENT table         (tr)+>
 
 <!ELEMENT tr            (th|ti)+>
 

diff --git a/devbook.xsl b/devbook.xsl
index 8c367d4..8d8d082 100644
--- a/devbook.xsl
+++ b/devbook.xsl
@@ -89,10 +89,6 @@
   <tr><xsl:apply-templates/></tr>
   </xsl:template>
 
-  <xsl:template match="tcolumn">
-  <col width="{@width}"/>
-  </xsl:template>
-
   <!-- Table Item -->
   <xsl:template match="ti">
     <td>