Re: Insets that don't mess up text flow.

2014-06-10 Thread Klaus-Dieter Bauer
Thanks for the tip!

While not what I intended, it indeed results in much less intrusive
multi-line footnotes, especially when combined with Richard Heck's local
layout.

- Klaus


2014-05-27 16:42 GMT+02:00 Liviu Andronic :

> On Tue, May 27, 2014 at 3:19 PM, Klaus-Dieter Bauer
>  wrote:
> > Hello!
> >
> > When creating a lengthy footnote and not folding it (Ctrl+I), it will
> > invariably mess up the text-flow, causing the last line before the
> footnote
> > to be stretched to paragraph width regardless of contents. I sometimes
> End
> > up with situations like
> >
> Maybe this can help:
> http://wiki.lyx.org/LyX.NewInLyX21#misc
>
> "Users can now decide for every document in the menu
> Document→Settings→Text Layout if LyX justifies the document text or
> not. (This setting has no effect on the output.)"
>
> Liviu
>
>
> >
> >  : Sampletext Sampletext Sampletext Sampletext
> >  : Sampletext Sampletext Sampletext Sampletext
> >  : Sampletext Sampletext Sampletext Sampletext
> >  : Sample ~ H U G E E M P T Y S P A C E ~ Text
> >  : [foot1]
> >  : |Here is the footnote text that goes over
> >  : |several lines, just because.
> >  : +--
> >  : RestOfPar RestOfPar RestOfPar RestOfPar
> >  : RestOfPar RestOfPar RestOfPar RestOfPar
> >  : RestOfPar RestOfPar.
> >
> > Yet the footnote may contain information that, while not important
> enough to
> > clutter the output text, may be important enough for me not to fold the
> > footnote away.
> >
> > Would it be possible to get with custom formats either
> >
> > 1. Footnotes that look like normal text, except for a different
> formatting,
> > i.e.
> >
> >  : Sampletext Sampletext Sampletext Sampletext
> >  : Sampletext Sampletext [foot1][Foot Foot Foot
> >  : Foot Foot Foot Foot Foot Foot Foot Foot] Rest
> >  : OfPar RestOfPar RestOfPar.
> >
> > 2. Footnotes to show the beginning of the text, like ERT does, i.e.
> >
> >  : Sampletext Sampletext Sampletext Sampletext Sampletext
> >  : Sampletext Sampletext [foot1][This is the footn...]
> >  : RestOfPar RestOfPar RestOfPar.
> >
> >
> > - Klaus
> >
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>


Re: Insets that don't mess up text flow.

2014-05-27 Thread Liviu Andronic
On Tue, May 27, 2014 at 3:19 PM, Klaus-Dieter Bauer
 wrote:
> Hello!
>
> When creating a lengthy footnote and not folding it (Ctrl+I), it will
> invariably mess up the text-flow, causing the last line before the footnote
> to be stretched to paragraph width regardless of contents. I sometimes End
> up with situations like
>
Maybe this can help:
http://wiki.lyx.org/LyX.NewInLyX21#misc

"Users can now decide for every document in the menu
Document→Settings→Text Layout if LyX justifies the document text or
not. (This setting has no effect on the output.)"

Liviu


>
>  : Sampletext Sampletext Sampletext Sampletext
>  : Sampletext Sampletext Sampletext Sampletext
>  : Sampletext Sampletext Sampletext Sampletext
>  : Sample ~ H U G E E M P T Y S P A C E ~ Text
>  : [foot1]
>  : |Here is the footnote text that goes over
>  : |several lines, just because.
>  : +--
>  : RestOfPar RestOfPar RestOfPar RestOfPar
>  : RestOfPar RestOfPar RestOfPar RestOfPar
>  : RestOfPar RestOfPar.
>
> Yet the footnote may contain information that, while not important enough to
> clutter the output text, may be important enough for me not to fold the
> footnote away.
>
> Would it be possible to get with custom formats either
>
> 1. Footnotes that look like normal text, except for a different formatting,
> i.e.
>
>  : Sampletext Sampletext Sampletext Sampletext
>  : Sampletext Sampletext [foot1][Foot Foot Foot
>  : Foot Foot Foot Foot Foot Foot Foot Foot] Rest
>  : OfPar RestOfPar RestOfPar.
>
> 2. Footnotes to show the beginning of the text, like ERT does, i.e.
>
>  : Sampletext Sampletext Sampletext Sampletext Sampletext
>  : Sampletext Sampletext [foot1][This is the footn...]
>  : RestOfPar RestOfPar RestOfPar.
>
>
> - Klaus
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Insets that don't mess up text flow.

