BibTeX, biblatex and biber ⇒ Lyx to Latex
Lyx to Latex
When I export lyx file to latex, all my references are gone and citations turn to ? or ??.
Here is some related code lyx created when exporting;
...
\usepackage[authoryear]{natbib}
\usepackage[dot]{bibtopic}
...
...
\begin{singlespace}
\bibliographystyle{apsr}
\begin{btSect}{Ch3}
\btPrintCited
\end{btSect}
If anyone can let me know what is the problem, I would really appreciate any help!
Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Lyx to Latex
In any case, it's not possible to see what the problem could be from that code snippet. If the problem persists, we'll need an actual minimal working example.
Re: Lyx to Latex
I did that, but it doesn't work, either.
I post my preambles here, can you or anyone find any problems? I don't know what package can be deleted, which I guess might solve the problem....hopefully, I could get some feedback either from you or somebody.
Thanks!
\documentclass[12pt,english,openany]{article}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[letterpaper]{geometry}
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in,headheight=0.3in,headsep=0in}
\usepackage{babel}
\usepackage{array}
\usepackage{longtable}
\usepackage{float}
\usepackage{rotfloat}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{amssymb}
\usepackage[authoryear]{natbib}
\usepackage[dot]{bibtopic}
\doublespacing
\usepackage[unicode=true, pdfusetitle,
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]
{hyperref}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\numberwithin{equation}{section}
\numberwithin{figure}{section}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{graphicx}
%\DeclareMathSizes{12}{10}{7}{5}
\date{October 2010}
%\date{\today}
\renewcommand{\footnotesize}{\fontsize{11pt}{12.5pt}\selectfont}
\@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother
\begin{document}
......
\section*{References}
\begin{singlespace}
\bibliographystyle{apsr}
\begin{btSect}{Ch3}
\btPrintCited
\end{btSect}
\end{singlespace}
{\large \pagebreak{}}{\large \par}
\appendix
\section*{Appendix A}