On 09/03/2017 07:36 PM, John K. Parejko wrote:
> Hello,
>
> I’m working with a custom LaTeX class[1], based off of article, and I’ve made
> a LyX layout for it (attached below, modified from article.layout) that works
> well so far, except for the bibliography. The latex class specifies the
> bibliography style:
>
> \bibliographystyle{lsst_aa}
>
> and there is no option in LyX’s BibTeX Bibliography window to use the
> “default” style, nor can I figure out a way to modify the custom layout file
> to not insert \bibliographystyle. Thus, the document cannot be built because
> there will be two styles.
>
> Is there a command to add to the layout file to prevent LyX from adding the
> bibliography style?
No, but you do not have to enter a style in the bibliography dialog. LyX
will insert one by default, but you can erase it. Then no
\bibliographystyle is output.
Richard