[sword-devel] Color in osis

David Haslam dfhdfh at protonmail.com
Sun Mar 17 03:30:22 MST 2019


Is the CSS directive for CONF clearly described in our wiki page?

David

Sent from ProtonMail Mobile

On Sun, Mar 17, 2019 at 10:23, refdoc at gmx.net <refdoc at gmx.net> wrote:

> 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 and deeply buried into the source. I know of no way of inspecting it other than finding it in the source.
>
> Further, Xiphos , just as several other front-end, allows per module CSS styling. You need to add the sheet into the files and add a directive into the conf file.
>
> Peter
>
> Sent from my mobile. Please forgive shortness, typos and weird autocorrects.
>
> -------- 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.
>>
>> David
>>
>> Sent from ProtonMail Mobile
>>
>> On Sun, Mar 17, 2019 at 09:06, Cyrille <lafricain79 at gmail.com> wrote:
>>
>>> 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 remember, but it doesn't work very well its operation seems random especially with the levels of titles. It is possible that I did not manage correctly to use it. A little help wouldn't be refused.
>>>
>>>> Red letters for words of Jesus are part of how the SWORD engine renders that particular OSIS construction.
>>>>
>>>> Best regards,
>>>>
>>>> David
>>>>
>>>> Sent from ProtonMail Mobile
>>>>
>>>> On Sun, Mar 17, 2019 at 08:43, Cyrille <lafricain79 at gmail.com> wrote:
>>>>
>>>>> 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 <q who="Jesus" marker=""> 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.
>>>>>
>>>>> _______________________________________________
>>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>>> Instructions to unsubscribe/change your settings at above page
>>>>
>>>> _______________________________________________
>>>> sword-devel mailing list:
>>>> sword-devel at crosswire.org
>>>>
>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190317/c09afc91/attachment.html>


More information about the sword-devel mailing list