2014-05-27 Thread Richard Heck

On 05/27/2014 09:19 AM, Klaus-Dieter Bauer wrote:

Hello!

When creating a lengthy footnote and not folding it (Ctrl+I), it will 
invariably mess up the text-flow, causing the last line before the 
footnote to be stretched to paragraph width regardless of contents. I 
sometimes End up with situations like


 : Sampletext Sampletext Sampletext Sampletext
 : Sampletext Sampletext Sampletext Sampletext
 : Sampletext Sampletext Sampletext Sampletext
 : Sample ~ H U G E E M P T Y S P A C E ~ Text
 : [foot1]
 : |Here is the footnote text that goes over
 : |several lines, just because.
 : +--
 : RestOfPar RestOfPar RestOfPar RestOfPar
 : RestOfPar RestOfPar RestOfPar RestOfPar
 : RestOfPar RestOfPar.

Yet the footnote may contain information that, while not important 
enough to clutter the output text, may be important enough for me not 
to fold the footnote away.


Would it be possible to get with custom formats either

1. Footnotes that look like normal text, except for a different 
formatting, i.e.


 : Sampletext Sampletext Sampletext Sampletext
 : Sampletext Sampletext [foot1][Foot Foot Foot
 : Foot Foot Foot Foot Foot Foot Foot Foot] Rest
 : OfPar RestOfPar RestOfPar.


http://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014#toc2

This is non-trivial.


2. Footnotes to show the beginning of the text, like ERT does, i.e.

 : Sampletext Sampletext Sampletext Sampletext Sampletext
 : Sampletext Sampletext [foot1][This is the footn...]
 : RestOfPar RestOfPar RestOfPar.


This is just the "folded" form with ERT. If you want footnotes to behave
that way, you can put:

InsetLayout Foot
Decorationminimalistic
End

into Local Layout, or into a module, or modify stdinsets.inc to declare
that sort of decoration.

Richard



Insets that don't mess up text flow.

2014-05-27 Thread Klaus-Dieter Bauer
Hello!

When creating a lengthy footnote and not folding it (Ctrl+I), it will
invariably mess up the text-flow, causing the last line before the footnote
to be stretched to paragraph width regardless of contents. I sometimes End
up with situations like

 : Sampletext Sampletext Sampletext Sampletext
 : Sampletext Sampletext Sampletext Sampletext
 : Sampletext Sampletext Sampletext Sampletext
 : Sample ~ H U G E E M P T Y S P A C E ~ Text
 : [foot1]
 : |Here is the footnote text that goes over
 : |several lines, just because.
 : +--
 : RestOfPar RestOfPar RestOfPar RestOfPar
 : RestOfPar RestOfPar RestOfPar RestOfPar
 : RestOfPar RestOfPar.

Yet the footnote may contain information that, while not important enough
to clutter the output text, may be important enough for me not to fold the
footnote away.

Would it be possible to get with custom formats either

1. Footnotes that look like normal text, except for a different formatting,
i.e.

 : Sampletext Sampletext Sampletext Sampletext
 : Sampletext Sampletext [foot1][Foot Foot Foot
 : Foot Foot Foot Foot Foot Foot Foot Foot] Rest
 : OfPar RestOfPar RestOfPar.

2. Footnotes to show the beginning of the text, like ERT does, i.e.

 : Sampletext Sampletext Sampletext Sampletext Sampletext
 : Sampletext Sampletext [foot1][This is the footn...]
 : RestOfPar RestOfPar RestOfPar.


- Klaus