This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Forcing a Line Feed
- From: Martin Gautier <martin dot gautier at myrnham dot co dot uk>
- To: docbook at lists dot oasis-open dot org
- Date: Wed, 06 Mar 2002 10:50:56 +0000
- Subject: DOCBOOK: Forcing a Line Feed
I wonder if anyone can offer a solution to this problem?
Normally, to get text on a new line I'd write the following
<para>This is on line 1</para>
<para>This is on the next line down</para>
As Norm has recognised (and described in the description for <cmdsynopsis>
in DB:TDG), it is sometimes necessary to force a line feed explicitly to
guarantee correct formatting. To this end, the <sbr> tag is available as a
child in some elements.
I want to be able to do the <sbr> thing in a <para>. ie. Force a line feed
within my paragraph.
eg. <para>Here is my paragraph and this is an
<inlinemediaobject>...</inlinemediaobject><sbr>and now I want this on a
new line after the image which must be in-line</para>
I've looked at using one of the standard entity refs but there isn't a
&lf; (or whatever it might be called) though this would seem the most
reasonable approach.
eg. <para>Here is my paragraph and this is an
<inlinemediaobject>...</inlinemediaobject>&lf;and now I want this on a new
line after the image which must be in-line</para>
Any ideas?
TIA
Mart