On the programming side of this, Karl and I just reasoned out how it might be intended for programmers to discover this entry. I'm not sure this works, but it looks like the following code might be needed to iterate through the possible multiple values of "Feature" in a config file:
http://fpaste.org/156650/70958214/ Or, since that paste will eventually dry up and go away: std::pair <sword::multimapwithdefault<SWBuf,SWBuf>::iterator, sword::multimapwithdefault<SWBuf,SWBuf>::iterator > features = module.getConfig().equal_range(SWBuf("Features")); for ( sword::multimapwithdefault<SWBuf,SWBuf>::iterator it = features.first; it != features.second; ++it) { std::cout << it->second << std::endl; } If this is wrong or more roundabout than necessary, it'd be nice to be corrected by Troy. --Greg On Thu, Dec 4, 2014 at 9:41 AM, David Haslam <[email protected]> wrote: > According to the wiki, > > http://crosswire.org/wiki/DevTools:conf_Files#Elements_required_for_proper_rendering > > modules that specify > > Feature=NoParagraphs > > are described as "(for modules without any paragraphing information, which > are typically typeset with a verse per line)" > > with the note, > > This feature is intended to be informational to front-end developers. > Ideally, front-ends will render these modules with a verse per line rather > than as a single big chapter-length paragraph block. > > Question: Do any front-ends actually do this yet? > > i.e. Irrespective of the module option "Verse Per Line" being ticked or not, > the module should always display VPL. > > Alternatively, this module option is automatically ticked and cannot be > unticked. > > David > > > > -- > View this message in context: > http://sword-dev.350566.n4.nabble.com/How-should-front-ends-handle-Feature-NoParagraphs-tp4654268.html > Sent from the SWORD Dev mailing list archive at Nabble.com. > > _______________________________________________ > sword-devel mailing list: [email protected] > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: [email protected] http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
