From 9d2669493336e2d6017395fa0a711246deaaebb7 Mon Sep 17 00:00:00 2001 From: cordier Date: Fri, 17 Aug 2007 10:53:50 +0200 Subject: [PATCH] Define a #module directive in muse-context-slides --- lisp/muse-context.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lisp/muse-context.el b/lisp/muse-context.el index 5de6a9e..a422240 100644 --- a/lisp/muse-context.el +++ b/lisp/muse-context.el @@ -187,7 +187,7 @@ differs little between the various styles." :group 'muse-context) (defcustom muse-context-slides-header - "\\usemodule[pre-63] + "\\usemodule[(if (string-equal (muse-publishing-directive \"module\") nil) \"pre-01\" (muse-publishing-directive \"module\"))] \\usemodule[tikz] \\usemodule[newmat] \\setupinteraction [state=start] @@ -198,10 +198,12 @@ differs little between the various styles." \\blank[2*medium] \\tfa (muse-publishing-directive \"date\")}" "Header for publishing a presentation (slides) using ConTeXt. -You can use any of the predefined modules, which are available in -the tex/context/base of your distribution, provided it has -TitlePage and Topic defined. Alternatively, you can use your own -style (mystyle) by replacing \"\\usemodule[]\" with \"\\input mystyle\". +Any of the predefined modules, which are available in the +tex/context/base directory, can be used by writing a \"module\" +directive at the top of the muse file; if no such directive is +provided, module pre-01 is used. Alternatively, you can use your +own style (mystyle) by replacing \"\\usemodule[]\" with \"\\input +mystyle\". This may be text or a filename." :type 'string -- 2.11.4.GIT