[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Merging ox-texinfo+ into ox-texinfo
From: |
Jonas Bernoulli |
Subject: |
Re: Merging ox-texinfo+ into ox-texinfo |
Date: |
Tue, 30 Nov 2021 17:58:54 +0100 |
Sorry for the delay, I got side-tracked with many other things.
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>>> It is possible to mix the two styles;
>>
>> Well... it turned out not to be true, but I should be able to get it
>> to work.
>
> Then I suggest to use "attr_texinfo" keyword, for example:
>
> #+attr_texinfo: :shorthand t
> - item...
>
> This way, we ensure the change is local. `org-texinfo-item' already
> checks :sep attribute.
I am sure I can get it to work just fine without a need for that.
It just turns out that I haven't done so yet, because I only used the
ox-texinfo+ style in manuals that use that style exclusively. Now
that you have signaled that there is a good change that this would be
included in Org, putting in the work to use both styles in parallel is
actually justified.
But it likely will be a few weeks until I get to work because I looked
at the current implementation again and decided that it would be better
to start over and do the work using org-element instead of at the latest
possible moment when strings are being concatenated as ox-texinfo+
currently does.
> I see no reason to change the prefix, since these functions are part of
> ox-texinfo. I didn't look closely at your code, tho, so I may be wide of
> the mark.
I haven't started working on the org-element based implementation yet,
but I expect that won't actually need any new function definitions so,
the question is moot anyway. (But just in case: I agree.)
Cheers,
Jonas