Re: [sword-devel] Fixes to versification/av11n.py script in sword-tools repo
I pulled your changes for av11n.py straight from your git mirror and then just cherry picked them into my master before using dcommit to send them to SVN. I don't have permissions on SWORD main outside of bindings and the CMakeFiles. --Greg On Mon, Apr 9, 2018, 00:23 Matěj Ceplwrote: > On 2018-04-05, 02:34 GMT, Greg Hellings wrote: > > Feel free to submit future revisions directly through git. > > Ehm, I have to repeat: which git repo? And also, could I ask for > those Czech locale being updated as well (previous set of > patches sent to this list), please? > > Thank you, > > Matěj > -- > https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz > GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 > > Of all tyrannies, a tyranny exercised for the good of its > victims may be the most oppressive. It may be better to live > under robber barons than under omnipotent moral busybodies. The > robber baron's cruelty may sometimes sleep, his cupidity may at > some point be satiated; but those who torment us for our own > good will torment us without end, for they do so with the > approval of their consciences. > -- C. S. Lewis > > > ___ > sword-devel mailing list: sword-devel@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@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] Fixes to versification/av11n.py script in sword-tools repo
On 2018-04-05, 02:34 GMT, Greg Hellings wrote: > Feel free to submit future revisions directly through git. Ehm, I have to repeat: which git repo? And also, could I ask for those Czech locale being updated as well (previous set of patches sent to this list), please? Thank you, Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Of all tyrannies, a tyranny exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their consciences. -- C. S. Lewis ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] Fixes to versification/av11n.py script in sword-tools repo
On 2018-04-08, 16:52 GMT, Jaak Ristioja wrote: > Sword++ development. This is meant to be an unofficial > read-only mirror, so please don't submit pull requests. If > there are any problems with that mirror, please contact me. Oh well, I have already my own git-svn mirror at https://gitlab.com/mcepl/sword (and I believe, better than yours, tags are tags, and I have found all authors and gave them proper names). So, I'll keep my git-send-email configuration up-to-date. Best, Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 How many Bavarian Illuminati does it take to screw in a light bulb? Three: one to screw it in, and one to confuse the issue. ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] Bishop for Android 1.0.7
Hi Troy, Is there a way to install a module manually from a local source? (like Module Maintainer Mode in PocketSword) I'd like to be able to install a module that I've been working on for a friend who has an Android device. I also don't see an item on the Wiki page (https://wiki.crosswire.org/Choosing_a_SWORD_program) that indicates this support. Maybe I don't know what I'm looking at. Thanks, Vince Karl Kleinpaste wrote: On 03/27/2018 06:48 PM, Troy A. Griffitts wrote: Let me know if 1.0.7 has troubles still on your 6.0 tablet. OK, so hitting About didn't /actually/ put the app into a hard lock-up. It just looked exactly like that, to the resolution of 50x of the typical time frame that Joe Average expects when asking for About. When I was getting this new tablet(*) configured, I copied my entire module set into it. There are 450+ Bibles in there, out of almost 800 total, and the About handler is going to the trouble to crawl around mods.d/*.conf for ALL of them. It takes upwards of half a minute, and previously I had killed it off after waiting maybe 10 or 15 seconds...because it /looked/ like a hard lock-up when all I wanted was, you know, About. Then I set it down while "locked up," to start writing this email, and... E, OK, so Joe Average Android User is not going to have 450 Bibles installed. But as a matter of UI clarity, I'm unconvinced that reviewing the Description of every single installed Bible is particularly useful. A control to get that from a displayed Bible, or from a list of installed Bibles, would be preferable. --karl * Walmart special, last year's model, used mostly as a Kindle + social media device, website order only (no longer in stores): https://www.walmart.com/ip/RCA-Viking-Pro-10-1-Android-2-in-1-Tablet-32GB-Quad-Core/45804387 ___ sword-devel mailing list: sword-devel@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@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] intro material CSS
I think it would be an odd departure from the norm to not cover for this in the engine, part I if straightforwardPeterSent from my mobile. Please forgive shortness, typos and weird autocorrects. Original Message Subject: Re: [sword-devel] intro material CSSFrom: Karl KleinpasteTo: SWORD Developers' Collaboration Forum CC: On 04/08/2018 01:23 PM, Troy A. Griffitts wrote: they don't really want to show Verse 0 before a chapter intro, so ifa frontends want to show them with some special formatting, wouldn't it be fine for the frontend to put a around it? My initial take was indeed simply to wrap italics around intro material, though I was even more blunt with plain ol' . But Greg's countersuggestion after I committed the change and closed the report was that CSS is the right weapon. And in fact I had already thought so. But the problem as I see it is in making it a one-off thing in Xiphos, thus completely unlike any other frontend. Is it not appropriate that, when requesting verse 0, the material come back from the engine with an appropriate class wrap, with a default class handler (e.g. italics) the way it already does for other modifiable items, like transChange and wordsOfJesus? That would take care of any XHTML-driven UI in the first place. Then specifically for Xiphos, the use of PreferredCSSXHTML (that is, style.css) would let power users change italics to smaller fonts or colored text or whatever. Anyway... I can do it myself for Xiphos. I just figure that generality would say that the engine is well-positioned to provide this when verse 0 is requested. My hack for now is a stopgap, a placeholder until/unless the engine can provide this generality. ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] intro material CSS
On 04/08/2018 01:23 PM, Troy A. Griffitts wrote: > they don't really want to show Verse 0 before a chapter intro, so ifa > frontends want to show them with some special formatting, wouldn't it > be fine for the frontend to put a around it? My initial take was indeed simply to wrap italics around intro material, though I was even more blunt with plain ol' . But Greg's countersuggestion after I committed the change and closed the report was that CSS is the right weapon. And in fact I had already thought so. But the problem as I see it is in making it a one-off thing in Xiphos, thus completely unlike any other frontend. Is it not appropriate that, when requesting verse 0, the material come back from the engine with an appropriate class wrap, with a default class handler (e.g. italics) the way it already does for other modifiable items, like transChange and wordsOfJesus? That would take care of any XHTML-driven UI in the first place. Then specifically for Xiphos, the use of PreferredCSSXHTML (that is, style.css) would let power users change italics to smaller fonts or colored text or whatever. Anyway... I can do it myself for Xiphos. I just figure that generality would say that the engine is well-positioned to provide this when verse 0 is requested. My hack for now is a stopgap, a placeholder until/unless the engine can provide this generality. ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] intro material CSS
Hey Karl, When showing intro material, frontends already need to pull them from special locations and display them uniquely, e.g., they don't really want to show Verse 0 before a chapter intro, so ifa frontends want to show them with some special formatting, wouldn't it be fine for the frontend to put a around it? I'm not particularly on one side or the other, but just want to hear your thoughts. Troy On April 8, 2018 9:38:47 AM MST, "ref...@gmx.net"wrote: >___ >sword-devel mailing list: sword-devel@crosswire.org >http://www.crosswire.org/mailman/listinfo/sword-devel >Instructions to unsubscribe/change your settings at above page -- Sent from my Android device with K-9 Mail. Please excuse my brevity.___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] Fixes to versification/av11n.py script in sword-tools repo
On 05.04.2018 11:45, Matěj Cepl wrote: > On 2018-04-05, 02:34 GMT, Greg Hellings wrote: >> Feel free to submit future revisions directly through git. > > ??? There is some git? I thought > https://github.com/refdoc/sword/ could be alive, but > https://github.com/refdoc/sword/pull/1 persuaded me otherwise. If it helps, feel free to base your patches on https://github.com/bibletime/crosswire-sword-mirror which is automatically kept up to date with the Sword SVN repository (https://crosswire.org/svn/sword/trunk), and is also used as a base for Sword++ development. This is meant to be an unofficial read-only mirror, so please don't submit pull requests. If there are any problems with that mirror, please contact me. Best regards, J ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] intro material CSS
I will look into this. You will either see a commit by tomorrow or a messAge of defeat, but I think it should be easy. PeterSent from my mobile. Please forgive shortness, typos and weird autocorrects. Original Message Subject: [sword-devel] intro material CSSFrom: Karl KleinpasteTo: sword-devel@crosswire.orgCC: I have a feature request from someone wanting per-book and -chapter introductory material to be visually distinguished from regular text. The Right Way to do this would be to wrap the text suitably ("...") and also include a default CSS control to control this, e.g. italics, just as default controls are provided for divineName and wordsOfJesus. Would there be any problem with doing this? ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?
Thanks Troy, > [scribe@localhost diatheke]$ ./diatheke -b KJV -s attribute -k > Heading///Neginoth > Entries containing "Heading///Neginoth"-- Psalms 4:1Psalms 6:1 ; Psalms 54:1 > ; Psalms 55:1 ; Psalms 67:1 ; Psalms 76:1 ; -- 6 matches total (KJV) You may wish to investigate why there is no " ; " after the first instance found. Looks like a minor bug! btw. It's not just in the email transcript. I checked and found the same on my PC. Is it still true that diatheke cannot output the whole of any particular canonical Psalm title, or is this feasible by refining the search parameters? NB. I have just updated some things in https://wiki.crosswire.org/Frontends:Diatheke More could be done to expand on the various other search types. Best regards, David Sent with [ProtonMail](https://protonmail.com) Secure Email. ‐‐‐ Original Message ‐‐‐ On 5 April 2018 4:31 PM, Troy A. Griffittswrote: > On 04/05/2018 08:01 AM, David Haslam wrote: > >> Thanks Troy for all this fine detail. >> >> Is there any way that these special search parameters can be passed to >> diatheke (as is) ? > > [scribe@localhost diatheke]$ ./diatheke -b KJV -s attribute -k > Heading///Neginoth > Entries containing "Heading///Neginoth"-- Psalms 4:1Psalms 6:1 ; Psalms 54:1 > ; Psalms 55:1 ; Psalms 67:1 ; Psalms 76:1 ; -- 6 matches total (KJV) > >> Or would diatheke need further enhancing to support search within headings >> such as Psalm titles? >> >> Best regards, David >> >> Sent from ProtonMail Mobile >> >> On Wed, Apr 4, 2018 at 23:18, Troy A. Griffitts wrote: >> >>> Here's a quick command. The entry attributes path / search syntax might >>> not be obvious.Entry attributes key paths are always 3 levels deep + >>> the final segment the value of the attribute. Empty path segments mean >>> 'any'. This means find 'Neginoth' in the value of any entry attribute >>> under 'Heading'. >>> >>> [scribe@localhost cmdline]$ ./search KJV Heading///Neginoth >>> [0=50===100] >>> == >>> Psalms 4:1 >>> Psalms 6:1 >>> Psalms 54:1 >>> Psalms 55:1 >>> Psalms 67:1 >>> Psalms 76:1 >>> >>> Likewise, in any entry attribute: >>> >>> [scribe@localhost cmdline]$ ./search KJV ///Neginoth >>> [0=50===100] >>> == >>> Psalms 4:1 >>> Psalms 6:1 >>> Psalms 54:1 >>> Psalms 55:1 >>> Psalms 67:1 >>> Psalms 76:1 >>> Habakkuk 3:19 >>> >>> Or very specifically the first preverse heading of a verse: >>> >>> [scribe@localhost cmdline]$ ./search KJV Heading/Preverse/0/Neginoth >>> [0=50===100] >>> == >>> Psalms 4:1 >>> Psalms 6:1 >>> Psalms 54:1 >>> Psalms 55:1 >>> Psalms 67:1 >>> Psalms 76:1 >>> >>> Here's the entry attribute dump, output from the 'lookup' example, for >>> Ps.4.1 from the KJV: >>> >>> [scribe@localhost cmdline]$ ./lookup KJV Ps.4.1 >>> ==Raw=Entry=== >>> Psalms 4:1: >>> >> canonical="true" type="psalm">>> morph="strongMorph:TH8764">To the chief Musician >> lemma="strong:H05058">on Neginoth, A Psalm >>> of David.>> subType="x-preverse" eID="pv2"/>>> morph="strongMorph:TH8798">Hear >> morph="strongMorph:TH8800">me when I call, O >>> God of my righteousness: >> lemma="strong:H07337" morph="strongMorph:TH8689">thou hast enlarged me >>> when I was >> lemma="strong:H06862">in distress; >> morph="strongMorph:TH8798">have mercy >> morph="strongMorph:TH8798">upon me, and hear >> lemma="strong:H08605">my prayer.>> type="study">chief…: or, >> type="alternative">overseer>> type="study">have…: or, be >>> gracious unto me >>> ==Render=Entry >>> .divineName { font-variant: small-caps; } >>> .wordsOfJesus { color: red; } >>> .transChange { font-style: italic; } >>> .transChange.transChange-supplied { font-style: italic; } >>> .transChange.transChange-added { font-style: italic; } >>> .transChange.transChange-tenseChange::before { content: '*'; } >>> .transChange.transChange-tenseChange { font-style: normal; } >>> .transChange:lang(zh) { font-style: normal; text-decoration: dotted >>> underline; } >>> .overline { text-decoration: overline; } >>> .indent1 { margin-left: 1em; } >>> .indent2 { margin-left: 2em; } >>> .indent3 { margin-left: 3em; } >>> .indent4 { margin-left: 4em; } >>> abbr { &:hover{ &:before{ content: attr(title); } } } >>> .small-caps { font-variant: small-caps; } >>> .selah { text-align: right; width: 50%; margin: 0; padding: 0; } >>> .acrostic { text-align: center; } >>> .colophon {font-style: italic; font-size: small; display:
[sword-devel] intro material CSS
I have a feature request from someone wanting per-book and -chapter introductory material to be visually distinguished from regular text. The Right Way to do this would be to wrap the text suitably ("...") and also include a default CSS control to control this, e.g. italics, just as default controls are provided for divineName and wordsOfJesus. Would there be any problem with doing this? ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page