Difference between revisions of "Talk:Frontends:Diatheke"

From CrossWire Bible Society
Jump to: navigation, search
(Diatheke 4.7 help output: new section)
(Command line option to toggle morpheme segmentation?: new section)
 
Line 79: Line 79:
 
   diatheke -b KJV -s phrase -r Mt -k love
 
   diatheke -b KJV -s phrase -r Mt -k love
 
</pre>
 
</pre>
 +
 +
== Command line option to toggle morpheme segmentation? ==
 +
 +
There seems to be no command line option to toggle '''morpheme segmentation''' for modules in which the .conf file includes:
 +
GlobalOptionFilter=OSISMorphSegmentation
 +
This deficiency needs to be fixed. --[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:40, 24 December 2017 (MST)

Latest revision as of 20:40, 24 December 2017

Using Diatheke ?

Is there a way to get Diatheke to leave out each verse? I.e. diatheke Jo 3:10-17 has each verse labelled

John 3:10

John 3:11

etc.

Can I tell Diatheke to skip the verses in the output?

Ultimately I want a command line option do something like

diatheke -noverse (scripture) | festival --tts

to speak any portion of scripture. (can set a reading plan up as a daily alarm, etc. )

(if it matters I'm using linux. PCLinuxOS 2007 to be more specific.)

Stale news !

The News section on the main page has only three items from eight years ago!!!! Anyone object to removing this section? David Haslam 14:59, 15 October 2009 (UTC)

Nobody objected - so deletion will be done. David Haslam 15:20, 5 January 2010 (UTC)

Page needs updating

Diatheke 4.5 is now available. The page needs updating. David Haslam 08:34, 29 October 2010 (UTC)

Workaround for RTF format

Here's a workaround for the missing color table in diatheke RTF output format.

Using an ordinary Unicode compliant text editor, insert the following as line 2 into the file.

{\colortbl {\cf0;\cf1;\cf2;\cf3\red0\green0\blue0;\cf4;\cf5;\cf6\red255\green0\blue0;}}

Then save the file. When opened afterwards using WordPad, the red letter text should display correctly.

David Haslam 13:36, 5 August 2012 (MDT)

Diatheke 4.7 help output

Diatheke 4.7 is bundled with Xiphos 4.0.4 for Windows. Here's the help output:

Diatheke command-line SWORD frontend Version 4.7
Copyright 1999-2014 by the CrossWire Bible Society
http://www.crosswire.org/sword/diatheke/

usage:  diatheke <-b module_name> [-s search_type] [-r search_range]
    [-o option_filters] [-m maximum_verses] [-f output_format]
    [-e output_encoding] [-v variant#(-1=all|0|1)]
    [-l locale] <-k query_key>

If <book> is "system" you may use these system keys: "modulelist",
"modulelistnames", and "localelist".
Valid search_type values are: phrase (default), regex, multiword,
  attribute, lucene, multilemma.
Valid (output) option_filters values are: n (Strong's numbers),
  f (Footnotes), m (Morphology), h (Section Headings),
  c (Cantillation), v (Hebrew Vowels), a (Greek Accents), p (Arabic Vowels)
  l (Lemmas), s (Scripture Crossrefs), r (Arabic Shaping),
  b (Bi-Directional Reordering), w (Red Words of Christ),
  g (Glosses/Ruby), e (Word Enumerations),
  x (Encoded Transliterations), t (Algorithmic Transliterations via ICU)
Maximum verses may be any integer value
Valid output_format values are: GBF, ThML, RTF, HTML, HTMLHREF, XHTML, OSIS,
  CGI, and plain (def)
Valid output_encoding values are: Latin1, UTF8 (def), UTF16, HTML, and RTF
Valid locale values depend on installed locales. en is default.
The query_key must be the last argument because all following
  arguments are added to the key.

Example usage:
  diatheke -b KJV -o fmnx -k Jn 3:16
  diatheke -b WHNU -t Latin -o mn -k Mt 24
  diatheke -b KJV -s phrase -r Mt -k love

Command line option to toggle morpheme segmentation?

There seems to be no command line option to toggle morpheme segmentation for modules in which the .conf file includes:

GlobalOptionFilter=OSISMorphSegmentation

This deficiency needs to be fixed. --David Haslam (talk) 13:40, 24 December 2017 (MST)