← Prev in month
← Prev in thread
Next in thread →
Next in month →
Re: DOCBOOK-APPS: Problem with PSGML auto formatting
On Friday, June 23, 2000, "John R. Sheets" <> wrote:
> I've been using PSGML + Emacs to mark up existing documentation for the
> Wine project, and so far it's working wonderfully. The only problem
> I've run into, however, is extremely vexing. It happens whenever I try
> to format the contents of an element with C-c C-q, if that element
> contains an element with an attribute. Thus, rather than getting
> this:
>
> <para>
> Before you begin, open the <filename
> class="directory">foodir</filename> in a file browser...
> </para>
>
> PSGML breaks the attribute at the first space and moves it down a line;
> it also fails to format the rest of that element:
>
> <para>
> Before you begin, open the <filename
> class="directory">foodir</filename>
> in a file browser...
> </para>
FYI, I finally figured it out (accidentally). It has nothing to do with
attributes. If a word (or element) is too long to wrap properly, PSGML
simply bails out without finishing the formatting. You can fix this by
increasing the fill column with set-fill-column until it wraps better.
In the example above, you'd have to set the fill column to include
"</filename>".
Kind of an ugly workaround, but it's nice to know what's causing it.
(c:
John
--
http://www.gnome.org
http://www.worldforge.org
http://advogato.org/person/jsheets
← Prev in month
← Prev in thread
Next in thread →
Next in month →