Re: apacite: citeA

2012-08-12 Thread PhilipPirrip

On 08/12/2012 06:29 AM, Jack Tanner wrote:

Aside from ERT, is there an easy way of having LyX generate \citeA commands for
some (but not all) citations rather than \cite?



You can ask LyX to insert citealt, for example. But then in the preamble add
\renewcommand*{\citealt}[1]{\citeA[#1]}, or something like that
Helps?



Re: enumitem.module in Lyx 2

2012-08-12 Thread Richard Heck

On 08/11/2012 08:44 PM, Jane Shevtsov wrote:

On Mon, Dec 12, 2011 at 12:37 AM, Guenter Milde mi...@users.sf.net wrote:

In my local ~/.lyx-svn/layouts folder, I have the previous version that
fully defines the Labeling style while the 2011-01-12 version seems to
inherit from stdlists.inc.

The following patch should fix the issue:

@@ -72,6 +72,7 @@ Input stdlyxlist.inc

  Style Labeling
 LatexName elabeling
+   OptionalArgs  1
 # FIXME This should probably be defined using \newlist instead
 Preamble
 % labeling-like list based on enumitem's description list with

How do I use this fix? Where do I put the code?


Find the enumitem.module file, and put
OptionalArgs 1
into the appropriate place. You can find it by just looking through the 
file.


Richard



Re: 'Show changes in output' doesn't work

2012-08-12 Thread Wolfgang Keller
 I would like lyx to track my changes without showing
 them to me (and clatter the editor).
 
 What am I missing?

Use of Subversion?

Sincerely,

Wolfgang


Re: apacite: citeA

2012-08-12 Thread Jack Tanner
PhilipPirrip pip at net.hr writes:

 
 You can ask LyX to insert citealt, for example. But then in the preamble add
 \renewcommand*{\citealt}[1]{\citeA[#1]}, or something like that

Thanks, that sounds promising, but how do I ask LyX to insert citealt?




Re: apacite: citeA

2012-08-12 Thread PhilipPirrip

On 08/12/2012 09:07 PM, Jack Tanner wrote:

Thanks, that sounds promising, but how do I ask LyX to insert citealt?


Use natbib (DocumentSettingsBibliographyNatbib).
Then, when inserting a citation (InsertCitation), you'll be able to 
choose the citation style. Check in ViewSource which command is 
inserted with each style.



I'm sorry for an error in the command from above, it should read
\renewcommand*{\citealt}[1]{\citeA{#1}}



Re: enumitem.module in Lyx 2

2012-08-12 Thread Jane Shevtsov
On Sun, Aug 12, 2012 at 9:56 AM, Richard Heck rgh...@lyx.org wrote:
 On 08/11/2012 08:44 PM, Jane Shevtsov wrote:

 On Mon, Dec 12, 2011 at 12:37 AM, Guenter Milde mi...@users.sf.net
 wrote:

 In my local ~/.lyx-svn/layouts folder, I have the previous version that
 fully defines the Labeling style while the 2011-01-12 version seems to
 inherit from stdlists.inc.

 The following patch should fix the issue:

 @@ -72,6 +72,7 @@ Input stdlyxlist.inc

   Style Labeling
  LatexName elabeling
 +   OptionalArgs  1
  # FIXME This should probably be defined using \newlist instead
  Preamble
  % labeling-like list based on enumitem's description list with

 How do I use this fix? Where do I put the code?

 Find the enumitem.module file, and put
 OptionalArgs 1
 into the appropriate place. You can find it by just looking through the
 file.

I did that, but it doesn't help. I still can't use Insert Short Title,
despite restarting Lyx.

I'm running Lyx 2.0.3 on Windows 7. Here's what the relevant part of
my enumitem.module file now looks like.

Input stdlyxlist.inc

Style Labeling
LatexName elabeling
OptionalArgs  1
# FIXME This should probably be defined using \newlist instead
Preamble
% labeling-like list based on enumitem's description list with
% mandatory second argument (label-pattern):
\newenvironment{elabeling}[2][]%
{\settowidth{\lyxlabelwidth}{#2}
\begin{description}[font=\normalfont,style=sameline,
leftmargin=\lyxlabelwidth,#1]}
{\end{description}}
EndPreamble
End



-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

In the long run, education intended to produce a molecular
geneticist, a systems ecologist, or an immunologist is inferior, both
for the individual and for society, than that intended to produce a
broadly educated person who has also written a dissertation. --John
Janovy, Jr., On Becoming a Biologist


Re: apacite: citeA

2012-08-12 Thread PhilipPirrip

On 08/12/2012 06:29 AM, Jack Tanner wrote:

Aside from ERT, is there an easy way of having LyX generate \citeA commands for
some (but not all) citations rather than \cite?



You can ask LyX to insert citealt, for example. But then in the preamble add
\renewcommand*{\citealt}[1]{\citeA[#1]}, or something like that
Helps?



Re: enumitem.module in Lyx 2

2012-08-12 Thread Richard Heck

On 08/11/2012 08:44 PM, Jane Shevtsov wrote:

On Mon, Dec 12, 2011 at 12:37 AM, Guenter Milde mi...@users.sf.net wrote:

In my local ~/.lyx-svn/layouts folder, I have the previous version that
fully defines the Labeling style while the 2011-01-12 version seems to
inherit from stdlists.inc.

The following patch should fix the issue:

@@ -72,6 +72,7 @@ Input stdlyxlist.inc

  Style Labeling
 LatexName elabeling
+   OptionalArgs  1
 # FIXME This should probably be defined using \newlist instead
 Preamble
 % labeling-like list based on enumitem's description list with

How do I use this fix? Where do I put the code?


Find the enumitem.module file, and put
OptionalArgs 1
into the appropriate place. You can find it by just looking through the 
file.


Richard



Re: 'Show changes in output' doesn't work

2012-08-12 Thread Wolfgang Keller
 I would like lyx to track my changes without showing
 them to me (and clatter the editor).
 
 What am I missing?

Use of Subversion?

Sincerely,

Wolfgang


Re: apacite: citeA

2012-08-12 Thread Jack Tanner
PhilipPirrip pip at net.hr writes:

 
 You can ask LyX to insert citealt, for example. But then in the preamble add
 \renewcommand*{\citealt}[1]{\citeA[#1]}, or something like that

Thanks, that sounds promising, but how do I ask LyX to insert citealt?




Re: apacite: citeA

2012-08-12 Thread PhilipPirrip

On 08/12/2012 09:07 PM, Jack Tanner wrote:

Thanks, that sounds promising, but how do I ask LyX to insert citealt?


Use natbib (DocumentSettingsBibliographyNatbib).
Then, when inserting a citation (InsertCitation), you'll be able to 
choose the citation style. Check in ViewSource which command is 
inserted with each style.



I'm sorry for an error in the command from above, it should read
\renewcommand*{\citealt}[1]{\citeA{#1}}



Re: enumitem.module in Lyx 2

2012-08-12 Thread Jane Shevtsov
On Sun, Aug 12, 2012 at 9:56 AM, Richard Heck rgh...@lyx.org wrote:
 On 08/11/2012 08:44 PM, Jane Shevtsov wrote:

 On Mon, Dec 12, 2011 at 12:37 AM, Guenter Milde mi...@users.sf.net
 wrote:

 In my local ~/.lyx-svn/layouts folder, I have the previous version that
 fully defines the Labeling style while the 2011-01-12 version seems to
 inherit from stdlists.inc.

 The following patch should fix the issue:

 @@ -72,6 +72,7 @@ Input stdlyxlist.inc

   Style Labeling
  LatexName elabeling
 +   OptionalArgs  1
  # FIXME This should probably be defined using \newlist instead
  Preamble
  % labeling-like list based on enumitem's description list with

 How do I use this fix? Where do I put the code?

 Find the enumitem.module file, and put
 OptionalArgs 1
 into the appropriate place. You can find it by just looking through the
 file.

I did that, but it doesn't help. I still can't use Insert Short Title,
despite restarting Lyx.

I'm running Lyx 2.0.3 on Windows 7. Here's what the relevant part of
my enumitem.module file now looks like.

Input stdlyxlist.inc

Style Labeling
LatexName elabeling
OptionalArgs  1
# FIXME This should probably be defined using \newlist instead
Preamble
% labeling-like list based on enumitem's description list with
% mandatory second argument (label-pattern):
\newenvironment{elabeling}[2][]%
{\settowidth{\lyxlabelwidth}{#2}
\begin{description}[font=\normalfont,style=sameline,
leftmargin=\lyxlabelwidth,#1]}
{\end{description}}
EndPreamble
End



-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

In the long run, education intended to produce a molecular
geneticist, a systems ecologist, or an immunologist is inferior, both
for the individual and for society, than that intended to produce a
broadly educated person who has also written a dissertation. --John
Janovy, Jr., On Becoming a Biologist


Re: apacite: citeA

2012-08-12 Thread PhilipPirrip

On 08/12/2012 06:29 AM, Jack Tanner wrote:

Aside from ERT, is there an easy way of having LyX generate \citeA commands for
some (but not all) citations rather than \cite?



You can ask LyX to insert citealt, for example. But then in the preamble add
\renewcommand*{\citealt}[1]{\citeA[#1]}, or something like that
Helps?



Re: enumitem.module in Lyx 2

2012-08-12 Thread Richard Heck

On 08/11/2012 08:44 PM, Jane Shevtsov wrote:

On Mon, Dec 12, 2011 at 12:37 AM, Guenter Milde  wrote:

In my local ~/.lyx-svn/layouts folder, I have the previous version that
fully defines the Labeling style while the 2011-01-12 version seems to
inherit from stdlists.inc.

The following patch should fix the issue:

@@ -72,6 +72,7 @@ Input stdlyxlist.inc

  Style Labeling
 LatexName elabeling
+   OptionalArgs  1
 # FIXME This should probably be defined using \newlist instead
 Preamble
 % labeling-like list based on enumitem's description list with

How do I use this fix? Where do I put the code?


Find the enumitem.module file, and put
OptionalArgs 1
into the appropriate place. You can find it by just looking through the 
file.


Richard



Re: 'Show changes in output' doesn't work

2012-08-12 Thread Wolfgang Keller
> I would like lyx to track my changes without showing
> them to me (and clatter the editor).
> 
> What am I missing?

Use of Subversion?

Sincerely,

Wolfgang


Re: apacite: citeA

2012-08-12 Thread Jack Tanner
PhilipPirrip  net.hr> writes:

> 
> You can ask LyX to insert citealt, for example. But then in the preamble add
> \renewcommand*{\citealt}[1]{\citeA[#1]}, or something like that

Thanks, that sounds promising, but how do I ask LyX to insert citealt?




Re: apacite: citeA

2012-08-12 Thread PhilipPirrip

On 08/12/2012 09:07 PM, Jack Tanner wrote:

Thanks, that sounds promising, but how do I ask LyX to insert citealt?


Use natbib (Document>Settings>Bibliography>Natbib).
Then, when inserting a citation (Insert>Citation), you'll be able to 
choose the citation style. Check in View>Source which command is 
inserted with each style.



I'm sorry for an error in the command from above, it should read
\renewcommand*{\citealt}[1]{\citeA{#1}}



Re: enumitem.module in Lyx 2

2012-08-12 Thread Jane Shevtsov
On Sun, Aug 12, 2012 at 9:56 AM, Richard Heck  wrote:
> On 08/11/2012 08:44 PM, Jane Shevtsov wrote:
>>
>> On Mon, Dec 12, 2011 at 12:37 AM, Guenter Milde 
>> wrote:
>>>
>>> In my local ~/.lyx-svn/layouts folder, I have the previous version that
>>> fully defines the Labeling style while the 2011-01-12 version seems to
>>> inherit from stdlists.inc.
>>>
>>> The following patch should fix the issue:
>>>
>>> @@ -72,6 +72,7 @@ Input stdlyxlist.inc
>>>
>>>   Style Labeling
>>>  LatexName elabeling
>>> +   OptionalArgs  1
>>>  # FIXME This should probably be defined using \newlist instead
>>>  Preamble
>>>  % labeling-like list based on enumitem's description list with
>>
>> How do I use this fix? Where do I put the code?
>>
> Find the enumitem.module file, and put
> OptionalArgs 1
> into the appropriate place. You can find it by just looking through the
> file.

I did that, but it doesn't help. I still can't use Insert Short Title,
despite restarting Lyx.

I'm running Lyx 2.0.3 on Windows 7. Here's what the relevant part of
my enumitem.module file now looks like.

Input stdlyxlist.inc

Style Labeling
LatexName elabeling
OptionalArgs  1
# FIXME This should probably be defined using \newlist instead
Preamble
% labeling-like list based on enumitem's description list with
% mandatory second argument (label-pattern):
\newenvironment{elabeling}[2][]%
{\settowidth{\lyxlabelwidth}{#2}
\begin{description}[font=\normalfont,style=sameline,
leftmargin=\lyxlabelwidth,#1]}
{\end{description}}
EndPreamble
End



-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

"In the long run, education intended to produce a molecular
geneticist, a systems ecologist, or an immunologist is inferior, both
for the individual and for society, than that intended to produce a
broadly educated person who has also written a dissertation." --John
Janovy, Jr., "On Becoming a Biologist"