I'm using LyX v 2.0.0 and MikTeX v 2.9.
I've downloaded the style files (*.bst, for example agsm.bst) from all over and other requirements (such as harvard.sty) was downloaded automatically when LyX/LaTeX/PDFLaTeX/whatever detected they were missing.
I've tried most possible combinations of the following settings:
> Setting 1) Document class: Either article or article(AMS)
> Setting 2) I've also changed the citation style to be one of the following:
2.1) Natbib (Author-year)
2.2) Harvard
> Setting 3) Setting the style as one of the following: agsm, apsr, dcu, kluwer.
To choose setting 2.1:
2.1.1) Document > Settings: Bibliography: Citation Style: Choose Natbib
2.1.2) In the same dialog: Natbib style = Author-year
2.1.3) Document > Settings: LaTeX Preamble: <Empty>
To choose setting 2.2:
2.2.1) Document > Settings: Bibliography: Citation Style: Choose Default
2.2.2) Document > Settings: LaTeX Preamble:
Code: Select all
\usepackage{hyperref}
\usepackage{harvard}
\renewcommand{\harvardurl}{URL:\url}
Code: Select all
#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass amsart
\begin_preamble
%\usepackage{hyperref}
%\usepackage{harvard}
%\renewcommand{\harvardurl}{URL:\url}
\end_preamble
\use_default_options true
\begin_modules
theorems-ams
eqs-within-sections
figs-within-sections
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine natbib_authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Section
Section
\end_layout
\begin_layout Standard
Testing:
\begin_inset CommandInset citation
LatexCommand citep
key "Delalandre.etal2010"
\end_inset
.
\end_layout
\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "E:/Documents/Vakke/Meesters/DocumentRecognition/DocumentRecog"
options "E:/Documents/Programs/Programmering/LaTeX/BibTeX/Harvard_PUK/agsm"
\end_inset
\end_layout
\end_body
\end_document
Code: Select all
% This file was created with JabRef 2.6.
% Encoding: Cp1252
@ARTICLE{Delalandre.etal2010,
author = {Mathieu Delalandre and Ernest Valveny and Tony Pridmore and Dimosthenis
Karatzas},
title = {Generation of synthetic documents for performance evaluation of symbol
recognition \& spotting systems},
journal = {International Journal on Document Analysis and Recognition},
year = {2010},
volume = {13},
pages = {187-207},
number = {3},
owner = {Administrator},
timestamp = {2011.05.25},
url = {http://portal.acm.org/citation.cfm?id=1858548}
}