TeX - LaTeX Asked by Lata Deokar on September 25, 2021
I am using TexShop. The document class is scrbook
. In the bibliography, there are a few texts under one author. For some unknown reason, since yesterday the author’s name gets repeated and some texts occur under one while others under other. I have run BibTeX several times. If I get this fixed then the footnote no.s instead of starting from one on each page, get continuous numbering. So I can’t get all texts under one author and footnote no.s restarting every page. Need help.
documentclass[11pt,english]{scrbook}
usepackage{fontspec}
usepackage[paperwidth=16cm,paperheight=24cm]{geometry}
geometry{verbose,tmargin=2.5cm,bmargin=2.5cm,lmargin=2cm,rmargin=2cm}
usepackage{polyglossia}
setdefaultlanguage{english}
setmainfont{Gentium Plus}
% !BIB program = biber
usepackage[para]{footmisc}
usepackage{perpage}
MakePerPage{footnote}
usepackage[
backend=biber,
style=philosophy-modern,
publocformat=loccolonpub,
inbeforejournal=true]{biblatex}
addbibresource{mybiblio.bib}
Here are the bib entries:
@book{amara_namalinganus!asana_1914,
author = {Amarasiṃha},
location = {Trivandrum},
title = {The Nâmaliṅgânus(!)âsana of Amarasimha. With the
Commentary T(!)îkâsarvaswa of
Vandyaghat(!)îya-Sarvânanda. Parts I and {IV}},
editor = {Sâstrî, T. Gaṇapati},
series = {Trivandruṃ Sanskrit Series},
number = {{XXXVIII}, {LII}},
date = 1914,
}
@book{amara_namalinganus!asana_1915,
author = {Amarasiṃha},
location = {Trivandrum},
title = {The Nâmalingânus(!)âsana of Amarasimha. With the two
commentaries Amarakosodghâṭana of Kshîrasvâmin and
T(!)îkâsarvasva of
Vandyaghat(!)îya-Sarvânanda. Parts {II} and {III}},
editor = {Sâstrî, T. Gaṇapati},
series = {Trivandrum Sanskrit Series},
number = {{XLIII}, {LI}},
date = 1915,
}
@book{oka_namalinganusasana_1913,
author = {Amarasiṃha},
location = {Poona},
title = {The Nâmalingânuśâsana: (Amarakosha) of Amarasimha
with the Commentary (Amarakoshodghâtana) of
Kshîrasvâmin},
editor = {Oka, K. G.},
date = 1913,
}
@book{amara_namalinganusasana_1929,
author = {Amarasiṃha},
location = {Bombay},
edition = {Fifth edition},
title = {The Nâmalingânuśâsana (Amarakosha) of
Amarasimha. With the Commentary (Vyâkhyâsudhâ or
Ramâśramî) of Bhânuji Dîkshit. Edited with Notes},
reviser = {Paṇśīkar, Wāsudev Laxmaṇ Śāstrī},
date = 1929,
}
As discussed off-site at https://gist.github.com/moewew/348f8601e2988d76228dbe665dc89a58 the OP was asking about situations where the author/editor name is repeated after a page break as in
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[
backend=biber,
style=philosophy-modern,
publocformat=loccolonpub,
inbeforejournal=true]{biblatex}
addbibresource{biblatex-examples.bib}
begin{document}
nocite{aristotle:anima,aristotle:physics,
aristotle:poetics,aristotle:rhetoric,
aksin,geer,chiu,angenendt,herrmann,
knuth:ct:a,knuth:ct:b,knuth:ct:c,knuth:ct:d,knuth:ct:e,
sigfridsson,nussbaum,worman}
printbibliography
end{document}
This is intentional as biblatex
thinks it is useful to repeat the name on the new page for the avoidance of doubt, it also saves your readers having to flip back to the last page to check the name.
Ultimately, this is implemented in the bibmacro bbx:dashcheck
(defined in authoryear.bbx
)
newbibmacro*{bbx:dashcheck}[2]{%
ifboolexpr{
test {iffieldequals{fullhash}{bbx@lasthash}}
and
not test iffirstonpage
and
(
not bool {bbx@inset}
or
test {iffieldequalstr{entrysetcount}{1}}
)
}
{#1}
{#2}}
with iffirstonpage
. iffirstonpage
obeys the pagetracker
option, so if you don't like it at all that biblatex
restarts certain things on a new page (think also "ibid." citations), you can completely disable this feature with pagetracker=false
. If you just want this particular macro to ignore pagetracker
, remove the relevant test
renewbibmacro*{bbx:dashcheck}[2]{%
ifboolexpr{
test {iffieldequals{fullhash}{bbx@lasthash}}
and
(
not bool {bbx@inset}
or
test {iffieldequalstr{entrysetcount}{1}}
)
}
{#1}
{#2}}
Note that pagetracker
is aware of double/single-sided printing, so you may see different behaviours for even and odd pages in double-sided printing where a spread of an even and an odd page are treated as a single unit.
Correct answer by moewe on September 25, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP