Except as otherwise provided by law, agreed to by the parties, or ordered by the district court or the bankruptcy appellate panel, costs shall be taxed against the losing party on an appeal. If a judgment is affirmed or reversed in part, or is vacated, costs shall be allowed only as ordered by the court. Costs incurred in the production of copies of briefs, the appendices, and the record and in the preparation and transmission of the record, the cost of the reporter’s transcript, if necessary for the determination of the appeal, the premiums paid for cost of supersedeas bonds or other bonds to preserve rights pending appeal and the fee for filing the notice of appeal shall be taxed by the clerk as costs of the appeal in favor of the party entitled to costs under this rule.