Tag Info

New answers tagged

2

With Biber we have more or less full control of the label for the alphabetic style. The relevant command is \DeclareLabelalphaTemplate (see §4.5.4 Labels, pp. 163-168 of the biblatex documentation). For your purposes \DeclareLabelalphaTemplate{ \labelelement{ \field[final]{shorthand} \field{label} ...


0

Here is also how to do this by resetting \blx@maxcitenames locally. Using tracing, one can see that: ... \blx@resetdata ->\let \blx@saved@do \do \let \do \blx@imc@clearname \abx@doname s \let \do \blx@imc@clearlist \abx@dolists \let \do \blx@imc@clearfield \abx@do fields \do {options}\do {labeltitle}\do {labelyear}\do {labelmonth}\do {labelda y}\do ...


1

To get proper code markup: \begin{filecontents}{\jobname.bib} @book{bookentryA, editor={smith and Wesson}, langid={english} } @book{bookentryB, editor={smith and Wesson}, } @book{bookentry, editor={smith and Wesson}, langid={ngerman} } \end{filecontents} ...


3

The friggeri-cv class does not seem to provide starred versions of all sectioning commands, but the standard subbibliography heading uses \subsection*. If we redefine subbibliography headings to use \subsection, all is fine \defbibheading{subbibliography}[\refname]{\subsection{#1}}


0

There are several problems with your MWE. First and foremost, in the .bib file, the field for keywords is called keywords, not keyword, note the s. A BiblistFilter can only be used as the mandatory argument to \printbiblist and then needs a driver. This is all predefined for shorthand, for other uses you will have to provide your own (as you did for ...


1

Use the loading option: maxcitenames=50, say (if you have no more than 50 authors in your bibliography). If you want this specification to be valid also for the bibliography, simply use maxnames=50. For fullnames, firstinits=false.


3

First of all, the specific example can be better solved using the correct spelling for the name, which is Goethe, but I'll assume that this choice was deliberate in order not to mention any specific real case. The correct syntax with BibTeX is G{\"{o}}the There's nothing you can do about it, except fixing the entries. On the other hand, if you use ...


1

The biblatex way to handle web sites and other electronic references is to use @online{aaa, author = {Author 1}, title = {A website}, url = {www.website.com/%20/%20abc}, } If one uses biber as backend, then it is possible to remap dynamically the entry types and fields.


1

I solved this after bit of searching. The change I made to make it work was to replace the backend from biber to bibtex. Changed code: \usepackage[backend=bibtex,style=authoryear-icomp]{biblatex} \ExecuteBibliographyOptions{citetracker=true,sorting=nyt} \bibliography{Thesis_Expose_biblio} Reran in TexShop: Typeset pdflatexmk Typeset bibtex Typeset latex ...


1

According to Guido's suggestion I use the following modified code now (of course it also "initializes" all other prename- and surname entries, but for my purpose it works): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Replace my name in the bib by initials on the fly...%%%%%%%%%%%%%%%%%%%% ...


1

OK, I found the solution myself. This seems to be connected to the uniquelist=false setting. More details can be found here Set limit to one author when using "et al." in biblatex However, it seems weird to me, because in the example I gave, the keys would be unique (given the different publication year and the "et al." - where the latter might ...


3

We can define a new command for that: \AtEveryBibitemNextBibOnly (what a name), it combines the best of \AtEveryBibitem and \AtNextBibliography. \makeatletter \newrobustcmd*{\AtEveryBibitemNextBibOnly}{% \ifundef\blx@hook@bibitem@save {\global\let\blx@hook@bibitem@save\blx@hook@bibitem ...


5

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[backend=biber]{biblatex} \addbibresource{biblatex-examples.bib} \newbool{clearurl} \AtEveryBibitem{% \ifbool{clearurl} {% \clearfield{urlday}% \clearfield{urlmonth}% \clearfield{urlyear}% }{}% } \begin{document} Citing some stuff here: first \cite{ctan} \booltrue{clearurl} ...


3

Does this work for you? % What's new under the sun \renewcommand*{\bibnamedash}{% \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}} {\hspace{\bibhang}--} {\hspace{\bibhang}--} } % What you need to correct \DeclareBibliographyDriver{article}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% ...


1

After reading the sources of biblatex-authoryear I found that \usebibmacro{bbx:dashcheck} is the solution \renewbibmacro*{begentry}{% \ifnameundef{shortauthor} {} {\usebibmacro{bbx:dashcheck}{} {\printnames{shortauthor}% \addspace\textendash\space}} }


2

You can remove (disable) particular fields, lists or names with \AtEveryBibitem{\clearfield{pages}} Use \clear<type>{<typename>} where <type> stands for list or name and the <typename> is the name of the bibtex field you want to disable.


3

The problem is that there is an # in the argument of howpublished field. In biblatex howpublished is consider plain text and not as literal. The best solution would be to put URL in the URL field and to use the biblatex @online entry type: @online{when, AUTHOR = "xxxx x. xxx", TITLE = "", URL = "link#anchor", URLDATE = "2015-02-02", } ...


2

If one does not want to use a sourcemap definition, it is possible to nullify the values of the shorthand (or other fields) using \DeclareFieldInputHandler Here the value of the field is read from the .bbl file (so after it has been generated by biber) \DeclareFieldInputHandler{shorthand}{\def\NewValue{}}


4

If you just want to get rid of the shorthand to make sure the label is just a normal numeric one, we can go with \DeclareSourcemap{ \maps[datatype=bibtex]{ \map{ \step[fieldset=shorthand, null] } } } Thus we can make sure the shorthand is ignored by Biber before it comes to label generation. (An \AtEveryCitekey approach cannot work ...


1

As far as I'm aware, there is no such a style as IEEEtranSAN which is compatible with natbib. However, following the recommendation and explanations by @cfr, I've changed to biblatex and biblatex-ieee. The minimum changes are: \documentclass[a4paper]{report} %\usepackage[numbers]{natbib} ...


1

Well, thanks to Proper way to include unnumbered chapters in a per-chapter bibliography using biblatex, it seems I got most of the problems solved, except one - if a single reference (here doody) is used twice: then the first time it is formatted as a bibliographic entry it is larger - and the second time it is different, smaller. Since I got this through ...


2

It's not a bug, it's a feature! Apparently, natbib's starred commands behave like this. In blx-natbib.def, the configuration file that is loaded if you issue natbib=true, you will find (amongst others) \newrobustcmd*{\citet}{% \@ifstar {\AtNextCite{\defcounter{maxnames}{999}}% \textcite} {\textcite}} \newrobustcmd*{\citep}{% \@ifstar ...


4

Just the line \DeclareNameAlias{sortname}{last-first} gives you almost what you want. biblatex prefers the order "first last" in citations though and will go through quite some length to achieve this (it adds a \DeclareNameAlias{sortname}{default} here and there). To prevent this, go with \renewbibmacro*{cite:full}{% \usebibmacro{cite:full:citepages}% ...


3

You can also give the langid field in addition to setting autolang to a sensible value. Unfortunately, the mapping to the language is a bit picky and does not work with XeLaTeX (an utf8 aware engine) out of the box. \begin{filecontents}{\jobname.bib} @online{someotherentry, url={texwelt.de}, urldate={2015-05-11}, author={a ...


4

This is most definitely not a complete answer but you could try adding the babel=other option when loading biblatex and supplying the Russian-language entries with something like hyphenation = russian. Whether there is a way of automating this latter operation is still an open question.


3

Essentially, this is not possible because biblatex does not parse the author strings at all. Instead, biber or bibtex does the parsing. biblatex does not read your .bib file. It writes the .bcf file and reads the .bbl file. An external programme - biber or bibtex - parses the .bcf and .bib files and produces the .bbl file. biblatex doesn't even read the ...


0

Try setting \setlength{\emergencystretch}{3em} before printing the bibliography, according to this answer.


1

I would argue that a "last modified" field for websites is not really necessary. The date field will contain this information. If you cite a book you always use the year of your print version for the year field, not the year of some other edition (be it the first or just one you like, if you insist on giving information like this there is origdate). You can ...


1

Do not cite the second time but simply reinsert the footnotemark from the first time: \documentclass{beamer} \usepackage{lmodern} \usepackage[style=authortitle,backend=bibtex]{biblatex} \addbibresource{lit.bib} \begin{document} \begin{frame} Here is text\footfullcite{Hillas}. Here is text\footnotemark[1]. \end{frame} \end{document} ...


1

While this is way to late, it might still help someone: If you are actually looking for emulating the abbrv style, then there is this simple solution of adding style=trad-abbrv to the package options (before any other).


3

After some gray hairs with TikZ, all boils down to this simple example \documentclass{article} \usepackage[backend=bibtex]{biblatex} \addbibresource{biblatex-examples.bib} \begin{document} \cite{ctan,companion} \cite{aristotle:physics} \begin{center} \printbibliography[heading=none] \end{center} \end{document} A list within a list. The behaviour ...


1

You've written the authors' names incorrectly and Bibtex is confused. If you put the surname first followed by the initial you have to put a comma behind each surname: author={Doe1, J. and Doe2, K. and Doe3, L.}, Alternatively you could put initials first and then surnames, in which case no commas are needed: author={J. Doe1 and K. Doe2 and L. Doe3},


3

It is enough to modify the value of \finalandcomma: \documentclass{article} \usepackage[english]{babel} \usepackage{filecontents} \usepackage[backend=bibtex,style=ieee]{biblatex} \begin{filecontents}{\jobname.bib} @article{doe2015, author={Doe1, J. and Doe2 K. and Doe3 L.}, title={Why I get this extra comma before the 'and'?}, year = 2015 } ...


1

Here it is: \documentclass[a4paper, 12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[french,]{babel} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @ARTICLE{Monnier_democ_1999, author = {Monnier, Raymonde}, title = {Démocratie et Révolution française}, journal = {Mots}, year = ...


5

The implementation in biblatex-ieee follows as far as possible that in ieeetran. The latter describes itself as being official correct, so this is a reasonable reference point. On the specific point about the 'Oxford comma' here, if you look at texdoc ieeetran and for example ref. 20 you will see C. Barratt, M. C. Grant, and D. Carlisle. with a comma. ...


1

This has already been asked here: Get full name twice in Bibliography The solution is loading biblatex with dashed=false


3

You can introduce a subtype. \begin{filecontents}{\jobname.bib} @TECHREPORT{MyReport2015, author = {Meyer, B. and Miller, J.}, title = {{Some Great Report}}, institution = {The Great Institution}, year = {2015}, type = {Total Cool Reports}, entrysubtype={techreport}% <--- } \end{filecontents} ...


2

The basic solution here is to filter with this: type=thesis. So: \printbibliography[type=thesis, heading=subbibliography, title={PhD Thesis}] Explanation: According to the manual (section 2.1.2), the entrytype @phdthesis is aliased to @thesis in biblatex. It will automatically provide a note like "PhD Thesis" in the standard styles. However, it is ...


3

Here is a solution, overwriting the ieee cite style: \documentclass{article} \usepackage[style=ieee, citestyle=numeric-comp]{biblatex} \addbibresource{biblatex-examples.bib} \renewcommand{\multicitedelim}{\addcomma\space} \begin{document} Text text text \cites{knuth:ct:c, companion, knuth:ct:d, knuth:ct:a} More text \cites{ knuth:ct:b, knuth:ct:a, ...


0

You need to collect a few pieces of information for your document. The first is to make sure that you have enabled showing the arXiv ID for documents. This should be on by default (I think), but if not, you can follow this question to enable it: http://tex.stackexchange.com/a/180216/32374 Then, export whatever documents you want (or perhaps the whole ...


1

\documentclass{article} \usepackage[british]{babel} \usepackage{biblatex} \addbibresource{biblatex-examples.bib}% \DefineBibliographyStrings{english}{% urlseen = {Accessed} } \DefineBibliographyStrings{english}{% urlseen = {Accessed}, url = {[Online]. Available at} } \DeclareFieldFormat{url}{\bibstring{url}\space\url{#1}} \begin{document} ...


1

I guess the differences for canadian and british are small to non-existent. You could create an lbx file that inherits british and makes needed changes, or just map the canadian language to use the british biblatex-chicago localization file. \documentclass{article} \usepackage[canadian]{babel} \usepackage{biblatex-chicago} ...


3

Here is a solution, if I've well understood what you want: \documentclass[12pt,twoside,a4paper, french]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @article{test, author = {Author}, title = {Title}, journaltitle = {Journal}, year = 2015, issue ...


1

A difficult question. Looking a bit around in citation manuals and description one find Volume number: a continous number which is expected to rise with every issue/edition of a journal. So a monthly journal will have volume number 120 after 10 years. Issue number: A number for one specific article in one issue, the fourth article is "issue 4". ...


8

you can use author to denote the author of the specific chapter you are referring and bookauthor to the author of the book. On the other hand, biblatex also provides an introduction field that you can set. But i guess you will prefer the first method. \begin{filecontents}{\jobname.bib} @inbook{intro, editor={Mickey Mouse}, ...


5

\DefineBibliographyStrings stores definitions for known strings for a language. If you want to declare a completly new string you must declare it first: \documentclass{article} \usepackage{biblatex} \NewBibliographyString{teststring} \DefineBibliographyStrings{english}{% teststring = {Test string}, } \begin{document} \parbox{2pt}{\hspace*{1pt}Testing ...


3

I want to provide a bit more details for those coming to this later, not least because I think describing this as a Zotero problem is a bit misleading--Zotero is doing exactly what it should. It's a data-entry problem. Particular when importing from low-data-quality sources like Amazon, users need to clean up data after import. That's true not just when ...


1

This appears to me a Zotero problem rather than a Biblatex problem. I found through the Zotero Forums that the five digit number is caused by a field in Zotero called "Extra" and the 1 Edition instead of 1st Edition are caused by the import from Amazon. The workaround will be to manually remove the 'Extra' field in Zotero and correct the editions for the ...


2

You can try this redefinition \renewbibmacro*{cite}{% \usebibmacro{cite:citepages}% \global\togglefalse{cbx:loccit}% \bibhypertarget{cite\the\value{instcount}}{% \iffieldundef{shorthand} {\ifciteseen {\ifciteibid {\usebibmacro{cite:ibid}} {\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}} ...


2

I would suggest a redefinition along the lines of \renewbibmacro*{byeditor+others}{% \ifnameundef{editor} {} {\printtext[parens]{\usebibmacro{byeditor+othersstrg}% \setunit{\addspace}% \printnames[byeditor]{editor}}% \clearname{editor}% \newunit}% \usebibmacro{byeditorx}% \usebibmacro{bytranslator+others}} Where we added ...



Top 50 recent answers are included