@drghaliasri/butex 7.0.0 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/document2-cli.js +1632 -4
- package/dist/document2-cli.js.map +1 -1
- package/dist/document2.d.mts +61 -2
- package/dist/document2.d.ts +61 -2
- package/dist/document2.js +454 -47
- package/dist/document2.js.map +1 -1
- package/dist/document2.mjs +454 -47
- package/dist/document2.mjs.map +1 -1
- package/dist/react-document2.js +46 -46
- package/dist/react-document2.js.map +1 -1
- package/dist/react-document2.mjs +46 -46
- package/dist/react-document2.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -298,6 +298,8 @@ const updated = applyDocument2Command(canonical, {
|
|
|
298
298
|
|
|
299
299
|
Block insertions accept `{ end: true }`, `{ before_block_id }`, or `{ after_block_id }`; missing targets fail explicitly. The command union also includes stable-ID inline token operations, list/item operations, and table cell/row/column operations. List and table targets are found recursively, while row and column coordinates are zero-based. Column shape changes require the complete resulting LaTeX `columns` specification.
|
|
300
300
|
|
|
301
|
+
Article authoring commands can move top-level blocks, patch `meta`, manage the ordered reference catalog by normalized key, insert the derived bibliography block, revise figure/table captions and labels, and update an existing figure's host asset association or include value. Reference anchors use `{ before_reference_key }`, `{ after_reference_key }`, or `{ end: true }`. Asset upload/storage and session revisions remain host-owned; see [`docs/fastapi-document2-worker-contract.md`](docs/fastapi-document2-worker-contract.md) for the complete command and error contract.
|
|
302
|
+
|
|
301
303
|
Whole-field replacement rejects formatted text, citations, references, and math so an agent cannot silently discard structured content. Inline math insertion/replacement requires one complete delimited `source` plus a matching structured `MathObject`; BuTeX does not parse raw LaTeX into an equation AST.
|
|
302
304
|
|
|
303
305
|
### Document worker CLI
|