Skip to content

Failing to re-define reference list of iso690 style #166

Answered by olsak
pabloabur asked this question in Q&A
Discussion options

You must be logged in to vote

You have to use \bibtexhook, because the macros from the bib-style file (bib-iso690.opm in this example] are read in a group when the \usebib macro is processing. So, your definition is re-defined at this moment. But there is \bibtexhook token list where a user can put all re-definitions, because \bibtexhook is processed after the bib-style file is read. Your example can look like this:

 \fontfam[LMfonts]

\bibtexhook{
   \_def\_otherauthorformat{%
       \_upper{\_Lastname}\_bprintc\_Firstname{, *}\_bprintc\_Von{ *}\_bprintc\_Junior{, *}%
   }
}

Citation \cite[ref].

\bigskip
\usebib/s (iso690) bibsample
\bye

Maybe, you didn't find the mention about \bibtexhook in OpTeX documentation. …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pabloabur
Comment options

@olsak
Comment options

@pabloabur
Comment options

Answer selected by pabloabur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants