Re: [sword-devel] Tool for convertion html to osis

2019-02-02 Thread Michael H
ransform each bit into something useful in OSIS. > > Usually this is an iterative process with some patterns only emerging as I > go along. And others not as clear as thought originally. > > Peter > > Sent from my mobile. Please forgive shortness, typos and weird > autoco

Re: [sword-devel] Tool for convertion html to osis

2019-02-02 Thread David Haslam
gt; along. And others not as clear as thought originally. > > Peter > > Sent from my mobile. Please forgive shortness, typos and weird autocorrects. > > ---- Original Message ---- > Subject: Re: [sword-devel] Tool for convertion html to osis > From: Greg Hellings > To:

Re: [sword-devel] Tool for convertion html to osis

2019-02-02 Thread ref...@gmx.net
Greg has nailed it. Practically I try and work out first is the file follows any kind of pattern or is just a pile of junk. Too often latter is the case and life has become too short to bother. If there is a pattern then the pattern maybe expressed in CSS, in html tags in combinations. And some are

Re: [sword-devel] Tool for convertion html to osis

2019-02-02 Thread Cyrille
Il 01/02/2019 23:42, David Haslam ha scritto: > I should also say that I rarely convert anything other than USFM > directly to OSIS.  > > It’s often simpler to first convert a Bible source text to USFM and > then use adyeths/u2o Python scripts. Yes I do the same, but this is a commentary. And I w

Re: [sword-devel] Tool for convertion html to osis

2019-02-01 Thread Greg Hellings
On its surface, this is a very straightforward process. 1. Convert the HTML (which is a specific set of defined tags using the SGML grammar) into XML (not specifically targeting XHTML, as that's a slightly different grammar, but all HTML in places where it violates XML rules can be rendered into X

Re: [sword-devel] Tool for convertion html to osis

2019-02-01 Thread David Haslam
I should also say that I rarely convert anything other than USFM directly to OSIS. It’s often simpler to first convert a Bible source text to USFM and then use adyeths/u2o Python scripts. David Sent from ProtonMail Mobile On Fri, Feb 1, 2019 at 14:37, Cyrille wrote: > Hello, > All is in the

Re: [sword-devel] Tool for convertion html to osis

2019-02-01 Thread David Haslam
As HTML files can be opened using Microsoft Word, my initial step is to save the file as RTF type. I then use WordPad to open and resave the RTF file. This reduces size and clutter. At this stage, one needs to determine if any of the text styles are semantically significant. e.g. Are italics u

Re: [sword-devel] Tool for convertion html to osis

2019-02-01 Thread Dudeck, John
I might just say from my recent experience, creating OSIS from other sources is not a trivial matter. Depending on whether you are creating a Bible, a Commentary, or a GenBook, the process is not the same. It took me two years to develop Perl scripts that convert from Logos XML to OSIS for Bib

[sword-devel] Tool for convertion html to osis

2019-02-01 Thread Cyrille
Hello, All is in the title, someone have a Linux tool to convert html files to osis? In this case it is for the KD module. I download the html source files but I want not to work  a lot on it. First I will work on bible issues and not commentary. But if someone have a tool to do quickly the job...