<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Try<br>
<br>
&gt;&gt;rframe width:200px&lt;&lt;<br>
<br>
This is a floating frame of fixed width<br>
<br>
&gt;&gt;&lt;&lt;<br>
<br>
Same as <br>
<br>
(:div class=rframe style="width:200px":)<br>
<br>
This is a floating frame of fixed width<br>
<br>
(:divend:)<br>
<br>
<br>
- Henrik<br>
<br>
James Montaldi wrote:
<blockquote
 cite="mid:2e3714cd0805010033t69d87a31k5c530709a036120b@mail.gmail.com"
 type="cite">
  <pre wrap="">Thanks - I guess that works.  I never find it very satisfactory to put
in line-breaks manually in order to fit layout though.

Looking again at the markup pages on PmWiki, it seems that the only
way to produce a block of text of a given width is to use (:div attr:)
markup.  However, when I tried

%lframe width=200px%A long sentence that doesn't fit in 200px but
would need to linewrap%%

I did indeed get a nice 200px-wide box with the text inside it,
wrapped appropriately. (Works also with lfloat in place of lframe).
But I don't seem able to get both the picture and the text to fit in
the box.  (I suppose I need to understand better what the wiki engine
is doing?)

Any comments?  Am I missing something?

James



2008/4/30 Tegan Dowling <a class="moz-txt-link-rfc2396E" href="mailto:tmdowling@gmail.com">&lt;tmdowling@gmail.com&gt;</a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On Tue, Apr 29, 2008 at 5:16 PM, James Montaldi <a class="moz-txt-link-rfc2396E" href="mailto:j.montaldi@gmail.com">&lt;j.montaldi@gmail.com&gt;</a> wrote:
 &gt; Hi all
 &gt;
 &gt;  I am trying to figure out the wiki markup required in order to float a
 &gt;  figure left, in a frame and with a caption. But the caption is wider
 &gt;  than the figure so must be on two lines.
 &gt;  I tried something like
 &gt;
 &gt;  %lframe width=200px%Attach:Picture.jpg|A long caption that requires
 &gt;  more than one line in order to fit under the image%%
 &gt;
 &gt;  But that doesn't make the frame 200px wide, only the image.  The frame
 &gt;  fills out to allow the caption to be a single line.

 Place a manual line-break in the caption?


 %lframe width=200px%Attach:Picture.jpg|A long caption that requires
 more than \\
 one line in order to fit under the image%%

 (N.B., it's critical that the back-slashes not be followed by anything
 other than the line-break; if they're followed by a space, then they
 just function as backslashes, and not as formatting)

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

Henrik Bechmann
<a class="moz-txt-link-abbreviated" href="http://www.bechmann.ca">www.bechmann.ca</a>
Webmaster, <a class="moz-txt-link-abbreviated" href="http://www.dufferinpark.ca">www.dufferinpark.ca</a></pre>
</body>
</html>