BibTeX, biblatex and biberURL not appearing with Bibtex

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

URL not appearing with Bibtex

Post by Colin93 »

Hi everyone

I need to include websites in my references ans I'm using Bibtex. As you can see I use the package "url" but the websites do not appear on my pdf. Could you help me ?

Here's my premable :

Code: Select all

Code, edit and compile here:
\documentclass[a4paper,12pt]{book}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{longtable}
\usepackage{amsfonts,amsthm,amssymb}
\usepackage{fancyhdr}
\usepackage{multirow}
\usepackage{color}
\usepackage{geometry}
\usepackage{lscape}
\usepackage{stmaryrd}
\usepackage[utf8]{inputenc}
\usepackage[hyperindex]{hyperref}
\usepackage{lettrine}
\usepackage[T1]{fontenc}
\usepackage{eurosym}
\usepackage{fourier}
\usepackage{url}
\usepackage{nomencl,etoolbox,siunitx,ragged2e}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
And here are my references in my references section. This is a separate file :

Code: Select all

@Unpublished{5,
author = {M - mecaflux Heliciel},
title = {Theorie de Froude relative aux on propeller propulsion or traction},
OPTmonth = {May},
OPTyear = {2016},
OPTannote = {http://www.heliciel.com/en/helice/calcul-helice-aile/Theorie%20de%20Froude%20relative%20aux%20helices%20de%20traction%20ou%20propulsion.htm},
}
@misc{6,
OPTauthor = {ONERA - THE FRENCH AEROSPACE LAB},
OPTtitle = {elsA - a CFD Software Package for Compressible Flows around Complex Various geometries},
OPThowpublished = "\url{http://elsa.onera.fr/elsA/software/pressoft.html}",
OPTnote = "[Online; accessed May 2016]"
}
@misc{7,
OPTauthor = {ONERA - THE FRENCH AEROSPACE LAB},
OPTtitle = {DMFN – Mécanique des fluides numérique - Cassiopée},
OPThowpublished = "\url{http://www.onera.fr/fr/dmfn/cassiopee}",
OPTnote = "[Online; accessed May 2016]"
}
@Misc{8,
OPTauthor = {ANSYS},
OPTtitle = {ANSYS ICEM CFD},
OPThowpublished = "\url{http://resource.ansys.com/Products/Other+Products/ANSYS+ICEM+CFD}",
OPTnote = "[Online; accessed May 2016]"
}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I've tried different ways to make the websites appear...

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

URL not appearing with Bibtex

Post by Johannes_B »

Bibliographystyle? Most of the thousands of bibliographystyles for BibTeX do not support the inclusion of websites.

On the other hand, all styles for the modern biblatex support online entries and url-fields.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Re: URL not appearing with Bibtex

Post by Colin93 »

Hi Johannes_B

Yes I'm using Bibliographystyle...
So you're saying I should use Biblatex instead ? I didn't know this command... Thankyou !
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

URL not appearing with Bibtex

Post by Johannes_B »

My question was unclear. Which bibliographystyle are you using? Without knowing that, it is impossible to answer your question.

Yes, if you are not publishing in a journal, package biblatex is the way to go.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

URL not appearing with Bibtex

Post by Colin93 »

Errr I have these commands in my template...

Code: Select all

Code, edit and compile here:
\bibliographystyle{plain}
\renewcommand{\bibname}{References}
\addcontentsline{toc}{chapter}{\numberline{}References}
\lhead[\fancyplain{}{\bfseries \thepage}]%
{\fancyplain{}{\bfseries References}}
\rhead[\fancyplain{}{\bfseries References}]%
{\fancyplain{}{\bfseries \thepage}}
\cfoot{}%
\bibliography{references}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

URL not appearing with Bibtex

Post by Johannes_B »

Unless your plain.bst is not modified (which it shouldn't be) it shouldn't know any of the stuff starting with OPT. So it really isn't surprising that nothing is shown. Get rid of that OPT and just leave author, title, howpublished etc.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

URL not appearing with Bibtex

Post by Colin93 »

Hi Johannes_B

I'm now using this code :

Code: Select all

Code, edit and compile here:
\section*{Bibliography}
\bibliographystyle{apalike}
\bibliography{bibliography.bib}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I've uploaded the necessary packages in my preamble.

I'm using JabRef and I've the activated advanced Biblatex mode (as you have adviced someone earlier on http://tex.stackexchange.com/questions/ ... erence-man) so I can use @online. However the urls still do not appear on the pdf.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: URL not appearing with Bibtex

Post by Johannes_B »

Because you are not using biblatex, and if you do it clashes with the stuff at the end. You can't just say biblatex in jabref. Jabref is completely irrelevant here.

Please read some basic material on biblatex. Also, apa-citation and bibliography is completely different to a plain style. Since i don't know what you are trying to achive, i cannot even give a better advice.

Now, Weekend!
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

URL not appearing with Bibtex

Post by Colin93 »

Hi Johannes_B

U're right. I need to provide you a better example of what I do...

Here's my main .tex code. Pls click on pdf Viewer as u'll have an error when u run this code. You can nevertheless see the pdf output.

Code: Select all

Code, edit and compile here:
\documentclass[a4paper,12pt]{book}
%You can include all sorts of packages to get additional
%functionalities
\usepackage{graphicx}
\usepackage{subfigure}
%\usepackage[lofdepth,lotdepth]{subfig}
\usepackage{longtable}
\usepackage{amsfonts,amsthm,amssymb}
\usepackage{fancyhdr}
\usepackage{multirow}
\usepackage{color}
\usepackage{geometry}
%\usepackage{rotating}
\usepackage{lscape}
\usepackage{stmaryrd}
%\usepackage{tabularx}
\usepackage[utf8]{inputenc}
\usepackage[hyperindex]{hyperref}
\usepackage{lettrine}
\usepackage[T1]{fontenc}
\usepackage{eurosym}
\usepackage{fourier}
\usepackage{url}
%\usepackage{hyperref}
\usepackage{gensymb}
\usepackage{enumerate}
\usepackage{nicefrac}
\usepackage{enumitem}
\usepackage{amssymb}
\usepackage{wrapfig}
\usepackage[]{natbib}
\usepackage{nomencl,etoolbox,siunitx,ragged2e}
%You can also define your own mathematics shorthands
\newcommand{\diff}{\mbox{\,d}}
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Here's what my bibliography looks like...

Code: Select all

Code, edit and compile here:
% This file was created with JabRef 2.10.
% Encoding: UTF-8
@Article{9,
Title = {Accuracy of the actuator disc-RANS approach for predicting the performance and wake of tidal turbines},
Author = {\textsc{Batten, William MJ and Harrison, ME and Bahaj, AS}},
Year = {2013},
Number = {1985},
Pages = {20120293},
Url = {http://rsta.royalsocietypublishing.org/content/371/1985/20120293.short},
Volume = {371},
File = {:/home/nsamarak/Bureau/docs_drone/actuator_disk3.pdf:PDF},
Journal = {Philosophical Transactions of the Royal Society of London A: Mathematical, Physical and Engineering Sciences},
Publisher = {The Royal Society}
}
@Book{11,
Title = {Hover and wind-tunnel testing of shrouded rotors for improved micro air vehicle design},
Author = {\textsc{Jason L PEREIRA}},
Year = {2008},
Publisher = {ProQuest}
}
@Unpublished{7,
Title = {Experimantal Data of the Explodrone},
Author = {\textsc{Luis L\'{O}PEZ DE VEGA}},
Year = {2015},
Note = {Excell document with measured the forces induced by the blades and simulations via Fluent and StarCCM$+$ with various turbulence models},
File = {:/home/nsamarak/Bureau/docs_drone/Results.xls},
Owner = {nsamarak},
Timestamp = {2016.05.27}
}
@Mastersthesis{8,
Title = {Nozzle Flow Control Using Vortex Genrators},
Author = {\textsc{Luis L\'{O}PEZ DE VEGA}},
Year = {2015},
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
For every entry that's a @online, I'd like the url to appear on my pdf.
I'm going to read more about BibLatex. Thankyou for your advice.
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

URL not appearing with Bibtex

Post by Colin93 »

My problem is that when I add \usepackage{biblatex} in my preamble, I get these error messages :

[color=#4000BF! LaTeX Error: Command \bibhang already defined.

! LaTeX Error: Command \NAT@parse already defined.

! LaTeX Error: Command \citename already defined.

! Package biblatex Error: Incompatible package 'natbib'.

! Package biblatex Error: File 'myreport.bbl' not created by biblatex.

! Package biblatex Error: '\bibliographystyle' invalid.

! LaTeX Error: Can be used only in preamble. --> for line with \bibliography{bibliography.bib}
Post Reply