Adding specific content to xhtml output

Richard Kimberly Heck rikiheck at lyx.org
Thu Apr 30 14:51:52 UTC 2020


On 4/30/20 10:15 AM, Jürgen Spitzmüller wrote:
> Am Donnerstag, den 30.04.2020, 09:56 -0400 schrieb Richard Kimberly
> Heck:
>>> On Thu, Apr 30, 2020 at 07:46:52AM -0000, Guenter Milde wrote:
>>>>>> To know whether they should output or no for different
>>>>>> targets (tex
>>>>>> vs html).
>>>>> Hm. Job for a branch rather?
>>> I think branch is a good idea.
>>>> For convenience, we would want to have target-specific branches
>>>> then:
>>> IMHO better solution is to just add one new textfield into generic
>>> branch
>>> settings where you can fill comma separated list of outputs
>>> targets.
>>> If branch is active & listed target is being used we output the
>>> contents.
>>
>> Or a set of radio buttons?
> GUI-wise I'd propose a checkable list of output formats in another
> QTreeWidget. This would translate into a comma-separated list of output
> formats in the params.

To address Pavel's concern about user-defined formats, we have access to
that info, though we might need some flag to indicate what a 'real'
output format is. Otherwise, we end up with too many listed.


> As to the insets themselves: I understand that we can now bind
> InsetLayouts to branches. This would allow for specific XHTML insets,
> if someone wants this.

Yes, I believe that is possible. If not, it can be made so.

Riki




More information about the lyx-devel mailing list