New answers tagged

1

You may create a customized command: \documentclass{article} \usepackage[style=authoryear,maxnames=3, backend=biber]{biblatex} \addbibresource{biblatex-examples.bib} % creation of \citeallnames command \newcommand\citeallnames{\AtNextCite{\defcounter{maxnames}{99}}\citename} \begin{document} This should print Aks\i{}n et al. (2006): \textcite{aksin} \...


3

Using the BibLaTeX command \notecite{KEY} does what you want, i.e., it will create a back-reference, add the citation to your references, but it will not attempt to format a citation in the document itself. \notecite's intended use is for cases where you've included all the necessary details in text but you still want to leverage biblatex's other features, ...


2

There is no general method to change a style. But in many simple cases it it possible to do it by looking at the code. In your case the title is handled by a simple boolean that you can switch locally: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{filecontents} \begin{filecontents*}{main.bib} @article{refA, ...


0

Add the following redefinitions of macros from authoryear.bbx to your preamble The part for a) is a slightly modernised version of lockstep's answer to biblatex: How to remove the comma before ed./eds.? \makeatletter \DeclareFieldFormat{editortype}{\mkbibparens{#1}} \DeclareFieldFormat{parensbold}{\mkbibparens{\mkbibbold{#1}}} \newbibmacro*{bbx:editor}[1]{%...


0

With the following compilable MWE I can see no problems. Please copy the MWE, run it on your system and compare the resulting PDF. If you have error messages or warnings please report them in your question. If you are using a different document class or bibliography style, please copy my MWE, change it to reflect your situation and add it to your ...


1

I use BibTeX, here's my suggestion: A quick Google Scholar search comes up with this entry: @article{mclaughlin2009development, title={Development of an FCW algorithm evaluation methodology with evaluation of three alert algorithms}, author={McLaughlin, Shane B and Hankey, Jonathan M and Dingus, Thomas A and Klauer, Sheila G}, journal={National ...


1

Beamer has its own mechanism to control colours, so the following motto applies \setbeamercolor{bibliography entry author}{fg=black} Same works for bibliography entry title, bibliography entry location, bibliography entry note and bibliography item.


1

Biblatex 3.4 introduces new commands to define "delimiters" and these are context dependent. The format of a delimiter is defined by the command \DeclareDelimFormat[context]{delimiter}{code} The context can be used to indicate where the delimiter is used (bibliography, citation, in text citation and so on, and it is possible to defined new contexts). ...


1

