[sword-devel] How to add EndOfLine character in imp module

Troy A. Griffitts scribe at crosswire.org
Wed Nov 24 17:00:15 MST 2004


	There are 2 different things that you should keep separate in your
mind.  It might help resolve your issue.

	1. Import Format: Imp, VPL, OSIS
	2. Text Markup: GBF, ThML, OSIS

#1 determines what import utility you use to import your text to create
a sword module.

#2 is designated in your .conf file and tells SWORD how to interpret
markup tags.

You can still use Imp format and markup your text with OSIS tags.  The
OSIS tag to mark Psalm lines would be something like (<lg> = line group;
<l> = line):

<l>line 1</l>
<l>line 2</l>

or you could cheat by putting an OSIS milestone at the end of a line:

<milestone type="line"/>

GBF might be easier for you than OSIS for just this one tag:


closes a line.

We also try to accommodate unmarked texts.  Single newlines are ignored,
but when we see 2 consecutive newlines, we assume we should force at
least 1 newline in the output.  That's why you were partially successful
with your current modus operandi.

	Hope this helps,


On Tue, 2004-11-16 at 15:37 +0100, Krzys i Iwonka wrote:
> Hello, I'm trying to create new module with Psalms only. There are all translated like poems with rhytm and rhymes, so it is important to save all EndOfLine characters. I'm using imp format because it is easy :)
> I found that when I'm putting two EOLs in the middle of verse one of them is remaining after importing module with imp2vs.exe and everything works fine. But unfortunately this method doesn't work when I need EOL just before beginning of new verse. 
> Have you any idea how to manage this?
> I could start with OSIS also, but unfortunately I dont have constant access to internet. Is there somewhere OSIS validator accessible?
> Thank you
> Krzys
> ----------------------------------------------------------------------
> Nudzisz sie? Zagraj sobie! >>> http://link.interia.pl/f183d
> _______________________________________________
> sword-devel mailing list
> sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel

More information about the sword-devel mailing list