mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Waitz <tali@admingilde.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] DocBook: only use tabular style for long synopsis
Date: Mon, 9 May 2005 22:38:08 +0200	[thread overview]
Message-ID: <20050509203808.GT3562@admingilde.org> (raw)

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

             reply	other threads:[~2005-05-09 20:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09 20:38 Martin Waitz [this message]
     [not found] ` <20050509182825.0b2ac473.akpm@osdl.org>
2005-05-10 11:46   ` Martin Waitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050509203808.GT3562@admingilde.org \
    --to=tali@admingilde.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®