Sorry, my fault, I hadn´t realized the layout option is a Document
option, of ocurse,  not a lyx preference. I was testing it on the Help
file, which of course is read-only. It works on my file.

I think I understand the syntax of the simple customization language
used in the  layout file. What I don´t understand is why, in the
reference section, I get both the key and the reference. Shouldn´t the
key be omitted? If I have a text like:

As Franchi said in his latest and greatest  piece (2011),

with a reference like:

@Article{Franchi2011,
   author = {Stefano Franchi},
    title = {My best article},
   journal = {The journal},
   volume = {1},
   number = {1},
   pages = {200--220}}

  I would expect the reference  to look like

Franchi, Stefano, My best article, The journal, 1:1, pp. 200-220.

Instead the export gives something like:

[Franchi 2011] Franchi, Stefano, My best article, The journal (2011),
1:1, pp. 200-220.

How do I get rid of the key?

Thanks,

Stefano





On Mon, Feb 28, 2011 at 12:55 PM, Richard Heck <[email protected]> wrote:
> On 02/28/2011 01:30 PM, stefano franchi wrote:
>>
>> On Mon, Feb 28, 2011 at 10:37 AM, Richard Heck<[email protected]>  wrote:
>>>
>>> On 02/28/2011 09:57 AM, stefano franchi wrote:
>>>>
>>>> Is there any way to have some (minimal) control over the formatting of
>>>> the references?
>>>>
>>> Yes. See section 5.3.12 for the details. It's a bit messy, I'm afraid.
>>> These
>>> are layout commands, so they can be put in a module or added to
>>> Document>Settings>Local Layout.
>>
>> Thanks Richard, thatś what I was looking for.
>>
>> I guess I should :
>>
>> 1.Paste the layout description from the file into the Local Layout pane,
>> 2. validate it
>> 3. Save it
>>
>>
>> I tried BUT...
>>
>> I cannot get to 3. The layout validates, but the ¨Apply¨ button
>> remains greyed out.
>>
> Hmm. It seems to work here. Other info?
>
> rh
>
>

Reply via email to