[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Worg needs some reorganizing
From: |
Jason Dunsmore |
Subject: |
Re: [Orgmode] Re: Worg needs some reorganizing |
Date: |
Tue, 18 Jan 2011 12:50:30 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
"Eric Schulte" <address@hidden> writes:
> Matt Lundin <address@hidden> writes:
>
>> Bastien <address@hidden> writes:
>>
>>> Jeff Horn <address@hidden> writes:
>>>
>>>> Jason seems to be garnering a lot of votes, but Eric's zenburn
>>>> emulation makes my eyes happy. If Jason wins out, I suppose I could
>>>> always just read Worg in emacs... :D
>>>
>>> Or use Eric zenburn-like css by selecting it as an alternative
>>> stylesheet in Firefox : View -> Page Style -> [select stylesheet].
>>>
>>> I don't know how to make this choice persistent from Firefox and I
>>> don't know if this feature is available for other browsers, but it
>>> is certainly worth having several stylesheet available.
>>
>> Could we perhaps go ahead and put the new stylesheets on Worg along with
>> alternate stylesheet links in the publishing preamble? That way we could
>> begin to tweak the stylesheets as a community and test them "on the
>> fly." (It would also save Jason the work of having to publish to tmp
>> directories.) Others would then be free to add their own
>> stylesheets---though I suppose that adding alternate stylesheet links
>> will require access to the publishing options on the server.
>>
>> Once we've decided on a default, we could then adjust the preamble
>> accordingly and clean up the alternates.
>>
>
> This sounds like a great approach to me. I'm convinced that there are
> other Org-mode users with much more sophisticated knowledge of CSS who
> may improve our initial efforts in time.
>
> One other alternative that comes to mind--while we're making impositions
> on Jason's kindness :)--is that it would be nice to have an alternate
> version of Worg published side-by-side with the original, only instead
> of publishing each page using org-publish-as-html, it could publish each
> page using only htmlize. That way we could show off how nice Org-mode
> syntax can be when viewed from inside of Emacs, and users could see a
> side-by-side between the plain-text and html versions. An example of
> this approach done successfully is Dan's Babel example at
> http://www.stats.ox.ac.uk/~davison/software/org-babel/drift.org.html
That sounds like a good idea. Do you know exactly how to do this?
I added the following to org-publish-project-alist:
--8<---------------cut here---------------start------------->8---
("worg-htmlize"
:base-directory "~/git/Worg/"
:base-extension "org"
:html-extension "org.html"
:publishing-directory "/var/www/orgmode.org/worg/"
:recursive t
:htmlized-source t
:publishing-function htmlize)
--8<---------------cut here---------------end--------------->8---
But when I run:
--8<---------------cut here---------------start------------->8---
(defun publish-worg-htmlize nil
"Publish Worg."
(interactive)
(add-hook 'org-publish-after-export-hook 'worg-fix-symbol-table)
(let ((org-format-latex-signal-error nil)
(org-startup-folded nil))
(org-publish-project "worg-htmlize")))
--8<---------------cut here---------------end--------------->8---
I get the error "Symbol's function definition is void: publish-htmlize".
I made sure to (require 'htmlize).
- Re: [Orgmode] Re: Worg needs some reorganizing, (continued)
- Re: [Orgmode] Re: Worg needs some reorganizing, Matt Lundin, 2011/01/17
- Re: [Orgmode] Re: Worg needs some reorganizing, Eric Schulte, 2011/01/17
- Re: [Orgmode] Re: Worg needs some reorganizing, Jeff Horn, 2011/01/17
- Re: [Orgmode] Re: Worg needs some reorganizing, Bastien, 2011/01/18
- Re: [Orgmode] Re: Worg needs some reorganizing, Matt Lundin, 2011/01/18
- Re: [Orgmode] Re: Worg needs some reorganizing, Jason Dunsmore, 2011/01/18
- Re: [Orgmode] Re: Worg needs some reorganizing, Nick Dokos, 2011/01/18
- Re: [Orgmode] Re: Worg needs some reorganizing, Jason Dunsmore, 2011/01/18
- Re: [Orgmode] Re: Worg needs some reorganizing, Nick Dokos, 2011/01/18
- Re: [Orgmode] Re: Worg needs some reorganizing, Eric Schulte, 2011/01/18
- Re: [Orgmode] Re: Worg needs some reorganizing,
Jason Dunsmore <=
- Re: [Orgmode] Re: Worg needs some reorganizing, Jeff Horn, 2011/01/18
- Re: [Orgmode] Re: Worg needs some reorganizing, Bastien, 2011/01/18
- [Orgmode] Re: Worg needs some reorganizing, Bernt Hansen, 2011/01/18
- [Orgmode] Re: Worg needs some reorganizing, Bastien, 2011/01/18
- Re: [Orgmode] Re: Worg needs some reorganizing, Matt Lundin, 2011/01/18
- [Orgmode] Re: Worg needs some reorganizing, Dan Davison, 2011/01/20
- Re: [Orgmode] Re: Worg needs some reorganizing, Jeff Horn, 2011/01/20
- Re: [Orgmode] Re: Worg needs some reorganizing, Erik Iverson, 2011/01/20
- Re: [Orgmode] Re: Worg needs some reorganizing, Jason Dunsmore, 2011/01/20
- Re: [Orgmode] Re: Worg needs some reorganizing, Eric Schulte, 2011/01/20