Search found 8 matches

by ValeYard
Sat May 03, 2025 11:53 pm
Forum: BibTeX, biblatex and biber
Topic: Weird Problem with Cmd to Bold Certain Bib Entries
Replies: 2
Views: 11749

Re: Weird Problem with Cmd to Bold Certain Bib Entries

For anyone trying to do the same thing, this code does the job:

% Declare a custom category
\DeclareBibliographyCategory{bold}

% Assign entries with "bold" keyword to the category
\AtEveryBibitem{%
\iffieldequalstr{keywords}{bold}
{\addtocategory{bold}{\thefield{entrykey}}}
{}%
}

% Apply bold ...
by ValeYard
Sat May 03, 2025 11:29 pm
Forum: BibTeX, biblatex and biber
Topic: Weird Problem with Cmd to Bold Certain Bib Entries
Replies: 2
Views: 11749

Re: Weird Problem with Cmd to Bold Certain Bib Entries

I messed up the code:
No second \bfseries, but it doesn't make a difference for the problem. I'm kinda desperate to fix this, as I need to function and was super happy when I thought it was working.


\usepackage{etoolbox} % for \apptocmd

% At the start of every bib item: if keyword “bold” is ...
by ValeYard
Sat May 03, 2025 11:20 pm
Forum: BibTeX, biblatex and biber
Topic: Weird Problem with Cmd to Bold Certain Bib Entries
Replies: 2
Views: 11749

Weird Problem with Cmd to Bold Certain Bib Entries

So, at some point I added the code below to bold entries in the bib file which have the keyword keywords = {bold}.

I need to do this for a massive report, in which in each section some references should be bolded.

The weird thing is that, if this code is present in the main .tex doc's preamble ...
by ValeYard
Thu Apr 19, 2018 3:28 pm
Forum: BibTeX, biblatex and biber
Topic: Multibib extra } error killing meee
Replies: 6
Views: 10653

Multibib extra } error killing meee

OK, sorry to post again, but I've decided I want to figure this out. Here's a minimal example of my document. After doing latex, bibtex, bibtex vids, latex, latex, I get the error
./MakingMoves2.tex:189: Undefined control sequence.
\hyper@@link ->\let \Hy@reserved@a
\relax \@ifnextchar [{\hyper ...
by ValeYard
Thu Apr 19, 2018 1:22 pm
Forum: BibTeX, biblatex and biber
Topic: Multibib extra } error killing meee
Replies: 6
Views: 10653

Multibib extra } error killing meee

Weirdly, I still haven't found a solution. While working with biblatex works for now, one day I'll have to use natbib and multibib again and don't know how to get the document to compile. I feel like this is something similar to this problem described here: https://tug.org/pipermail/texhax/2007 ...
by ValeYard
Thu Mar 01, 2018 9:21 pm
Forum: BibTeX, biblatex and biber
Topic: Multibib extra } error killing meee
Replies: 6
Views: 10653

Multibib extra } error killing meee

So one solution would be to convert to BibLateX and use keywords.

After finding incompatibilities -- I had ucs in there and such -- it seems to work, although my natbib customisation is gone.

Would still be curious what is going on here though.
by ValeYard
Thu Mar 01, 2018 2:13 pm
Forum: BibTeX, biblatex and biber
Topic: Multibib extra } error killing meee
Replies: 6
Views: 10653

Multibib extra } error killing meee

Hi, thank you for your help.

I didn't get EXACTLY the same error when repeating just this code, but a really cool new one:

\@cite ...*\else \NAT@cmt #3\fi \NAT@@close \else
#1\fi \endgroup
l.13 \citepvids{wiemer:1991}

I'll enclose the files. Getting desperate and wish I knew my way around ...
by ValeYard
Thu Mar 01, 2018 1:30 pm
Forum: BibTeX, biblatex and biber
Topic: Multibib extra } error killing meee
Replies: 6
Views: 10653

Multibib extra } error killing meee

I'm having trouble with multibib using natbib all of a sudden.

I have two bibliographies, and after I've done the second bibtex run for the second one, I get an error when running LaTeX for the second time:

Argument of \@citex has an extra }.

It's totally weird, as I'm using the same natbib ...