# Tag Info

0

The answer to this is much easier than inlining the bbl file and can be found here. Given the following code: \usepackage[backend=biber,style=authoryear]{biblatex} ... \addbibresource{REF.bib} ... \printbibliography ...delete the current bbl file; set the backend driver to bibtex \usepackage[backend=bibtex,style=authoryear]{biblatex}; and run your ...

1

You can use \AtEveryBibitem and \clearfield \AtEveryBibitem{\clearfield{note}\clearfield{addendum}} \AtEveryCitekey{\clearfield{note}\clearfield{addendum}} the second line also removes the field from citations. If you use Biber you can even remove these fields before they are processed \DeclareSourcemap{ \maps[datatype=bibtex]{ \map{ ...

2

As far as I can tell, the real issue here is that the hyphenrules environment cannot deal with breaks in words with special characters. The babel documentation says The environment hyphenrules can be used to select only the hyphenation rules to be used (it can be used as command, too). [...] Except for [...] simple uses, hyphenrules is discouraged and ...

2

At last there are two problems in each bibliography: correct hyphenating and breaking of (long) urls. Because bibliographys are not text to be read like the text in your document, there is no need to use the same justifying in the bibliography and the text. Using only left justifying in the bibliography has the advantage, that LaTeX is able to break the ...

3

Not really a *TeX answer, but you can write a small script in any programming language of your choice, for example perl (for demonstration purposes only, i.e., regexes not robust, adjust to Zotero output or use some proper key-value pair library): open(BIB,"<$ARGV[0]"); open(XTR,"<$ARGV[1]"); while(\$line=<BIB>){ ...

2

This can be done with biblatex. If we use numeric we only need to enhance the bibmacro cite a bit to include the name and year. \DeclareFieldFormat{hardbrackets}{[#1]} \renewbibmacro*{cite}{% \printtext[bibhyperref]{% \printnames{labelname}% \setunit{\nameyeardelim}% \printfield{year}% \setunit{\addspace} \printtext[hardbrackets]{% ...

1

I don't know why Zotero adds those useless braces, but with @book{meyer_matrix_2000, location = {Philadelphia}, edition = {Har/Cdr}, title = {Matrix {Analysis} and {Applied} {Linear} {Algebra}}, isbn = {978-0-89871-454-8}, timestamp = {2015-11-18T21:19:25Z}, publisher = {Society for Industrial and Applied Mathematics}, author = {Meyer, Carl}, ...

3

You can try this in bibtex: \usepackage[round]{natbib} \bibliographystyle{plainnat} and use \citep instead of \cite

1

The problem might be due to the date format, which should be yyyy-mm-dd. With this format it compiles fine, and the filters work. Don't forget to follow the cycle: pdflatex -> biber -> pdflatex ->pdflatex: \documentclass[italian]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{babel} ...

2

The description of the autolang option on p. 48 of the biblatex documentation says [The autolang] option controls which babel language environment is used if the babel/polyglossia package is loaded and a bibliography entry includes a langid field (see § 2.2.3). Note that Biblatex automatically adjusts to the main document language if babel/polyglossia is ...

5

I would just use \addbibresource{filename.bib} and arrange the input paths on the two machines so that works in both cases. Either by putting the file in your normal texmf tree or setting the environment variables so S:/dir3/dir1/dir2/filename.bib is found. but if you don't want to do that for some reason, do ...

2

You wrote: ... I tried with \latintext and \foreignlanguage{english}{...}, but apparently I cannot use anything starting with a \ as a value for prefixnumbers. The trick for that is to enclose the \printfield{prefixnumber} with \foreignlanguage: \foreignlanguage{english}{\printfield{prefixnumber}} Complete code (I changed francais to french to ...

3

Here is a simple solution: use the url=false option of biblatex package. Citation from biblatex documentation: url=true,false (default: true) This option controls whether the url field and the access date is printed. The option only affects entry types whose url information is optional. The url field of @online entries is always printed. Result: ...

0

According to the comments of moewe, urldate is split up into urlyear, urlmonth and urlday. Removing urlyear solves the problem. This MCE works: \documentclass{article} \usepackage[style=authoryear-icomp]{biblatex} \AtEveryBibitem{% \ifentrytype{book}{ \clearfield{url}% \clearfield{urlyear}% }{} \ifentrytype{collection}{ \clearfield{url}% ...

6

biblatex has the aptly named field type verbatim that might fit the bill here. The documentation states (p. 14) Verbatim fields are processed in verbatim mode and may contain special characters. Typical examples of verbatim fields are file and doi. So all we need to do is make title a verbatim field via ...

3

It seems that biblatex/Biber are a bit sensitive to space and punctuation in \DeclareDatamodelFields. The biblatex documentation warns in the explanation to \DeclareDatamodelFields (p. 160) As usual in TeX csv lists, make sure each element is immediately followed by a comma or the closing brace—no extraneous whitespace. If I add a comma after the field ...

3

Based on tmgriffiths' answer to Bibliography Style with abstract and numbered references we could try \DeclareFieldFormat{abstract}{\par{\small\bibsentence\mkbibbold{\bibstring{abstract}}\addcolon\space #1}} \renewbibmacro*{finentry}{% \iffieldundef{abstract} {\finentry} {\finentrypunct\printfield{abstract}\finentry}} MWE ...

1

Use \renewbibmacro{in:}{% \ifentrytype{article} {} {\printtext{\bibstring{in}}% \printunit{\intitlepunct}}} Where we make sure that the \intitlepunct goes into the punctuation buffer and is not overriden by any following punctuation. MWE (with a few modifications) \documentclass[10pt]{article} \RequirePackage{polyglossia} ...

2

You could try \DeclareFieldFormat{labelnumber}{\ifkeyword{own}{\mknumalph{#1}}{#1}} to mark the entries with keyword own with alphabetic labels. In the MWE below I have removed all modifications that did not change the standard \documentclass{article} \usepackage[english]{babel} \usepackage[backend=biber, style=numeric-comp, defernumbers=true ...

1

I know it's fairly late now. I just want to tack on an 'improvement' to @moewe 's answer. This way nothing is done if the abstract field is undefined, say for a dictionary entry or something. It also puts a period (\finentrypunct) at the end of the previous line before printing the abstract. \DeclareFieldFormat{abstract}{\par\small\textbf{Abstract}: #1} ...

2

The fromjapanese and langjapanese keys are missing from the list in biblatex2.sty. Add them, I think the issue will be fixed soon. \documentclass[final,a4paper]{article} \usepackage{fontspec} \usepackage{polyglossia} \usepackage{libertine} \setdefaultlanguage[babelshorthands=true]{russian} \setmainlanguage{english} \usepackage{biblatex} % compiles if ...

3

We can branch a \...cite command by keyword with \ifkeyword \newbibmacro{full:keyw}{% \usedriver {\DeclareNameAlias{sortname}{default}} {\thefield{entrytype}}} \DeclareCiteCommand{\cite} {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \ifkeyword{Quelle} {\usebibmacro{full:keyw}} {\usebibmacro{cite}}} {\multicitedelim} ...

2

embrac doesn't work if you hide the text in a macro. So imho the direct input of brackets and parens won't work. But you can use the commands: \documentclass{article} \usepackage[biblatex=true]{embrac} \usepackage[backend=biber]{biblatex} \addbibresource{bibliography.bib} %\usepackage{filecontents} \begin{filecontents}{bibliography.bib} ...

2

I did this by adding tags to the bibentries like this: @book{Book1, author = {John Doe}, title = {Hello World}, year = {2001}, keywords = {Caption1}, } @book{Book2, author = {Max Mustermann}, title = {This is only a test}, year = {2015}, keywords = {Caption2}, } Then you should be able to do this: \begin{document} I am citing \cite{Book1} and ...

1

We can sneak the "ibid" tests from the ...-ibid styles into your definition of \footpartcite \providecommand*{\mkibid}[1]{#1} \DeclareCiteCommand{\footpartcite}[\mkbibfootnote] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} {\printtext[bibhyperref]{\bibstring[\mkibid]{ibidem}}} ...

2

I'm not entirely sure if you should be using the shorttitle field that way. Maybe shorthand is more appropriate? Anyway, we can print the shorttitle directly after the title with this handy modification \renewbibmacro*{title}{% \ifboolexpr{ test {\iffieldundef{title}} and test {\iffieldundef{subtitle}} } {} {\printtext[title]{% ...

0

There was some interaction between the apa6 style and the AUCTeX automatic file parsing when using emacs in Ubuntu that did not allow my custom citation commands to work. I disabled (setq TeX-auto-save t) in my init.el and deleted the auto subdirectory in my working folder. Info about the disabled option can be found here: Automatic Parsing of TeX Files.

1

Most definitions of the standard styles happen in biblatex.def and standard.bbx. Many styles load these two files internally and rely on the commands defined there, though they may of course re-define many of them. (Some styles may not load standard.bbx, but biblatex.def is loaded by default.) In authortitle-dw.bbx you will find ...

2

You cannot use biblatex together with a manual thebibliography environment. If you want to use thebibliography you need to get rid of biblatex. \documentclass[11pt]{book} \begin{document} Lorem \cite{ABKM2015} ipsum. \begin{thebibliography}{99} \bibitem{ABKM2015} Arroja, F. and Bartolo, N. and Karmakar P. and Matarrese, S. (2015). \newblock The Two Faces ...

1

There is no such type as @conference. You probably want to use @proceedings for bankforinternationalsettlements. The type @techreport is automatically aliased to @report. So you will have to use \printbibliography[type=report,heading=subbibliography,title={Technical Reports}] for your @techreport. Note that names have to be separated by and, so you need ...

2

Quotes in biblatex use the styles set by csquotes if this package is loaded. According to those with crystal balls you are using cleanthesis.sty. One indication that you are indeed using this is the unusual backend=\cthesis@bibsys option passed to biblatex. A more standard way to write such things would be to use a \PassOptionstoClass command in the style ...

2

Now, this is really involved ... The definition of \textcite is really complicated in numeric-comp.cbx. The main idea is to wrap the cite command in \iffieldundef{childentrykey} {\usebibmacro{textcite}} {\begingroup \blx@getdata{\thefield{childentrykey}}% \usebibmacro{textcite}% \endgroup} in order to be able to access the information of ...

5

This is a tiny bug (more of a buglet, really) in the current release of biblatex. As far as I can tell it only occurs with russian.lbx because two new strings were added, but it was neglected to declare said strings beforehand. The bug has been fixed in 9ff117c and cc2c322, the update, however, has not yet made it to CTAN I believe. A pre-release version ...

2

biblatex has a very fancy mechanism to get punctuation right. Because of this mechanism you can hardly ever use punctuation commands directly in a macro. Punctuation should only be added via \setunit, \printunit and friends, \DeclareFieldFormat or \printtext. See also §4.11.7 Using the Punctuation Tracker of the biblatex documentation, especially §4.11.7.2 ...

4

\DefineBibliographyStrings{english}{% page = {p\ifbibliography{}{\adddot}}, pages = {pp\ifbibliography{}{\adddot}}, } should be enough. We just check if we are in the bibliography, if not we get to see the dot. \documentclass[american]{article} \usepackage{babel} \usepackage{csquotes} ...

0

Unexpectedly, it seems {\emph{Foo}} can be used in my MWE above to obtain an emphasized but non-caps-protected string, and either \emph{Foo} or {{\emph{Foo}}} for an emphasized and caps-protected string. Similarly, \textbf{Foo} and {{\textbf{Foo}}} provide caps-protection; {\textbf{Foo}} does not. This is indeed so unexpected that I’d be highly interested ...

1

3

The answer you quote refers to BibTeX; it seems that biblatex/Biber work differently and that All About {\em About\/} is necessary. \documentclass[american]{article} \usepackage[american]{babel} \usepackage[autostyle]{csquotes}% \usepackage[backend=biber, style=apa]{biblatex} \DeclareLanguageMapping{american}{american-apa} %\usepackage{fontspec} ...

2

You can use refsegments to separate parts of your document \documentclass{article} \usepackage[style=authoryear, backend=biber,natbib=true,sorting=none]{biblatex} \addbibresource{biblatex-examples.bib} \begin{document} \cite{sigfridsson,geer} \printbibliography[segment=\therefsegment] \newrefsegment And later on: \fullcite{worman} \end{document} this ...

1

I still don't know what ought to happen if you cite one work with multiple commands, but you can take the following solution \documentclass{scrartcl} \usepackage[english]{babel} \usepackage{csquotes} \usepackage[style=numeric,backend=biber]{biblatex} \DeclareBibliographyCategory{bra} \DeclareBibliographyCategory{brackets} \DeclareBibliographyCategory{none} ...

2

We can use the \ifkeyword inside \mkbibnamelast \renewcommand*{\mkbibnamelast}[1]{% \ifkeyword{primary} {#1} {\textsc{#1}}} to check for primary only, but you can combine this with the more sophiscticated solution in Set author's last name in small caps but avoid them for editors, translators, etc using biblatex to \def\ifmknamesc{% ...

1

The multi-cite commands such as \parencites are just derived from the "normal" cite commands via \DeclareMultiCiteCommand in bibaltex.def, e.g. \DeclareMultiCiteCommand{\parencites}[\mkbibparens]{\parencite}{\multicitedelim‌​} To make \parenciteNEW from Biblatex: Redefine cite command to print another field into a multicite version we simply need ...

0

The MLA style for biblatex has not been updated since 2013, there have been some changes to biblatex that make the style not work particularly smoothly any more, plus there are some bits that are simply not implemented. We can get \footcite to work with @online sources with \DeclareBibliographyDriver{footcite:online}{% \usedriver ...

0

We can just redefine the normal cite macro to wrap the year in parentheses, in order to avoid problems with other cite commands we choose a new name for the changed macro cite:paren:labelyear+extrayear \renewbibmacro*{cite}{\printtext[citehyperref]{% \global\boolfalse{cbx:loccit}% \iffieldundef{shorthand} ...

0

There has been a discussions in the comments about the merits of this venture. Maybe you are just looking for the titleaddon field. It comes wrapped in square brackets though, so you might want \DeclareFieldFormat{titleaddon}{\mkbibparens{\MakeSentenceCase*{#1}}} If you insist on using the note field, an ad-hoc solution is ...

0

Using keywords will be very easy from a programming point of view. So you simply add keyowrds={mywork} to your entries and use the standard entry types. @Article{Benji, author = {Benji}, keywords = {mywork}, } With numeric and numeric-verb you could use ...

3

Starting with biblatex 3.1/Biber 2.2 there is \DeclareNolabel which we can use to ignore certain characters when creating the label. The default is to ignore [\p{P}\p{S}\p{C}]+. If we want to ignore space characters as well, we only need to add \p{Z} (you can read more about these Unicode properties on perldoc.perl.org Unicode Character Properties and for ...

1

This has been addressed in the recent update to biblatex and Biber (version 3.1 and 2.2 respectively). With \DeclareNolabel we can now choose exactly those characters to be dropped from label creation, the default is \p{P}\p{S}\p{C}. In order to preserve apostrophes you can use \DeclareNolabel{ \nolabel{\regexp{[\p{S}\p{Z}\p{C}]+}} } MWE ...

-1