​​On Tue, Mar 3, 2015 at 3:06 PM, 'Terry Brown' via leo-editor <
[email protected]> wrote:


> div.outlinepane
> ​​
> {
>     height: 50%;
>     overflow: auto;
>     }
> div.bodypane {
>     height: 50%;
>     overflow: auto;
>     }
>

​Thanks Terry.  Much better.  Now the outline pane scrolls and the body
pane is always visible.  Using a fixed height may simulate Leo's panes more
accurately, but that's a nit for now.

Speed and I are working on last details.  At present, the correct xsl
transform will be applied as long as there is *any* <?xml-stylesheet>
element in the file.  For example::

    <?xml-stylesheet type="text/xsl" href="ekr_test"?>

This is ridiculous value arises from the default value of the following
setting:

    @string stylesheet = ekr_test


Speed's client side code translates this to::

    <?xml-stylesheet type="text/xsl" href="/leo_to_html.xsl"?>

Note the leading slash in the href.

However, the transform is not applied properly if there is no stylesheet
element.  Speed will likely fix this tomorrow.

**Important**: There are probably bugs in how Leo handles the @string
stylesheet setting. For now, though, Speed's switcharoo the the stylesheet
element makes this moot.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to