BibTeX, biblatex and biber ⇒ Chapterbib, citation with[?]: How to solve this problem?
-
- Posts: 21
- Joined: Thu Nov 19, 2009 6:00 am
Chapterbib, citation with[?]: How to solve this problem?
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.
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 21
- Joined: Thu Nov 19, 2009 6:00 am
Chapterbib, citation with[?]: How to solve this problem?
There may be some conflicts between chapterbib and hyperref.
My hyperref is as follows
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}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Chapterbib, citation with[?]: How to solve this problem?
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
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 21
- Joined: Thu Nov 19, 2009 6:00 am
Re: Chapterbib, citation with[?]: How to solve this problem?
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?
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?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Chapterbib, citation with[?]: How to solve this problem?
I assume that the chapterbib manual will tell you that. You can access it on the command prompt.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?
Code: Select all
texdoc chapterbib
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 21
- Joined: Thu Nov 19, 2009 6:00 am
Re: Chapterbib, citation with[?]: How to solve this problem?
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.
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.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Chapterbib, citation with[?]: How to solve this problem?
Nobody told you to drop hyperref. Presumably you just need several more compiler runs to get all the references right.vietnamica wrote:[…] Without hyperref, I cannot create bookmarks. […]
Keep this option but drop the tocbibind package. Do not just load every package that comes your way. Read manuals first.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. […]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 21
- Joined: Thu Nov 19, 2009 6:00 am
Chapterbib, citation with[?]: How to solve this problem?
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 then the citation mark becomes [?]
2. I dropped tocbibind but there is still bibliography section in the TOC. I tried but it still exits.
If i used
Code: Select all
\usepackage[dvipdfm,bookmarks=true]{hyperref}
2. I dropped tocbibind but there is still bibliography section in the TOC. I tried
Code: Select all
\usepackage[notbib]{tocbibind}
-
- Posts: 21
- Joined: Thu Nov 19, 2009 6:00 am
Chapterbib, citation with[?]: How to solve this problem?
Here are my preamble
Thank you for your helps.
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}
-
- Posts: 21
- Joined: Thu Nov 19, 2009 6:00 am
Re: Chapterbib, citation with[?]: How to solve this problem?
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.
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.