From 3c916eeb385a688d6d99819aad217a49ed82de58 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Sun, 28 Sep 2008 06:36:43 +0200 Subject: [PATCH] Document the #+STYLE in-buffer setting. --- doc/org.texi | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 7cad0b394..77ae82451 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -7511,10 +7511,20 @@ Each exported files contains a compact default style that defines these classes in a basic way. You may overwrite these settings, or add to them by using the variables @code{org-export-html-style} (for Org-wide settings) and @code{org-export-html-style-extra} (for more granular settings, like -file-local settings). If you want to use a file-local style, you may use -file variables, best wrapped into a COMMENT section at the end of the outline -tree. For example@footnote{Under Emacs 21, the continuation lines for a -variable value should have no @samp{#} at the start of the line.}: +file-local settings). There are two ways to set the latter variable +individually for each file. First, you can use + +@example +#+STYLE: +@end example + +@noindent +a setup that also works in an external setup file (@pxref{In-buffer +settings}). An alternative method, also suitable for extensive definitions +is using file variables, best wrapped into a COMMENT section at the end of +the outline tree. For example@footnote{Under Emacs 21, the continuation +lines for a variable value should have no @samp{#} at the start of the +line.}: @example * COMMENT html style specifications