Tag Info

New answers tagged

5

Note that with this change you will lose APA-compliance. biblatex-apa implements the rules of the APA (quite) rigorously. If you have to follow APA, do not change anything (unless you think biblatex-apa does not respect the APA style, be sure to notify the author about that then); if you don't have to in many cases you are better off using a style that is ...


2

If we use @inreference to properly distinguish reference works, we can then use \ifentrytype{inreference}. Additionally, I would add the two letters ML as shorthand to ml. @mvreference{ml, title = {Müllers Lexikon}, shorthand = {ML}, options = {skipbib}, } @inreference{ml:thermoskanne, crossref = {ml}, title = {Thermoskanne}, volume = {2}, } ...


0

Here's an attempt to blend xparse with Biblatex. \begin{filecontents}{\jobname.bib} @mvreference{ml, title = {Müllers Lexikon}, } @inreference{ml:thermoskanne, crossref = {ml}, title = {Thermoskanne}, volume = {2}, } \end{filecontents} \documentclass{article} \usepackage[utf8]{inputenc} ...


2

A Biblatex solution may well be more elegant and efficient. I will leave that to moewe, I think ;). Here is a non-Biblatex solution which uses xparse to emulate the behaviour of the citation commands. I know that you expressed a preference for a Biblatex solution (option 2 in chat) rather than emulation (option 1) but perhaps this will be useful to somebody. ...


3

