Re: [O] Different spacing in html output compared to info and pdf

2013-03-25 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: The export framework usually treats differently empty string from nil output. Only in the former blank lines/white spaces are preserved. With this patch it will not be possible anymore to make this distinction with export snippets.

Re: [O] Different spacing in html output compared to info and pdf

2013-03-25 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: The export framework usually treats differently empty string from nil output. Only in the former blank lines/white spaces are preserved. With this patch it will not be possible anymore to make this distinction with export snippets. What do you think?

Re: [O] Different spacing in html output compared to info and pdf

2013-03-21 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: the attached (dirty) patch fixes it. It's clearly not the right approach, though. I hope Nicolas can have a look soon, as the problem affect all uses of snippets in macros. What about the following patch? The export framework usually treats

Re: [O] Different spacing in html output compared to info and pdf

2013-03-13 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: the attached (dirty) patch fixes it. It's clearly not the right approach, though. I hope Nicolas can have a look soon, as the problem affect all uses of snippets in macros. I don't have time to look at the problem right now. I will probably do it

Re: [O] Different spacing in html output compared to info and pdf

2013-03-12 Thread Bastien
Hi Thomas, the attached (dirty) patch fixes it. It's clearly not the right approach, though. I hope Nicolas can have a look soon, as the problem affect all uses of snippets in macros. Thanks for reporting this, Changes in master Modified lisp/ox-html.el diff --git a/lisp/ox-html.el

[O] Different spacing in html output compared to info and pdf

2013-03-11 Thread Thomas S. Dye
Aloha all, This Org source: - {{{kbdkey(S-,TAB)}}} or {{{kbdspckey(C-u,TAB)}}}, ~org-global-cycle~ :: yields this texinfo output: @item @kbd{S-@key{TAB}} or @kbd{C-u @key{TAB}}, @code{org-global-cycle} which looks fine in info: `S-TAB' or `C-u TAB', `org-global-cycle' and in pdf: S-TAB or

Re: [O] Different spacing in html output compared to info and pdf

2013-03-11 Thread Achim Gratz
Thomas S. Dye writes: Help? Nice riddle. But here's what I think is happening: your macro expansion ends with a texinfo export snippet. That export snippet is ignored by the the HTML backend as it should, but in doing so the post-blank that the export snippet has gobbled up greedily during

Re: [O] Different spacing in html output compared to info and pdf

2013-03-11 Thread Thomas S. Dye
Aloha Achim, Achim Gratz strom...@nexgo.de writes: Thomas S. Dye writes: Help? Nice riddle. But here's what I think is happening: your macro expansion ends with a texinfo export snippet. That export snippet is ignored by the the HTML backend as it should, but in doing so the post-blank