Problem with getting it right formatted with DocBook XML

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with getting it right formatted with DocBook XML

Alexey Eromenko
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 ?

-Alexey
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problem with getting it right formatted with DocBook XML

Thomas Schraitle-2
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problem with getting it right formatted with DocBook XML

Alexey Eromenko
> 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,

Yes, true, I used para's. But now that's solved !

-Big Thanks Tom
-Alexey
N�����r��y隊Z)z{.��hs맲��r��z�^�ˬz����uح��ڕ�&��ݱ隊Z)z{.��hs�^��)z{.��+