| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- #import "/.template/lib/api.typ": document, attachment, attachment-set, bibliography-section
- #import "/.template/lib/presentation/profiles/report.typ": report-profile
- #import "/.template/lib/presentation/components.typ": corp_table, formula
- #import "/.template/lib/presentation/references.typ": vref, vrefs, eqref
- #let appendices = attachment-set(
- numbering: "cyrillic",
- items: (
- attachment(
- "test-appendix",
- "Тестовое приложение",
- [Приложение создано через независимую доменную модель.],
- ),
- ),
- )
- #let bibliographies = (
- bibliography-section(
- "normative",
- path("normative.bib"),
- title: [НОРМАТИВНЫЕ ИСТОЧНИКИ],
- group: "report-sources",
- ),
- bibliography-section(
- "science",
- path("science.bib"),
- title: [НАУЧНЫЕ ИСТОЧНИКИ],
- group: "report-sources",
- ),
- )
- #show: document.with(
- company: "test-company",
- profile: report-profile(
- title: "Новый модульный отчёт",
- theme: "Проверка DDD-профиля",
- udk: "000.000",
- director_date: "«26» августа 2026 г.",
- is_research: true,
- is_intermediate: true,
- stage_number: 1,
- volume_number: 1,
- contract_number: "DDD-001",
- contract_date: "«26» августа 2026",
- city: "Пример",
- year: 2026,
- executors: (
- ("Ответственный исполнитель", "Тестов И.И.", path("/.template/companies/test-company/sign.svg"), 0.5cm),
- ),
- attachments: appendices,
- bibliographies: bibliographies,
- ),
- )
- #heading(numbering: none)[ВВЕДЕНИЕ]
- Профиль отчёта использует нормативный источник @normative-test и научную публикацию @science-test.
- = ПРОВЕРКА ССЫЛОК
- #figure(
- rect(width: 3cm, height: 1.5cm, fill: rgb("fbb20d")),
- caption: [Первый тестовый рисунок],
- ) <new-figure-a>
- #figure(
- circle(radius: 0.7cm, fill: rgb("e39f49")),
- caption: [Второй тестовый рисунок],
- ) <new-figure-b>
- Одна ссылка: #vref(<new-figure-a>, grammatical-case: "предл").
- Несколько ссылок: #vrefs((<new-figure-a>, <new-figure-b>), grammatical-case: "вин").
- #figure(
- corp_table(
- columns: 2,
- [Параметр], [Значение],
- [Архитектура], [Изолированная],
- ),
- caption: [Проверочная таблица],
- )
- #formula($x^2 + y^2 = z^2$) <new-equation>
- Формула: #eqref(<new-equation>).
- #heading(numbering: none)[ЗАКЛЮЧЕНИЕ]
- Новый отчёт собирается через `document` и `report-profile`.
|