From 8772547d05f861da3d96a50b4f127a8ad4b57caf Mon Sep 17 00:00:00 2001 From: Bastien Dumont Date: Mon, 20 Feb 2023 21:48:08 +0100 Subject: [PATCH] Added warning about header-includes for ConTeXt --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 575c5d6..87c9e2c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,18 @@ When opening for the first time a file produced by Pandoc with _text-crossrefs_, you should have to refresh the fields in order to get the correct values. In LibreOffice, press `F9`; in Word, a dialog box should appear when the file opens. -### TeX-based formats +### ConTeXt specifically + +Your template should include the following directive before `\starttext` +(as in the default template for ConTeXt): + +``` +$for(header-includes)$ +$header-includes$ +$endfor$ +``` + +### All TeX-based formats All references are wrapped in a macro named `\crossrefenum`. It has two optional arguments: