Re: [O] Filters not working

2013-08-10 Thread Thomas S. Dye
Nicolas Goaziou writes: > Actually, I didn't mean to introduce a type change in filter arguments. > > I fixed it: BACKEND is again a symbol. `org-export-derived-backend-p' > still works, and so does `memq'. Thanks Nicolas. I can confirm that my old filters with memq work again and that the new o

Re: [O] Filters not working

2013-08-10 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: > Charles Berry writes: > >> The changes introduced in commit >> >> cea0434c4f7f7f1fc1547e6790b96a76bc217e15 >> ox: Change back-ends internal representation to structures >> >> necessitate extracting the name of the back-end from a vector. >> >>

Re: [O] Filters not working

2013-08-09 Thread Thomas S. Dye
Charles Berry writes: > The changes introduced in commit > > cea0434c4f7f7f1fc1547e6790b96a76bc217e15 > ox: Change back-ends internal representation to structures > > necessitate extracting the name of the back-end from a vector. > > So, this bit of code > > (memq backend '(beamer latex

Re: [O] Filters not working

2013-08-09 Thread Thomas S. Dye
Aaron Ecay writes: > Thomas, > > Since backends are no longer passed as symbols, but as structs, I > think you should use the `org-export-derived-backend-p' function. > Does your code work if you replace `(memq backend ...)' with > `(org-export-derived-backend-p backend 'latex)'? (beamer is deri

Re: [O] Filters not working

2013-08-09 Thread Charles Berry
Thomas S. Dye tsdye.com> writes: > > Charles Berry ucsd.edu> writes: > [filter to demo extracting back-end name deleted] > > > > , > > | type-of back-end: vector > > | name of back-end: latex > > ` > > Yes, it does. > > > > > Take a look at "(defstruct (org-export-backend..." in ox

Re: [O] Filters not working

2013-08-09 Thread Aaron Ecay
Thomas, Since backends are no longer passed as symbols, but as structs, I think you should use the `org-export-derived-backend-p' function. Does your code work if you replace `(memq backend ...)' with `(org-export-derived-backend-p backend 'latex)'? (beamer is derived from latex, so you don't nee

Re: [O] Filters not working

2013-08-09 Thread Thomas S. Dye
Charles Berry writes: > Did you upgrade as in 'git pull'? If not, I cannot help. Yes, Org-mode version 8.0.7 (release_8.0.7-377-gef2d47 @ /Users/dk/.emacs.d/src/org-mode/lisp/) > > If so, > > This bit of org-mode: > > , > | * headline > | > | > | #+BEGIN_SRC emacs-lisp :eval yes :exports b

Re: [O] Filters not working

2013-08-09 Thread Charles Berry
Thomas S. Dye tsdye.com> writes: > > Aloha all, > > After an upgrade from 8.0.3 this morning I'm unable to export a large > writing project that has kept me from reading the ML regularly for the > last few months. It seems that filters that used to work, no longer do > so. For example, > > #

[O] Filters not working

2013-08-09 Thread Thomas S. Dye
Aloha all, After an upgrade from 8.0.3 this morning I'm unable to export a large writing project that has kept me from reading the ML regularly for the last few months. It seems that filters that used to work, no longer do so. For example, #+name: tsd-parencites #+BEGIN_SRC emacs-lisp (def