Skip to content

Inconvenience with several aux-files #12

@nmiekley

Description

@nmiekley

As far as I can see, fillbib only searches for citations in the main-aux file, i.e. not in the aux-files created by include. To avoid having to run it by hand for every aux-file, the following bash script may be helpful. It takes the name of the root-file (without tex) as parameter.

#!/bin/bash
awk '/\@input{.*.aux}/{ print $0}' $1.aux | while read line
do
  line="$(cut -d'{'  -f2 <<< $line)"
  line="$(cut -d'.'  -f1 <<< $line)"
  fillbib $line $1.bib 
done
fillbib $1 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions