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?
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 326 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 21
- Joined: Thu Nov 19, 2009 6:00 am
Chapterbib, citation with[?]: How to solve this problem?
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?
Best regards
Thorsten
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?
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
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?
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. […]
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?
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?
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}
-
- Posts: 21
- Joined: Thu Nov 19, 2009 6:00 am
Re: Chapterbib, citation with[?]: How to solve this problem?
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.