Closed CJohnno77 closed 10 months ago
The current TEI recommendation is for @rend="simple"
rather than @type
(https://tei-c.org/release/doc/tei-p5-doc/en/html/CO.html#COLI). If you change that, does it work?
The current TEI recommendation is for
@rend="simple"
rather than@type
(https://tei-c.org/release/doc/tei-p5-doc/en/html/CO.html#COLI). If you change that, does it work?
No, it didn't work - I still get the <ul class="simple">
in the HTML which displays the bullet points.
So, if I understand correctly so far, you (@CJohnno77) want to produce on output an HTML list that does not have bullets (and presumably does not have numbers, either).
My instinct is that, although @martindholmes is correct about the encoding, it is a red herring. Since "simple"
is not a value of the @class
of <html:ul>
that the CSS recognizes, it does not matter whether or not you successfully get it into the HTML or not. Seems to me the question boils down to “How do I tell the CSS not to use bullets for <ul class="simple">
?”. I am far from a CSS expert, but I think
ul.simple {
list-style-type: none;
}
will do the trick. How you get that in there is another story. If you are already set, great. If not, just say so. (There are parameters named cssHook
and cssInlineFile
, but I have never used them.)
If "simple" isn't supported in the CSS, I think it should be.
I do not disagree, but if "simple"
means “use bullets, not numbers” then it already is supported in the CSS. 😄
No, "simple" means use no markers. "bulleted" means use bullets. Suggestion list is here:
https://tei-c.org/release/doc/tei-p5-doc/en/html/CO.html#COLI
Ah. I see.
How you get that in there is another story. If you are already set, great. If not, just say so. (There are parameters named
cssHook
andcssInlineFile
, but I have never used them.)
I could add CSS to the resulting HTML to turn off the bullets for ul.simple
, but I would prefer to use a parameter in the XSL, so I will look into cssHook
and cssInlineFile
.
Is there a CSS file I should be using when I use html.xsl
, or should I make one myself?
I would recommend avoiding all this folderol by using ceteicean
Reluctantly using Outlook for Androidhttps://aka.ms/ghei36
From: CraigJ23 @.> Sent: Saturday, November 13, 2021 11:34:33 AM To: TEIC/TEI @.> Cc: Subscribed @.***> Subject: Re: [TEIC/TEI] how to remove bullet points from 'simple' list using html.xsl (Issue TEIC/TEI#2211)
How you get that in there is another story. If you are already set, great. If not, just say so. (There are parameters named cssHook and cssInlineFile, but I have never used them.)
I could add CSS to the resulting HTML to turn off the bullets for ul.simple, but I would prefer to use a parameter in the XSL, so I will look into cssHook and cssInlineFile.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/TEIC/TEI/issues/2211#issuecomment-968027389, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFBJ5DZYL3O33KZXGOK4K3ULY5LTANCNFSM5HZWPJEQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
transferred to Stylesheets repo (from TEIC/TEI) per ticket triage with @sabineseifert since most of the discussion is related to Stylesheets and not Guidelines.
Fix added in commit d67c9512.
I am using
html.xsl
on an.xml
file which has lists of type 'simple': eg.<list type="simple">
The items of these lists are coming out as
<ul class="simple">
in the resulting HTML, which display with bullet points.Is there a way to get
simple
lists to not have the bullet points? Is there a parameter I can set in the XSL?