From owner-svn-doc-head@FreeBSD.ORG Tue Mar 25 07:04:46 2014 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88370792; Tue, 25 Mar 2014 07:04:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 74C21146; Tue, 25 Mar 2014 07:04:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2P74kpM044500; Tue, 25 Mar 2014 07:04:46 GMT (envelope-from gabor@svn.freebsd.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2P74kZc044498; Tue, 25 Mar 2014 07:04:46 GMT (envelope-from gabor@svn.freebsd.org) Message-Id: <201403250704.s2P74kZc044498@svn.freebsd.org> From: Gabor Kovesdan Date: Tue, 25 Mar 2014 07:04:46 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44350 - in head/share: misc xml X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 07:04:46 -0000 Author: gabor Date: Tue Mar 25 07:04:45 2014 New Revision: 44350 URL: http://svnweb.freebsd.org/changeset/doc/44350 Log: - Revert verbatim line numbering changes since they broke callouts and other inline markup PR: docs/187773 Submitted by: Allan Jude Modified: head/share/misc/docbook.css head/share/xml/freebsd-xhtml-common.xsl Modified: head/share/misc/docbook.css ============================================================================== --- head/share/misc/docbook.css Tue Mar 25 00:00:19 2014 (r44349) +++ head/share/misc/docbook.css Tue Mar 25 07:04:45 2014 (r44350) @@ -275,46 +275,23 @@ html { text-decoration: underline; } -.screen { - white-space: pre-wrap; +pre.screen { + white-space: pre; + overflow: auto; font-family: monospace; padding: 1ex; background-color: #edc; - border-style: solid; - border-color: #EEB985; - border-width: 0 0 0 2.5em; - border-radius: 6px; - counter-reset: code; + border: 1px solid #ccc; } -.programlisting { - white-space: pre-wrap; +pre.programlisting { + white-space: pre; + overflow: auto; font-family: monospace; padding: 1ex; background-color: #eee; - border-style: solid; - border-color: #BABABA; - border-width: 0 0 0 2.5em; + border: 1px solid #ccc; border-radius: 6px; - counter-reset: code; -} - -span.verbatim { - counter-increment: code; - display: block; - padding: 0 0.5em 0 3.75em; - position: relative; - margin: 0 -0.3em 0 -3.85em; - overflow: hidden; -} - -span.verbatim:before { - width: 3em; - text-align: right; - content: counter(code); - position: absolute; - left: 0; - color: #404040; } @media screen { /* hide from IE3 */ @@ -408,7 +385,7 @@ span.verbatim:before { font-weight: bold; } -.screen strong { +pre.screen strong { font-weight: normal; } Modified: head/share/xml/freebsd-xhtml-common.xsl ============================================================================== --- head/share/xml/freebsd-xhtml-common.xsl Tue Mar 25 00:00:19 2014 (r44349) +++ head/share/xml/freebsd-xhtml-common.xsl Tue Mar 25 07:04:45 2014 (r44350) @@ -7,7 +7,6 @@ version='1.0' xmlns:str="http://exslt.org/strings" xmlns:db="http://docbook.org/ns/docbook" - xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="db" extension-element-prefixes="str"> @@ -32,7 +31,6 @@ - @@ -294,61 +292,4 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - div - pre - - - - - - - - - - - - - - - - -