[sword-devel] preserving titles in OSIS

DM Smith dmsmith555 at yahoo.com
Tue Nov 14 18:05:01 MST 2006

You could model it after what I did for the KJV as it has and  
preserves titles.
You can download it from www.crosswire.org/~dmsmith/kjv2006

The way osis2mod "preserves" titles is to pull them out and store  
them in the following verse.
Sometimes that may be verse 0.

Also, if it is a canonical part of the work, always needing to show  
even when headings are turned off, add canonical="true" to the title  

On Nov 14, 2006, at 7:43 PM, Peter von Kaehne wrote:

> When I transfer my OSIS document into a module with osis2mod the  
> resulting module seems to loose all title information (book and  
> chapter heading, other subheadings etc) Is there a way around this?
> <chapter sID="Gen.1" osisID="Gen.1"/>
> <div type="section">
> <title>آفرینش</title>
> <p>
> <verse sID="Gen.1.1" osisID="Gen.1.1"/>
> در ابتدا، خدا آسمانها و زمین را آفرید.
> <verse eID="Gen.1.1"/>
> The title    (آفرینش)= "Creation" should appear, but does not.  
> The rest of the text appears to work fine.
> My commandline is "osis2mod /home/peter/FarsiOPV farsi-Osis.xml"
> Peter
> -- 
> "Ein Herz für Kinder" - Ihre Spende hilft! Aktion:  
> www.deutschlandsegelt.de
> Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's  
> Cup-Yacht!
> _______________________________________________
> 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

More information about the sword-devel mailing list