Re: How to create new items?

2012-07-30 Thread Richard Heck

On 07/28/2012 07:02 PM, chi pro wrote:
Well that revealed my ignorance. I would like to add a new heading 
called Implication that Lyx is then supposed to number for me, just 
like Propositions, Lemmas, etc.


Hope this helps.

You need to create some new layout. If this is something you think you 
will use again in another paper, then put it into a module of your own. 
If not, if it's just a one-off sort of thing, then you can put it into 
Local Layout, under DocumentSettings. You can read about layout and 
modules and such in Chapter 5 of the Customization manual.


In this case, though, we can just crib off what's already in LyX. In the 
theorems.inc file, we have, e.g.:


Style Fact
CopyStyle Theorem
DependsOn  Theorem
LatexName fact
LabelString   Fact \thetheorem.
Preamble
\theoremstyle{plain}
\newtheorem{fact}[thm]{\protect\factname}
EndPreamble
LangPreamble
\providecommand{\factname}{_(Fact)}
EndLangPreamble
BabelPreamble
\addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
EndBabelPreamble
End

We can just copy it over change the obvious parts to make it an 
Implication, leaving out the translation-related stuff (which won't do 
anything for you).


So the module might look like this:

#\DeclareLyXModule{New Theorem Styles}
#DescriptionBegin
#Defines some additional theorem-like environments, including Implication.
#DescriptionEnd
#Requries: theorems-ams | theorems-std
#Category: theorems

# Author: Richard Heck rgh...@comcast.net

Format 35

Style Implication
CopyStyle Theorem
DependsOn  Theorem
LatexName fact
LabelString   Implication \thetheorem.
Preamble
\theoremstyle{plain}
\newtheorem{implic}[thm]{Implication}
EndPreamble
End

Put that in a file newtheorems.module, save it in your local LyX user 
directory, reconfigure LyX, and you should see the module as one of your 
choices.


Richard



Problem with customized lists

2012-07-30 Thread CP
I would like to use roman numerals for lists and be able to cross-reference them
in the document.



Example:

i) blah
ii) blah

The elements in the text i) and ii) refer to gibberish.



I added the following line to the preamble

\renewcommand{\theenumi}{\roman{enumi})}

This achieves almost exactly what I want, except that the list has dots after
the parentheses, e.g.

i). blah
ii). blah

Does anyone know how to remove those?

Thanks.



Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread CP
CP chipro007 at gmail.com writes:

 I'm using BibDesk for my literature and am trying to add more references to
the reference list at the end of a paper without having referenced them in the
text. Any ideas?
 Thanks!

My current 'dirty' solution is to add the references that were not used in the
text separately somewhere in the document and white them out. I'm still hoping
for a better solution..



Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Stephen Buonopane

On Jul 30, 2012, at 11:07 AM, CP wrote:

 CP chipro007 at gmail.com writes:
 
 I'm using BibDesk for my literature and am trying to add more references to
 the reference list at the end of a paper without having referenced them in the
 text. Any ideas?
 Thanks!
 
 My current 'dirty' solution is to add the references that were not used in the
 text separately somewhere in the document and white them out. I'm still hoping
 for a better solution..
 

Not sure if the can be done from BiBDesk or even LyX Gui, 
but the bibtex command you need is \nocite{}.
I have done it with ERT in LyX with no problems.




Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Jürgen Spitzmüller
2012/7/29 CP:
 I'm using BibDesk for my literature and am trying to add more references to 
 the
 reference list at the end of a paper without having referenced them in the 
 text.
 Any ideas?

In LyX's citation dialog, select the item Add to bibliography only
from the Citation Style combo. You can add all those references to a
single citation instance.

If you want really all entries of the database listed, then left-click
on the BibTeX bibliography button and select All bibliography
entries from the Contents combo.

Jürgen

 Thanks!



Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Jürgen Spitzmüller
2012/7/30 Stephen Buonopane:
 Not sure if the can be done from BiBDesk or even LyX Gui,
 but the bibtex command you need is \nocite{}.
 I have done it with ERT in LyX with no problems.

What I have described above in this thread is the LyX way to get
\nocite and \nocite*.

Jürgen


Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread CP
Jürgen Spitzmüller spitz at lyx.org writes:
 In LyX's citation dialog, select the item Add to bibliography only
 from the Citation Style combo. You can add all those references to a
 single citation instance.
 
 If you want really all entries of the database listed, then left-click
 on the BibTeX bibliography button and select All bibliography
 entries from the Contents combo.

Thanks guys. Juergen: that works great! Many thanks.





Re: Problem with customized lists

2012-07-30 Thread Richard Heck

On 07/30/2012 10:42 AM, CP wrote:

I would like to use roman numerals for lists and be able to cross-reference them
in the document.

Example:

i) blah
ii) blah

The elements in the text i) and ii) refer to gibberish.



I added the following line to the preamble

\renewcommand{\theenumi}{\roman{enumi})}

This achieves almost exactly what I want, except that the list has dots after
the parentheses, e.g.

i). blah
ii). blah

Does anyone know how to remove those?

Look into the enumitem package, which LyX already uses for some lists. 
It makes it much easier to do this kind of thing.


Richard



Re: Problem with customized lists

2012-07-30 Thread CP
Thanks Richard. I found a way with your suggestion.



Re: How to create new items?

2012-07-30 Thread CP
Thanks Richard. That took care of it.





Re: How to create new items?

2012-07-30 Thread Richard Heck

On 07/28/2012 07:02 PM, chi pro wrote:
Well that revealed my ignorance. I would like to add a new heading 
called Implication that Lyx is then supposed to number for me, just 
like Propositions, Lemmas, etc.


Hope this helps.

You need to create some new layout. If this is something you think you 
will use again in another paper, then put it into a module of your own. 
If not, if it's just a one-off sort of thing, then you can put it into 
Local Layout, under DocumentSettings. You can read about layout and 
modules and such in Chapter 5 of the Customization manual.


In this case, though, we can just crib off what's already in LyX. In the 
theorems.inc file, we have, e.g.:


Style Fact
CopyStyle Theorem
DependsOn  Theorem
LatexName fact
LabelString   Fact \thetheorem.
Preamble
\theoremstyle{plain}
\newtheorem{fact}[thm]{\protect\factname}
EndPreamble
LangPreamble
\providecommand{\factname}{_(Fact)}
EndLangPreamble
BabelPreamble
\addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
EndBabelPreamble
End

We can just copy it over change the obvious parts to make it an 
Implication, leaving out the translation-related stuff (which won't do 
anything for you).


So the module might look like this:

#\DeclareLyXModule{New Theorem Styles}
#DescriptionBegin
#Defines some additional theorem-like environments, including Implication.
#DescriptionEnd
#Requries: theorems-ams | theorems-std
#Category: theorems

# Author: Richard Heck rgh...@comcast.net

Format 35

Style Implication
CopyStyle Theorem
DependsOn  Theorem
LatexName fact
LabelString   Implication \thetheorem.
Preamble
\theoremstyle{plain}
\newtheorem{implic}[thm]{Implication}
EndPreamble
End

Put that in a file newtheorems.module, save it in your local LyX user 
directory, reconfigure LyX, and you should see the module as one of your 
choices.


Richard



Problem with customized lists

2012-07-30 Thread CP
I would like to use roman numerals for lists and be able to cross-reference them
in the document.



Example:

i) blah
ii) blah

The elements in the text i) and ii) refer to gibberish.



I added the following line to the preamble

\renewcommand{\theenumi}{\roman{enumi})}

This achieves almost exactly what I want, except that the list has dots after
the parentheses, e.g.

i). blah
ii). blah

Does anyone know how to remove those?

Thanks.



Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread CP
CP chipro007 at gmail.com writes:

 I'm using BibDesk for my literature and am trying to add more references to
the reference list at the end of a paper without having referenced them in the
text. Any ideas?
 Thanks!

My current 'dirty' solution is to add the references that were not used in the
text separately somewhere in the document and white them out. I'm still hoping
for a better solution..



Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Stephen Buonopane

On Jul 30, 2012, at 11:07 AM, CP wrote:

 CP chipro007 at gmail.com writes:
 
 I'm using BibDesk for my literature and am trying to add more references to
 the reference list at the end of a paper without having referenced them in the
 text. Any ideas?
 Thanks!
 
 My current 'dirty' solution is to add the references that were not used in the
 text separately somewhere in the document and white them out. I'm still hoping
 for a better solution..
 

Not sure if the can be done from BiBDesk or even LyX Gui, 
but the bibtex command you need is \nocite{}.
I have done it with ERT in LyX with no problems.




Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Jürgen Spitzmüller
2012/7/29 CP:
 I'm using BibDesk for my literature and am trying to add more references to 
 the
 reference list at the end of a paper without having referenced them in the 
 text.
 Any ideas?

In LyX's citation dialog, select the item Add to bibliography only
from the Citation Style combo. You can add all those references to a
single citation instance.

If you want really all entries of the database listed, then left-click
on the BibTeX bibliography button and select All bibliography
entries from the Contents combo.

Jürgen

 Thanks!



Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Jürgen Spitzmüller
2012/7/30 Stephen Buonopane:
 Not sure if the can be done from BiBDesk or even LyX Gui,
 but the bibtex command you need is \nocite{}.
 I have done it with ERT in LyX with no problems.

What I have described above in this thread is the LyX way to get
\nocite and \nocite*.

Jürgen


Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread CP
Jürgen Spitzmüller spitz at lyx.org writes:
 In LyX's citation dialog, select the item Add to bibliography only
 from the Citation Style combo. You can add all those references to a
 single citation instance.
 
 If you want really all entries of the database listed, then left-click
 on the BibTeX bibliography button and select All bibliography
 entries from the Contents combo.

Thanks guys. Juergen: that works great! Many thanks.





Re: Problem with customized lists

2012-07-30 Thread Richard Heck

On 07/30/2012 10:42 AM, CP wrote:

I would like to use roman numerals for lists and be able to cross-reference them
in the document.

Example:

i) blah
ii) blah

The elements in the text i) and ii) refer to gibberish.



I added the following line to the preamble

\renewcommand{\theenumi}{\roman{enumi})}

This achieves almost exactly what I want, except that the list has dots after
the parentheses, e.g.

i). blah
ii). blah

Does anyone know how to remove those?

Look into the enumitem package, which LyX already uses for some lists. 
It makes it much easier to do this kind of thing.


Richard



Re: Problem with customized lists

2012-07-30 Thread CP
Thanks Richard. I found a way with your suggestion.



Re: How to create new items?

2012-07-30 Thread CP
Thanks Richard. That took care of it.





Re: How to create new items?

2012-07-30 Thread Richard Heck

On 07/28/2012 07:02 PM, chi pro wrote:
Well that revealed my ignorance. I would like to add a new "heading" 
called "Implication" that Lyx is then supposed to number for me, just 
like Propositions, Lemmas, etc.


Hope this helps.

You need to create some new layout. If this is something you think you 
will use again in another paper, then put it into a module of your own. 
If not, if it's just a one-off sort of thing, then you can put it into 
Local Layout, under Document>Settings. You can read about layout and 
modules and such in Chapter 5 of the Customization manual.


In this case, though, we can just crib off what's already in LyX. In the 
theorems.inc file, we have, e.g.:


Style Fact
CopyStyle Theorem
DependsOn  Theorem
LatexName fact
LabelString   "Fact \thetheorem."
Preamble
\theoremstyle{plain}
\newtheorem{fact}[thm]{\protect\factname}
EndPreamble
LangPreamble
\providecommand{\factname}{_(Fact)}
EndLangPreamble
BabelPreamble
\addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
EndBabelPreamble
End

We can just copy it over change the obvious parts to make it an 
"Implication", leaving out the translation-related stuff (which won't do 
anything for you).


So the module might look like this:

#\DeclareLyXModule{New Theorem Styles}
#DescriptionBegin
#Defines some additional theorem-like environments, including Implication.
#DescriptionEnd
#Requries: theorems-ams | theorems-std
#Category: theorems

