Giter VIP home page Giter VIP logo

Comments (3)

alhassy avatar alhassy commented on May 24, 2024

I am fully aware of this and already have a proposal to address it: To make org-defblock rely on defmethod instead of defun so that backend support is not baked-in, as the current implementations do.

I have numerous other, private, proposals. Perhaps I should place them publicly and ask for help to make them come true.

Unfortunately, with 2 kids and a full time job, and not being an active user of org-special-block-extras, this is not something I can direct immediate energy towards.

However, I'm happy to accept PRs and to help guide on making the changes, if you or someone else wants to champion this change.

from org-special-block-extras.

opensource-philosophy avatar opensource-philosophy commented on May 24, 2024

First of all: Please don't stress yourself out with this - family is more important than some strings of letters!

I am afraid I do not know anything about defmethod and have not dived into your code too much. Anyway, I think there is an easy way to account for derived backends, namely using the predicate org-export-derived-backend-p. Luckily, it returns non-nil both if BACKEND is derived from one of BACKENDS and if BACKEND is one of BACKENDS. That is, specifically, both

(org-export-derived-backend-p 'beamer 'latex)

and

(org-export-derived-backend-p 'latex 'latex)

return non-nil. It should also solve issue #35. Unfortunately, I do not have much time either. But if I found some, would you accept a PR with these changes?

As to the private proposols: Please, do make them public! I can very well imagine that a Reddit post would suffice to make some of them true.

from org-special-block-extras.

alhassy avatar alhassy commented on May 24, 2024

Hey @opensource-philosophy,

Your blocks are too great not to be used in org-beamer!

That's kind to hear; thanks!

First of all: Please don't stress yourself out with this - family is more important than some strings of letters!

That was really nice to read; thank-you ❤️

[Musa] this is not something I can direct immediate energy towards.

It's been about a year since the issue was opened, and I think it's close to being resolved.

Please see http://alhassy.com/org-special-block-extras/#Dispatch-on-backend-open-for-extensibility

In particular, if there is a specific block you'd like to use with beamer then we can produce a MVP to make that happen ---on your machine using the latest "open for extensibility" defblock method.

from org-special-block-extras.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.