emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: markup in environments in latex export


From: Chris Gray
Subject: [Orgmode] Re: markup in environments in latex export
Date: Wed, 06 May 2009 16:01:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hi Carsten,

You can find the commit in the special-blocks branch of my github
repository.  I've tested exporting both LaTeX and HTML.  

Cheers,
Chris

Carsten Dominik wrote:


> On May 4, 2009, at 9:52 AM, Chris Gray wrote:

>> Hi Carsten,

>> That seems like a good solution.  I will work on it and test it over
>> the
>> next couple of days and let you know when it is ready.  Do you have
>> any
>> preference for the name of the file?

> Hard to find a good name

> org-block2env.el
> org-anyblock.el

> I don't know, your call.


>> BTW, I also have signed and sent the copyright papers.  I don't know
>> if
>> that's necessary for a contrib package, but now it's done...

> It is not necessary for a contrib package, but it will be good to have
> anyway.  Maybe this add-on will move into the core distro eventually
> (turned off by default), or maybe you will contribute other patches.

> Thanks.

> - Carsten



>> Cheers,
>> Chris

>> Carsten Dominik wrote:

>>> Hi Chris,

>>> I have been pondering about this idea, and I prefer to not integrate
>>> it into the Org core because I think it may lead to undesired
>>> behavior,
>>> in particular in the other backends like docbook or ASCII.

>>> However, I have just created three new hooks

>>>     * org-exp.el (org-export-preprocess-after-blockquote-hook):
>>> New hook.
>>>     (org-export-preprocess-string): Run the new hook.

>>>        * org-latex.el (org-export-latex-after-blockquotes-hook): New
>>> hook.
>>>        (org-export-latex-preprocess): Run the new hook.

>>>     * org-html.el (org-export-html-after-blockquotes-hook): New hook.
>>>     (org-export-as-html): Run the new hook.

>>> which would allow to easily implement your idea as an add-on package
>>> that we could include in the contrib directory.  Would you like to
>>> reformulate your patch into a small add-on?  The only thing I would
>>> like to ask is to keep it LaTeX/HTML-specific, and this means that
>>> the action to turn #+begin_..... into the cookies should be wrapped
>>> into

>>> (when (or latexp htmlp)
>>>   .......
>>>  )



>>> latexp and htmlp are a local variables available when the
>>> first of the three hooks is run.

>>> - Carsten



>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]