# Author: Richard Heck 

Format 35

Style Implication
CopyStyle Theorem
DependsOn  Theorem
LatexName fact
LabelString   "Implication \thetheorem."
Preamble
\theoremstyle{plain}
\newtheorem{implic}[thm]{Implication}
EndPreamble
End

Put that in a file newtheorems.module, save it in your local LyX user 
directory, reconfigure LyX, and you should see the module as one of your 
choices.


Richard



Problem with customized lists

2012-07-30 Thread CP
I would like to use roman numerals for lists and be able to cross-reference them
in the document.



Example:

i) blah
ii) blah

The elements in the text i) and ii) refer to gibberish.

<

I added the following line to the preamble

\renewcommand{\theenumi}{\roman{enumi})}

This achieves almost exactly what I want, except that the list has dots after
the parentheses, e.g.

i). blah
ii). blah

Does anyone know how to remove those?

Thanks.



Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread CP
CP  gmail.com> writes:

> I'm using BibDesk for my literature and am trying to add more references to
the reference list at the end of a paper without having referenced them in the
text. Any ideas?
> Thanks!

My current 'dirty' solution is to add the references that were not used in the
text separately somewhere in the document and white them out. I'm still hoping
for a better solution..



Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Stephen Buonopane

On Jul 30, 2012, at 11:07 AM, CP wrote:

> CP  gmail.com> writes:
> 
>> I'm using BibDesk for my literature and am trying to add more references to
> the reference list at the end of a paper without having referenced them in the
> text. Any ideas?
>> Thanks!
> 
> My current 'dirty' solution is to add the references that were not used in the
> text separately somewhere in the document and white them out. I'm still hoping
> for a better solution..
> 

Not sure if the can be done from BiBDesk or even LyX Gui, 
but the bibtex command you need is \nocite{}.
I have done it with ERT in LyX with no problems.




Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Jürgen Spitzmüller
2012/7/29 CP:
> I'm using BibDesk for my literature and am trying to add more references to 
> the
> reference list at the end of a paper without having referenced them in the 
> text.
> Any ideas?

In LyX's citation dialog, select the item "Add to bibliography only"
from the Citation Style combo. You can add all those references to a
single citation instance.

If you want really all entries of the database listed, then left-click
on the "BibTeX bibliography" button and select "All bibliography
entries" from the "Contents" combo.

Jürgen

> Thanks!
>


Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Jürgen Spitzmüller
2012/7/30 Stephen Buonopane:
> Not sure if the can be done from BiBDesk or even LyX Gui,
> but the bibtex command you need is \nocite{}.
> I have done it with ERT in LyX with no problems.

What I have described above in this thread is the LyX way to get
\nocite and \nocite*.

Jürgen


Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread CP
Jürgen Spitzmüller  lyx.org> writes:
> In LyX's citation dialog, select the item "Add to bibliography only"
> from the Citation Style combo. You can add all those references to a
> single citation instance.
> 
> If you want really all entries of the database listed, then left-click
> on the "BibTeX bibliography" button and select "All bibliography
> entries" from the "Contents" combo.

Thanks guys. Juergen: that works great! Many thanks.





Re: Problem with customized lists

2012-07-30 Thread Richard Heck

On 07/30/2012 10:42 AM, CP wrote:

I would like to use roman numerals for lists and be able to cross-reference them
in the document.

Example:

i) blah
ii) blah

The elements in the text i) and ii) refer to gibberish.

<

I added the following line to the preamble

\renewcommand{\theenumi}{\roman{enumi})}

This achieves almost exactly what I want, except that the list has dots after
the parentheses, e.g.

i). blah
ii). blah

Does anyone know how to remove those?

Look into the enumitem package, which LyX already uses for some lists. 
It makes it much easier to do this kind of thing.


Richard



Re: Problem with customized lists

2012-07-30 Thread CP
Thanks Richard. I found a way with your suggestion.



Re: How to create new items?

2012-07-30 Thread CP
Thanks Richard. That took care of it.