[sword-devel] RTF in About field of .conf files

Chris Burrell chris at burrell.me.uk
Sun May 18 11:54:11 MST 2014


Worth noting in passing that jsword currently let's the frontend handle
these including the unicode characters marked using rtf notation.

Chris
On 18 May 2014 18:03, "DM Smith" <dmsmith at crosswire.org> wrote:

> Only a subset is allowed in the conf. The following page gives details.
> SwordWeb and JSword assume that the field is RTF even if plain text. \oar
> looks like a typo for \par.
>
> http://www.crosswire.org/wiki/DevTools:conf_Files
>
> > On May 18, 2014, at 11:10 AM, Jaak Ristioja <jaak at ristioja.ee> wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi!
> >
> > http://www.crosswire.org/sword/develop/swordmodule/ states:
> >
> > "About is a lengthier description and may include copyright, source,
> > etc. information. It may be formatted as RTF or as plain text."
> >
> > I agree that something more than plain text is needed for anything
> > more than one non-formatted paragraph of non-formatted text. But as
> > everybody surely knows, all RTF starts with the string "{\rtf".
> > However looking at the .conf files in my ~/.sword/mods.d/, I conclude
> > that actually only a subset of RTF is allowed in the About field.
> >
> > I have two questions:
> >
> > 1) What exactly are frontends required to support here? Groups?
> > Certain control words only?
> >
> > 2) How should a frontend distinguish between an RTF formatted About
> > field and a plain text About field? Search for RTF control words, fall
> > back to plain text if none found or if invalid RTF segment provided?
> >
> > Thanks!
> >
> >
> > Blessings,
> > Jaak
> >
> > PS: histmideast.conf contains a probably invalid \oar (did not find
> > this in the RTF specs).
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.22 (GNU/Linux)
> >
> > iQgcBAEBAgAGBQJTeM1QAAoJELozJlbjIn79Mg1AAM78348kfUfRm8FSyClswWey
> > /rld/AVKe7x/ug+7U1CTbPxdJdabCbPdxN3LmwkRLRDYQ7nk5pufzAyajMK0U/rW
> > m2eacM3FHR6R4qu0WZRSMIdCJtAUpgNUrwh6VwbS7T6UjPhPI3vKQWTHxnojWufR
> > J5RDXmE3TBSgyDDzhNa56cO64Isav1HCtcKAWwlLGxzc7P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rLqO2+dNZMPKOb/B1m74dqSf7v+0CulSEijix
> > aAOLEbd4Aq4u1Q/UmB57+yMIjXMz+wk3j00xrZ7MqgDuy18wO4pzZoPF5GrOnB9k
> > R7YqppZk9LD27EMyyOySxVlpjQy78PdCVkN+xb//Kf9QEXVlXefz0RaGmPvdU/jO
> > LVd10TyHNDKGqgVtquicyY1n71YZfNCpAbCDFLQOsi7h2Nn5Puewok5mJwpsTc9m
> > wXoQpOFItDJZD5XiOpSnXvVMKR/aj3Z7sVzLXx8ogeg7Y9XxUejRCtXXxOB0XoC2
> > 56uKpwmjVrUii4KnNu3mQN+vaeIIv7PySAoed0fGQGwUHZqxiX1wC1dK5IM9BNAk
> > +boQS0dkeZSUxnnf+/3UVkXCI8d04UAix8VykQd3B1mGNSX2IwLzBdKC7Mv+1py3
> > megzDHZ153i+z+/0DPdQiGWICscjVNhJmoWfZSsxxc+gI1QHsW5/VCDIqqQsWlfb
> > S9icGJc263KWbhTsoKj4
> > =Vm2Q
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > 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/20140518/8fc0e220/attachment.html>


More information about the sword-devel mailing list