emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Modifying the Beamer Exporter


From: Josiah Schwab
Subject: Re: [O] Modifying the Beamer Exporter
Date: Sun, 30 Jun 2013 16:15:30 -0700
User-agent: mu4e 0.9.9.5; emacs 24.3.1

>>> I want to include my collaborators in the header of each org file just
>>> as I would authors, that is by including a line like
>>>
>>> #+COLLABORATORS: Alice & Bob
>>>
>>> I've found some limited documentation on modifying the exporter (manual
>>> section 12.3) and taken a look at ox.el, ox-latex.el, ox-beamer.el, etc.
>>>
>>> What I did was:
>>>   + Create a new backend derived from the beamer one
>>>     + add COLLABORATORS to its options-alist
>>>     + set the template (in translate-alist) to one handling collaborators
>>>
>>> This works, but before I continued on making other modifications (in a
>>> similar vein), I wanted to check in with people with a higher level
>>> understanding.
>
> In general if it's generally useful make a patch (if feasible). . .
>
> Could you point out exactly which function (with ref to the Beamer
> manual) you're using?  Searching for collaborator in the manual didn't
> give me any hints. . .

For my subtitle example, \subtitle{} is a beamer command so I can make
a patch for that and see what people think.

There is no beamer command for collaborators -- which is why you didn't
find it in the manual.  But I almost always have collaborators on my
presentations, so I want to choose once how to render collaborators and
then ever after only have to set the content.

That could either mean adding a custom \collaborators{} command in my
personal beamer theme and have the exporter set that appropriately or
just having my local exporter do something like

(format "\\author{%s \\\\{\\small with %s}}\n" author collaborators)

when COLLABORATORS is set.

>> Maybe, maybe not.  Difficult to say unless you give us a better idea of
>> what kind of changes you plan on making.
>
> To add to Eric's comment: Filters is a viable option and potentially
> more sustainable if your code ain't submitted up stream.

Ok, I will go read more about filters in the manual and come back to
the list if I have questions.

Thanks for your time!

Best,
Josiah



reply via email to

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