[sword-devel] From Windows PC to iPhone
Johan Marais (johanma@absa.co.za)
johanma at absa.co.za
Fri Jul 30 06:04:53 MST 2010
Peter,
Before spending time and energy on something I know very little about (OSIS), I want to use my existing module.
Does this mean that it is not possible to change the colour of the text in the file for iPhone or is it a matter that you prefer OSIS please?
This module belongs to the Institute for Scripture Research (of which I am the vice chairman) and I do know what the different features mean.
Johan
-----Original Message-----
From: Peter von Kaehne [mailto:refdoc at gmx.net]
Sent: 30 July 2010 02:34 PM
To: SWORD Developers' Collaboration Forum; sword-devel at crosswire.org
Subject: Re: [sword-devel] From Windows PC to iPhone
Dear Johan,
> Von: "Johan Marais (johanma at absa.co.za)"
> Thank you and yes, these features do express some > meaning and they are required.
Then you need to first identify what these features stand for and then look into the OSIS handbook to see what fits best. Come back if you have difficulty getting a good fit.
You can get the handbook from here:
http://www.bibletechnologies.net/
> Is there a way to convert my file
>
> $$$Gen1:1
> In the beginning ...
> $$$Gen1:2
> And the earth ...
>
> into OSIS format? If there is software available, please > point me to the address where I can obtain it from.
There are a bunch of converters for various formats in sword-tools, also mod2osis.exe will export an existing module back in some form of OSIS, though there are shortcomings. Particularly existing HTML, RTF and GBF tags will not be converted. Which is probably not all bad from your angle.
http://www.crosswire.org/ftpmirror/pub/sword/utils/
> Is there an OSIS bible module that contains the following and which I can
> use as an example?
>
> Hebrew letters for the Name of the Father and the Son.
> Characters with diacritical markers (e.g. h with a dot below, b with a
> line below, etc. - "special characters")
> Colored text - This does not refer to any direct speech
> Italics
> Super text
> Bold
The showcase module is probably KJV2006 (the KJV from teh beta repository. The OSIS text is also somewhere available on the site.
But again, the point is not to get colored text, italics, super text or bold, but simply to encode these things as structural marks for what they stand for - and then let the frontend decide how to represent them - which might be different from frontend to frontend.
> Once again, I am not a computer programmer.
You do not need to be a programmer to get this right, but it would help to get some acquaintance with regular expressions and Perl to gain the ability to do large scale search and replacements. A good book I would recommend is "Data munging with Perl". http://www.manning.com/cross/
Peter
> Thank you for the help.
>
> Johan
>
> From: Peter von Kaehne [mailto:refdoc at gmx.net]
> Sent: 30 July 2010 12:40 AM
> To: SWORD Developers' Collaboration Forum
> Subject: Re: [sword-devel] From Windows PC to iPhone
>
> Dear Johan,
>
> Basically all these features are expressing presumably some sort of
> meaning, no? You would want to encode the text in a fashion that the meaning is
> actually expressed and then leave the various frontends to choose the
> graphic method of choice to represent this.
>
> E.g. "red text" is often used for Jesus' own direct speech, but to get the
> best out of our software you would want to encode such direct quotes not
> as fontcolor red, but as quote of Jesus.
>
> The best way to achieve this is via OSIS.
>
> Peter
>
> On 29/07/10 20:09, Johan Marais wrote:
> God evening,
>
> I require assistance please.
>
> I have created a bible module for The SWORD Project for Windows from an
> IMP / GBF UTF-8 text file, using imp2vs, e.g.
>
> $$$Gen 1:1
> In the beginning ...
>
> My goal is to make this same module available for the iPhone and
> SwordReader.
>
> The bible module has inter alia the following within the text:
>
> Hebrew letters for the Name of the Father and the Son.
> Characters with diacritical markers (e.g. h with a dot below, b with a
> line below, etc. - "special characters")
> Blue colored text
> Italics
> Super text
> Bold
>
> The above (except blue text) show 100% correctly in The SWORD Project for
> Windows, but superscript and the blue text don't show in Xiphos.
>
> I have copied this module to iPhone and the Hebrew and the special
> characters, bold, italics and superscript show correctly, but the colored text
> doesn't show, just black text.
>
> Similarly in SwordReader, except the Hebrew and special characters just
> show blocks, probably just a font issue. The same with SlideBible (it is a
> pity the font cannot be changed though).
>
> My first priority is to get this module to work in the iPhone though.
>
> I am using <FS> for superscript, <FB> for bold and <FI> for italics, but I
> can't find a way to change the color of the text. I have tried <font
> color="blue"> and <span style="color:blue;">,but neither shows the text in blue.
> Using these tags to change the color in the .config file work correctly
> though.
>
> Using <b> and <i> don't work for bold and italics.
>
> Question: How do I change the color of the text for the iPhone please?
>
> I have downloaded all the utilities and have read the posts, but I am at a
> loss.
>
> All and any help is appreciated - but please note that I am not a
> programmer, bt can easily enough add / change tags.
>
> Nic Carter referred me to this list.
>
> In His Name,
>
> Johan
>
>
>
>
>
> _______________________________________________
>
> sword-devel mailing list:
> sword-devel at crosswire.org<mailto:sword-devel at crosswire.org>
>
> http://www.crosswire.org/mailman/listinfo/sword-devel
>
> Instructions to unsubscribe/change your settings at above page
>
>
> Important Notice:
>
> Absa is an Authorised Financial Services Provider and Registered Credit
> Provider,
> registration number: NCRCP7.
>
> This e-mail and any files transmitted with it are confidential and
> intended for the use of
> the individual or entity to whom they are addressed.
>
> Please note that there are terms and conditions and some important
> restrictions,
> qualifications and disclaimers ("the Disclaimer") that apply to this
> email. To read this
> click on the following address or copy into your Internet browser:
>
> http://www.absa.co.za/disclaimer
>
> The Disclaimer forms part of the content of this email in terms of
> section 11 of the Electronic Communications and Transactions
> Act, 25 of 2002.
>
> If you are unable to access the Disclaimer, send a blank e-mail
> to disclaimer at absa.co.za and we will send you a copy of the
> Disclaimer.
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
_______________________________________________
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
Important Notice:
Absa is an Authorised Financial Services Provider and Registered Credit Provider,
registration number: NCRCP7.
This e-mail and any files transmitted with it are confidential and intended for the use of
the individual or entity to whom they are addressed.
Please note that there are terms and conditions and some important restrictions,
qualifications and disclaimers ("the Disclaimer") that apply to this email. To read this
click on the following address or copy into your Internet browser:
http://www.absa.co.za/disclaimer
The Disclaimer forms part of the content of this email in terms of
section 11 of the Electronic Communications and Transactions
Act, 25 of 2002.
If you are unable to access the Disclaimer, send a blank e-mail
to disclaimer at absa.co.za and we will send you a copy of the
Disclaimer.
More information about the sword-devel
mailing list