BibTeX, biblatex and biberChapterbib, citation with[?]: How to solve this problem?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
vietnamica
Posts: 21
Joined: Thu Nov 19, 2009 6:00 am

Chapterbib, citation with[?]: How to solve this problem?

Post by vietnamica »

Dear all

I am using chapterbib. Whenever there should be a citation, i get [?] instead of [1] for example. Please advise.

I did lambda main tex file --> bibtex included 1st file --> bibtex included 2nd file --> lambda main tex file --> lambda main tex file --> dvipdfmx main tex file.

Thank you very much.
Attachments
cb_sample.rar
(137.24 KiB) Downloaded 325 times

Recommended reading 2024:

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

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

vietnamica
Posts: 21
Joined: Thu Nov 19, 2009 6:00 am

Chapterbib, citation with[?]: How to solve this problem?

Post by vietnamica »

There may be some conflicts between chapterbib and hyperref.

My hyperref is as follows

Code: Select all

\usepackage[dvipdfm,bookmarks=true,backref,colorlinks,linkcolor=black,citecolor=black, filecolor=black,menucolor=black,pagecolor=black,urlcolor=black,pdfstartview=FitH]{hyperref}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Chapterbib, citation with[?]: How to solve this problem?

Post by localghost »

What is »lambda« in this context? Note that you have to process each separate *.aux file with BibTeX. And drop the dvipdfm option. It is completely useless.


Best regards
Thorsten
vietnamica
Posts: 21
Joined: Thu Nov 19, 2009 6:00 am

Re: Chapterbib, citation with[?]: How to solve this problem?

Post by vietnamica »

I use lamdda.exe to compile instead of latex.exe. This helps me with Omega and Vietnamese.

You are right on option dvipdfm. When I use hyperref package with dvipdfm option, then citation mark becomes [?]. When I do not use hyperref, then chapterbib works well.

In the table of content, there is an entry of Bibliography as the last section of each chapter. How can I remove this entry in the table of content?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Chapterbib, citation with[?]: How to solve this problem?

Post by localghost »

vietnamica wrote:[…] In the table of content, there is an entry of Bibliography as the last section of each chapter. How can I remove this entry in the table of content?
I assume that the chapterbib manual will tell you that. You can access it on the command prompt.

Code: Select all

texdoc chapterbib
vietnamica
Posts: 21
Joined: Thu Nov 19, 2009 6:00 am

Re: Chapterbib, citation with[?]: How to solve this problem?

Post by vietnamica »

I read several chapterbib manuals. Now there are two problems:

1. Without hyperref, I cannot create bookmarks.

2. The option [sectionbib] of chapterbib - i used this option - makes Bibliography a section* instead of a chapter*. Thus, there is last section of Bibliography in the Table of Content. I want NO bibliography section in my TOC.

Please advise. Thank you.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Chapterbib, citation with[?]: How to solve this problem?

Post by localghost »

vietnamica wrote:[…] Without hyperref, I cannot create bookmarks. […]
Nobody told you to drop hyperref. Presumably you just need several more compiler runs to get all the references right.
vietnamica wrote:[…] The option [sectionbib] of chapterbib - i used this option - makes Bibliography a section* instead of a chapter*. Thus, there is last section of Bibliography in the Table of Content. I want NO bibliography section in my TOC. […]
Keep this option but drop the tocbibind package. Do not just load every package that comes your way. Read manuals first.
vietnamica
Posts: 21
Joined: Thu Nov 19, 2009 6:00 am

Chapterbib, citation with[?]: How to solve this problem?

Post by vietnamica »

1. If i keep hyperref without option of dvipdfm, i cannot compile my tex file. This may be because i used the package omegavn for Vietnamese typesetting.

If i used

Code: Select all

\usepackage[dvipdfm,bookmarks=true]{hyperref}
then the citation mark becomes [?]

2. I dropped tocbibind but there is still bibliography section in the TOC. I tried

Code: Select all

\usepackage[notbib]{tocbibind}
but it still exits.
vietnamica
Posts: 21
Joined: Thu Nov 19, 2009 6:00 am

Chapterbib, citation with[?]: How to solve this problem?

Post by vietnamica »

Here are my preamble

Code: Select all

\documentclass[11pt,a4paper,titlepage,twoside]{book}
\usepackage{amsmath,amssymb,amsfonts,mathrsfs,amsmathfix}
%\usepackage[dvipdfm,bookmarks=true]{hyperref}
\usepackage[dvipdfm]{graphicx}
\DeclareGraphicsRule{*}{eps}{*}{}
\usepackage{longtable}
\usepackage{lscape}
\usepackage{fancybox}
\usepackage{wrapfig}
\usepackage{subfigure}
\usepackage{titlesec}
\usepackage{titletoc}
%%margin%%
\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\parindent=0.5cm
\columnsep=1cm
\linespread{1.2}
%%%chaptertibib%%
\usepackage[sectionbib]{chapterbib}
%\usepackage[notbib]{tocbibind}
%%%%%

%%VIETNAMESE%%
\usepackage{omegavn}
\fontvn[refser]

%%INDEX%%
\usepackage{makeidx}
\makeindex
\renewcommand{\see}[2]{\emph{xem} #1}
\usepackage{multicol}

%%Multi-index
%\usepackage{mulind}	
%\makeindex{general}	%\index{general}{key words}%%
%\makeindex{authors}	%\index{authors}{author}%%
%%%%

%%PAGE LAYOUT%%%
%\usepackage{fancyhdr}
\pagestyle{myheadings}
\markboth{{\footnotesize \copyright{} }}{}

%%%TITLE AND AUTHOR%%%%
\title{}
\author{}\\
\small{Volume 1, Issue 1}
}
\date{\today}
Thank you for your helps.
vietnamica
Posts: 21
Joined: Thu Nov 19, 2009 6:00 am

Re: Chapterbib, citation with[?]: How to solve this problem?

Post by vietnamica »

I tried and found that tocbibind conflicts with chapterbib. The package which you place first will disable the latter.

For example, if you put \usepackage[notbib]{tocbibind} then put \usepackage[sectionbib]{chapterbib} then the Bibliography will be defined as a chapter not a section.
Post Reply