mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] DocBook: only use tabular style for long synopsis
@ 2005-05-09 20:38 Martin Waitz
       [not found] ` <20050509182825.0b2ac473.akpm@osdl.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Waitz @ 2005-05-09 20:38 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

hoi :)

there was a complaint that function declarations are shown tabular
in the documentation since switching to xmlto.
This patch disables tabular mode when the function fits in one line.

---
 Documentation/DocBook/stylesheet.xsl |    1 +
 1 files changed, 1 insertion(+)

Index: linux-docbook/Documentation/DocBook/stylesheet.xsl
===================================================================
--- linux-docbook.orig/Documentation/DocBook/stylesheet.xsl	2005-05-02 09:16:19.000000000 +0200
+++ linux-docbook/Documentation/DocBook/stylesheet.xsl	2005-05-09 22:28:46.328079051 +0200
@@ -2,4 +2,5 @@
 <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <param name="chunk.quietly">1</param>
 <param name="funcsynopsis.style">ansi</param>
+<param name="funcsynopsis.tabular.threshold">80</param>
 </stylesheet>

-- 
Martin Waitz

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] DocBook: only use tabular style for long synopsis
       [not found] ` <20050509182825.0b2ac473.akpm@osdl.org>
@ 2005-05-10 11:46   ` Martin Waitz
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Waitz @ 2005-05-10 11:46 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

hoi :)

On Mon, May 09, 2005 at 06:28:25PM -0700, Andrew Morton wrote:
> Are you interested in becoming the official docbook person, send in a
> MAINTAINERS patch?

well I don't want to write all the documentation but I can maintain
the DocBook system.

---
 MAINTAINERS |    5 +++++
 1 files changed, 5 insertions(+)

Index: linux-docbook/MAINTAINERS
===================================================================
--- linux-docbook.orig/MAINTAINERS	2005-05-02 09:16:19.000000000 +0200
+++ linux-docbook/MAINTAINERS	2005-05-10 13:43:37.975532756 +0200
@@ -730,6 +730,11 @@ M:	tori@unhappy.mine.nu
 L:	linux-kernel@vger.kernel.org
 S:	Maintained
 
+DOCBOOK FOR DOCUMENTATION
+P:	Martin Waitz
+M:	tali@admingilde.org
+S:	Maintained
+
 DOUBLETALK DRIVER
 P:	James R. Van Zandt
 M:	jrv@vanzandt.mv.com

-- 
Martin Waitz

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-10 11:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-09 20:38 [PATCH] DocBook: only use tabular style for long synopsis Martin Waitz
     [not found] ` <20050509182825.0b2ac473.akpm@osdl.org>
2005-05-10 11:46   ` Martin Waitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®