Re: line spacing in lyxlist type lists

2011-12-09 Thread Csikos Bela
Liviu Andronic  írta:
>On Sat, Dec 3, 2011 at 12:55 PM, Csikos Bela  wrote:>
> Hello.>
> Thank you again.>
> I have built lyx 2.0.2 from the source file available at>
> ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.2.tar.gz>
>>
> Compilation and installaton went without errors, but>
> the installation does not include enumitem.lyx file.>
>>
> /usr/local/lyx/2.0.2> ls -lR |grep enumitem>
> -rw-r--r-- 1 root root  3206 2011-12-03 01:33 enumitem.module>
>  :/usr/local/lyx/2.0.2>>
>>
I'm not sure why you don't have this file. I'm using 2.0.2, too.>
http://wiki.lyx.org/Layouts/Modules#toc4>
>
>
>>>load the module, and insert the option via C-menu > Insert>>>
>>>Short Title.>>>

>> This was exactly what I wanted to do. I loaded the module, but>>
>> insert>short title is greyed out when labeling list type is selected.>>

>>See last list in the attached. I guess it should do what you want.>>
>>Liviu>>
>>
> I opened the file that you have attached.>
> The greyed opt insert with the accompanying nolistsep ERT is visible in the 
> editor window, however this is not reflected in the text sourec code. See the 
> attached image, opened-doc-with-nolistsep-option.jpg.>
>>
I'm not sure what goes wrong. Perhaps it's a bug in LyX support of 'enumitem'.>
>
Try to load the 'enumitem' module and then include the following in>
the preamble:>
\setlist{nolistsep} % or \setlist{noitemsep} to leave space around whole list>
%\setlist{noitemsep}>
%\setlist{itemsep=0pt,parsep=2pt,partopsep=0pt,topsep=0pt}>
>
Note that this should have an effect on all the lists in your document.>

Thanks Liviu.
I apologize for the delayed answer but had other stuff to do.

Inserting the lines above into the preamble had effect on the list's line 
spacing. However I still can not understand what can be the problem
with the enumitem module. I probably will start a new thread for this issue.

Thanks again,

bcsikos




Re: line spacing in lyxlist type lists

2011-12-03 Thread Liviu Andronic
On Sat, Dec 3, 2011 at 12:55 PM, Csikos Bela  wrote:
> Hello.
> Thank you again.
> I have built lyx 2.0.2 from the source file available at
> ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.2.tar.gz
>
> Compilation and installaton went without errors, but
> the installation does not include enumitem.lyx file.
>
> /usr/local/lyx/2.0.2> ls -lR |grep enumitem
> -rw-r--r-- 1 root root  3206 2011-12-03 01:33 enumitem.module
>  :/usr/local/lyx/2.0.2>
>
I'm not sure why you don't have this file. I'm using 2.0.2, too.
http://wiki.lyx.org/Layouts/Modules#toc4


>>>load the module, and insert the option via C-menu > Insert>>
>>>Short Title.>>
>>>
>> This was exactly what I wanted to do. I loaded the module, but>
>> insert>short title is greyed out when labeling list type is selected.>
>>>
>>See last list in the attached. I guess it should do what you want.>
>>Liviu>
>
> I opened the file that you have attached.
> The greyed opt insert with the accompanying nolistsep ERT is visible in the 
> editor window, however this is not reflected in the text sourec code. See the 
> attached image, opened-doc-with-nolistsep-option.jpg.
>
I'm not sure what goes wrong. Perhaps it's a bug in LyX support of 'enumitem'.

Try to load the 'enumitem' module and then include the following in
the preamble:
\setlist{nolistsep} % or \setlist{noitemsep} to leave space around whole list
%\setlist{noitemsep}
%\setlist{itemsep=0pt,parsep=2pt,partopsep=0pt,topsep=0pt}

Note that this should have an effect on all the lists in your document.

Liviu