This was really a bug. It is fixed in biblatex 3.5 (requires biber 2.6) (both currently in DEV on Sourceforge). It is now possible to specify resetnumbers=false as normal to suppress the implicit reset. I contemplated revoking this implicit reset but I can see why it was implemented - people would often expect that a change of prefix (or perhaps the mere ...


0

With biblatex 3.5+biber 2.6 (both currently in DEV on Sourceforge), this behaviour is finally fixed. It is now possible to override the implicit resetnumbers in the normal way (example updated for changes to prefixnumbers which moved into the refcontext mechanism with a name change to labelprefix in biblatex 3.3): \section{Part A1} \newrefcontext[...


2

Based on Paul's answer, this is a drop-in replacement for the \IEEEtriggeratref macro that works with biblatex: \usepackage{ifthen} \makeatletter \newcounter{IEEE@bibentries} \renewcommand\IEEEtriggeratref[1]{% \renewbibmacro{finentry}{% \stepcounter{IEEE@bibentries}% \ifthenelse{\equal{\value{IEEE@bibentries}}{#1}} {\finentry\@IEEEtriggercmd}...


2

If you don't want to see the parent entry conf1, you might want to have a look at the mincrossrefs option (pp. 51, 24 of the biblatex docs). By default it is set to 2. That means that if you have two entries in your bibliography that crossref the same entry, that entry is automatically added to the bibliography even if it wasn't cited. You can effectively ...


1

I suggest you use the solution from Highlight an author in bibliography using biblatex allowing bibliography style to format it which in turn is based on Audrey's solution to Make specific author bold using biblatex, but with hashes instead of string comparison. Since in biblatex 3.3 some internal macros were renamed (see Biblatex 3.3 name formatting) you ...


1

A possible workaround is to use \DeclareSourcemap to copy the value of the keywords list in a different field (let us say usera) and use this field to sort the entries. Here is the definition of the source map \DeclareSourcemap{ \maps[datatype=bibtex]{ \map[overwrite]{ \step[fieldsource=keywords] \step[fieldset=usera, origfieldval, final]...


1

To make \sidecite consistent with \footcite we can add \bibfootnotewrapper to the wrapper command (originally we removed \mkbibfootnote, but with \bibfootnotewrapper we retain consistency) \DeclareCiteCommand{\sidecitehelper}[\bibfootnotewrapper] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{...


0

It seems like the option you need to set is Tex_BIBINPUTS. If you have modelines enabled, you can probably add a modeline in the specific files of your thesis to setup this variable, or you can set it in your .vimrc : let g:Tex_BIBINPUTS="path/to/bibfolder/"


2

This is due to the default \DeclareNosort setting which strips two letters followed by a dash from strings before sorting. You can fix this by putting this in your preamble: \DeclareNosort{ \nosort{type_name}{\regexp{}} }


7

The culprit is the line \DeclareFieldFormat[article,book,thesis,incollection,unpublished,inproceedings]{titlecase}{\MakeSentenceCase*{#1}}% \MakeSentenceCase* checks for the document language as saved in \bbl@main@language, since you load neither babel nor polyglossia, no such command is available and biblatex complains. The problem has been addressed in ...


0

At the end I've found the solution by myself. I've deleted the code for the "unified hyperlinks" which was referred to authoryear, not to authoryear-icomp, and I've created my own \citet and \citep commands. Here is the code: \documentclass[11pt,openright]{book} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{verbatim} \usepackage[...


2

Recent version of biblatex removed the sorting option from \printbibliography and move it to \refcontext. Thus you have to add the \refcontexts for the bibliography you want to display. Accordingly, the MWE should look like \documentclass{article} \usepackage{filecontents} @book{test1, Author = {{Karl Marx}}, Title = {Capital}, Year = {1867}} ...


2

You can use \DeclareFieldFormat for this, which allows formatting on a per-entry type. (I've changed your documentclass to article, since I don't have your class). Note: This is a temporary answer, which although it works has some problems as noted in the comments. I will update with a better solution. \documentclass[]{article} \begin{filecontents}{\...


2

Try the options [alldates=terse, datezeros=false]


2

journaltitle is a field in biblatex not bibtex, but \bibitems are used by bibliography created by bibtex and not for biblatex. The corresponding fielder bibtex is journal (which is also recognised by biblatex)


1

Because you mentioned that you are willing to change to biblatex please see the MWE later. For biblatex are own styles defined, the one simular to your used rsc.bst is chem-rsc and best is to use biber instead of your used bibtex. The following code does what you need (package filecontents is only used to have bib file and tex code together in one ...


0

This is a rough solution... I hope someone else will improve it! \documentclass[nobib]{tufte-handout} \usepackage{xparse} \usepackage{xpatch} \usepackage[ style=verbose, autocite=footnote, backend=biber ]{biblatex} \addbibresource{biblatex-examples.bib} \makeatletter \xpatchcmd{\@footnotetext}% {\color@begingroup} {\color@begingroup\...


3

Use in the bibliographische entry the url field: @article{ ... Url={https://en.wikipedia.org/wiki/Bidirectional_scattering_distribution_function}, }


4

your bibliography style is trying to print https://en.wikipedia.org/wiki/Bidirectional_scattering_distribution_function as text but _ is the math subscript command so generates an error if used in text, you need to make sure that your URL are either in bibliography fields that are just used for URL in which case the bibliography style can quote them ...


1

The keyword field is a comma separated list. If you just append doe to a list like keya,keyb you get keya,keybdoe, but of course you want keya,keyb,doe, so you need to append ,doe (that may leave you with an empty entry if the keyword field was empty, you might even get a warning, but you can ignore it). You would then use \DeclareSourcemap{ \maps[...


3

When two variants exists for a term, then you get the longer term with the option abbreviate=false -- this affects naturally all other terms too.


2

Here is a way of selectively removing n.d.: .bib file: @misc1{draftnotice, Author = {{COMMUNICATION FROM THE COMMISSION}}, Howpublished = {Draft Commission Notice of 2014 on the notion of State aid pursuant to Article 107 (1) TFEU}} @BOOK{Dodgson, AUTHOR = {Lewis Carroll}, TITLE = {The Hunting of the Snark}, PUBLISHER = {...


1

Regarding Question 1: Correct as per APA style? I believe that the examples and rules described under 6.16 in the APA Manual (6th ed.) indeed suggest that moewe’s solution gives us what the APA wants in such cases. The manual says that we must sort multiple citations within the same parentheses, “including citations that would otherwise shorten to et al.” (...


0

The bib-file with biblatex is incorporated with the command \addbibresource{Bibtest.bib} The command \bibliography is no longer valid. I would also recommend to remove the .aux file since it may contain information which is no longer valid.


5

This answer assumes biblatex version >= 3.4. We will have to change the code so it complies to the new name format (cf. Biblatex 3.3 name formatting). Furthermore I have changed the code to use name hashes instead of relying to recognise the names by string comparison. This feature only works properly if the uniquename feature is turned on (as if the case ...


2

The following example (with example.bib being your provided bib example) should do the trick: \documentclass{article} \usepackage[backend=biber, style=apa, sorting=nyt, sortcites=true]{biblatex} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \addbibresource{example.bib} \begin{document} \cite{sarndal_estimation_2005} \end{...


0

If you just want your multi-citations to appear in the order that you cite them, while keeping your bibliography sorted, you need to specify sortcites=false when you load biblatex. For example: \usepackage[style=authoryear,sorting=nyt,sortcites=false]{biblatex} I owe this to @UlrikeFischer's comment, but because I missed it on first read, I thought I ...


0

Adding square brackets around the raised citations can be done from the natbib package with one simple command: \usepackage[super,square]{natbib}


0

It is kind of sad, but it seems like some weird condition, buried within the arcane maze of texlive internals, caused this problem. The following hack provides a quick workaround: \newlength{\bibhang} \setlength{\bibhang}{5mm} But ultimately, I don't see a solution other than installing texlive 2016 after all. Thanks for all the helpful comments! As ...


0

If you modify the editor macros anyway you can switch from \bibstring which gives context sensitive capitalisation to \bibcpstring which capitalises all the time. For example \makeatletter \renewbibmacro*{editor+othersstrg}{% \iffieldundef{editortype} {\ifboolexpr{ test {\ifnumgreater{\value{editor}}{1}} or test {\ifandothers{...


1

The answer is given here http://tex.stackexchange.com/a/207676/8917 Replacing citefield with citename for entry author. For the entry journal one has to use journaltitle even though the entry is called journal in the bibfile. \item \citename{example}{author} \item \citefield{example}{journaltitle}


1

Use the label field: @online{texse, url={http://tex.stackexchange.com}, title={Awesome website}, label={TexSE}, }


2

You can set a prenote - arbitrary text - to be used just after the heading has been set: \defbibnote{legaldoc}{\markboth{Legal Documents}{Legal Documents}} \printbibliography[title=Legal Documents,prenote=legaldoc] The above legaldoc note overrides whatever other marks have been set.


2

Do \chapter*{Bibliography} \addcontentsline{toc}{chapter}{Bibliography} \chaptermark{Bibliography} \defbibheading{bibliographysection}{% \section*{#1}% \addcontentsline{toc}{section}{#1}% \markboth{#1}{#1}% } \printbibliography[heading=bibliographysection,title={Legal Documents}] The standard heading has \MakeUppercase.


4

The prefixnumbers is no longer supported on the most recent version of biblatex. \begin{filecontents}{\jobname.bib} @InProceedings{Baader1989, Title = {Direct self control of inverter-fed induction machine, a basis for speed control without speed-measurement}, Author = {Baader, U. and Depenbrock, M. and Gierse, Georg}...


1

You can go down the route from biblatex-biber: How to customize the order in the bibliography?. Call citestyle=numeric (or the member of the numeric family you currently use) and bibstyle=authoryear, then import numeric.bbx to get the proper bibliography environment again. (The sorting will by default be sorting=nyt, if you want sorting=none you will need ...


0

You can combine them: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[citestyle=numeric,bibstyle=authoryear]{biblatex} \addbibresource{biblatex-examples.bib} \AtEveryBibitem{[\printfield{labelnumber}]\addspace}%Numbers in the bib \begin{document} \cite{herrmann}, \cite{doody}, \printbibliography \end{...


5

Author names in the bib file must be separated by 'and' not commas. So the correct bib file entry should look like this: @article{Übeyli, title={An alternative model for mixtures of experts}, author={Xu, L. and Jordan, M.I. and Hinton, G.E.}, journal={Advances in neural information processing systems}, pages={633--640}, year={1995}, publisher={...


1

What you did is correct. For me there's just a small problem with your code: the apa style requires a \DeclareLanguageMapping declaration. Also, you should load csquotes. So add these lines to your preamble: \usepackage[english]{babel} \DeclareLanguageMapping{english}{english-apa} \usepackage{csquotes}


0

It looks like the problem is solved. It is hard to detect what and when went wrong, but apparently after the conflict between Biber and biblatex occurred (although it is still a mystery why it did occur in the first place) updating the Biber version from 2.4 to 2.5 didn't help because my Avast antivirus was blocking the biber.exe file.


2

Unfortunately, -comp styles are often a bit ugly to modify (one ends up with many lines of codes even for relatively trifling changes). The modification needed for the cite bibmacro, however, is straightforward. Replace the test \iffieldundef{shorthand} by \ifboolexpr{test {\iffieldundef{shorthand}} or not test {\ifciteseen}} and add \usebibmacro{...


3

You will find that @techreports get mapped to @report with type = {techreport}, while @phdthesis and @mastersthesis both get mapped to @thesis with type = {phdthesis} and type = {mastersthesis} respectively. So there is a way to differentiate the types, just not via the entry type, but the type field. I would have thought that the output for the types is ...



Top 50 recent answers are included