Re: What is InsetLayout for standard paragraph, or how to change its HTMLTag?

2021-09-06 Thread Richard Kimberly Heck
On 9/6/21 6:36 PM, Lorenzo Bertini wrote:
> Hello list!
>
> LyXHTML outputs standard paragraphs with  a ... (as is the
> standard for many insets), but i would much prefer 
>
> I know i can change the tag of other insets by going in the local
> layout section of Document->Setting, and write something like
>> InsetLayout Foot
>>   HTMLTag p
>> End
>
> but i cant find anything about the standard paragraph. I don't mean
> the "sectioning" paragraph, that is mapped to "HTMLTag h5", but the
> piece of text you get after pressing RET in LyX.

It's a paragraph layout: Standard. See stdclass.inc.

But yes, at the moment, that is hardcoded. The reason is that the tag
turns up inside other tags and nested 's are invalid. But it probably
should be made customizable.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


What is InsetLayout for standard paragraph, or how to change its HTMLTag?

2021-09-06 Thread Lorenzo Bertini

Hello list!

LyXHTML outputs standard paragraphs with  a ... (as is the 
standard for many insets), but i would much prefer 


I know i can change the tag of other insets by going in the local layout 
section of Document->Setting, and write something like

InsetLayout Foot
  HTMLTag p
End


but i cant find anything about the standard paragraph. I don't mean the 
"sectioning" paragraph, that is mapped to "HTMLTag h5", but the piece of 
text you get after pressing RET in LyX.


This archived mail 
https://lyx-users.lyx.narkive.com/yPesoVzz/simple-html-converter-export says

I was unable to change 

which doesn't leave very hopeful. Is this doable, or is the "div" tag 
hardcoded?


Thanks in advance to anyone who takes the time to answer. I'm on 
master2.4.0 branch, but the problem should be the exact same on 2.3.x.

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users