New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

citepages=omit not working with paged volcite #263

Closed
gllmhyt opened this Issue Aug 3, 2014 · 8 comments

Comments

Projects
None yet
3 participants
@gllmhyt
Copy link

gllmhyt commented Aug 3, 2014

I am using citepages=omit because I prefer to hide de pages interval of an article or a chapter when I'm citing the exact page. It's working well when I use footcite, but sadly it's not working with fvolcite : the page interval is displayed and causes incoherence between citations of books or multivolumed books.

@aboruvka

This comment has been minimized.

Copy link
Collaborator

aboruvka commented Aug 7, 2014

Can you post a minimal example here?

@gllmhyt

This comment has been minimized.

Copy link

gllmhyt commented Aug 7, 2014

Okay, here it is. First, the mwe.bib.

@mvbook{key1,
  author = {Author One},
  title = {Work One},
  volumes = {2}
}

@article{key2,
 author = {Author Two},
 title = {Work Two},
 journal = {Some journal},
 pages = {1-2}
}

@book{key3,
 author = {Author One},
 title = {Work One},
 volume = {1}
}

Two shots : mwe1.tex (footcites first) and mwe2.tex (fvolcites first), compiled with pdflatex and biber.

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber,%
citestyle=verbose-trad2,%
citepages=omit]{biblatex}

\bibliography{mwe}

\begin{document}
Example 1\footcites[][]{key3}[][2]{key2}.
Example 2\fvolcites()()[]{1}[]{key1}[]{}[2]{key2}.
\end{document}

MWE1

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber,%
citestyle=verbose-trad2,%
citepages=omit]{biblatex}

\bibliography{mwe}

\begin{document}
Example 1\fvolcites()()[]{1}[]{key1}[]{}[2]{key2}.
Example 2\footcites[][]{key3}[][2]{key2}.
\end{document}

MWE2

The two first lines are quite obvious : with the footcite, the "1-2" pages are omitted, not with fvolcite.

@aboruvka

This comment has been minimized.

Copy link
Collaborator

aboruvka commented Aug 11, 2014

The citepages option is intended to avoid repetitious page references from the pages/pagetotal and postnote fields. Here you achieve repetition with \fvolcite and friends because the mandatory volume argument is empty. We can fix the issue, but I am thinking pages/pagetotal should be suppressed only for this special case; that is, when the volume citation argument is empty. Did you anticipate some other behaviour when a volume is cited?

@gllmhyt

This comment has been minimized.

Copy link

gllmhyt commented Aug 11, 2014

The problem here might bee the mixed use I have of the command: I'm using fvolcite to cite a mvbook and a regular one-volume-only item, indeed having the volume argument empty. If this argument is mandatory, as you say, so we need a way to mix it: that's not because I cite one mvbook that both are. So, yes, when the volume argument is empty, that should mean that this is not a multivolume entry and should be treated like it's called by a regular cite, I think.

@plk

This comment has been minimized.

Copy link
Owner

plk commented Sep 24, 2014

@aboruvka - can we close this?

@aboruvka

This comment has been minimized.

Copy link
Collaborator

aboruvka commented Nov 27, 2014

@plk I think so. I had a solution in mind last time I looked at this, but I can't see why we should fix an issue that arises when a mandatory argument is missing. The desired output can be produced in a footnote with multiple citation commands.

@aboruvka aboruvka closed this Nov 27, 2014

@gllmhyt

This comment has been minimized.

Copy link

gllmhyt commented Nov 28, 2014

@aboruvka Can you explain me how ?

@aboruvka

This comment has been minimized.

Copy link
Collaborator

aboruvka commented Nov 28, 2014

@postblue Here's an example.

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=verbose-trad2,citepages=omit]{biblatex}
\bibliography{biblatex-examples}

\newcommand*{\cmd}[1]{\texttt{\char`\\#1}}

\begin{document}
\null\vfill
\cmd{fvolcites}.\fvolcites()()[]{D}[]{knuth:ct}[]{A}[530]{bertram}
\citereset
\cmd{fvolcites} with missing volume.\fvolcites()()[]{D}[]{knuth:ct}[]{}[530]{bertram}
\citereset
\cmd{footcites}.\footcites[][]{knuth:ct}[][530]{bertram}
\citereset
\cmd{volcite} and \cmd{cite} in
\cmd{footnote}.\footnote{\volcite{D}{knuth:ct}; \cite[530]{bertram}.}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment