Re: [sword-devel] Color in osis

2019-03-18 Thread DM Smith
> On Mar 17, 2019, at 10:07 AM, Karl Kleinpaste wrote: > > However, for this purpose, the deeper problem is that Sword erroneously > generates self-closing tags, which do not work. Search "html > self-closing div" and discover all the conflicting noise over it. My solution > in Xiphos was s

Re: [sword-devel] Color in osis

2019-03-17 Thread Karl Kleinpaste
On 3/17/19 2:44 PM, Nathan Phillip Brink wrote: > It sounds like you’re trying to render XHTML using an HTML parser. If there is a way to make WebKit /*not*/ operate in an XHTML mode, I'm not aware of it. ___ sword-devel mailing list: sword-devel@crosswir

Re: [sword-devel] Color in osis

2019-03-17 Thread Nathan Phillip Brink
On Sun, Mar 17, 2019 at 10:07:29AM -0400, Karl Kleinpaste wrote: > However, for this purpose, the deeper problem is that Sword erroneously > generates self-closing tags, which do not work. Search "html > self-closing div" and discover all the conflicting noise over it. My > solution in Xiphos was

Re: [sword-devel] Color in osis

2019-03-17 Thread Karl Kleinpaste
On 3/17/19 6:23 AM, ref...@gmx.net wrote: > Xiphos then adds a few further standard (for Xiphos) CSS styles to the > mix. Not exactly. Xiphos uses exactly one nonstandard CSS control, .introMaterial, specifically because OSIS tools and Sword processing do not generate a distinct display class for

Re: [sword-devel] Color in osis

2019-03-17 Thread DM Smith
JSword has a different mechanism than SWORD to produce HTML. JSword has a bug that prevents it from reading a CSS file, but JSword supplies the mechanism to read the CSS. For SWORD, the different renderers produce different output. Unless all the frontends have settled on the same renderer, don

Re: [sword-devel] Color in osis

2019-03-17 Thread Cyrille
I found the solution We need to use "subsectionNUMBER" and after modify the css like that: .subSection1 { -webkit-column-count: 1 ; background-color:Yellow ; color:violet ; text-align: center; } .subSection2 { -webkit-column-count: 1 ; background-color:Yellow ; color:white ; text-align: center;

Re: [sword-devel] Color in osis

2019-03-17 Thread ref...@gmx.net
The order of precedence is from low to high libsword, front-end, module, so you can in principle override anything you want. Titles are given attributes by the engine instead of hard coded h1/h2/h3 etc, so you can play around with these by way of CSS quite specificallyPeterSent from my mobile. Plea

Re: [sword-devel] Color in osis

2019-03-17 Thread David Haslam
s. > > ---- Original Message > Subject: Re: [sword-devel] Color in osis > From: David Haslam > To: SWORD Developers' Collaboration Forum > CC: > >> Suggest you approach Karl directly for further help. >> >> I’m not an expert on CSS. >> >

Re: [sword-devel] Color in osis

2019-03-17 Thread ref...@gmx.net
All OSIS is translated by the engine into XHTML, and a standard CSS style sheet is sent along. You can see that sheet when you ask the diatheke to put out any random biblical text as XHTML. Xiphos then adds a few further standard (for Xiphos) CSS styles to the mix. That is hard coded into Xiphos an

Re: [sword-devel] Color in osis

2019-03-17 Thread David Haslam
Suggest you approach Karl directly for further help. I’m not an expert on CSS. David Sent from ProtonMail Mobile On Sun, Mar 17, 2019 at 09:06, Cyrille wrote: > Il 17/03/2019 09:58, David Haslam ha scritto: > >> The usual way to implement different colours and other styles of text would >> b

Re: [sword-devel] Color in osis

2019-03-17 Thread Cyrille
Il 17/03/2019 09:58, David Haslam ha scritto: > The usual way to implement different colours and other styles of text > would be to provide an ancillary CSS file for use by the rendering > engine.  > > In the past, Karl has provided a few examples for how this can be done > with Xiphos. He I reme

Re: [sword-devel] Color in osis

2019-03-17 Thread David Haslam
The usual way to implement different colours and other styles of text would be to provide an ancillary CSS file for use by the rendering engine. In the past, Karl has provided a few examples for how this can be done with Xiphos. Red letters for words of Jesus are part of how the SWORD engine re

[sword-devel] Color in osis

2019-03-17 Thread Cyrille
Hello, I'm working on a devotional catholic calendar. I would like to use colour for some words or for titles.  Is it possible? The only way I found is to use for the read ;) I would like also to know if it is possible to use different style of titles like title 1 or title 2... Thank you for help.