BibTeX, biblatex and biberplainnat bibstyle with sort&comrpess

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
bbouling
Posts: 11
Joined: Tue Aug 05, 2008 11:17 am

plainnat bibstyle with sort&comrpess

Post by bbouling »

Hi all,
When I'm using the bibstyle "plainnat" the sort&compress option is not effective. Whereas when I use another bibstyle (els-article) -from the publisher Elsevier- it works perfectly.

Can you explain me why :?:


My bibliography is done through Jabref.
I use \citep{Aut1,Aut2} in the document
Here is the header of my document:

Code: Select all

documentclass[a4paper,11pt]{article}
%##############################################################################################
\usepackage[latin1]{inputenc}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage[version=3]{mhchem}
\usepackage{graphicx}
\usepackage[a4paper,hmargin=2cm,vmargin=2cm]{geometry}
\usepackage[sort&compress]{natbib}

%\usepackage{array}

\graphicspath{{graph/}}
\bibliographystyle{plainnat}%elsarticle-num
\setcitestyle{super,open={},close={},comma}

Recommended reading 2024:

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

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

Eenzc
Posts: 48
Joined: Thu Jun 26, 2008 2:38 pm

Re: plainnat bibstyle with sort&comrpess

Post by Eenzc »

I also have this problem with my own bibstyle using

natbib package and sort&compress
and
chapterbib package.

It doesn't sort and compress.

Ideas ?
bbouling
Posts: 11
Joined: Tue Aug 05, 2008 11:17 am

plainnat bibstyle with sort&comrpess

Post by bbouling »

Hi all,

I'm dealing with my thesis using natbib for the citation part.
Here again the sort&compress option doesn't seem to be effective...

I use \citep{} command to call my references in my chapter but my bibliography is completely unsorted :?:

Code: Select all

\documentclass[11pt]{book}

%\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\usepackage{times}

\usepackage{graphicx}
\graphicspath{{./chapitre1/graph/}}


\usepackage{amsmath}
%\usepackage{math}
\usepackage{amssymb,textcomp}
\usepackage{these}

%Packages
\usepackage[numbers,sort&compress]{natbib}
\usepackage[version=3]{mhchem}
.
.
.
.
\bibliographystyle{plainnat}
\bibliography{./biblio/biblio_these}


Post Reply