定制 leonickl/bibtex-formatter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

leonickl/bibtex-formatter

最新稳定版本:v2.3.0

Composer 安装命令:

composer create-project leonickl/bibtex-formatter

包简介

A simplistic BibTeX formatter in PHP

README 文档

README

Installation

composer global require leonickl/bibtex-formatter

Usage

format-bibtex literature.tex [--save|--print|--log|--dump]
  • --print prints the result to the console (default option)
  • --save overrides the original file
  • --log prints a step-wise info about each token and the current state of the app
  • --dump dumps the resulting PHP datastructure to the console

Warning: The original file will be overwritten by this!

Features

This formatter only supports simple entries of the form

@type{reference,
    key = {value},
    other = 5,
    ...
}

The formatter

  • adds trailing commas,
  • aligns = signs above each other,
  • and sets indentation to 4 spaces.
  • ...

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-10-28