> If I delete that option the source does not change at all.
> See attached image opened-doc-without-nolistsep-option.jpg.
>
> Plus, I can not insert an option, as the insert>short list is greyed out in 
> my lyx 2.0.2.  (I don't know how to make a screenshot with an opened pulldown 
> menu, so I can't attach an image of the greyed out option.)
>
> And, no matter whether the option is present or deleted, the generated files 
> (pdf previews) look exactly the same. That is, the inserted option has no any 
> effect on the lookout of the generated document.
>
> I guess my lyx installation must be different from yours.
> Maybe your svn installation has more than the standard stable release?
>
> Thanks,
>
> bcsikos



-- 
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: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 9:46 PM, Csikos Bela  wrote:
> Liviu Andronic  írta:
>>On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela  wrote:>
>> Liviu Andronic  írta:>
>>>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  
>>>wrote:>>
>>> Hello:>>
>
>>> How can I set or change the line spacing of the lyxlist style in lyx 2?>>
>>> I would like to set the distance between the list items, and also the 
>>> linespace within the item. It is also fine if I have to use latex code, or 
>>> edit the preamble.>>
>
>> Look into the docs of the 'enumitem' module.>>

>>>
>> Thanks.>
>>>
>> I looked at the lyx's user guide and I found the following in section 
>> 3.3.7.3:>
>>>
>>Have you looked into 'examples/enumitem.lyx'? It has an example on how>
>>to do this:
>
> I don't have this file in lyx 2.0.1, I have only enumitem.module in
> share/lyx/layouts.
>
You should. Try
liv@liv-laptop:~$ locate enumitem.lyx
/usr/local/share/lyx-svn/examples/enumitem.lyx



>>load the module, and insert the option via C-menu > Insert>
>>Short Title.>
>
> This was exactly what I wanted to do. I loaded the module, but
> insert>short title is greyed out when labeling list type is selected.
>
See last list in the attached. I guess it should do what you want.
Liviu


> Thanks,
>
> bcsikos
>



-- 
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


newfile1.lyx
Description: Binary data


Re: line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Liviu Andronic  írta:
>On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela  wrote:>
> Liviu Andronic  írta:>
>>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  wrote:>>
>> Hello:>>

>> How can I set or change the line spacing of the lyxlist style in lyx 2?>>
>> I would like to set the distance between the list items, and also the 
>> linespace within the item. It is also fine if I have to use latex code, or 
>> edit the preamble.>>

> Look into the docs of the 'enumitem' module.>>
>>>
>>
> Thanks.>
>>
> I looked at the lyx's user guide and I found the following in section 
> 3.3.7.3:>
>>
>Have you looked into 'examples/enumitem.lyx'? It has an example on how>
>to do this:

I don't have this file in lyx 2.0.1, I have only enumitem.module in
share/lyx/layouts.

>load the module, and insert the option via C-menu > Insert>
>Short Title.>

This was exactly what I wanted to do. I loaded the module, but
insert>short title is greyed out when labeling list type is selected.

Thanks,

bcsikos



Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela  wrote:
> Liviu Andronic  írta:
>>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  wrote:>
>> Hello:>
>>>
>> How can I set or change the line spacing of the lyxlist style in lyx 2?>
>> I would like to set the distance between the list items, and also the 
>> linespace within the item. It is also fine if I have to use latex code, or 
>> edit the preamble.>
>>>
> Look into the docs of the 'enumitem' module.>
>>
>
> Thanks.
>
> I looked at the lyx's user guide and I found the following in section 3.3.7.3:
>
Have you looked into 'examples/enumitem.lyx'? It has an example on how
to do this: load the module, and insert the option via C-menu > Insert
Short Title.

Regards
Liviu


> You can decrease the space by adding an optional argument to the first item of 
> the list. There add the command nolistsep to get no additional list space 
> like in this example:
>    • A bullet list
>    • without additional
>    • vertical space
>
> If I understand correctly I have to add '\nolistsep' in TEX code, but I don't 
> know where.  If add it right before the first item I get error message:
>
>  \item \nolistsepa
>
> The control sequence at the end of the top line
> of your error message was never \def'ed.
>
> The lyx user guide is very obscure in regard how and where to insert the 
> commands.
>
> bcsikos
>
>



-- 
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: line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Liviu Andronic  írta:
>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  wrote:>
> Hello:>
>>
> How can I set or change the line spacing of the lyxlist style in lyx 2?>
> I would like to set the distance between the list items, and also the 
> linespace within the item. It is also fine if I have to use latex code, or 
> edit the preamble.>
>>
Look into the docs of the 'enumitem' module.>
>

Thanks.

I looked at the lyx's user guide and I found the following in section 3.3.7.3:

You can decrease the space by adding an optional argument to the first item of 
the list. There add the command nolistsep to get no additional list space like 
in this example:
• A bullet list
• without additional
• vertical space

If I understand correctly I have to add '\nolistsep' in TEX code, but I don't 
know where.  If add it right before the first item I get error message:

 \item \nolistsepa
 
The control sequence at the end of the top line
of your error message was never \def'ed.

The lyx user guide is very obscure in regard how and where to insert the 
commands.

bcsikos




Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  wrote:
> Hello:
>
> How can I set or change the line spacing of the lyxlist style in lyx 2?
> I would like to set the distance between the list items, and also the 
> linespace within the item. It is also fine if I have to use latex code, or 
> edit the preamble.
>
Look into the docs of the 'enumitem' module.

Liviu


> Thanks,
>
> bcsikos
>
>



-- 
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