Skip to content

Instantly share code, notes, and snippets.

@farosas
Created December 17, 2014 19:02
Show Gist options
  • Select an option

  • Save farosas/f09b371fccec0c989096 to your computer and use it in GitHub Desktop.

Select an option

Save farosas/f09b371fccec0c989096 to your computer and use it in GitHub Desktop.
bib.patch
diff -uNr abntex2/abntex2-alf.bst abntex2.new/abntex2-alf.bst
--- abntex2/abntex2-alf.bst 2014-12-17 16:53:02.400206788 -0200
+++ abntex2.new/abntex2-alf.bst 2014-12-17 16:59:12.226889659 -0200
@@ -2113,7 +2113,7 @@
#3 'abnt.etal.cite :=
#3 'abnt.etal.list :=
"et al." 'abnt.etal.text :=
- #0 'abnt.full.initials :=
+ #1 'abnt.full.initials :=
#0 'abnt.last.names := %#0 abnt-style, #1 bibtex-style
#1 'abnt.ldots.type := %#0 use nothing, #1 use \ldots, #2 use $\ldots$, 3# use {...}
#0 'abnt.missing.year := %#0 "void"; #1 "[s.d.]"
@@ -2122,7 +2122,7 @@
#0 'abnt.repeated.title.omit :=
#1 'abnt.refinfo :=
#0 'abnt.show.options := % #0 "no"; #1 "warn"; #2 "list"
- #0 'abnt.thesis.year := % #0 "final"; #1 "title"; #2 "both"
+ #2 'abnt.thesis.year := % #0 "final"; #1 "title"; #2 "both"
#0 'abnt.title.command := % #0 "no"; #1 "yes"
#0 'abnt.url.package := % #0 "none"'; #2 "url"; #2 "hyperref"
#0 'abnt.verbatim.entry :=
@gbc921
Copy link

gbc921 commented Dec 18, 2014

  • Copy bib.patch to something nearby /usr/share/texmf-dist/bibtex/bst/abntex2
  • Do patch < bib.patch 😛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment