* local variables for html export
@ 2006-05-25 19:01 Scott Otterson
2006-05-25 21:28 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Scott Otterson @ 2006-05-25 19:01 UTC (permalink / raw)
To: emacs-orgmode
I think there's an error in the org-mode manual. The snippet at the end
of section 9.2:
* COMMENT HTML style specifications
# Local Variables:
# org-export-html-style: " <style type=\"text/css\">
p {font-weight: normal; color: gray; }
h1 {color: black; }
</style>"
# End: ***
needs to have prefixes and suffixes, like this:
* COMMENT HTML style specifications
# Local Variables: ***
# org-export-html-style: " <style type=\"text/css\"> ***
# p {font-weight: normal; color: gray; } ***
# h1 {color: black; } ***
# </style>" ***
# End: ***
At least this is the case with emacs 22.0.50.2
Scott
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: local variables for html export
2006-05-25 19:01 local variables for html export Scott Otterson
@ 2006-05-25 21:28 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2006-05-25 21:28 UTC (permalink / raw)
To: Scott Otterson; +Cc: emacs-orgmode
You are right, this is a recent change in emacs 22 (emacs 21 was more
forgiving.
In fact, suffixes are not needed, they are allowed, in order to use
this in fils where comments need a special end delimiter. But now
indeed prefixes are needed in each line, also in the middle of an
extended string value of a variable. Thanks. I have fixed this for
the next version.
- Carsten
On May 25, 2006, at 21:01, Scott Otterson wrote:
> I think there's an error in the org-mode manual. The snippet at the
> end of section 9.2:
>
> * COMMENT HTML style specifications
> # Local Variables:
> # org-export-html-style: " <style type=\"text/css\">
> p {font-weight: normal; color: gray; }
> h1 {color: black; }
> </style>"
> # End: ***
>
> needs to have prefixes and suffixes, like this:
>
> * COMMENT HTML style specifications
>
> # Local Variables: ***
> # org-export-html-style: " <style type=\"text/css\"> ***
> # p {font-weight: normal; color: gray; } ***
> # h1 {color: black; } ***
> # </style>" ***
> # End: ***
>
> At least this is the case with emacs 22.0.50.2
>
> Scott
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-25 21:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-25 19:01 local variables for html export Scott Otterson
2006-05-25 21:28 ` Carsten Dominik
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).