modify pdftomd
This commit is contained in:
@@ -13,11 +13,11 @@ Use this skill when Markdown output quality matters more than raw text extractio
|
||||
|
||||
1. Read `PLAN.md` and `PROGRESS.md` first.
|
||||
2. Read `docs/WORKARCHIVE.md` when prior Markdown output, MathJax, or sample conversion evidence is needed.
|
||||
3. Read `PRD.md` and `ARCHITECTURE.md` when output behavior, metadata, or reporting is affected.
|
||||
3. Read `PRD.md` and `ARCHITECTURE.md` when output behavior, internal provenance, or reporting is affected.
|
||||
4. Preserve project delimiter policy: inline math uses `$...$`; display math uses `$$...$$`.
|
||||
5. Check asset links, table fallback behavior, heading/list interactions, and page boundary markers against Obsidian rendering assumptions.
|
||||
6. Define warnings for low-confidence math, non-renderable LaTeX, broken asset links, table degradation, and reading-order uncertainty.
|
||||
7. Ensure `.report.md` content is derived from metadata, not separate manual state.
|
||||
7. Ensure `_report.md` content is derived from internal provenance, not separate manual state.
|
||||
|
||||
## Checks
|
||||
|
||||
@@ -25,7 +25,7 @@ Use this skill when Markdown output quality matters more than raw text extractio
|
||||
- Display math should be separated from surrounding paragraphs by blank lines.
|
||||
- Asset paths should be stable, relative to the Markdown file, and safe for Obsidian vaults.
|
||||
- Tables with formulas should prefer readable Markdown when reliable and warn when downgraded.
|
||||
- Every renderability failure should be countable in metadata and visible in `.report.md`.
|
||||
- Every renderability failure should be countable in internal provenance and visible in `_report.md`.
|
||||
|
||||
## Reference
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Use these checks when designing or reviewing Markdown output.
|
||||
|
||||
## Assets
|
||||
|
||||
- Store images under a deterministic asset directory next to the Markdown output.
|
||||
- Store images under the deterministic shared `images/` directory next to the Markdown output parts.
|
||||
- Use relative Markdown links that remain valid when the output directory is moved as a unit.
|
||||
- Record asset source page, bbox if available, generated file path, and missing-link warnings.
|
||||
|
||||
@@ -20,7 +20,7 @@ Use these checks when designing or reviewing Markdown output.
|
||||
|
||||
- Prefer Markdown tables only when cell boundaries and reading order are reliable.
|
||||
- If formulas or merged cells make Markdown tables misleading, use a readable fallback and emit a table warning.
|
||||
- Keep table warnings visible in both JSON metadata and `.report.md`.
|
||||
- Keep table warnings visible in internal provenance and `_report.md`.
|
||||
|
||||
## Report Signals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user