From e1b8d64b6b40c7da493f5d483e12ee4b0064649f Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sun, 31 Aug 2025 11:03:02 +0200 Subject: [PATCH] Initial commit --- README.md | 24 ++++++++++++++++++++++++ _extensions/cours/_extension.yml | 10 ++++++++++ _extensions/cours/header.tex | 1 + template.qmd | 16 ++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 README.md create mode 100644 _extensions/cours/_extension.yml create mode 100644 _extensions/cours/header.tex create mode 100644 template.qmd diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ff4f04 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# Cours Format + +## Installing + +*TODO*: Replace the `` with your GitHub organization. + +```bash +quarto use template /cours +``` + +This will install the extension and create an example qmd file that you can use as a starting place for your article. + +## Using + +*TODO*: Describe how to use your format. + +## Format Options + +*TODO*: If your format has options that can be set via document metadata, describe them. + +## Example + +Here is the source code for a minimal sample document: [example.qmd](example.qmd). + diff --git a/_extensions/cours/_extension.yml b/_extensions/cours/_extension.yml new file mode 100644 index 0000000..32e284e --- /dev/null +++ b/_extensions/cours/_extension.yml @@ -0,0 +1,10 @@ +title: Cours +author: Jeff LANCE +version: 1.0.0 +quarto-required: ">=1.7.0" +contributes: + formats: + pdf: + toc: true + include-in-header: header.tex + diff --git a/_extensions/cours/header.tex b/_extensions/cours/header.tex new file mode 100644 index 0000000..cc1050f --- /dev/null +++ b/_extensions/cours/header.tex @@ -0,0 +1 @@ +% TODO: Add custom LaTeX header directives here \ No newline at end of file diff --git a/template.qmd b/template.qmd new file mode 100644 index 0000000..a405f89 --- /dev/null +++ b/template.qmd @@ -0,0 +1,16 @@ +--- +title: Untitled +format: + cours-pdf: default +author: Jeff LANCE +date: last-modified +--- + +## Introduction + +*TODO* Create an example file that demonstrates the formatting and features of your format. + +## More Information + +You can learn more about controlling the appearance of PDF output here: +