Biblatex, as usual, has you covered. The various \(*)cites commands take this general form: \parencites(<multiprenote>)(<multipostnote>)[<pre>][<post>]{<entrykey-1>}...[<p‌​re>][<post>]{<entrykey-n>}. So you can do something like: \parencites(and ...


1

The note field is, in biblatex, a "literal field", which is "printed as is". You can style the whole field with \DeclareFieldFormat, but you can't (normally) operate on elements within the field. Here's a basic solution. \documentclass{article} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @preamble{ "\providecommand{\mystring}[2]{#1 and ...


2

Try this but I can't test without a proper example and biblatex-examples.bib doesn't include anything suitable. \usepackage{xparse} \NewDocumentCommand \parencitetitle { > { \SplitArgument { 1 } { : } } m } {% \myparencitetitle #1} \NewDocumentCommand \myparencitetitle { m m } {% \parentext {\mkbibemph{\MakeUppercase{#1}}:\citetitle{#1:#2}}}


0

If one doesn't want to get a comma before last element using BibLaTeX, the definition proposed by Guido and OP should be modified: \DeclareListFormat{pageref}{% \ifthenelse{\value{listcount}=1}% {\hyperpage{#1}}% {\ifthenelse{\value{listcount}<\value{liststop}}% {\addcomma\addspace\hyperpage{#1}}% ...


1

One very clean solution is to make the list format use the two command \multilistdelim and \finallistdelim at the appropriate places \renewbibmacro*{list:plain}{% \ifnumgreater{\value{listcount}}{\value{liststart}} {\ifboolexpr{ test {\ifnumless{\value{listcount}}{\value{liststop}}} or test \ifmoreitems } ...


1

The simplest solution uses refsection (cf. p.78, biblatex manual). Ex: \begin{refsection}[bibfile1.bib] \nocite{*} \begin{refcontext}[... options ...] \printbibliography \end{refcontext} \end{refsection} where ... options ... is your particular options for this particular bib file.


3

A solution here has to be slightly more involved. We have to modify the author macro quite a bit. \makeatletter \renewbibmacro*{author}{% \ifboolexpr{ test \ifuseauthor and not test {\ifnameundef{author}} } {\usebibmacro{bbx:dashcheck} {\bibnamedash} {\usebibmacro{bbx:savehash}% \ifnameundef{shortauthor}% ...


1

Since you only want the change applied to @articles the best course of action is probably to inject the comma into the in: macro like so \renewbibmacro{in:}{% \ifentrytype{article} {\setunit{\addcomma\space}} {\printtext{\bibstring{in}\intitlepunct}}} This inserts a comma into the punctuation buffer overwriting the period residing there (for ...


0

The way I solve this exact problem, and which works with polyglossia and biblatex under XeLaTeX, is to use \textarabic. I'm convinced this is the best solution possible at the moment. If it doesn't work for you, please let me know why and I'll try to adapt my answer. Since you complained about me having used the example from another answer, here's an ...


3

At first you need \addbibresource{\jobname.bib} The extension is needed. However, instead of \small use \tiny and you'll see the font change. \small is often difficult to see because it is only a bit smaller than \normalsize


1

I was thinking of using bibexport to get a .bib file with only the cited references, and create a minimal file with essentially just with the title and such parafernalia only and a \nocite{*}...


4

The easiest way is to use a couple of wrappers and Beamer's article-creation facilities. For example, create main-bit.tex with almost everything: \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} \begin{frame} \frametitle{Test} The solution to all my troubles is in the book by Noes~\cite{Book1}. ...


3

This is an interesting case. Before biber 2.0/biblatex 3.0 labelname was, as you say, generated by biber but is now instantiated by biblatex. Biber doesn't pass sortname back out in the .bbl as it's only used for sorting and biblatex shouldn't need it. Therefore, this shouldn't really ever have worked but it did because biber had access to sortname while it ...


3

Possible duplicate of this question: What is the proper way to represent a talk at a conference (with no proceedings) in BibTeX (hopefully via Zotero)? Normally, conferences have proceedings which are published before the corresponding conference takes place and contain the written version of your poster (short paper) or talk (long paper). In such a case, ...


5

Why not just change the type from @inproceedings to @unpublished, which is a pretty flexible type.


0

In my case, this was caused by two entries in my .bib file with authors whose names were specified slightly differently, leaving biblatex (correctly) unsure whether they were really the same person or not. Specifically, I had: author = {Bruton, Henry}, and author = {Bruton, Henry J.}, I know enough to know that these "two" authors are really one and ...


6

It seems that you want to use your entry names as labels. To do that, simply add the following lines to your preamble: \DeclareLabelalphaTemplate{% \labelelement{% \field{citekey} } } In this way you are declaring that the label generated for your entries is the same as your entry name (pseudo-field citekey). MWE: ...


5

If you let biblatex handle pagination on its own, what you want is very easy. Postnotes containing numbers (and a few other special symbols) are automatically recognised as page (ranges) and formatted as such by biblatex. So it is a good idea to drop the page prefix entirely when citing, as in \parencite[24]{worman} and \parencite[cf.][17--19]{geer} ...


0

If you are using Biblatex and Biber - not BibTeX - then date is the main date the resource was created in YYYY-MM-DD format; year, month and day are alternative formats for date, provided for backwards compatibility; urldate is the date you visited the web page in YYYY-MM-DD format. That's it. For other sources, there is also origdate which may be ...


2

The issue arises because of the way \mkpageprefix is defined. As described in the manual, it inserts \ppspace between the string for 'pp' or similar and the page number/range itself. If you want to disable all prefixing you can do \DeclareFieldFormat[inbook]{pages}{#1} but this of course doesn't work if you want to do it selectively. Turning the string ...


0

This is not really a complete answer, but just some observations I made dealing with the problem. I haven't found a place where these keys get displayed. biblatex has a style=debug package option, but it doesn't display what I'm searching for. For the biblatex-chicago package I haven't found a way to display this debug information, I guess it's not ...


2

The expansion of \textbackslash (note the space) does get interpreted as \, and ultimately results in \unfolding. You can declare a robust alternative \DeclareRobustCommand{\tbs}{\textbackslash} which doesn't expand, and then use it as normal: \RequirePackage{filecontents} \DeclareRobustCommand{\tbs}{\textbackslash} \begin{filecontents*}{\jobname.bib} ...


2

Since Biber is translating \textbackslash in a single backslash, trick TeX into thinking it has to print a control sequence as a string (with {} for getting the space). title = {Faster \string\textbackslash unfolding{} of communities: speeding up the Louvain algorithm}, Or, more simply, title = {Faster \string\unfolding{} of communities: ...


1

If you want the equivalent of \bibliographystyle{unsrt}, then you should replace \usepackage[backend=bibtex]{biblatex} with \usepackage[sorting=none,backend=bibtex]{biblatex}


3

Here you are: % ==== PREAMBEL ============================================================= \documentclass{scrbook} \usepackage[utf8]{inputenc} \usepackage[german]{babel} \usepackage{csquotes} \usepackage[ citestyle=numeric, style=authoryear, natbib=true, backend=biber ]{biblatex} % Use Biber and BibLaTex instead of BibTex ...


3

The double braces don't provide the required protection. Use title = {Short history of {PACS}. {Part} {I}: {USA}.},


0

I am posting my temporary solution here in the hope that maybe by now there's a better solution for the problem: Rather than what Ayman Elmasry suggests above what I did for a few similar cases is to use the series field for series and number of the first series and then the number field for series and number of the second series, which, with ...


2

It's really easy with xparse: \usepackage{xparse} \NewDocumentCommand{\ocite}{om}{% \IfNoValueTF{#1} {% no optional argument in the input \cite{#2}% } {% optional argument has been given #1,~\cite{#2}% note the tie }% } The list of arguments, instead of being a number, says o for an optional argument without a default ...


5

You can test if the optional argument is empty. How to check if a macro value is empty or will not create text with plain TeX conditionals? gives several possible ways how to do that. I picked one here: \documentclass{article} % traditional solution: \newcommand*\mycommand[2][]{% \if\relax\detokenize{#1}\relax \else #1,\nobreakspace \fi ...


2

The problem is not with LaTeXing or Sublime Text, but rather that you have some syntax errors in your bibliography file. Sometimes, running commands from the command line can help you see the problems. For instance, I tried running biber from the command line, and it told me there were syntax errors in your file. In particular, biber doesn't like the spaces ...


1

You can make use of biblatex's nesting features for parentheses. biblatex can keep track of the nesting level and automatically chooses the right form of brackets (either (...) or [...]) depending on the level. (There also is a maximum level of nesting for parentheses, which can be changed with maxparens the default is three.) The easiest way then is to use ...


1

Following my solution to Biblatex: First citation as full reference and following citations ibid or - when interrupted - short citation we can redefine the cite:short macro of verbose-ibid.cbx \renewbibmacro*{cite:short}{% \printnames{labelname}% \setunit*{\nameyeardelim}% \iffieldundef{labelyear} {} {\printtext[bibhyperlink]{% ...


2

There is a warning in the blg 136] Utils.pm:167> WARN - Warning: Found biblatex control file version 2.7, expected version 2.3 This warning shows that there is a mismatch between the biber version and the biblatex version. In your case biber is too old.


5

WinEdt assumes that the paths of the files which have to be collected in its Tree interface are relative to the main document being processed. So, you have to use \addbibresource{./References/chap1.bib} \addbibresource{./References/chap2.bib} \addbibresource{./References/chap3.bib} \addbibresource{./References/appendix.bib} instead of ...


6

UPDATE In WinEdt 9.1 build 20150713 the bug described below has been solved. Simply use \addbibresource{./References/chap1.bib} \addbibresource{./References/chap2.bib} \addbibresource{./References/chap3.bib} \addbibresource{./References/chap4.bib} and biber will compile your bibliographies correctly. ORIGINAL ANSWER The correct way is to use ...


7

The \textcite command uses the standard capitalization; however the biblatex package provides \Textcite for use at the beginning of a sentence (section 3.7.2 of the manual). \documentclass{scrartcl} \usepackage[style=authoryear,sorting=nyt,backend=biber,useprefix=false]{biblatex} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} ...


1

Solution: 1) Add mergedate=basic to the biblatex options, so I have: \usepackage[% style=authoryear, language=auto, backend=biber, firstinits=true, uniquename=init, defernumbers=true, isbn=false, eprint=false, urldate=comp, sorting=nyt, safeinputenc=true, bibencoding=utf8, clearlang=true, ...


2

texdoc biber: 2.6. Performance Biber can’t really be compared with BIBTEX in any meaningful way performance- wise. Biber is written in Perl and does a great deal more than BIBTEX which is written in C. One of Biber’s test cases is a 2150 entry, 15,000 line .bib file which references a 630 entry macros file with a resulting 160 or so page (A4) ...


1

Here is a way of getting what you want, I think, with biblatex+biber: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{filecontents} \begin{filecontents}{testlastfirst.bib} @article{ago09, author = {Agostini, A. and Bettini, C. and Riboni, D.}, title = { Hybrid reasoning in the CARE middleware ...


0

I think your best bet is to modify the .bst file. Take the style that is closest, and make a copy of it (so you don't mess up the original ;)!). Then mess about with the copy until you find where to modify the code to suit your needs. I am not very good with code myself, but have managed to adapt .bst to my need with (lots of!) trial and error. The search ...


2

The smartand value is used in spanish.lbx which is loaded by spanish-apa.lbx. So you don't have a chance to change it. But you can do this: \documentclass{article} \usepackage[english,spanish]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[style=apa,backend=biber]{biblatex} \DeclareLanguageMapping{spanish}{spanish-apa} %reactivate ...


0

The default setting for the spanish-apa style is that all 'and' gets replaced by &, i.e., it will not be realized as 'y' or 'e'. For reasons I don't quite understand, changing the value of the counter anywhere has no effect. I think this is due to the following description in the biblatex documentation about how localization files are loaded: All ...


2

I do not know what I am doing ;). Caveat emptor... This code attempts to define a new citation command, \textualcite[<prenote>][<postnote>]{<key list>} which produces the target output. Since you didn't post any code, I have no idea if this will work with your actual bibliography style, document class and usage; whether your cat will ...


0

In fact I was wrongly informed about the concerned entry being a an article published in a journal. The presence of an editor (and location) should have alerted me earlier that I'm actually dealing with a contribution to an edited volume, so that @incollection is the correct entry type. Not so much a technical problem than one of careful reflection of the ...


1

No way. Thou never shalst mention the editor of a journal (and if, don't use biblatex-chicago. Use \usepackage[style=authoryear(or something else, but notstyle=chicago)]{biblatex}.). There is actually a field editor in @ARTICLE-entries, which is used only for special issues, where there is an issuetitle. biblatex-chicago thinks, he/she is the editor of ...


0

I used the method provided by cfr and Ulrike Fischer and modified it a bit, because enumitem would mess up the rest of the text. \documentclass[11pt,a4paper]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[english,ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[ babel, german=quotes ]{csquotes} \AfterPreamble{\hypersetup{ ...



Top 50 recent answers are included