Skip to content

Commit

Permalink
author sorts bibs
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Aug 22, 2024
1 parent 2603153 commit f9ee3c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions author/refs/bibtex.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ func BibTexCited(srcDir, srcBib, outBib string, verbose bool) error {
fmt.Printf("Error: Reference key: %v not found in %s\n", r, srcBib)
}
}

ob.SortEntries()
out := ob.PrettyString()

of, err := os.Create(outBib)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module cogentcore.org/cogent
go 1.22

require (
cogentcore.org/core v0.3.3-0.20240819215147-49698295dd89
cogentcore.org/core v0.3.3-0.20240822231726-6385e4c9fc1f
github.com/aandrew-me/tgpt/v2 v2.7.2
github.com/alecthomas/chroma/v2 v2.13.0
github.com/bogdanfinn/fhttp v0.5.27
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cogentcore.org/core v0.3.3-0.20240819215147-49698295dd89 h1:ZSHm3pLiuptj1g7s7oobNNFDbwysVo1bxFiYZVIrU60=
cogentcore.org/core v0.3.3-0.20240819215147-49698295dd89/go.mod h1:dg3uRsPcd8S1ZYvRD2TztCtjopRkrB5V/lbl54xsQd4=
cogentcore.org/core v0.3.3-0.20240822231726-6385e4c9fc1f h1:ia/D6kJ5nhFzyYyRZHe7LmXTPpIh+dDO+Jm8GQzUmGQ=
cogentcore.org/core v0.3.3-0.20240822231726-6385e4c9fc1f/go.mod h1:dg3uRsPcd8S1ZYvRD2TztCtjopRkrB5V/lbl54xsQd4=
github.com/Bios-Marcel/wastebasket v0.0.4-0.20240213135800-f26f1ae0a7c4 h1:6lx9xzJAhdjq0LvVfbITeC3IH9Fzvo1aBahyPu2FuG8=
github.com/Bios-Marcel/wastebasket v0.0.4-0.20240213135800-f26f1ae0a7c4/go.mod h1:FChzXi1izqzdPb6BiNZmcZLGyTYiT61iGx9Rxx9GNeI=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
Expand Down

0 comments on commit f9ee3c5

Please sign in to comment.