oneie 1.8.1 → 2.0.1
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 +913 -567
- package/dist/banner.d.ts +2 -0
- package/dist/banner.d.ts.map +1 -0
- package/dist/banner.js +15 -0
- package/dist/banner.js.map +1 -0
- package/dist/clone-docs.d.ts +17 -0
- package/dist/clone-docs.d.ts.map +1 -0
- package/dist/clone-docs.js +62 -0
- package/dist/clone-docs.js.map +1 -0
- package/dist/clone-frontend.d.ts +12 -0
- package/dist/clone-frontend.d.ts.map +1 -0
- package/dist/clone-frontend.js +50 -0
- package/dist/clone-frontend.js.map +1 -0
- package/dist/copy-claude-config.d.ts +2 -0
- package/dist/copy-claude-config.d.ts.map +1 -0
- package/dist/copy-claude-config.js +30 -0
- package/dist/copy-claude-config.js.map +1 -0
- package/dist/create-org-profile.d.ts +10 -0
- package/dist/create-org-profile.d.ts.map +1 -0
- package/dist/create-org-profile.js +136 -0
- package/dist/create-org-profile.js.map +1 -0
- package/dist/create-user-profile.d.ts +9 -0
- package/dist/create-user-profile.d.ts.map +1 -0
- package/dist/create-user-profile.js +115 -0
- package/dist/create-user-profile.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +177 -0
- package/dist/index.js.map +1 -0
- package/dist/sync-agents.d.ts +5 -0
- package/dist/sync-agents.d.ts.map +1 -0
- package/dist/sync-agents.js +26 -0
- package/dist/sync-agents.js.map +1 -0
- package/dist/sync-ontology.d.ts +4 -0
- package/dist/sync-ontology.d.ts.map +1 -0
- package/dist/sync-ontology.js +38 -0
- package/dist/sync-ontology.js.map +1 -0
- package/folders.yaml +31 -0
- package/package.json +41 -131
- package/.claude/.hookignore +0 -67
- package/.claude/agents/advocacy-activation-manager.md +0 -685
- package/.claude/agents/advocacy-campaign-designer.md +0 -663
- package/.claude/agents/analyst.md +0 -483
- package/.claude/agents/architect.md +0 -480
- package/.claude/agents/bstp-token-strategist.md +0 -667
- package/.claude/agents/builder-repo.md +0 -489
- package/.claude/agents/builder.md +0 -1182
- package/.claude/agents/bullstamp-community-builder.md +0 -574
- package/.claude/agents/bullstamp-marketing-orchestrator.md +0 -506
- package/.claude/agents/bulltilt-platform-growth.md +0 -567
- package/.claude/agents/company-bullstamp-character.md +0 -587
- package/.claude/agents/company-bullstamp-community.md +0 -292
- package/.claude/agents/company-bullstamp-marketing.md +0 -292
- package/.claude/agents/company-bullstamp-token.md +0 -292
- package/.claude/agents/company-bulltilt-growth.md +0 -292
- package/.claude/agents/content-bibliography-formatter.md +0 -381
- package/.claude/agents/content-calendar-planner.md +0 -448
- package/.claude/agents/content-chapter-formatter.md +0 -488
- package/.claude/agents/content-formatter.md +0 -546
- package/.claude/agents/content-image-formatter.md +0 -535
- package/.claude/agents/content-introduction-formatter.md +0 -485
- package/.claude/agents/content-multiplication-engine.md +0 -556
- package/.claude/agents/content-playbook-writer.md +0 -448
- package/.claude/agents/content-team-manager.md +0 -622
- package/.claude/agents/content-toc-formatter.md +0 -522
- package/.claude/agents/core-manager.md +0 -582
- package/.claude/agents/core-master.md +0 -403
- package/.claude/agents/cross-functional-manager.md +0 -471
- package/.claude/agents/crypto-airdrop-strategist.md +0 -602
- package/.claude/agents/crypto-analytics-educator.md +0 -553
- package/.claude/agents/crypto-community-analyst.md +0 -298
- package/.claude/agents/crypto-community-psychologist.md +0 -509
- package/.claude/agents/crypto-dex-optimization-expert.md +0 -538
- package/.claude/agents/crypto-dex-optimizer.md +0 -292
- package/.claude/agents/crypto-diamond-hands.md +0 -292
- package/.claude/agents/crypto-ecosystem-expansion-manager.md +0 -554
- package/.claude/agents/crypto-market-researcher.md +0 -292
- package/.claude/agents/crypto-marketing-orchestrator.md +0 -523
- package/.claude/agents/crypto-network-effect-amplifier.md +0 -569
- package/.claude/agents/crypto-optimization-analyst.md +0 -554
- package/.claude/agents/crypto-strategic-synthesizer.md +0 -517
- package/.claude/agents/crypto-team-manager.md +0 -387
- package/.claude/agents/crypto-token-analyst.md +0 -278
- package/.claude/agents/crypto-viral-content-creator.md +0 -546
- package/.claude/agents/crypto-wallet-identification-expert.md +0 -517
- package/.claude/agents/crypto-wallet-identifier.md +0 -292
- package/.claude/agents/customer-journey-designer.md +0 -481
- package/.claude/agents/customer-success-manager.md +0 -581
- package/.claude/agents/dev.md +0 -413
- package/.claude/agents/documenter.md +0 -546
- package/.claude/agents/elevate-marketing-orchestrator.md +0 -410
- package/.claude/agents/engineering-architect.md +0 -387
- package/.claude/agents/engineering-business-analyst.md +0 -537
- package/.claude/agents/engineering-developer.md +0 -387
- package/.claude/agents/engineering-director.md +0 -282
- package/.claude/agents/engineering-ingestor.md +0 -649
- package/.claude/agents/engineering-product-manager.md +0 -537
- package/.claude/agents/engineering-product-owner.md +0 -537
- package/.claude/agents/engineering-project-coordinator.md +0 -537
- package/.claude/agents/engineering-quality-assurance.md +0 -393
- package/.claude/agents/engineering-team-manager.md +0 -512
- package/.claude/agents/engineering-user-experience.md +0 -387
- package/.claude/agents/framework-elevate-manager.md +0 -294
- package/.claude/agents/improver.md +0 -763
- package/.claude/agents/intelligence-team-manager.md +0 -385
- package/.claude/agents/lead-capture-expert.md +0 -466
- package/.claude/agents/lead-magnet-creator.md +0 -453
- package/.claude/agents/market-research-analyst.md +0 -412
- package/.claude/agents/marketing-brand-identity.md +0 -314
- package/.claude/agents/marketing-content-hooks.md +0 -450
- package/.claude/agents/marketing-content-multiplier.md +0 -326
- package/.claude/agents/marketing-content-poster.md +0 -361
- package/.claude/agents/marketing-customer-journey.md +0 -326
- package/.claude/agents/marketing-director.md +0 -397
- package/.claude/agents/marketing-engagement.md +0 -326
- package/.claude/agents/marketing-lead-capture.md +0 -326
- package/.claude/agents/marketing-lead-magnet.md +0 -326
- package/.claude/agents/marketing-network-effects.md +0 -326
- package/.claude/agents/marketing-nurture-campaigns.md +0 -326
- package/.claude/agents/marketing-share-optimizer.md +0 -326
- package/.claude/agents/marketing-team-manager.md +0 -446
- package/.claude/agents/marketing-viral-growth.md +0 -201
- package/.claude/agents/network-effect-analyst.md +0 -587
- package/.claude/agents/npx.md +0 -890
- package/.claude/agents/nurture-campaign-manager.md +0 -531
- package/.claude/agents/one-master.md +0 -355
- package/.claude/agents/one-orchestrator.md +0 -315
- package/.claude/agents/one.md +0 -601
- package/.claude/agents/playbook-generator.md +0 -503
- package/.claude/agents/pm.md +0 -326
- package/.claude/agents/po.md +0 -345
- package/.claude/agents/qa.md +0 -336
- package/.claude/agents/research-foundation-analyst.md +0 -307
- package/.claude/agents/research-intelligence-gatherer.md +0 -408
- package/.claude/agents/research-market-analyst.md +0 -307
- package/.claude/agents/research-team-manager.md +0 -482
- package/.claude/agents/sales-environment-optimizer.md +0 -494
- package/.claude/agents/sales-team-manager.md +0 -400
- package/.claude/agents/sales-upsell-strategist.md +0 -307
- package/.claude/agents/service-advocacy-campaigns.md +0 -307
- package/.claude/agents/service-advocacy-manager.md +0 -307
- package/.claude/agents/service-success-manager.md +0 -307
- package/.claude/agents/service-team-manager.md +0 -400
- package/.claude/agents/sm.md +0 -327
- package/.claude/agents/story-teller.md +0 -473
- package/.claude/agents/task-master.md +0 -596
- package/.claude/agents/the-bull-character-manager.md +0 -580
- package/.claude/agents/tools-playbook-generator.md +0 -489
- package/.claude/agents/turbo-repo-builder.md +0 -316
- package/.claude/agents/upsell-strategist.md +0 -480
- package/.claude/agents/ux-expert.md +0 -335
- package/.claude/agents/viral-growth-orchestrator.md +0 -497
- package/.claude/claude-code-hooks.development.json +0 -21
- package/.claude/claude-code-hooks.json +0 -25
- package/.claude/claude-code-hooks.production.json +0 -21
- package/.claude/commands/agent.md +0 -104
- package/.claude/commands/cascade-status.md +0 -128
- package/.claude/commands/ingest.md +0 -290
- package/.claude/commands/ingestor.md +0 -136
- package/.claude/commands/mission.md +0 -83
- package/.claude/commands/npx.md +0 -133
- package/.claude/commands/one.md +0 -440
- package/.claude/commands/quality-check.md +0 -204
- package/.claude/commands/smart-route.md +0 -220
- package/.claude/commands/start.md +0 -121
- package/.claude/commands/story.md +0 -83
- package/.claude/commands/task.md +0 -173
- package/.claude/hook-bypass.json +0 -32
- package/.claude/one-hook.js +0 -16
- package/.claude/settings.local.json +0 -86
- package/.mcp.json.disabled +0 -48
- package/.obsidian/app.json +0 -10
- package/.obsidian/appearance.json +0 -1
- package/.obsidian/community-plugins.json +0 -17
- package/.obsidian/core-plugins.json +0 -33
- package/.obsidian/hotkeys.json +0 -11
- package/.obsidian/plugins/copilot/data.json +0 -335
- package/.obsidian/plugins/copilot/main.js +0 -1738
- package/.obsidian/plugins/copilot/manifest.json +0 -13
- package/.obsidian/plugins/copilot/styles.css +0 -1
- package/.obsidian/plugins/easy-bake/main.js +0 -361
- package/.obsidian/plugins/easy-bake/manifest.json +0 -11
- package/.obsidian/plugins/easy-bake/styles.css +0 -10
- package/.obsidian/plugins/editing-toolbar/data.json +0 -328
- package/.obsidian/plugins/editing-toolbar/main.js +0 -12
- package/.obsidian/plugins/editing-toolbar/manifest.json +0 -10
- package/.obsidian/plugins/editing-toolbar/styles.css +0 -1338
- package/.obsidian/plugins/obsidian-enhancing-export/data.json +0 -60
- package/.obsidian/plugins/obsidian-enhancing-export/lua/citefilter.lua +0 -6
- package/.obsidian/plugins/obsidian-enhancing-export/lua/markdown+hugo.lua +0 -5
- package/.obsidian/plugins/obsidian-enhancing-export/lua/markdown.lua +0 -237
- package/.obsidian/plugins/obsidian-enhancing-export/lua/math_block.lua +0 -68
- package/.obsidian/plugins/obsidian-enhancing-export/lua/pdf.lua +0 -12
- package/.obsidian/plugins/obsidian-enhancing-export/lua/polyfill.lua +0 -61
- package/.obsidian/plugins/obsidian-enhancing-export/lua/url.lua +0 -18
- package/.obsidian/plugins/obsidian-enhancing-export/main.js +0 -32
- package/.obsidian/plugins/obsidian-enhancing-export/manifest.json +0 -10
- package/.obsidian/plugins/obsidian-enhancing-export/styles.css +0 -1
- package/.obsidian/plugins/obsidian-enhancing-export/textemplate/dissertation.tex +0 -1210
- package/.obsidian/plugins/obsidian-enhancing-export/textemplate/neurips.sty +0 -373
- package/.obsidian/plugins/obsidian-enhancing-export/textemplate/neurips.tex +0 -187
- package/.obsidian/plugins/obsidian-git/data.json +0 -61
- package/.obsidian/plugins/obsidian-git/obsidian_askpass.sh +0 -23
- package/.obsidian/plugins/terminal/data.json +0 -147
- package/.obsidian/plugins/terminal/main.js +0 -192
- package/.obsidian/plugins/terminal/manifest.json +0 -14
- package/.obsidian/plugins/terminal/styles.css +0 -32
- package/.one/checklists/agent-quality-checklist.md +0 -302
- package/.one/checklists/architect-checklist.md +0 -443
- package/.one/checklists/attract-campaign-checklist.md +0 -444
- package/.one/checklists/brand-alignment-checklist.md +0 -191
- package/.one/checklists/brand-consistency-checklist.md +0 -378
- package/.one/checklists/change-checklist.md +0 -182
- package/.one/checklists/channel-coordination-checklist.md +0 -217
- package/.one/checklists/content-calendar-checklist.md +0 -190
- package/.one/checklists/convert-campaign-checklist.md +0 -426
- package/.one/checklists/crypto-ai-influencer-consistency.md +0 -221
- package/.one/checklists/crypto-diamond-formation-quality.md +0 -285
- package/.one/checklists/crypto-rocket-framework-validation.md +0 -244
- package/.one/checklists/done-checklist.md +0 -103
- package/.one/checklists/foundation-completeness-checklist.md +0 -222
- package/.one/checklists/grow-campaign-checklist.md +0 -380
- package/.one/checklists/idea-quality-checklist.md +0 -225
- package/.one/checklists/parallel-mission-quality-checklist.md +0 -243
- package/.one/checklists/pm-checklist.md +0 -375
- package/.one/checklists/po-master-checklist.md +0 -441
- package/.one/checklists/product-checklist.md +0 -375
- package/.one/checklists/professional-grade-checklist.md +0 -127
- package/.one/checklists/story-1-2-implementation-validation-checklist.md +0 -288
- package/.one/checklists/story-1-2-quality-assurance-controller.yaml +0 -397
- package/.one/checklists/story-as-idea-quality-checklist.md +0 -246
- package/.one/checklists/story-dod-checklist.md +0 -101
- package/.one/checklists/story-draft-checklist.md +0 -130
- package/.one/checklists/story-quality-checklist.md +0 -275
- package/.one/checklists/strategic-framework-checklist.md +0 -182
- package/.one/checklists/task-quality-checklist.md +0 -296
- package/.one/hooks/file-organization-monitor.js +0 -196
- package/.one/interface.md +0 -63
- package/.one/one-command.js +0 -43
- package/.one/ontology/ontology.yaml +0 -501
- package/.one/structure.yaml +0 -135
- package/.one/tasks/advanced-elicitation.md +0 -119
- package/.one/tasks/advocacy-system-design.md +0 -1065
- package/.one/tasks/automated-quality-gates.md +0 -282
- package/.one/tasks/bull-character-content-calendar.md +0 -241
- package/.one/tasks/bullstamp-foundation-synthesis.md +0 -204
- package/.one/tasks/capture-page-optimization.md +0 -623
- package/.one/tasks/cascade-task-spawning.md +0 -178
- package/.one/tasks/company-context-workshop.md +0 -228
- package/.one/tasks/completion-validation-system.md +0 -389
- package/.one/tasks/conflict-prevention-orchestration.md +0 -133
- package/.one/tasks/correct-course.md +0 -73
- package/.one/tasks/create-brownfield-story.md +0 -376
- package/.one/tasks/create-deep-research-prompt.md +0 -301
- package/.one/tasks/create-doc 1.md +0 -79
- package/.one/tasks/create-doc.md +0 -79
- package/.one/tasks/create-mission-brief.md +0 -94
- package/.one/tasks/create-mission.md +0 -181
- package/.one/tasks/create-next-story.md +0 -113
- package/.one/tasks/create-story.md +0 -147
- package/.one/tasks/create-workflow-plan.md +0 -299
- package/.one/tasks/crypto-bookwriter-enhancement.md +0 -193
- package/.one/tasks/crypto-chapter-content-creation.md +0 -278
- package/.one/tasks/crypto-foundation-development.md +0 -155
- package/.one/tasks/crypto-multi-format-publishing.md +0 -286
- package/.one/tasks/crypto-quality-validation.md +0 -225
- package/.one/tasks/customer-avatar-development.md +0 -353
- package/.one/tasks/customer-success-program.md +0 -984
- package/.one/tasks/doc-migration-task.md +0 -151
- package/.one/tasks/document-project.md +0 -350
- package/.one/tasks/engagement-sequence-design.md +0 -846
- package/.one/tasks/execute-checklist 1.md +0 -93
- package/.one/tasks/execute-checklist.md +0 -93
- package/.one/tasks/facilitate-brainstorming-session.md +0 -136
- package/.one/tasks/foundation-analysis.md +0 -149
- package/.one/tasks/generate-ai-frontend-prompt.md +0 -51
- package/.one/tasks/hook-content-creation.md +0 -555
- package/.one/tasks/index-docs.md +0 -178
- package/.one/tasks/kb-mode-interaction.md +0 -77
- package/.one/tasks/lead-magnet-development.md +0 -479
- package/.one/tasks/market-intelligence-research.md +0 -255
- package/.one/tasks/multi-agent-coordination.md +0 -224
- package/.one/tasks/nurture-campaign-creation.md +0 -781
- package/.one/tasks/parallel-agent-launcher.md +0 -336
- package/.one/tasks/parallel-task-decomposition.md +0 -74
- package/.one/tasks/performance-metrics-dashboard.md +0 -550
- package/.one/tasks/progress-monitoring-dashboard.md +0 -414
- package/.one/tasks/quality-failure-prevention.md +0 -507
- package/.one/tasks/quality-scoring-framework.md +0 -122
- package/.one/tasks/refinement-cycle-automation.md +0 -493
- package/.one/tasks/review-story.md +0 -164
- package/.one/tasks/sales-environment-audit.md +0 -806
- package/.one/tasks/scoring-automation-engine.md +0 -358
- package/.one/tasks/shard-doc.md +0 -191
- package/.one/tasks/story-quality.md +0 -219
- package/.one/tasks/story-qualtiy.md +0 -225
- package/.one/tasks/strategic-alignment-synthesis.md +0 -414
- package/.one/tasks/task-dependency-resolver.md +0 -301
- package/.one/tasks/task-quality.md +0 -232
- package/.one/tasks/task-queue-management.md +0 -373
- package/.one/tasks/update-workflow-plan.md +0 -252
- package/.one/tasks/upsell-strategy-development.md +0 -1139
- package/.one/tasks/validate-next-story.md +0 -134
- package/.one/tasks/version-control-coordinator.md +0 -354
- package/.one/teams/team-all.yaml +0 -14
- package/.one/teams/team-bullstamp.yaml +0 -12
- package/.one/teams/team-crypto-marketing.yaml +0 -56
- package/.one/teams/team-fullstack.yaml +0 -18
- package/.one/teams/team-ide-minimal.yaml +0 -10
- package/.one/teams/team-marketing.yaml +0 -21
- package/.one/teams/team-no-ui.yaml +0 -13
- package/.one/templates/advocacy-campaign-blueprint-tmpl.yaml +0 -1400
- package/.one/templates/ai-influencer-methodology.yaml +0 -299
- package/.one/templates/architecture-tmpl.yaml +0 -650
- package/.one/templates/brainstorming-output-tmpl.yaml +0 -156
- package/.one/templates/brownfield-architecture-tmpl.yaml +0 -476
- package/.one/templates/brownfield-prd-tmpl.yaml +0 -280
- package/.one/templates/bullstamp-playbook-config.yaml +0 -251
- package/.one/templates/bun-workspace-guide-template.md +0 -188
- package/.one/templates/bunfig-template.toml +0 -95
- package/.one/templates/capture-page-template-tmpl.yaml +0 -1498
- package/.one/templates/channel-content-framework-tmpl.yaml +0 -289
- package/.one/templates/company-foundation-brief-tmpl.yaml +0 -782
- package/.one/templates/competitor-analysis-tmpl.yaml +0 -293
- package/.one/templates/content-theme-planning-tmpl.yaml +0 -319
- package/.one/templates/crypto-chapter-structure.yaml +0 -331
- package/.one/templates/customer-avatar-profile-tmpl.yaml +0 -1055
- package/.one/templates/customer-success-program-tmpl.yaml +0 -1360
- package/.one/templates/daily-content-calendar-tmpl.yaml +0 -169
- package/.one/templates/diamond-formation-protocol.yaml +0 -293
- package/.one/templates/doc-template.md +0 -325
- package/.one/templates/engagement-sequence-plan-tmpl.yaml +0 -2126
- package/.one/templates/front-end-architecture-tmpl.yaml +0 -206
- package/.one/templates/fullstack-architecture-tmpl.yaml +0 -805
- package/.one/templates/hook-content-framework-tmpl.yaml +0 -1409
- package/.one/templates/lead-magnet-blueprint-tmpl.yaml +0 -1051
- package/.one/templates/market-analysis-report-tmpl.yaml +0 -1052
- package/.one/templates/market-research-tmpl.yaml +0 -252
- package/.one/templates/mission-tmpl.yaml +0 -203
- package/.one/templates/monthly-strategy-calendar-tmpl.yaml +0 -302
- package/.one/templates/nurture-campaign-architecture-tmpl.yaml +0 -1202
- package/.one/templates/product-tmpl.yaml +0 -202
- package/.one/templates/project-brief-tmpl.yaml +0 -221
- package/.one/templates/repository-template-architecture.yaml +0 -556
- package/.one/templates/sales-optimization-audit-tmpl.yaml +0 -1094
- package/.one/templates/story-rocket-tmpl.yaml +0 -244
- package/.one/templates/story-tmpl.yaml +0 -153
- package/.one/templates/strategic-alignment-blueprint-tmpl.yaml +0 -752
- package/.one/templates/turbo-monorepo-template.yaml +0 -260
- package/.one/templates/upsell-strategy-framework-tmpl.yaml +0 -1274
- package/.one/templates/weekly-campaign-calendar-tmpl.yaml +0 -277
- package/.one/tools/README-bull-character-formats.md +0 -272
- package/.one/tools/advanced-quality-optimizer.js +0 -519
- package/.one/tools/agent-optimization-engine.js +0 -727
- package/.one/tools/bin/one-agent.js +0 -25
- package/.one/tools/bin/one-mission.js +0 -25
- package/.one/tools/bin/one-playbook.js +0 -25
- package/.one/tools/bin/one-story.js +0 -25
- package/.one/tools/bin/one-team.js +0 -25
- package/.one/tools/bin/one-tools.js +0 -25
- package/.one/tools/builders/web-builder.js +0 -681
- package/.one/tools/bull-character-complete-pdf.py +0 -534
- package/.one/tools/bull-character-docx-epub.py +0 -245
- package/.one/tools/bull-character-master-pdf.py +0 -521
- package/.one/tools/bull-character-multi-format.py +0 -340
- package/.one/tools/bump-all-versions.js +0 -107
- package/.one/tools/bump-core-version.js +0 -57
- package/.one/tools/bump-expansion-version.js +0 -78
- package/.one/tools/calendar-management.md +0 -281
- package/.one/tools/claude-one-command.md +0 -36
- package/.one/tools/cli.js +0 -2294
- package/.one/tools/code-generators.js +0 -1110
- package/.one/tools/community/claudelog-pattern-analyzer.js +0 -515
- package/.one/tools/community/claudelog-pattern-library.json +0 -370
- package/.one/tools/community/community-validation-loops.js +0 -872
- package/.one/tools/community/plan-mode-orchestrator.js +0 -848
- package/.one/tools/community/terminal-native-integration.js +0 -659
- package/.one/tools/compression-engine.js +0 -638
- package/.one/tools/consciousness/system-consciousness-engine.js +0 -684
- package/.one/tools/content/claude-code-content-generator.js +0 -474
- package/.one/tools/content/one-content-command.js +0 -289
- package/.one/tools/content-deduplicator.js +0 -336
- package/.one/tools/context/story-1-2-context-intelligence-engine.yaml +0 -354
- package/.one/tools/convert-wav-to-mp3.js +0 -195
- package/.one/tools/convert_book.py +0 -331
- package/.one/tools/coordination/agent-mesh-networks.js +0 -851
- package/.one/tools/debug/debug-naming.mjs +0 -7
- package/.one/tools/debug/debug-rules.mjs +0 -6
- package/.one/tools/demo/bull-content-engine-demo.js +0 -273
- package/.one/tools/demo/claude-code-integration-demo.js +0 -222
- package/.one/tools/demo/live-demo.js +0 -285
- package/.one/tools/demo/showcase-demo.js +0 -302
- package/.one/tools/demo/simple-bull-demo.js +0 -186
- package/.one/tools/enhanced-pdf-converter.py +0 -449
- package/.one/tools/final-optimization-report.js +0 -235
- package/.one/tools/foundation-wizard.js +0 -331
- package/.one/tools/frictionless-installer.js +0 -230
- package/.one/tools/generate-toc.js +0 -113
- package/.one/tools/hooks/claude-code-hooks-validation-pattern.md +0 -211
- package/.one/tools/html_to_pdf.py +0 -178
- package/.one/tools/ingestor/cascade-integration.js +0 -523
- package/.one/tools/ingestor/cli.ts +0 -234
- package/.one/tools/ingestor/context-mapper.ts +0 -604
- package/.one/tools/ingestor/error-handling-monitor.js +0 -742
- package/.one/tools/ingestor/file-discovery.ts +0 -484
- package/.one/tools/ingestor/file-transformer.ts +0 -524
- package/.one/tools/ingestor/ingestor-orchestrator.ts +0 -416
- package/.one/tools/ingestor/package.json +0 -47
- package/.one/tools/ingestor/usage-examples.md +0 -458
- package/.one/tools/installer/README.md +0 -8
- package/.one/tools/installer/bin/one.js +0 -438
- package/.one/tools/installer/config/ide-agent-config.yaml +0 -58
- package/.one/tools/installer/config/install.config.yaml +0 -92
- package/.one/tools/installer/lib/config-loader.js +0 -253
- package/.one/tools/installer/lib/file-manager.js +0 -379
- package/.one/tools/installer/lib/ide-setup.js +0 -829
- package/.one/tools/installer/lib/installer.js +0 -1764
- package/.one/tools/installer/package-lock.json +0 -906
- package/.one/tools/installer/package.json +0 -43
- package/.one/tools/intelligence/mission-intelligence-engine.js +0 -955
- package/.one/tools/lazy-loader.js +0 -489
- package/.one/tools/lib/dependency-resolver.js +0 -179
- package/.one/tools/lib/template-processor.js +0 -748
- package/.one/tools/lib/yaml-utils.js +0 -29
- package/.one/tools/md-assets/web-agent-startup-instructions.md +0 -39
- package/.one/tools/merge-bull-pdfs.py +0 -127
- package/.one/tools/minimal-generators.js +0 -714
- package/.one/tools/monitoring/monitoring-config.json +0 -31
- package/.one/tools/monitoring/performance-dashboard.js +0 -96
- package/.one/tools/monitoring/real-time-dashboard.js +0 -610
- package/.one/tools/npx.js +0 -41
- package/.one/tools/one-cli.js +0 -270
- package/.one/tools/package-bull-character.py +0 -238
- package/.one/tools/pdf-merger.py +0 -94
- package/.one/tools/performance/context-sharing-optimizer.js +0 -584
- package/.one/tools/performance/coordination-latency-optimizer.js +0 -617
- package/.one/tools/performance/intelligent-caching-system.js +0 -683
- package/.one/tools/performance/parallel-execution-optimizer.js +0 -524
- package/.one/tools/performance/performance-benchmark.js +0 -743
- package/.one/tools/performance/performance-optimization-summary.md +0 -264
- package/.one/tools/performance/resource-usage-optimizer.js +0 -634
- package/.one/tools/performance-benchmark.js +0 -300
- package/.one/tools/pilot-community-launch.js +0 -487
- package/.one/tools/playbook-generator/PRODUCTION-SUMMARY.md +0 -138
- package/.one/tools/playbook-generator/README.md +0 -314
- package/.one/tools/playbook-generator/apple-book-style.css +0 -129
- package/.one/tools/playbook-generator/bin/analyze-folder.js +0 -259
- package/.one/tools/playbook-generator/bin/contents-based-generator.js +0 -116
- package/.one/tools/playbook-generator/bin/debug-generator.js +0 -74
- package/.one/tools/playbook-generator/bin/generate-books.js +0 -308
- package/.one/tools/playbook-generator/bin/generate-chapters.js +0 -74
- package/.one/tools/playbook-generator/bin/generate-clean.js +0 -281
- package/.one/tools/playbook-generator/bin/generate-contents.js +0 -287
- package/.one/tools/playbook-generator/bin/playbook-gen +0 -322
- package/.one/tools/playbook-generator/bin/playbook-gen.js +0 -279
- package/.one/tools/playbook-generator/book-generation-system.md +0 -363
- package/.one/tools/playbook-generator/commands/contents.js +0 -198
- package/.one/tools/playbook-generator/commands/generate-chapters.js +0 -216
- package/.one/tools/playbook-generator/commands/generate-complete-package.js +0 -93
- package/.one/tools/playbook-generator/commands/generate-from-chapters.js +0 -49
- package/.one/tools/playbook-generator/commands/generate.js +0 -275
- package/.one/tools/playbook-generator/docs/API.md +0 -579
- package/.one/tools/playbook-generator/docs/MIGRATION.md +0 -404
- package/.one/tools/playbook-generator/docs/README.md +0 -502
- package/.one/tools/playbook-generator/index.js +0 -102
- package/.one/tools/playbook-generator/install.sh +0 -107
- package/.one/tools/playbook-generator/lib/apple-book-generator.js +0 -552
- package/.one/tools/playbook-generator/lib/book-generator.js +0 -414
- package/.one/tools/playbook-generator/lib/chapters-generator.js +0 -292
- package/.one/tools/playbook-generator/lib/contents-generator.js +0 -465
- package/.one/tools/playbook-generator/lib/cover-integrator.js +0 -373
- package/.one/tools/playbook-generator/lib/errors.js +0 -198
- package/.one/tools/playbook-generator/lib/flat-generator.js +0 -998
- package/.one/tools/playbook-generator/lib/folder-analyzer.js +0 -429
- package/.one/tools/playbook-generator/lib/generator.js +0 -1268
- package/.one/tools/playbook-generator/lib/manager.js +0 -322
- package/.one/tools/playbook-generator/lib/pdf-cover-generator.js +0 -145
- package/.one/tools/playbook-generator/lib/processor.js +0 -816
- package/.one/tools/playbook-generator/lib/security.js +0 -199
- package/.one/tools/playbook-generator/lib/utils.js +0 -173
- package/.one/tools/playbook-generator/lib/wizard.js +0 -448
- package/.one/tools/playbook-generator/package.json +0 -51
- package/.one/tools/playbook-generator/templates/apple-book.tex +0 -249
- package/.one/tools/playbook-generator/templates/beautiful-book.tex +0 -136
- package/.one/tools/playbook-generator/templates/book-config-template.yaml +0 -24
- package/.one/tools/playbook-generator/templates/industry-template-structure.md +0 -156
- package/.one/tools/playbook-generator/templates/universal-book.tex +0 -157
- package/.one/tools/premium-manager.js +0 -371
- package/.one/tools/professional-community-manager.js +0 -505
- package/.one/tools/quality/emergent-quality-systems.js +0 -743
- package/.one/tools/reports/mission-3-task-4-final-report-2025-08-31T06-33-55-208Z.json +0 -76
- package/.one/tools/scripts/setup-bull-engine.sh +0 -321
- package/.one/tools/semantic-release-sync-installer.js +0 -31
- package/.one/tools/simple-pdf-merge.py +0 -48
- package/.one/tools/simple_convert.py +0 -381
- package/.one/tools/size-memory-optimizer.js +0 -475
- package/.one/tools/spiral-automation/README.md +0 -204
- package/.one/tools/spiral-automation/agents/customer-intelligence-agent.js +0 -887
- package/.one/tools/spiral-automation/agents/foundation-synthesizer.js +0 -731
- package/.one/tools/spiral-automation/agents/market-research-agent.js +0 -915
- package/.one/tools/spiral-automation/agents/web-scraper-agent.js +0 -759
- package/.one/tools/spiral-automation/cli.js +0 -183
- package/.one/tools/spiral-automation/dashboard/analytics-visualizer.js +0 -780
- package/.one/tools/spiral-automation/dashboard/dashboard-orchestrator.js +0 -582
- package/.one/tools/spiral-automation/dashboard/progress-dashboard.js +0 -425
- package/.one/tools/spiral-automation/dashboard/progress-tracker.js +0 -576
- package/.one/tools/spiral-automation/engine/spiral-automation-engine.js +0 -1016
- package/.one/tools/spiral-automation/spiral-demo.js +0 -483
- package/.one/tools/spiral-automation/templates/game-levels.yaml +0 -903
- package/.one/tools/story-1-2-story-generation-orchestrator.yaml +0 -538
- package/.one/tools/story-generation-orchestrator-validation.md +0 -430
- package/.one/tools/story-writer.sh +0 -13
- package/.one/tools/sync-installer-version.js +0 -34
- package/.one/tools/task-completion-summary.md +0 -143
- package/.one/tools/templates/apple-book-parts.css +0 -367
- package/.one/tools/templates/apple-book-parts.tex +0 -180
- package/.one/tools/templates/apple-book-simple.tex +0 -144
- package/.one/tools/templates/apple-book.css +0 -390
- package/.one/tools/templates/apple-book.tex +0 -207
- package/.one/tools/templates/enhanced-epub.css +0 -231
- package/.one/tools/templates/universal-book.tex +0 -240
- package/.one/tools/text-to-speech.js +0 -343
- package/.one/tools/transformative-ai-engine.js +0 -805
- package/.one/tools/update-expansion-version.js +0 -54
- package/.one/tools/upgraders/v3-to-v4-upgrader.js +0 -763
- package/.one/tools/version-bump.js +0 -79
- package/.one/tools/viral-growth/analytics-dashboard.js +0 -934
- package/.one/tools/viral-growth/cli.js +0 -459
- package/.one/tools/viral-growth/content-multiplier.js +0 -349
- package/.one/tools/viral-growth/scientific-validation.js +0 -1010
- package/.one/tools/yaml-format.js +0 -240
- package/.one/workflows/automated-completion-loops.yaml +0 -392
- package/.one/workflows/bullfm.yaml +0 -303
- package/.one/workflows/cascade-coordination.yaml +0 -382
- package/.one/workflows/cascade-orchestration-system.yaml +0 -417
- package/.one/workflows/cascade-story-spawning-protocol.yaml +0 -104
- package/.one/workflows/cascade-workflow-implementation.yaml +0 -456
- package/.one/workflows/concurrent-task-orchestration-system.yaml +0 -375
- package/.one/workflows/content-engine.yaml +0 -340
- package/.one/workflows/continuous-validation-system.yaml +0 -322
- package/.one/workflows/coordination-rules.yaml +0 -124
- package/.one/workflows/coordination.yaml +0 -437
- package/.one/workflows/crypto-chapter-enhancement-workflow.yaml +0 -163
- package/.one/workflows/crypto-playbook-generation.yaml +0 -158
- package/.one/workflows/dependency-manager.yaml +0 -222
- package/.one/workflows/design.yaml +0 -197
- package/.one/workflows/developer-experience-optimization.yaml +0 -283
- package/.one/workflows/diamond-formation-implementation.yaml +0 -189
- package/.one/workflows/dynamic-personalization-matrix.yaml +0 -197
- package/.one/workflows/elastic-agent-pool-management.yaml +0 -344
- package/.one/workflows/elevate-brownfield-workflow.yaml +0 -372
- package/.one/workflows/elevate-greenfield-workflow.yaml +0 -211
- package/.one/workflows/engineering.yaml +0 -431
- package/.one/workflows/enhance-service.yaml +0 -187
- package/.one/workflows/enter-existing.yaml +0 -297
- package/.one/workflows/execution-engine.yaml +0 -267
- package/.one/workflows/fallback-rules.yaml +0 -192
- package/.one/workflows/foundation-workflow.yaml +0 -192
- package/.one/workflows/greenfield-fullstack.yaml +0 -240
- package/.one/workflows/greenfield-service.yaml +0 -206
- package/.one/workflows/greenfield-ui.yaml +0 -235
- package/.one/workflows/mission-to-story-spawning.yaml +0 -207
- package/.one/workflows/optimization-report.yaml +0 -249
- package/.one/workflows/parallel-cascade-architecture.yaml +0 -460
- package/.one/workflows/parallel-cascade-orchestration.yaml +0 -516
- package/.one/workflows/parallel-deployment-system.yaml +0 -363
- package/.one/workflows/parallel-story-orchestration.yaml +0 -359
- package/.one/workflows/performance-metrics.yaml +0 -238
- package/.one/workflows/quality-gate-integration-strategy.yaml +0 -431
- package/.one/workflows/resource-optimizer.yaml +0 -236
- package/.one/workflows/safe-improvement-deployment.yaml +0 -420
- package/.one/workflows/speed-patterns.yaml +0 -266
- package/.one/workflows/speed-router.yaml +0 -223
- package/.one/workflows/story-1-2-task-master-handoff.yaml +0 -316
- package/.one/workflows/story-1-2-team-coordination-hub.yaml +0 -301
- package/.one/workflows/story-to-mission-spawning-engine.yaml +0 -364
- package/.one/workflows/story-to-task-decomposition.yaml +0 -226
- package/.one/workflows/success-metrics.yaml +0 -196
- package/.one/workflows/task-to-agent-assignment.yaml +0 -247
- package/.one/workflows/track-configs.yaml +0 -225
- package/.one/workflows/validation-suite.yaml +0 -233
- package/.one/workflows/workflow-engineering.md +0 -283
- package/.one/workflows/workflow-marketing.md +0 -265
- package/.one/workflows/working-in-the-brownfield.md +0 -361
- package/.prettierignore +0 -21
- package/.prettierrc +0 -23
- package/.releaserc.json +0 -18
- package/.repomixignore +0 -102
- package/.vscode/settings.json +0 -50
- package/CLAUDE.md +0 -833
- package/CLI-UPGRADE.md +0 -266
- package/CONTRIBUTING.md +0 -323
- package/INSTALL.md +0 -151
- package/bin/folders.yaml +0 -52
- package/bin/oneie/index.js +0 -187
- package/one/checklists/mission.md +0 -239
- package/one/company/brand.md +0 -36
- package/one/company/company.md +0 -141
- package/one/config/agent-routing.yaml +0 -124
- package/one/config/agent-skills.yaml +0 -451
- package/one/config/cache-config.yaml +0 -304
- package/one/config/feedback-templates.yaml +0 -152
- package/one/config/performance-config.yaml +0 -281
- package/one/config/quality-automation.yaml +0 -405
- package/one/config/routing-logic.yaml +0 -292
- package/one/data/spiral-ontology.md +0 -461
- package/one/data/task-registry.yaml +0 -224
- package/one/diagram.md +0 -232
- package/one/dsl.md +0 -605
- package/one/manifest.md +0 -143
- package/one/mcp.md +0 -212
- package/one/me/me.md +0 -135
- package/one/missions/mission-4.yaml +0 -343
- package/one/one.md +0 -549
- package/one/one.yaml +0 -589
- package/one/ontology.md +0 -687
- package/one/prompts/-SystemPrompt.md +0 -121
- package/one/prompts/BookChapterStructure.md +0 -181
- package/one/prompts/BookRewriter.md +0 -106
- package/one/prompts/Company 1.md +0 -225
- package/one/prompts/Company.md +0 -188
- package/one/prompts/Customer.md +0 -96
- package/one/prompts/CustomerDeepResearch.md +0 -86
- package/one/prompts/DeepResearch.md +0 -96
- package/one/prompts/Educate.md +0 -100
- package/one/prompts/Engage - Copywriter.md +0 -72
- package/one/prompts/Engage - Pages.md +0 -125
- package/one/prompts/Engage.md +0 -76
- package/one/prompts/Foundation.md +0 -132
- package/one/prompts/Gift.md +0 -173
- package/one/prompts/Identify.md +0 -97
- package/one/prompts/Market.md +0 -96
- package/one/prompts/MarketDeepResearch.md +0 -175
- package/one/prompts/Nurture.md +0 -130
- package/one/prompts/Optimize.md +0 -134
- package/one/prompts/Prompts.md +0 -167
- package/one/prompts/Sell.md +0 -101
- package/one/prompts/SellPrompts.md +0 -184
- package/one/prompts/Share.md +0 -143
- package/one/prompts/Stop.md +0 -214
- package/one/prompts/StopElements.md +0 -131
- package/one/prompts/Upsell.md +0 -95
- package/one/prompts/business.md +0 -1
- package/one/prompts/content-playbook-writer-prompts.md +0 -250
- package/one/prompts/rocket.md +0 -1664
- package/one/prompts/system.md +0 -418
- package/one/stories/story-1.1-agent-one-mission-system.md +0 -365
- package/one/stories/story-1.2-engineering-director-system.md +0 -430
- package/one/stories/story-1.3-quality-refinement-system.md +0 -367
- package/one/stories/story-1.4-parallel-execution-framework.md +0 -578
- package/one/stories/story-1.5-completion-system.md +0 -676
- package/one/stories/story-1.6-engineering-agents-cascade-integration.md +0 -531
- package/one/stories/story-3.1-agent-ontology-systematic-update.md +0 -267
- package/one/stories/story-3.2-agent-enhancement-rocket-integration.md +0 -148
- package/one/tasks/mission-3-task-4-optimization-report.json +0 -1225
- package/one/tasks/task-1.1-1-enhance-framework-overview.md +0 -197
- package/one/tasks/task-1.1-2-user-configuration-template.md +0 -225
- package/one/tasks/task-1.1-3-company-profile-structure.md +0 -304
- package/one/tasks/task-1.1-4-mission-creation-automation.md +0 -312
- package/one/tasks/task-1.1-5-mission-template-enhancement.md +0 -447
- package/one/tasks/task-1.1-6-mission-quality-gate.md +0 -359
- package/one/tasks/task-1.1-7-mission-quality-checklist.md +0 -555
- package/one/workflow.md +0 -69
|
@@ -1,1210 +0,0 @@
|
|
|
1
|
-
%%
|
|
2
|
-
% Copyright (c) 2017 - 2023, Pascal Wagler;
|
|
3
|
-
% Copyright (c) 2014 - 2023, John MacFarlane
|
|
4
|
-
%
|
|
5
|
-
% All rights reserved.
|
|
6
|
-
%
|
|
7
|
-
% Redistribution and use in source and binary forms, with or without
|
|
8
|
-
% modification, are permitted provided that the following conditions
|
|
9
|
-
% are met:
|
|
10
|
-
%
|
|
11
|
-
% - Redistributions of source code must retain the above copyright
|
|
12
|
-
% notice, this list of conditions and the following disclaimer.
|
|
13
|
-
%
|
|
14
|
-
% - Redistributions in binary form must reproduce the above copyright
|
|
15
|
-
% notice, this list of conditions and the following disclaimer in the
|
|
16
|
-
% documentation and/or other materials provided with the distribution.
|
|
17
|
-
%
|
|
18
|
-
% - Neither the name of John MacFarlane nor the names of other
|
|
19
|
-
% contributors may be used to endorse or promote products derived
|
|
20
|
-
% from this software without specific prior written permission.
|
|
21
|
-
%
|
|
22
|
-
% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
23
|
-
% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
24
|
-
% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
25
|
-
% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
26
|
-
% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
27
|
-
% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
28
|
-
% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
29
|
-
% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
30
|
-
% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
31
|
-
% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
32
|
-
% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
33
|
-
% POSSIBILITY OF SUCH DAMAGE.
|
|
34
|
-
%%
|
|
35
|
-
|
|
36
|
-
%%
|
|
37
|
-
% This is the Eisvogel pandoc LaTeX template.
|
|
38
|
-
%
|
|
39
|
-
% For usage information and examples visit the official GitHub page:
|
|
40
|
-
% https://github.com/Wandmalfarbe/pandoc-latex-template
|
|
41
|
-
%%
|
|
42
|
-
|
|
43
|
-
% Options for packages loaded elsewhere
|
|
44
|
-
\PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref}
|
|
45
|
-
\PassOptionsToPackage{hyphens}{url}
|
|
46
|
-
\PassOptionsToPackage{dvipsnames,svgnames,x11names,table}{xcolor}
|
|
47
|
-
$if(CJKmainfont)$
|
|
48
|
-
\PassOptionsToPackage{space}{xeCJK}
|
|
49
|
-
\usepackage{datetime}
|
|
50
|
-
|
|
51
|
-
$endif$
|
|
52
|
-
%
|
|
53
|
-
\documentclass[
|
|
54
|
-
$if(fontsize)$
|
|
55
|
-
$fontsize$,
|
|
56
|
-
$endif$
|
|
57
|
-
$if(papersize)$
|
|
58
|
-
$papersize$paper,
|
|
59
|
-
$else$
|
|
60
|
-
paper=a4,
|
|
61
|
-
$endif$
|
|
62
|
-
$if(beamer)$
|
|
63
|
-
ignorenonframetext,
|
|
64
|
-
$if(handout)$
|
|
65
|
-
handout,
|
|
66
|
-
$endif$
|
|
67
|
-
$if(aspectratio)$
|
|
68
|
-
aspectratio=$aspectratio$,
|
|
69
|
-
$endif$
|
|
70
|
-
$endif$
|
|
71
|
-
$for(classoption)$
|
|
72
|
-
$classoption$$sep$,
|
|
73
|
-
$endfor$
|
|
74
|
-
,captions=tableheading
|
|
75
|
-
]{$if(beamer)$$documentclass$$else$$if(book)$scrbook$else$scrartcl$endif$$endif$}
|
|
76
|
-
$if(beamer)$
|
|
77
|
-
$if(background-image)$
|
|
78
|
-
\usebackgroundtemplate{%
|
|
79
|
-
\includegraphics[width=\paperwidth]{$background-image$}%
|
|
80
|
-
}
|
|
81
|
-
% In beamer background-image does not work well when other images are used, so this is the workaround
|
|
82
|
-
\pgfdeclareimage[width=\paperwidth,height=\paperheight]{background}{$background-image$}
|
|
83
|
-
\usebackgroundtemplate{\pgfuseimage{background}}
|
|
84
|
-
$endif$
|
|
85
|
-
\usepackage{pgfpages}
|
|
86
|
-
\setbeamertemplate{caption}[numbered]
|
|
87
|
-
\setbeamertemplate{caption label separator}{: }
|
|
88
|
-
\setbeamercolor{caption name}{fg=normal text.fg}
|
|
89
|
-
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
|
|
90
|
-
$for(beameroption)$
|
|
91
|
-
\setbeameroption{$beameroption$}
|
|
92
|
-
$endfor$
|
|
93
|
-
% Prevent slide breaks in the middle of a paragraph
|
|
94
|
-
\widowpenalties 1 10000
|
|
95
|
-
\raggedbottom
|
|
96
|
-
$if(section-titles)$
|
|
97
|
-
\setbeamertemplate{part page}{
|
|
98
|
-
\centering
|
|
99
|
-
\begin{beamercolorbox}[sep=16pt,center]{part title}
|
|
100
|
-
\usebeamerfont{part title}\insertpart\par
|
|
101
|
-
\end{beamercolorbox}
|
|
102
|
-
}
|
|
103
|
-
\setbeamertemplate{section page}{
|
|
104
|
-
\centering
|
|
105
|
-
\begin{beamercolorbox}[sep=12pt,center]{part title}
|
|
106
|
-
\usebeamerfont{section title}\insertsection\par
|
|
107
|
-
\end{beamercolorbox}
|
|
108
|
-
}
|
|
109
|
-
\setbeamertemplate{subsection page}{
|
|
110
|
-
\centering
|
|
111
|
-
\begin{beamercolorbox}[sep=8pt,center]{part title}
|
|
112
|
-
\usebeamerfont{subsection title}\insertsubsection\par
|
|
113
|
-
\end{beamercolorbox}
|
|
114
|
-
}
|
|
115
|
-
\AtBeginPart{
|
|
116
|
-
\frame{\partpage}
|
|
117
|
-
}
|
|
118
|
-
\AtBeginSection{
|
|
119
|
-
\ifbibliography
|
|
120
|
-
\else
|
|
121
|
-
\frame{\sectionpage}
|
|
122
|
-
\fi
|
|
123
|
-
}
|
|
124
|
-
\AtBeginSubsection{
|
|
125
|
-
\frame{\subsectionpage}
|
|
126
|
-
}
|
|
127
|
-
$endif$
|
|
128
|
-
$endif$
|
|
129
|
-
$if(beamerarticle)$
|
|
130
|
-
\usepackage{beamerarticle} % needs to be loaded first
|
|
131
|
-
$endif$
|
|
132
|
-
\usepackage{amsmath,amssymb}
|
|
133
|
-
$if(linestretch)$
|
|
134
|
-
\usepackage{setspace}
|
|
135
|
-
$else$
|
|
136
|
-
% Use setspace anyway because we change the default line spacing.
|
|
137
|
-
% The spacing is changed early to affect the titlepage and the TOC.
|
|
138
|
-
\usepackage{setspace}
|
|
139
|
-
\setstretch{1.2}
|
|
140
|
-
$endif$
|
|
141
|
-
\usepackage{iftex}
|
|
142
|
-
\ifPDFTeX
|
|
143
|
-
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
|
|
144
|
-
\usepackage[utf8]{inputenc}
|
|
145
|
-
\usepackage{textcomp} % provide euro and other symbols
|
|
146
|
-
\else % if luatex or xetex
|
|
147
|
-
$if(mathspec)$
|
|
148
|
-
\ifXeTeX
|
|
149
|
-
\usepackage{mathspec} % this also loads fontspec
|
|
150
|
-
\else
|
|
151
|
-
\usepackage{unicode-math} % this also loads fontspec
|
|
152
|
-
\fi
|
|
153
|
-
$else$
|
|
154
|
-
\usepackage{unicode-math} % this also loads fontspec
|
|
155
|
-
$endif$
|
|
156
|
-
\defaultfontfeatures{Scale=MatchLowercase}$-- must come before Beamer theme
|
|
157
|
-
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
|
|
158
|
-
\fi
|
|
159
|
-
$if(fontfamily)$
|
|
160
|
-
$else$
|
|
161
|
-
$-- Set default font before Beamer theme so the theme can override it
|
|
162
|
-
\usepackage{lmodern}
|
|
163
|
-
$endif$
|
|
164
|
-
$-- Set Beamer theme before user font settings so they can override theme
|
|
165
|
-
$if(beamer)$
|
|
166
|
-
$if(theme)$
|
|
167
|
-
\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$}
|
|
168
|
-
$endif$
|
|
169
|
-
$if(colortheme)$
|
|
170
|
-
\usecolortheme{$colortheme$}
|
|
171
|
-
$endif$
|
|
172
|
-
$if(fonttheme)$
|
|
173
|
-
\usefonttheme{$fonttheme$}
|
|
174
|
-
$endif$
|
|
175
|
-
$if(mainfont)$
|
|
176
|
-
\usefonttheme{serif} % use mainfont rather than sansfont for slide text
|
|
177
|
-
$endif$
|
|
178
|
-
$if(innertheme)$
|
|
179
|
-
\useinnertheme{$innertheme$}
|
|
180
|
-
$endif$
|
|
181
|
-
$if(outertheme)$
|
|
182
|
-
\useoutertheme{$outertheme$}
|
|
183
|
-
$endif$
|
|
184
|
-
$endif$
|
|
185
|
-
$-- User font settings (must come after default font and Beamer theme)
|
|
186
|
-
$if(fontfamily)$
|
|
187
|
-
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
|
188
|
-
$endif$
|
|
189
|
-
\ifPDFTeX\else
|
|
190
|
-
% xetex/luatex font selection
|
|
191
|
-
$if(mainfont)$
|
|
192
|
-
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
|
|
193
|
-
$endif$
|
|
194
|
-
$if(sansfont)$
|
|
195
|
-
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
|
|
196
|
-
$endif$
|
|
197
|
-
$if(monofont)$
|
|
198
|
-
\setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$}
|
|
199
|
-
$endif$
|
|
200
|
-
$for(fontfamilies)$
|
|
201
|
-
\newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
|
|
202
|
-
$endfor$
|
|
203
|
-
$if(mathfont)$
|
|
204
|
-
$if(mathspec)$
|
|
205
|
-
\ifXeTeX
|
|
206
|
-
\setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
|
207
|
-
\else
|
|
208
|
-
\setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
|
209
|
-
\fi
|
|
210
|
-
$else$
|
|
211
|
-
\setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
|
212
|
-
$endif$
|
|
213
|
-
$endif$
|
|
214
|
-
$if(CJKmainfont)$
|
|
215
|
-
\ifXeTeX
|
|
216
|
-
\usepackage{xeCJK}
|
|
217
|
-
\setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
|
|
218
|
-
$if(CJKsansfont)$
|
|
219
|
-
\setCJKsansfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKsansfont$}
|
|
220
|
-
$endif$
|
|
221
|
-
$if(CJKmonofont)$
|
|
222
|
-
\setCJKmonofont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmonofont$}
|
|
223
|
-
$endif$
|
|
224
|
-
\fi
|
|
225
|
-
$endif$
|
|
226
|
-
$if(luatexjapresetoptions)$
|
|
227
|
-
\ifLuaTeX
|
|
228
|
-
\usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset}
|
|
229
|
-
\fi
|
|
230
|
-
$endif$
|
|
231
|
-
$if(CJKmainfont)$
|
|
232
|
-
\ifLuaTeX
|
|
233
|
-
\usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec}
|
|
234
|
-
\setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
|
|
235
|
-
\fi
|
|
236
|
-
$endif$
|
|
237
|
-
\fi
|
|
238
|
-
$if(zero-width-non-joiner)$
|
|
239
|
-
%% Support for zero-width non-joiner characters.
|
|
240
|
-
\makeatletter
|
|
241
|
-
\def\zerowidthnonjoiner{%
|
|
242
|
-
% Prevent ligatures and adjust kerning, but still support hyphenating.
|
|
243
|
-
\texorpdfstring{%
|
|
244
|
-
\TextOrMath{\nobreak\discretionary{-}{}{\kern.03em}%
|
|
245
|
-
\ifvmode\else\nobreak\hskip\z@skip\fi}{}%
|
|
246
|
-
}{}%
|
|
247
|
-
}
|
|
248
|
-
\makeatother
|
|
249
|
-
\ifPDFTeX
|
|
250
|
-
\DeclareUnicodeCharacter{200C}{\zerowidthnonjoiner}
|
|
251
|
-
\else
|
|
252
|
-
\catcode`^^^^200c=\active
|
|
253
|
-
\protected\def ^^^^200c{\zerowidthnonjoiner}
|
|
254
|
-
\fi
|
|
255
|
-
%% End of ZWNJ support
|
|
256
|
-
$endif$
|
|
257
|
-
% Use upquote if available, for straight quotes in verbatim environments
|
|
258
|
-
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
|
|
259
|
-
\IfFileExists{microtype.sty}{% use microtype if available
|
|
260
|
-
\usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
|
|
261
|
-
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
|
262
|
-
}{}
|
|
263
|
-
$if(indent)$
|
|
264
|
-
$else$
|
|
265
|
-
|
|
266
|
-
\usepackage{pgfpages}
|
|
267
|
-
\usepackage[export]{adjustbox}
|
|
268
|
-
\usepackage{graphicx}
|
|
269
|
-
\usepackage{ragged2e}
|
|
270
|
-
\makeatletter
|
|
271
|
-
\@ifundefined{KOMAClassName}{% if non-KOMA class
|
|
272
|
-
\IfFileExists{parskip.sty}{%
|
|
273
|
-
\usepackage{parskip}
|
|
274
|
-
}{% else
|
|
275
|
-
\setlength{\parindent}{0pt}
|
|
276
|
-
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
|
|
277
|
-
}{% if KOMA class
|
|
278
|
-
\KOMAoptions{parskip=half}}
|
|
279
|
-
\makeatother
|
|
280
|
-
$endif$
|
|
281
|
-
$if(verbatim-in-note)$
|
|
282
|
-
\usepackage{fancyvrb}
|
|
283
|
-
$endif$
|
|
284
|
-
\usepackage{xcolor}
|
|
285
|
-
\definecolor{default-linkcolor}{HTML}{A50000}
|
|
286
|
-
\definecolor{default-filecolor}{HTML}{A50000}
|
|
287
|
-
\definecolor{default-citecolor}{HTML}{4077C0}
|
|
288
|
-
\definecolor{default-urlcolor}{HTML}{4077C0}
|
|
289
|
-
$if(footnotes-pretty)$
|
|
290
|
-
% load footmisc in order to customize footnotes (footmisc has to be loaded before hyperref, cf. https://tex.stackexchange.com/a/169124/144087)
|
|
291
|
-
\usepackage[hang,flushmargin,bottom,multiple]{footmisc}
|
|
292
|
-
\setlength{\footnotemargin}{0.8em} % set space between footnote nr and text
|
|
293
|
-
\setlength{\footnotesep}{\baselineskip} % set space between multiple footnotes
|
|
294
|
-
\setlength{\skip\footins}{0.3cm} % set space between page content and footnote
|
|
295
|
-
\setlength{\footskip}{0.9cm} % set space between footnote and page bottom
|
|
296
|
-
$endif$
|
|
297
|
-
$if(geometry)$
|
|
298
|
-
$if(beamer)$
|
|
299
|
-
\geometry{$for(geometry)$$geometry$$sep$,$endfor$}
|
|
300
|
-
$else$
|
|
301
|
-
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
|
302
|
-
$endif$
|
|
303
|
-
$else$
|
|
304
|
-
$if(beamer)$
|
|
305
|
-
$else$
|
|
306
|
-
\usepackage[margin=2.5cm,includehead=true,includefoot=true,centering,$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
|
307
|
-
$endif$
|
|
308
|
-
$endif$
|
|
309
|
-
$if(titlepage-logo)$
|
|
310
|
-
\usepackage[export]{adjustbox}
|
|
311
|
-
\usepackage{graphicx}
|
|
312
|
-
$endif$
|
|
313
|
-
$if(beamer)$
|
|
314
|
-
\newif\ifbibliography
|
|
315
|
-
$endif$
|
|
316
|
-
$if(listings)$
|
|
317
|
-
\usepackage{listings}
|
|
318
|
-
\newcommand{\passthrough}[1]{#1}
|
|
319
|
-
\lstset{defaultdialect=[5.3]Lua}
|
|
320
|
-
\lstset{defaultdialect=[x86masm]Assembler}
|
|
321
|
-
$endif$
|
|
322
|
-
$if(listings-no-page-break)$
|
|
323
|
-
\usepackage{etoolbox}
|
|
324
|
-
\BeforeBeginEnvironment{lstlisting}{\par\noindent\begin{minipage}{\linewidth}}
|
|
325
|
-
\AfterEndEnvironment{lstlisting}{\end{minipage}\par\addvspace{\topskip}}
|
|
326
|
-
$endif$
|
|
327
|
-
$if(lhs)$
|
|
328
|
-
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
|
|
329
|
-
$endif$
|
|
330
|
-
$if(highlighting-macros)$
|
|
331
|
-
$highlighting-macros$
|
|
332
|
-
|
|
333
|
-
% Workaround/bugfix from jannick0.
|
|
334
|
-
% See https://github.com/jgm/pandoc/issues/4302#issuecomment-360669013)
|
|
335
|
-
% or https://github.com/Wandmalfarbe/pandoc-latex-template/issues/2
|
|
336
|
-
%
|
|
337
|
-
% Redefine the verbatim environment 'Highlighting' to break long lines (with
|
|
338
|
-
% the help of fvextra). Redefinition is necessary because it is unlikely that
|
|
339
|
-
% pandoc includes fvextra in the default template.
|
|
340
|
-
\usepackage{fvextra}
|
|
341
|
-
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,fontsize=$if(code-block-font-size)$$code-block-font-size$$else$\small$endif$,commandchars=\\\{\}}
|
|
342
|
-
|
|
343
|
-
$endif$
|
|
344
|
-
$if(tables)$
|
|
345
|
-
\usepackage{longtable,booktabs,array}
|
|
346
|
-
$if(multirow)$
|
|
347
|
-
\usepackage{multirow}
|
|
348
|
-
$endif$
|
|
349
|
-
\usepackage{calc} % for calculating minipage widths
|
|
350
|
-
$if(beamer)$
|
|
351
|
-
\usepackage{caption}
|
|
352
|
-
% Make caption package work with longtable
|
|
353
|
-
\makeatletter
|
|
354
|
-
\def\fnum@table{\tablename~\thetable}
|
|
355
|
-
\makeatother
|
|
356
|
-
$else$
|
|
357
|
-
% Correct order of tables after \paragraph or \subparagraph
|
|
358
|
-
\usepackage{etoolbox}
|
|
359
|
-
\makeatletter
|
|
360
|
-
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
|
|
361
|
-
\makeatother
|
|
362
|
-
% Allow footnotes in longtable head/foot
|
|
363
|
-
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
|
|
364
|
-
\makesavenoteenv{longtable}
|
|
365
|
-
$endif$
|
|
366
|
-
$endif$
|
|
367
|
-
% add backlinks to footnote references, cf. https://tex.stackexchange.com/questions/302266/make-footnote-clickable-both-ways
|
|
368
|
-
$if(footnotes-disable-backlinks)$
|
|
369
|
-
$else$
|
|
370
|
-
\usepackage{footnotebackref}
|
|
371
|
-
$endif$
|
|
372
|
-
$if(graphics)$
|
|
373
|
-
\usepackage{graphicx}
|
|
374
|
-
\makeatletter
|
|
375
|
-
\newsavebox\pandoc@box
|
|
376
|
-
\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
|
|
377
|
-
\sbox\pandoc@box{#1}%
|
|
378
|
-
\Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
|
|
379
|
-
\Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}%
|
|
380
|
-
\ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both
|
|
381
|
-
\ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}%
|
|
382
|
-
\else\usebox{\pandoc@box}%
|
|
383
|
-
\fi%
|
|
384
|
-
}
|
|
385
|
-
% Set default figure placement to htbp
|
|
386
|
-
% Make use of float-package and set default placement for figures to H.
|
|
387
|
-
% The option H means 'PUT IT HERE' (as opposed to the standard h option which means 'You may put it here if you like').
|
|
388
|
-
\usepackage{float}
|
|
389
|
-
\floatplacement{figure}{$if(float-placement-figure)$$float-placement-figure$$else$H$endif$}
|
|
390
|
-
\makeatother
|
|
391
|
-
$endif$
|
|
392
|
-
$if(svg)$
|
|
393
|
-
\usepackage{svg}
|
|
394
|
-
$endif$
|
|
395
|
-
$if(strikeout)$
|
|
396
|
-
$-- also used for underline
|
|
397
|
-
\ifLuaTeX
|
|
398
|
-
\usepackage{luacolor}
|
|
399
|
-
\usepackage[soul]{lua-ul}
|
|
400
|
-
\else
|
|
401
|
-
\usepackage{soul}
|
|
402
|
-
$if(CJKmainfont)$
|
|
403
|
-
\ifXeTeX
|
|
404
|
-
% soul's \st doesn't work for CJK:
|
|
405
|
-
\usepackage{xeCJKfntef}
|
|
406
|
-
\renewcommand{\st}[1]{\sout{#1}}
|
|
407
|
-
\fi
|
|
408
|
-
$endif$
|
|
409
|
-
\fi
|
|
410
|
-
$endif$
|
|
411
|
-
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
|
412
|
-
\providecommand{\tightlist}{%
|
|
413
|
-
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
|
414
|
-
$if(numbersections)$
|
|
415
|
-
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
|
|
416
|
-
$else$
|
|
417
|
-
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
|
|
418
|
-
$endif$
|
|
419
|
-
$if(subfigure)$
|
|
420
|
-
\usepackage{subcaption}
|
|
421
|
-
$endif$
|
|
422
|
-
$if(beamer)$
|
|
423
|
-
$else$
|
|
424
|
-
$if(block-headings)$
|
|
425
|
-
% Make \paragraph and \subparagraph free-standing
|
|
426
|
-
\ifx\paragraph\undefined\else
|
|
427
|
-
\let\oldparagraph\paragraph
|
|
428
|
-
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
|
|
429
|
-
\fi
|
|
430
|
-
\ifx\subparagraph\undefined\else
|
|
431
|
-
\let\oldsubparagraph\subparagraph
|
|
432
|
-
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
|
433
|
-
\fi
|
|
434
|
-
$endif$
|
|
435
|
-
$endif$
|
|
436
|
-
$if(pagestyle)$
|
|
437
|
-
\pagestyle{$pagestyle$}
|
|
438
|
-
$endif$
|
|
439
|
-
$if(csl-refs)$
|
|
440
|
-
% definitions for citeproc citations
|
|
441
|
-
\NewDocumentCommand\citeproctext{}{}
|
|
442
|
-
\NewDocumentCommand\citeproc{mm}{%
|
|
443
|
-
\begingroup\def\citeproctext{#2}\cite{#1}\endgroup}
|
|
444
|
-
\makeatletter
|
|
445
|
-
% allow citations to break across lines
|
|
446
|
-
\let\@cite@ofmt\@firstofone
|
|
447
|
-
% avoid brackets around text for \cite:
|
|
448
|
-
\def\@biblabel#1{}
|
|
449
|
-
\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
|
|
450
|
-
\makeatother
|
|
451
|
-
\newlength{\cslhangindent}
|
|
452
|
-
\setlength{\cslhangindent}{1.5em}
|
|
453
|
-
\newlength{\csllabelwidth}
|
|
454
|
-
\setlength{\csllabelwidth}{3em}
|
|
455
|
-
\newenvironment{CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing
|
|
456
|
-
{\begin{list}{}{%
|
|
457
|
-
\setlength{\itemindent}{0pt}
|
|
458
|
-
\setlength{\leftmargin}{0pt}
|
|
459
|
-
\setlength{\parsep}{0pt}
|
|
460
|
-
% turn on hanging indent if param 1 is 1
|
|
461
|
-
\ifodd #1
|
|
462
|
-
\setlength{\leftmargin}{\cslhangindent}
|
|
463
|
-
\setlength{\itemindent}{-1\cslhangindent}
|
|
464
|
-
\fi
|
|
465
|
-
% set entry spacing
|
|
466
|
-
\setlength{\itemsep}{#2\baselineskip}}}
|
|
467
|
-
{\end{list}}
|
|
468
|
-
\usepackage{calc}
|
|
469
|
-
\newcommand{\CSLBlock}[1]{\hfill\break\parbox[t]{\linewidth}{\strut\ignorespaces#1\strut}}
|
|
470
|
-
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
|
|
471
|
-
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}}
|
|
472
|
-
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
|
|
473
|
-
$endif$
|
|
474
|
-
$if(lang)$
|
|
475
|
-
\ifLuaTeX
|
|
476
|
-
\usepackage[bidi=basic]{babel}
|
|
477
|
-
\else
|
|
478
|
-
\usepackage[bidi=default]{babel}
|
|
479
|
-
\fi
|
|
480
|
-
$if(babel-lang)$
|
|
481
|
-
\babelprovide[main,import]{$babel-lang$}
|
|
482
|
-
$if(mainfont)$
|
|
483
|
-
\ifPDFTeX
|
|
484
|
-
\else
|
|
485
|
-
\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
|
|
486
|
-
\fi
|
|
487
|
-
$endif$
|
|
488
|
-
$endif$
|
|
489
|
-
$for(babel-otherlangs)$
|
|
490
|
-
\babelprovide[import]{$babel-otherlangs$}
|
|
491
|
-
$endfor$
|
|
492
|
-
$for(babelfonts/pairs)$
|
|
493
|
-
\babelfont[$babelfonts.key$]{rm}{$babelfonts.value$}
|
|
494
|
-
$endfor$
|
|
495
|
-
% get rid of language-specific shorthands (see #6817):
|
|
496
|
-
\let\LanguageShortHands\languageshorthands
|
|
497
|
-
\def\languageshorthands#1{}
|
|
498
|
-
$endif$
|
|
499
|
-
$for(header-includes)$
|
|
500
|
-
$header-includes$
|
|
501
|
-
$endfor$
|
|
502
|
-
\ifLuaTeX
|
|
503
|
-
\usepackage{selnolig} % disable illegal ligatures
|
|
504
|
-
\fi
|
|
505
|
-
$if(dir)$
|
|
506
|
-
\ifPDFTeX
|
|
507
|
-
\TeXXeTstate=1
|
|
508
|
-
\newcommand{\RL}[1]{\beginR #1\endR}
|
|
509
|
-
\newcommand{\LR}[1]{\beginL #1\endL}
|
|
510
|
-
\newenvironment{RTL}{\beginR}{\endR}
|
|
511
|
-
\newenvironment{LTR}{\beginL}{\endL}
|
|
512
|
-
\fi
|
|
513
|
-
$endif$
|
|
514
|
-
$if(natbib)$
|
|
515
|
-
\usepackage[$natbiboptions$]{natbib}
|
|
516
|
-
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
|
|
517
|
-
$endif$
|
|
518
|
-
$if(biblatex)$
|
|
519
|
-
\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
|
|
520
|
-
$for(bibliography)$
|
|
521
|
-
\addbibresource{$bibliography$}
|
|
522
|
-
$endfor$
|
|
523
|
-
$endif$
|
|
524
|
-
$if(nocite-ids)$
|
|
525
|
-
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
|
|
526
|
-
$endif$
|
|
527
|
-
$if(csquotes)$
|
|
528
|
-
\usepackage{csquotes}
|
|
529
|
-
$endif$
|
|
530
|
-
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
|
|
531
|
-
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
|
|
532
|
-
\urlstyle{$if(urlstyle)$$urlstyle$$else$same$endif$}
|
|
533
|
-
$if(links-as-notes)$
|
|
534
|
-
% Make links footnotes instead of hotlinks:
|
|
535
|
-
\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}
|
|
536
|
-
$endif$
|
|
537
|
-
$if(verbatim-in-note)$
|
|
538
|
-
\VerbatimFootnotes % allow verbatim text in footnotes
|
|
539
|
-
$endif$
|
|
540
|
-
\hypersetup{
|
|
541
|
-
$if(title-meta)$
|
|
542
|
-
pdftitle={$title-meta$},
|
|
543
|
-
$endif$
|
|
544
|
-
$if(author-meta)$
|
|
545
|
-
pdfauthor={$author-meta$},
|
|
546
|
-
$endif$
|
|
547
|
-
$if(lang)$
|
|
548
|
-
pdflang={$lang$},
|
|
549
|
-
$endif$
|
|
550
|
-
$if(subject)$
|
|
551
|
-
pdfsubject={$subject$},
|
|
552
|
-
$endif$
|
|
553
|
-
$if(keywords)$
|
|
554
|
-
pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$},
|
|
555
|
-
$endif$
|
|
556
|
-
$if(colorlinks)$
|
|
557
|
-
colorlinks=true,
|
|
558
|
-
linkcolor={$if(linkcolor)$$linkcolor$$else$default-linkcolor$endif$},
|
|
559
|
-
filecolor={$if(filecolor)$$filecolor$$else$default-filecolor$endif$},
|
|
560
|
-
citecolor={$if(citecolor)$$citecolor$$else$default-citecolor$endif$},
|
|
561
|
-
urlcolor={$if(urlcolor)$$urlcolor$$else$default-urlcolor$endif$},
|
|
562
|
-
$else$
|
|
563
|
-
hidelinks,
|
|
564
|
-
$endif$
|
|
565
|
-
breaklinks=true,
|
|
566
|
-
pdfcreator={LaTeX via pandoc with the Eisvogel template}}
|
|
567
|
-
$if(title)$
|
|
568
|
-
\title{$if(title)$$title$$else$Set up Title in Frontmatter (see abstract)$endif$}
|
|
569
|
-
$endif$
|
|
570
|
-
$if(subtitle)$
|
|
571
|
-
$if(beamer)$
|
|
572
|
-
$else$
|
|
573
|
-
\usepackage{etoolbox}
|
|
574
|
-
\makeatletter
|
|
575
|
-
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
|
|
576
|
-
\apptocmd{\@title}{\par {\large #1 \par}}{}{}
|
|
577
|
-
}
|
|
578
|
-
\makeatother
|
|
579
|
-
$endif$
|
|
580
|
-
\subtitle{$subtitle$}
|
|
581
|
-
$endif$
|
|
582
|
-
\author{$for(author)$$author$$sep$ \and $endfor$}
|
|
583
|
-
$if(date)$
|
|
584
|
-
\date{$date$}
|
|
585
|
-
$else$
|
|
586
|
-
\date{\today}
|
|
587
|
-
$endif$
|
|
588
|
-
|
|
589
|
-
$if(beamer)$
|
|
590
|
-
$if(institute)$
|
|
591
|
-
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
|
|
592
|
-
$endif$
|
|
593
|
-
$if(titlegraphic)$
|
|
594
|
-
\titlegraphic{\includegraphics{$titlegraphic$}}
|
|
595
|
-
$endif$
|
|
596
|
-
$if(logo)$
|
|
597
|
-
\logo{\includegraphics{$logo$}}
|
|
598
|
-
$endif$
|
|
599
|
-
$endif$
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
%%
|
|
604
|
-
%% added
|
|
605
|
-
%%
|
|
606
|
-
|
|
607
|
-
$if(page-background)$
|
|
608
|
-
\usepackage[pages=all]{background}
|
|
609
|
-
$endif$
|
|
610
|
-
|
|
611
|
-
%
|
|
612
|
-
% for the background color of the title page
|
|
613
|
-
%
|
|
614
|
-
$if(notitlepage)$
|
|
615
|
-
|
|
616
|
-
$else$
|
|
617
|
-
\usepackage{pagecolor}
|
|
618
|
-
\usepackage{afterpage}
|
|
619
|
-
$if(titlepage-background)$
|
|
620
|
-
\usepackage{tikz}
|
|
621
|
-
$endif$
|
|
622
|
-
$if(geometry)$
|
|
623
|
-
$else$
|
|
624
|
-
\usepackage[margin=2.5cm,includehead=true,includefoot=true,centering]{geometry}
|
|
625
|
-
$endif$
|
|
626
|
-
$endif$
|
|
627
|
-
|
|
628
|
-
%
|
|
629
|
-
% break urls
|
|
630
|
-
%
|
|
631
|
-
\PassOptionsToPackage{hyphens}{url}
|
|
632
|
-
|
|
633
|
-
%
|
|
634
|
-
% When using babel or polyglossia with biblatex, loading csquotes is recommended
|
|
635
|
-
% to ensure that quoted texts are typeset according to the rules of your main language.
|
|
636
|
-
%
|
|
637
|
-
\usepackage{csquotes}
|
|
638
|
-
|
|
639
|
-
%
|
|
640
|
-
% captions
|
|
641
|
-
%
|
|
642
|
-
\definecolor{caption-color}{HTML}{777777}
|
|
643
|
-
$if(beamer)$
|
|
644
|
-
$else$
|
|
645
|
-
\usepackage[font={stretch=1.2}, textfont={color=caption-color}, position=top, skip=4mm, labelfont=bf, singlelinecheck=false, justification=$if(caption-justification)$$caption-justification$$else$justified$endif$]{caption}
|
|
646
|
-
\setcapindent{0em}
|
|
647
|
-
$endif$
|
|
648
|
-
|
|
649
|
-
%
|
|
650
|
-
% blockquote
|
|
651
|
-
%
|
|
652
|
-
\definecolor{blockquote-border}{RGB}{221,221,221}
|
|
653
|
-
\definecolor{blockquote-text}{RGB}{119,119,119}
|
|
654
|
-
\usepackage{mdframed}
|
|
655
|
-
\newmdenv[rightline=false,bottomline=false,topline=false,linewidth=3pt,linecolor=blockquote-border,skipabove=\parskip]{customblockquote}
|
|
656
|
-
\renewenvironment{quote}{\begin{customblockquote}\list{}{\rightmargin=0em\leftmargin=0em}%
|
|
657
|
-
\item\relax\color{blockquote-text}\ignorespaces}{\unskip\unskip\endlist\end{customblockquote}}
|
|
658
|
-
|
|
659
|
-
%
|
|
660
|
-
% Source Sans Pro as the default font family
|
|
661
|
-
% Source Code Pro for monospace text
|
|
662
|
-
%
|
|
663
|
-
% 'default' option sets the default
|
|
664
|
-
% font family to Source Sans Pro, not \sfdefault.
|
|
665
|
-
%
|
|
666
|
-
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
|
667
|
-
$if(fontfamily)$
|
|
668
|
-
$else$
|
|
669
|
-
\usepackage[default]{sourcesanspro}
|
|
670
|
-
\usepackage{sourcecodepro}
|
|
671
|
-
$endif$
|
|
672
|
-
\else % if not pdftex
|
|
673
|
-
$if(mainfont)$
|
|
674
|
-
$else$
|
|
675
|
-
\usepackage[default]{sourcesanspro}
|
|
676
|
-
\usepackage{sourcecodepro}
|
|
677
|
-
|
|
678
|
-
% XeLaTeX specific adjustments for straight quotes: https://tex.stackexchange.com/a/354887
|
|
679
|
-
% This issue is already fixed (see https://github.com/silkeh/latex-sourcecodepro/pull/5) but the
|
|
680
|
-
% fix is still unreleased.
|
|
681
|
-
% TODO: Remove this workaround when the new version of sourcecodepro is released on CTAN.
|
|
682
|
-
\ifxetex
|
|
683
|
-
\makeatletter
|
|
684
|
-
\defaultfontfeatures[\ttfamily]
|
|
685
|
-
{ Numbers = \sourcecodepro@figurestyle,
|
|
686
|
-
Scale = \SourceCodePro@scale,
|
|
687
|
-
Extension = .otf }
|
|
688
|
-
\setmonofont
|
|
689
|
-
[ UprightFont = *-\sourcecodepro@regstyle,
|
|
690
|
-
ItalicFont = *-\sourcecodepro@regstyle It,
|
|
691
|
-
BoldFont = *-\sourcecodepro@boldstyle,
|
|
692
|
-
BoldItalicFont = *-\sourcecodepro@boldstyle It ]
|
|
693
|
-
{SourceCodePro}
|
|
694
|
-
\makeatother
|
|
695
|
-
\fi
|
|
696
|
-
$endif$
|
|
697
|
-
\fi
|
|
698
|
-
|
|
699
|
-
%
|
|
700
|
-
% heading color
|
|
701
|
-
%
|
|
702
|
-
\definecolor{heading-color}{RGB}{40,40,40}
|
|
703
|
-
$if(beamer)$
|
|
704
|
-
$else$
|
|
705
|
-
\addtokomafont{section}{\color{heading-color}}
|
|
706
|
-
$endif$
|
|
707
|
-
% When using the classes report, scrreprt, book,
|
|
708
|
-
% scrbook or memoir, uncomment the following line.
|
|
709
|
-
%\addtokomafont{chapter}{\color{heading-color}}
|
|
710
|
-
|
|
711
|
-
%
|
|
712
|
-
% variables for title, author and date
|
|
713
|
-
%
|
|
714
|
-
$if(beamer)$
|
|
715
|
-
$else$
|
|
716
|
-
\usepackage{titling}
|
|
717
|
-
\title{$title$}
|
|
718
|
-
\author{$for(author)$$author$$sep$, $endfor$}
|
|
719
|
-
\date{$date$}
|
|
720
|
-
$endif$
|
|
721
|
-
|
|
722
|
-
%
|
|
723
|
-
% tables
|
|
724
|
-
%
|
|
725
|
-
$if(tables)$
|
|
726
|
-
|
|
727
|
-
\definecolor{table-row-color}{HTML}{F5F5F5}
|
|
728
|
-
\definecolor{table-rule-color}{HTML}{999999}
|
|
729
|
-
|
|
730
|
-
%\arrayrulecolor{black!40}
|
|
731
|
-
\arrayrulecolor{table-rule-color} % color of \toprule, \midrule, \bottomrule
|
|
732
|
-
\setlength\heavyrulewidth{0.3ex} % thickness of \toprule, \bottomrule
|
|
733
|
-
\renewcommand{\arraystretch}{1.3} % spacing (padding)
|
|
734
|
-
|
|
735
|
-
$if(table-use-row-colors)$
|
|
736
|
-
% TODO: This doesn't work anymore. I don't know why.
|
|
737
|
-
% Reset rownum counter so that each table
|
|
738
|
-
% starts with the same row colors.
|
|
739
|
-
% https://tex.stackexchange.com/questions/170637/restarting-rowcolors
|
|
740
|
-
%
|
|
741
|
-
% Unfortunately the colored cells extend beyond the edge of the
|
|
742
|
-
% table because pandoc uses @-expressions (@{}) like so:
|
|
743
|
-
%
|
|
744
|
-
% \begin{longtable}[]{@{}ll@{}}
|
|
745
|
-
% \end{longtable}
|
|
746
|
-
%
|
|
747
|
-
% https://en.wikibooks.org/wiki/LaTeX/Tables#.40-expressions
|
|
748
|
-
\usepackage{etoolbox}
|
|
749
|
-
\AtBeginEnvironment{longtable}{\rowcolors{2}{}{table-row-color!100}}
|
|
750
|
-
\preto{\toprule}{\hiderowcolors}{}{}
|
|
751
|
-
\appto{\endhead}{\showrowcolors}{}{}
|
|
752
|
-
\appto{\endfirsthead}{\showrowcolors}{}{}
|
|
753
|
-
$endif$
|
|
754
|
-
$endif$
|
|
755
|
-
|
|
756
|
-
%
|
|
757
|
-
% remove paragraph indentation
|
|
758
|
-
%
|
|
759
|
-
\setlength{\parindent}{0pt}
|
|
760
|
-
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
|
761
|
-
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
|
762
|
-
|
|
763
|
-
%
|
|
764
|
-
%
|
|
765
|
-
% Listings
|
|
766
|
-
%
|
|
767
|
-
%
|
|
768
|
-
|
|
769
|
-
$if(listings)$
|
|
770
|
-
|
|
771
|
-
%
|
|
772
|
-
% general listing colors
|
|
773
|
-
%
|
|
774
|
-
\definecolor{listing-background}{HTML}{F7F7F7}
|
|
775
|
-
\definecolor{listing-rule}{HTML}{B3B2B3}
|
|
776
|
-
\definecolor{listing-numbers}{HTML}{B3B2B3}
|
|
777
|
-
\definecolor{listing-text-color}{HTML}{000000}
|
|
778
|
-
\definecolor{listing-keyword}{HTML}{435489}
|
|
779
|
-
\definecolor{listing-keyword-2}{HTML}{1284CA} % additional keywords
|
|
780
|
-
\definecolor{listing-keyword-3}{HTML}{9137CB} % additional keywords
|
|
781
|
-
\definecolor{listing-identifier}{HTML}{435489}
|
|
782
|
-
\definecolor{listing-string}{HTML}{00999A}
|
|
783
|
-
\definecolor{listing-comment}{HTML}{8E8E8E}
|
|
784
|
-
|
|
785
|
-
\lstdefinestyle{eisvogel_listing_style}{
|
|
786
|
-
language = java,
|
|
787
|
-
$if(listings-disable-line-numbers)$
|
|
788
|
-
xleftmargin = 0.6em,
|
|
789
|
-
framexleftmargin = 0.4em,
|
|
790
|
-
$else$
|
|
791
|
-
numbers = left,
|
|
792
|
-
xleftmargin = 2.7em,
|
|
793
|
-
framexleftmargin = 2.5em,
|
|
794
|
-
$endif$
|
|
795
|
-
backgroundcolor = \color{listing-background},
|
|
796
|
-
basicstyle = \color{listing-text-color}\linespread{1.0}%
|
|
797
|
-
\lst@ifdisplaystyle%
|
|
798
|
-
$if(code-block-font-size)$$code-block-font-size$$else$\small$endif$%
|
|
799
|
-
\fi\ttfamily{},
|
|
800
|
-
breaklines = true,
|
|
801
|
-
frame = single,
|
|
802
|
-
framesep = 0.19em,
|
|
803
|
-
rulecolor = \color{listing-rule},
|
|
804
|
-
frameround = ffff,
|
|
805
|
-
tabsize = 4,
|
|
806
|
-
numberstyle = \color{listing-numbers},
|
|
807
|
-
aboveskip = 1.0em,
|
|
808
|
-
belowskip = 0.1em,
|
|
809
|
-
abovecaptionskip = 0em,
|
|
810
|
-
belowcaptionskip = 1.0em,
|
|
811
|
-
keywordstyle = {\color{listing-keyword}\bfseries},
|
|
812
|
-
keywordstyle = {[2]\color{listing-keyword-2}\bfseries},
|
|
813
|
-
keywordstyle = {[3]\color{listing-keyword-3}\bfseries\itshape},
|
|
814
|
-
sensitive = true,
|
|
815
|
-
identifierstyle = \color{listing-identifier},
|
|
816
|
-
commentstyle = \color{listing-comment},
|
|
817
|
-
stringstyle = \color{listing-string},
|
|
818
|
-
showstringspaces = false,
|
|
819
|
-
escapeinside = {/*@}{@*/}, % Allow LaTeX inside these special comments
|
|
820
|
-
literate =
|
|
821
|
-
{á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1
|
|
822
|
-
{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1
|
|
823
|
-
{à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1
|
|
824
|
-
{À}{{\`A}}1 {È}{{\`E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1
|
|
825
|
-
{ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
|
|
826
|
-
{Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1
|
|
827
|
-
{â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1
|
|
828
|
-
{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1
|
|
829
|
-
{œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1
|
|
830
|
-
{ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1
|
|
831
|
-
{€}{{\EUR}}1 {£}{{\pounds}}1 {«}{{\guillemotleft}}1
|
|
832
|
-
{»}{{\guillemotright}}1 {ñ}{{\~n}}1 {Ñ}{{\~N}}1 {¿}{{?`}}1
|
|
833
|
-
{…}{{\ldots}}1 {≥}{{>=}}1 {≤}{{<=}}1 {„}{{\glqq}}1 {“}{{\grqq}}1
|
|
834
|
-
{”}{{''}}1
|
|
835
|
-
}
|
|
836
|
-
\lstset{style=eisvogel_listing_style}
|
|
837
|
-
|
|
838
|
-
%
|
|
839
|
-
% Java (Java SE 12, 2019-06-22)
|
|
840
|
-
%
|
|
841
|
-
\lstdefinelanguage{Java}{
|
|
842
|
-
morekeywords={
|
|
843
|
-
% normal keywords (without data types)
|
|
844
|
-
abstract,assert,break,case,catch,class,continue,default,
|
|
845
|
-
do,else,enum,exports,extends,final,finally,for,if,implements,
|
|
846
|
-
import,instanceof,interface,module,native,new,package,private,
|
|
847
|
-
protected,public,requires,return,static,strictfp,super,switch,
|
|
848
|
-
synchronized,this,throw,throws,transient,try,volatile,while,
|
|
849
|
-
% var is an identifier
|
|
850
|
-
var
|
|
851
|
-
},
|
|
852
|
-
morekeywords={[2] % data types
|
|
853
|
-
% primitive data types
|
|
854
|
-
boolean,byte,char,double,float,int,long,short,
|
|
855
|
-
% String
|
|
856
|
-
String,
|
|
857
|
-
% primitive wrapper types
|
|
858
|
-
Boolean,Byte,Character,Double,Float,Integer,Long,Short
|
|
859
|
-
% number types
|
|
860
|
-
Number,AtomicInteger,AtomicLong,BigDecimal,BigInteger,DoubleAccumulator,DoubleAdder,LongAccumulator,LongAdder,Short,
|
|
861
|
-
% other
|
|
862
|
-
Object,Void,void
|
|
863
|
-
},
|
|
864
|
-
morekeywords={[3] % literals
|
|
865
|
-
% reserved words for literal values
|
|
866
|
-
null,true,false,
|
|
867
|
-
},
|
|
868
|
-
sensitive,
|
|
869
|
-
morecomment = [l]//,
|
|
870
|
-
morecomment = [s]{/*}{*/},
|
|
871
|
-
morecomment = [s]{/**}{*/},
|
|
872
|
-
morestring = [b]",
|
|
873
|
-
morestring = [b]',
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
\lstdefinelanguage{XML}{
|
|
877
|
-
morestring = [b]",
|
|
878
|
-
moredelim = [s][\bfseries\color{listing-keyword}]{<}{\ },
|
|
879
|
-
moredelim = [s][\bfseries\color{listing-keyword}]{</}{>},
|
|
880
|
-
moredelim = [l][\bfseries\color{listing-keyword}]{/>},
|
|
881
|
-
moredelim = [l][\bfseries\color{listing-keyword}]{>},
|
|
882
|
-
morecomment = [s]{<?}{?>},
|
|
883
|
-
morecomment = [s]{<!--}{-->},
|
|
884
|
-
commentstyle = \color{listing-comment},
|
|
885
|
-
stringstyle = \color{listing-string},
|
|
886
|
-
identifierstyle = \color{listing-identifier}
|
|
887
|
-
}
|
|
888
|
-
$endif$
|
|
889
|
-
|
|
890
|
-
%
|
|
891
|
-
% header and footer
|
|
892
|
-
%
|
|
893
|
-
$if(beamer)$
|
|
894
|
-
$else$
|
|
895
|
-
$if(disable-header-and-footer)$
|
|
896
|
-
$else$
|
|
897
|
-
\usepackage[headsepline,footsepline]{scrlayer-scrpage}
|
|
898
|
-
|
|
899
|
-
\newpairofpagestyles{eisvogel-header-footer}{
|
|
900
|
-
\clearpairofpagestyles
|
|
901
|
-
\ihead*{$if(header-left)$$header-left$$else$$title$$endif$}
|
|
902
|
-
\chead*{$if(header-center)$$header-center$$else$$endif$}
|
|
903
|
-
\ohead*{$if(header-right)$$header-right$$else$$date$$endif$}
|
|
904
|
-
\ifoot*{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$}
|
|
905
|
-
\cfoot*{$if(footer-center)$$footer-center$$else$$endif$}
|
|
906
|
-
\ofoot*{$if(footer-right)$$footer-right$$else$\thepage$endif$}
|
|
907
|
-
\addtokomafont{pageheadfoot}{\upshape}
|
|
908
|
-
}
|
|
909
|
-
\pagestyle{eisvogel-header-footer}
|
|
910
|
-
|
|
911
|
-
$if(book)$
|
|
912
|
-
\deftripstyle{ChapterStyle}{}{}{}{}{\pagemark}{}
|
|
913
|
-
\renewcommand*{\chapterpagestyle}{ChapterStyle}
|
|
914
|
-
$endif$
|
|
915
|
-
|
|
916
|
-
$if(page-background)$
|
|
917
|
-
\backgroundsetup{
|
|
918
|
-
scale=1,
|
|
919
|
-
color=black,
|
|
920
|
-
opacity=$if(page-background-opacity)$$page-background-opacity$$else$0.2$endif$,
|
|
921
|
-
angle=0,
|
|
922
|
-
contents={%
|
|
923
|
-
\includegraphics[width=\paperwidth,height=\paperheight]{$page-background$}
|
|
924
|
-
}%
|
|
925
|
-
}
|
|
926
|
-
$endif$
|
|
927
|
-
$endif$
|
|
928
|
-
$endif$
|
|
929
|
-
|
|
930
|
-
%%
|
|
931
|
-
%% end added
|
|
932
|
-
%%
|
|
933
|
-
\usepackage{pgfpages}
|
|
934
|
-
\usepackage[export]{adjustbox}
|
|
935
|
-
\usepackage{graphicx}
|
|
936
|
-
\usepackage{ragged2e}
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
\begin{document}
|
|
940
|
-
|
|
941
|
-
%%
|
|
942
|
-
%% begin titlepage
|
|
943
|
-
%%
|
|
944
|
-
$if(beamer)$
|
|
945
|
-
$else$
|
|
946
|
-
$if(notitlepage)$
|
|
947
|
-
$else$
|
|
948
|
-
\begin{titlepage}
|
|
949
|
-
$if(titlepage-background)$
|
|
950
|
-
\newgeometry{top=2cm, right=4cm, bottom=3cm, left=4cm}
|
|
951
|
-
$else$
|
|
952
|
-
$endif$
|
|
953
|
-
$if(titlepage-color)$
|
|
954
|
-
\definecolor{titlepage-color}{HTML}{$titlepage-color$}
|
|
955
|
-
\newpagecolor{titlepage-color}\afterpage{\restorepagecolor}
|
|
956
|
-
$endif$
|
|
957
|
-
$if(titlepage-background)$
|
|
958
|
-
\tikz[remember picture,overlay] \node[inner sep=0pt] at (current page.center){\includegraphics[width=\paperwidth,height=\paperheight]{$titlepage-background$}};
|
|
959
|
-
$endif$
|
|
960
|
-
\newcommand{\colorRule}[3][black]{\textcolor[HTML]{#1}{\rule{#2}{#3}}}
|
|
961
|
-
\begin{flushleft}
|
|
962
|
-
\noindent
|
|
963
|
-
\\[-1em]
|
|
964
|
-
\color[HTML]{$if(titlepage-text-color)$$titlepage-text-color$$else$000000$endif$}
|
|
965
|
-
\makebox[0pt][l]{\colorRule[$if(titlepage-rule-color)$$titlepage-rule-color$$else$FFFFFF$endif$]{1.3\textwidth}{$if(titlepage-rule-height)$$titlepage-rule-height$$else$0$endif$pt}}
|
|
966
|
-
\par
|
|
967
|
-
\noindent
|
|
968
|
-
|
|
969
|
-
$if(titlepage-background)$
|
|
970
|
-
% The titlepage with a background image has other text spacing and text size
|
|
971
|
-
{
|
|
972
|
-
\setstretch{2}
|
|
973
|
-
\vfill
|
|
974
|
-
\vskip -8em
|
|
975
|
-
\noindent {\huge \textbf{\textsf{
|
|
976
|
-
$if(title)$
|
|
977
|
-
$title$
|
|
978
|
-
$else$
|
|
979
|
-
Set up Title in Frontmatter (see Abstract)
|
|
980
|
-
$endif$
|
|
981
|
-
}}}
|
|
982
|
-
$if(subtitle)$
|
|
983
|
-
\vskip 1em
|
|
984
|
-
{\Large \textsf{$subtitle$}}
|
|
985
|
-
$endif$
|
|
986
|
-
\vskip 2em
|
|
987
|
-
\noindent {\Large \textit{$for(author)$$author$$sep$, $endfor$} \vskip 0.6em \textsf{$date$}}
|
|
988
|
-
\vfill
|
|
989
|
-
}
|
|
990
|
-
$else$
|
|
991
|
-
{
|
|
992
|
-
\begin{center}
|
|
993
|
-
\setstretch{1.4}
|
|
994
|
-
\vfill
|
|
995
|
-
\noindent {\huge \textbf{\textsf{
|
|
996
|
-
$if(title)$
|
|
997
|
-
$title$
|
|
998
|
-
$else$
|
|
999
|
-
Set up Title in Frontmatter (see Abstract)
|
|
1000
|
-
$endif$
|
|
1001
|
-
}}}
|
|
1002
|
-
$if(subtitle)$
|
|
1003
|
-
\vskip 1em
|
|
1004
|
-
{\Large \textsf{$subtitle$}}
|
|
1005
|
-
$endif$
|
|
1006
|
-
\vskip 2em
|
|
1007
|
-
\noindent {\Large \textit{$for(author)$$author$$sep$, $endfor$}}
|
|
1008
|
-
\vfill
|
|
1009
|
-
\end{center}
|
|
1010
|
-
}
|
|
1011
|
-
$endif$
|
|
1012
|
-
|
|
1013
|
-
$if(titlepage-logo)$
|
|
1014
|
-
\noindent
|
|
1015
|
-
\begin{center}
|
|
1016
|
-
\includegraphics[width=$if(logo-width)$$logo-width$$else$35mm$endif$]{$titlepage-logo$}
|
|
1017
|
-
\end{center}
|
|
1018
|
-
$endif$
|
|
1019
|
-
$if(text1)$
|
|
1020
|
-
\begin{center}
|
|
1021
|
-
{\large \textsf{$text1$}}
|
|
1022
|
-
\end{center}
|
|
1023
|
-
$endif$
|
|
1024
|
-
$if(text2)$
|
|
1025
|
-
\begin{center}
|
|
1026
|
-
{\large \textsf{$text2$}}
|
|
1027
|
-
\end{center}
|
|
1028
|
-
$endif$
|
|
1029
|
-
$if(text3)$
|
|
1030
|
-
\begin{center}
|
|
1031
|
-
{\large \textsf{$text3$}}
|
|
1032
|
-
\end{center}
|
|
1033
|
-
$endif$
|
|
1034
|
-
$if(text4)$
|
|
1035
|
-
\begin{center}
|
|
1036
|
-
{\large \textsf{$text4$}}
|
|
1037
|
-
\end{center}
|
|
1038
|
-
$endif$
|
|
1039
|
-
$if(titlepage-background)$
|
|
1040
|
-
$else$
|
|
1041
|
-
$endif$
|
|
1042
|
-
\end{flushleft}
|
|
1043
|
-
\end{titlepage}
|
|
1044
|
-
\restoregeometry
|
|
1045
|
-
\pagenumbering{arabic}
|
|
1046
|
-
$endif$
|
|
1047
|
-
$endif$
|
|
1048
|
-
|
|
1049
|
-
%%
|
|
1050
|
-
%% end titlepage
|
|
1051
|
-
%%
|
|
1052
|
-
|
|
1053
|
-
$if(has-frontmatter)$
|
|
1054
|
-
\frontmatter
|
|
1055
|
-
\frame{\titlepage}
|
|
1056
|
-
% don't generate the default title
|
|
1057
|
-
% $else$
|
|
1058
|
-
% \maketitle
|
|
1059
|
-
\pagenumbering{Roman} % set the numbering style to lowercase letter
|
|
1060
|
-
|
|
1061
|
-
\begin{center}
|
|
1062
|
-
{\LARGE \textbf{\textsf{Abstract}}}
|
|
1063
|
-
\end{center}
|
|
1064
|
-
|
|
1065
|
-
\begin{abstract}
|
|
1066
|
-
\begin{justify}
|
|
1067
|
-
$if(abstract)$
|
|
1068
|
-
$abstract$
|
|
1069
|
-
$else$
|
|
1070
|
-
Add your abstract at the beginning of your markdown file like this
|
|
1071
|
-
\begin{verbatim}
|
|
1072
|
-
---
|
|
1073
|
-
title: "Your Title"
|
|
1074
|
-
abstract: "your abstract here"
|
|
1075
|
-
author: Leonardo V. Castorina, Another 1, Another 2
|
|
1076
|
-
titlepage-logo: /absolute/path/to/logo.pdf
|
|
1077
|
-
acknowledgements: "I would like to thank my dog Data."
|
|
1078
|
-
declaration: "I declare that this thesis was composed by myself."
|
|
1079
|
-
---
|
|
1080
|
-
\end{verbatim}
|
|
1081
|
-
This is called YAML frontmatter. Make sure to set up a title! If you set your abstract correctly you should not see this message.
|
|
1082
|
-
|
|
1083
|
-
Optionally you can set up \texttt{titlepage-logo} for a logo in the cover page, \texttt{acknowledgements} section, and \texttt{declaration} section.
|
|
1084
|
-
|
|
1085
|
-
$endif$
|
|
1086
|
-
\end{justify}
|
|
1087
|
-
\end{abstract}
|
|
1088
|
-
\pagebreak
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
$if(acknowledgements)$
|
|
1092
|
-
\begin{center}
|
|
1093
|
-
{\LARGE \textbf{\textsf{Acknowledgements}}}
|
|
1094
|
-
\end{center}
|
|
1095
|
-
|
|
1096
|
-
\begin{abstract}
|
|
1097
|
-
\begin{justify}
|
|
1098
|
-
$acknowledgements$
|
|
1099
|
-
\end{justify}
|
|
1100
|
-
\end{abstract}
|
|
1101
|
-
\pagebreak
|
|
1102
|
-
|
|
1103
|
-
$endif$
|
|
1104
|
-
|
|
1105
|
-
$if(declaration)$
|
|
1106
|
-
\begin{center}
|
|
1107
|
-
{\LARGE \textbf{\textsf{Declaration}}}
|
|
1108
|
-
\end{center}
|
|
1109
|
-
|
|
1110
|
-
\begin{abstract}
|
|
1111
|
-
\begin{justify}
|
|
1112
|
-
$declaration$ \par
|
|
1113
|
-
\vspace{1in}\raggedleft({\em $author$\/})
|
|
1114
|
-
\end{justify}
|
|
1115
|
-
\end{abstract}
|
|
1116
|
-
\pagebreak
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
$endif$
|
|
1121
|
-
\pagenumbering{arabic} % set the numbering style to lowercase letter
|
|
1122
|
-
\setcounter{page}{0} % Set the page counter to 3
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
$if(first-chapter)$
|
|
1126
|
-
\setcounter{chapter}{$first-chapter$}
|
|
1127
|
-
\addtocounter{chapter}{-1}
|
|
1128
|
-
$endif$
|
|
1129
|
-
|
|
1130
|
-
$for(include-before)$
|
|
1131
|
-
$include-before$
|
|
1132
|
-
|
|
1133
|
-
$endfor$
|
|
1134
|
-
$if(no-toc)$
|
|
1135
|
-
$else$
|
|
1136
|
-
\renewcommand*\contentsname{$toc-title$}
|
|
1137
|
-
\renewcommand*\contentsname{Table of Contents}
|
|
1138
|
-
$endif$
|
|
1139
|
-
$if(beamer)$
|
|
1140
|
-
\begin{frame}[allowframebreaks]
|
|
1141
|
-
$if(toc-title)$
|
|
1142
|
-
\frametitle{$toc-title$}
|
|
1143
|
-
$endif$
|
|
1144
|
-
\tableofcontents[hideallsubsections]
|
|
1145
|
-
\end{frame}
|
|
1146
|
-
\newpage
|
|
1147
|
-
$else$
|
|
1148
|
-
{
|
|
1149
|
-
$if(colorlinks)$
|
|
1150
|
-
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
|
|
1151
|
-
$endif$
|
|
1152
|
-
\setcounter{tocdepth}{$toc-depth$}
|
|
1153
|
-
\tableofcontents
|
|
1154
|
-
\newpage
|
|
1155
|
-
}
|
|
1156
|
-
$endif$
|
|
1157
|
-
$endif$
|
|
1158
|
-
$if(lof)$
|
|
1159
|
-
\listoffigures
|
|
1160
|
-
$endif$
|
|
1161
|
-
$if(lot)$
|
|
1162
|
-
\listoftables
|
|
1163
|
-
$endif$
|
|
1164
|
-
$if(linestretch)$
|
|
1165
|
-
\setstretch{$linestretch$}
|
|
1166
|
-
$endif$
|
|
1167
|
-
$if(has-frontmatter)$
|
|
1168
|
-
\mainmatter
|
|
1169
|
-
$endif$
|
|
1170
|
-
$body$
|
|
1171
|
-
|
|
1172
|
-
$if(has-frontmatter)$
|
|
1173
|
-
\backmatter
|
|
1174
|
-
$endif$
|
|
1175
|
-
$if(natbib)$
|
|
1176
|
-
$if(bibliography)$
|
|
1177
|
-
$if(biblio-title)$
|
|
1178
|
-
$if(has-chapters)$
|
|
1179
|
-
\renewcommand\bibname{$biblio-title$}
|
|
1180
|
-
$else$
|
|
1181
|
-
\renewcommand\refname{$biblio-title$}
|
|
1182
|
-
$endif$
|
|
1183
|
-
$endif$
|
|
1184
|
-
$if(beamer)$
|
|
1185
|
-
\begin{frame}[allowframebreaks]{$biblio-title$}
|
|
1186
|
-
\bibliographytrue
|
|
1187
|
-
$endif$
|
|
1188
|
-
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
|
|
1189
|
-
$if(beamer)$
|
|
1190
|
-
\end{frame}
|
|
1191
|
-
$endif$
|
|
1192
|
-
|
|
1193
|
-
$endif$
|
|
1194
|
-
$endif$
|
|
1195
|
-
$if(biblatex)$
|
|
1196
|
-
$if(beamer)$
|
|
1197
|
-
\begin{frame}[allowframebreaks]{$biblio-title$}
|
|
1198
|
-
\bibliographytrue
|
|
1199
|
-
\printbibliography[heading=none]
|
|
1200
|
-
\end{frame}
|
|
1201
|
-
$else$
|
|
1202
|
-
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
|
|
1203
|
-
$endif$
|
|
1204
|
-
|
|
1205
|
-
$endif$
|
|
1206
|
-
$for(include-after)$
|
|
1207
|
-
$include-after$
|
|
1208
|
-
|
|
1209
|
-
$endfor$
|
|
1210
|
-
\end{document}
|