Mailinglist Archive: opensuse-doc (66 mails)

< Previous Next >
Re: [opensuse-doc] Problem with getting it right formatted with DocBook XML
  • From: Thomas Schraitle <thomas.schraitle@xxxxxxx>
  • Date: Mon, 1 Jan 2007 19:42:21 +0100
  • Message-id: <200701011942.22055.thomas.schraitle@xxxxxxx>
Hi Alexey,

On Monday 01 January 2007 19:26, Alexey Eremenko wrote:
> hi all !
>
> I have a problem in correctly formatting text, that needs to have
> "fixed font". Under Docbook XML the page gets variable font-width and
> ugly-look.
>
> Look at the output of "df" - and compare between DocBook XML and wiki.
> Ugly screenshot of rendering DocBook XML:
> http://download.yousendit.com/7E3B56F54CDC4062
> Under wiki this is rendered correctly:
> http://en.opensuse.org/How-To_Create_10_GB_file_instantly_with_%22dd%22
>
> How-to make Docbook XML rendering correct ?

Probably you used <para>s only. Replace your <para>...</para> with screen:

<screen>Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 40321836 28054876 12266960 70% /
tmpfs 257892 0 257892 0% /dev/shm</screen>

According to http://www.docbook.org/tdg/en/html/screen.html :
screen — Text that a user sees or might see on a computer screen


Hope that helps,
Tom

--
----------------------------------------------------------------------
SUSE LINUX Products GmbH >o) Documentation Team
Maxfeldstrasse 5 /\\ Technical Editor
90409 Nuernberg, Germany _\_v http://en.opensuse.org/Documentation_Team
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-doc+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-doc+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References