I think > On 2017-09-05, at 09:01, [email protected] wrote: > > > > On Tuesday, September 5, 2017 at 2:32:34 PM UTC+2, Leandro Facchinetti wrote: > My impression is that you do not want `(bullet-list ,@args), because it > creates a txexpr right away. Instead, you should try (apply bullet-list > args). Note the lack of the quasiquote (backquote, `) and unquote-splicing > (,@). This does not immediately create a txexpr, but calls ‘bullet-list’ as a > function, which in turn will generate a txexpr. > > Yes, my calling a bit wrong there. I was just grabbing the last attempt. Yes, > apply is the better way. I still get the same error message though if I try > to eval the results. > > The bullet-list function already creates a txexpr, but I'd like to call that > txexpr as a function. I'll try to explain again and try to remove the HTML > duality. Let's say that bullet-list generates the txexpr: > > '(unordered-list > () > (list-item (paragraph "Foo")) > (list-item (paragraph "Bar")) > (list-item (paragraph "Baz"))) > > And I have pollen tags for 'unorderd-list, 'list-item, and 'paragraph that do > different things for HTML and LaTeX. > > Is there a way that I can make the txexpr call those tag functions (i.e., > unordered-list, list-item, and paragraph)? > > Or is the idea that once you've reached a txexpr you are at the end of the > line and no more processing should happen? > > Best regards, > > -- > Trenton > > -- > You received this message because you are subscribed to the Google Groups > "Pollen" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>.
-- Leandro Facchinetti <[email protected]> https://www.leafac.com -- You received this message because you are subscribed to the Google Groups "Pollen" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
